Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754095AbaKEIpc (ORCPT ); Wed, 5 Nov 2014 03:45:32 -0500 Received: from mail.kmu-office.ch ([178.209.48.102]:59078 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbaKEIp1 (ORCPT ); Wed, 5 Nov 2014 03:45:27 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Wed, 05 Nov 2014 09:46:17 +0100 From: Stefan Agner To: Bhuvanchandra DV Cc: shawn.guo@freescale.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] ARM: dts: vf-colibri: Add I2C support In-Reply-To: References: Message-ID: <8dcb8f78771fe356b9648e74354003e9@agner.ch> User-Agent: Roundcube Webmail/1.0.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2014-11-04 12:22, schrieb Bhuvanchandra DV: > Signed-off-by: Bhuvanchandra DV > --- > arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 7 ++++++- > arch/arm/boot/dts/vf-colibri.dtsi | 13 +++++++++++++ > 2 files changed, 19 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi > b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi > index 80e8fbc..0251e6c 100644 > --- a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi > +++ b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi > @@ -33,6 +33,11 @@ > status = "okay"; > }; > > +&i2c0 { > + clock-frequency = <400000>; > + status = "okay"; > +}; > + > &pwm0 { > status = "okay"; > }; > @@ -51,4 +56,4 @@ > > &uart2 { > status = "okay"; > -}; > \ No newline at end of file > +}; > diff --git a/arch/arm/boot/dts/vf-colibri.dtsi > b/arch/arm/boot/dts/vf-colibri.dtsi > index ab40367..471eec0 100644 > --- a/arch/arm/boot/dts/vf-colibri.dtsi > +++ b/arch/arm/boot/dts/vf-colibri.dtsi > @@ -39,6 +39,12 @@ > pinctrl-0 = <&pinctrl_fec1>; > }; > > +&i2c0 { > + clock-frequency = <400000>; There is no need to overwrite the clock frequency again on carrier board level here. But other than that. Acked-by: Stefan Agner > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_i2c0>; > +}; > + > &pwm0 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_pwm0>; > @@ -102,6 +108,13 @@ > >; > }; > > + pinctrl_i2c0: i2c0grp { > + fsl,pins = < > + VF610_PAD_PTB14__I2C0_SCL 0x37ff > + VF610_PAD_PTB15__I2C0_SDA 0x37ff > + >; > + }; > + > pinctrl_pwm0: pwm0grp { > fsl,pins = < > VF610_PAD_PTB0__FTM0_CH0 0x1182 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/