From patchwork Mon May 7 16:21:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 135116 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3356438lji; Mon, 7 May 2018 09:23:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr/UaUFT+T7NyytbL5Qpn1xVRiBn/z62GeWTY1Pe+tDONWEpeG+uqnH04ReCPRC3IjjDqP6 X-Received: by 2002:a6b:5009:: with SMTP id e9-v6mr34118490iob.5.1525710182508; Mon, 07 May 2018 09:23:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525710182; cv=none; d=google.com; s=arc-20160816; b=TEP+CYO6NbyhNLYVF8296/T8e7Jx2NbAk6uzXZCSZObwgzKWeimw8NKYKs5PC/VJAP hW7aThAKy7Brh/0kf60xV2Ptq+EMfvvxyFAJEzyrvZH0ghj377lpUlbkSfrg0AnTJWSR VfmeI0mwth/9cCndk+hlqSSpEC8tSzJN2FwUHXlvrOSdiTmdo7vt/aKeebGIkUqEpsjL 24isppJWhRiKaUh4saY0dGSMID9xkF3Nb+Nauu7ejjWTaCUXplCSHnPLBmwDtGWzJ4km 8JvyLRzKKo0AZ1ecjtG30Dq5nJx7Og//8oBO8Tnskodchl78mW9EmRiu8p/I/rwR4FVm KoUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=D/NcqSb4++bH4vD50OWqfML5RCJsNlwQl9Aie5hhNnY=; b=AnPovfRYJSHV+bSNdjVzYdOcUcT7iCHtyiZxl240TuLCiZvFpH63Iqfer3zo/Pai1Y TZX7q2psDnSw6dwdu764X0neLXg32MKA30Er0ZZzuEABX6Q1td/m2QDhqX9MkdQpl8yg 7EEsW/AHw2us9wuoOy89ITRSKI47Hn72De980/HRugHSRLqDa/Q1Ms27ajUGwEAYVlNn RhnRL1LCP0SamekI5ybbZY7xqYwsW9d7cpFkSTpM767AHbowC0MTTaHngqYzctT7OOSL dSjBu7urkxhdsA3Lq8oXUpPam4ADA68liUyZO+ih1HP4Eih9rrqZcBfhoAuh9hdvCtuI gNfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TF8ZzKMm; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v125-v6si7612679ith.144.2018.05.07.09.23.02; Mon, 07 May 2018 09:23:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TF8ZzKMm; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752598AbeEGQXA (ORCPT + 5 others); Mon, 7 May 2018 12:23:00 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:55843 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036AbeEGQW7 (ORCPT ); Mon, 7 May 2018 12:22:59 -0400 Received: by mail-wm0-f67.google.com with SMTP id a8so14334366wmg.5 for ; Mon, 07 May 2018 09:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=D/NcqSb4++bH4vD50OWqfML5RCJsNlwQl9Aie5hhNnY=; b=TF8ZzKMmEgF4ERYZaxfzUuLD49+i1o4eYSn5K8ZJlHrZB8htPa66MQHy0SWYlXQ7m3 caPehZRXLKnE2uUzvePoG3lxGr7FwYb9/9xhf+QEGEZfboq4zdH5wSqjbf/eZszodTCc 94l7r914Bbkz6hpitT5cOvSigcpHv/f1mlCgo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=D/NcqSb4++bH4vD50OWqfML5RCJsNlwQl9Aie5hhNnY=; b=mGrUDdXNCOrvl4Cp06eydhXjV3xJOJ/+0+y5v/oMCEPtakdLZckib5a7+85wNFC40l VNteTBEcqhQOT4QRj67oZiTWRylJ8lQppaxxeKQbWhx1Vx/ELJGMDkNFik5JAnXCPyAV OP4YCr4jVvgTWGtWcfn1vv06pRvKI9Li6+KvJcpwvcExWbhpJDwWwThkmS4AC2infiAT ibcviau4j/A3OZcEdAWUMInp7tKYZ+7ilxec1g4QTmtKqR8D5XlEd2AA4pf2Yv/8ANF7 cCoQKrRHj2fcAdSnzTe5e4ykyYLVfmw5ONKMLvCcsk5B73IAddjMuo3codVRiy/64Bl4 gJXQ== X-Gm-Message-State: ALKqPwelxbQZK6EVoASAS5BpGizLsxE5BZDADuNtno7YMVtzfjuJOYmV aN159jCBlYk5pjcIrz5JwdFnb3B6nd0= X-Received: by 10.28.238.149 with SMTP id j21mr1244666wmi.16.1525710178177; Mon, 07 May 2018 09:22:58 -0700 (PDT) Received: from arch-late.local (a109-49-46-234.cpe.netcabo.pt. [109.49.46.234]) by smtp.gmail.com with ESMTPSA id b11-v6sm26410251wrf.50.2018.05.07.09.22.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 09:22:57 -0700 (PDT) From: Rui Miguel Silva To: mchehab@kernel.org, sakari.ailus@linux.intel.com, Steve Longerbeam , Philipp Zabel , Rob Herring Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Shawn Guo , Fabio Estevam , devicetree@vger.kernel.org, Greg Kroah-Hartman , Ryan Harkin , Rui Miguel Silva Subject: [PATCH v3 12/14] ARM: dts: imx7s-warp: add ov2680 sensor node Date: Mon, 7 May 2018 17:21:50 +0100 Message-Id: <20180507162152.2545-13-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180507162152.2545-1-rui.silva@linaro.org> References: <20180507162152.2545-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Warp7 comes with a Omnivision OV2680 sensor, add the node here to make complete the camera data path for this system. Add the needed regulator to the analog voltage supply. Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s-warp.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index ffd170ae925a..10df24c05b76 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts @@ -91,6 +91,14 @@ regulator-always-on; }; + reg_peri_3p15v: regulator-peri-3p15v { + compatible = "regulator-fixed"; + regulator-name = "peri_3p15v_reg"; + regulator-min-microvolt = <3150000>; + regulator-max-microvolt = <3150000>; + regulator-always-on; + }; + sound { compatible = "simple-audio-card"; simple-audio-card,name = "imx7-sgtl5000"; @@ -218,6 +226,25 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; + + ov2680: camera@36 { + compatible = "ovti,ov2680"; + reg = <0x36>; + clocks = <&osc>; + clock-names = "xvclk"; + reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; + DOVDD-supply = <&sw2_reg>; + DVDD-supply = <&sw2_reg>; + AVDD-supply = <®_peri_3p15v>; + + port { + ov2680_to_mipi: endpoint { + remote-endpoint = <&mipi_from_sensor>; + clock-lanes = <0>; + data-lanes = <1>; + }; + }; + }; }; &i2c4 {