From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761072AbcIACqI (ORCPT ); Wed, 31 Aug 2016 22:46:08 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:48216 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753976AbcIACqG (ORCPT ); Wed, 31 Aug 2016 22:46:06 -0400 MIME-Version: 1.0 In-Reply-To: <1472671858-29220-3-git-send-email-jorik@kippendief.biz> References: <1472671858-29220-1-git-send-email-jorik@kippendief.biz> <1472671858-29220-3-git-send-email-jorik@kippendief.biz> From: Chen-Yu Tsai Date: Thu, 1 Sep 2016 10:45:42 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/7] dts: sun8i-h3: add pinmux definitions for i2c0/i2c1 To: jorik@kippendief.biz Cc: Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Chen-Yu Tsai , devicetree , linux-arm-kernel , linux-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 1, 2016 at 3:30 AM, wrote: > From: Jorik Jonker > > This adds proper pinmux definitions for i2c0 and i2c1. Although H3 has a third > i2c controller, these are not exposed on my boards. If someone actually has a > H3 board with an exposed i2c2, they could add the third. > > Signed-off-by: Jorik Jonker > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi > index 7740748..0637b95 100644 > --- a/arch/arm/boot/dts/sun8i-h3.dtsi > +++ b/arch/arm/boot/dts/sun8i-h3.dtsi > @@ -327,6 +327,20 @@ > interrupt-controller; > #interrupt-cells = <3>; > > + i2c0_pins_a: i2c0@0 { > + allwinner,pins = "PA11", "PA12"; > + allwinner,function = "i2c0"; > + allwinner,drive = ; > + allwinner,pull = ; > + }; > + > + i2c1_pins_a: i2c1@0 { These pinmuxes are the only ones possible for each peripheral. Please drop the _a suffix and the @0 address for both of them. ChenYu > + allwinner,pins = "PA18", "PA19"; > + allwinner,function = "i2c1"; > + allwinner,drive = ; > + allwinner,pull = ; > + }; > + > mmc0_pins_a: mmc0@0 { > allwinner,pins = "PF0", "PF1", "PF2", "PF3", > "PF4", "PF5"; > -- > 2.7.4 >