Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3047558yba; Mon, 8 Apr 2019 09:58:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRFgTQ4eidvOiKenCeSNuIespJ3tNV0rJEZuW7mEIry9BVHtWDr9NadJr6iDkOQAsrxx+I X-Received: by 2002:a62:b40b:: with SMTP id h11mr31203395pfn.133.1554742731312; Mon, 08 Apr 2019 09:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554742731; cv=none; d=google.com; s=arc-20160816; b=jO+meWIOv73nVbtA6NjOZckqoUlm36MdltLEMVajPDnJ2S4zG4jpu/WiCAuos7Axpr 25sdVaiMteYOJUqS1DKdfQrA2YBPbdSrb+vbbxgB9++ebj/hZD/JKWnPqk/ysvYbmAe5 EV05cpGo4Kj9eZnILbllyVV7GwZ+OwOABbFyzCwlp4dHUiLsTgdF/Ka+at+FNvFM0v5Z 8wqwvT56WnMCLL7k83gVlgMW0kFUHTto/jAWjKlQvNcWiHTsJ7NFNE7Ipo4W99SlY/Yk qx1X67wqdRvxWZ9BViVAuiijuH4abutTRC7im2vL5DVOe+tKtEEx3hr8EIQY4SQLOheG YopA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=3jzLEDBqbWs+R1+eb6XIg6s3dhM6efDh1yoSCcjnF2Y=; b=SxSALMsKWYX53ejSpf3qS4lxMyEEZCBnDUr3iIoiufCOepvew76Yf8kRhBLbrlwazn dstSSdKVQSIy8wAcHmEZMaGnhlYeGRMvzuDR7MNCK8qrXKbBn7IGm4e+mIJis6wFYL2C jCdEo5oLsEcqMkXMVd5EoJZCg4fWXOj39yufrMEhXpt3RJaoIbOyO93v0lWJNE4qBvOd P1P7LJMGf2X+nbdJ1FM/Ap8q7Jtna4Ipcqlr5dL3Aotxzw1/z3qCs5zRe0mTLFcVtCo9 fzDCWY2TOXTpjDgRy3CPAzqaiQEah3vFDCyogVit5VDk32I6+Z04LbBgStw4NiXqQT64 pRLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1si27834879plb.276.2019.04.08.09.58.34; Mon, 08 Apr 2019 09:58:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729126AbfDHQ54 (ORCPT + 99 others); Mon, 8 Apr 2019 12:57:56 -0400 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:43768 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726726AbfDHQ5u (ORCPT ); Mon, 8 Apr 2019 12:57:50 -0400 Received: by wens.csie.org (Postfix, from userid 1000) id CEDA75FD8D; Tue, 9 Apr 2019 00:57:46 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Yong Deng , Mauro Carvalho Chehab Cc: Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Kocialkowski Subject: [PATCH 5/6] ARM: dts: sun8i: a83t: Add I2C2 pinmux setting for PE pins Date: Tue, 9 Apr 2019 00:57:43 +0800 Message-Id: <20190408165744.11672-6-wens@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190408165744.11672-1-wens@kernel.org> References: <20190408165744.11672-1-wens@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai I2C2 is available on the PE pingroup, on the same pins as the camera sensor interface (CSI) controller's camera control interface pins. This provides an option to use I2C2 instead of that control interface to configure camera sensors. Add a pinctrl node for it. The property /omit-if-no-ref/ is added to keep the device tree blob size down if it is unused. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 0c52f945fd5f..350ea40ea560 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -723,6 +723,12 @@ function = "i2c1"; }; + /omit-if-no-ref/ + i2c2_pe_pins: i2c2-pe-pins { + pins = "PE14", "PE15"; + function = "i2c2"; + }; + i2c2_ph_pins: i2c2-ph-pins { pins = "PH4", "PH5"; function = "i2c2"; -- 2.20.1