All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keerthy <a0393675-l0cyMroinI0@public.gmane.org>
To: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
Cc: nm-l0cyMroinI0@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org,
	galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	lokeshvutla-l0cyMroinI0@public.gmane.org
Subject: Re: [PATCH 1/2] ARM: dts: dra72-evm: Enable I2C1 node
Date: Mon, 28 Jul 2014 14:54:06 +0530	[thread overview]
Message-ID: <53D616B6.3030806@ti.com> (raw)
In-Reply-To: <1406528334-4415-2-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>

On Monday 28 July 2014 11:48 AM, Keerthy wrote:
> From: Keerthy J <j-keerthy-l0cyMroinI0@public.gmane.org>
>
> I2C1 bus is used for the following peripherals
> 	P8 connector (MLB)
> 	TLV320AIC3106 Audio codec
> 	J15 LCD header
> 	24WC256 eeprom
> 	TMP102AIDRLT temperature sensor
> 	PCF8575 GPIO expander
> 	PCA9306 i2c voltage translator -> Goes to P9 for comm interface
> 	P2 expansion connector
> 	TPS65917 PMIC
>
> The slowest speed of all the peripherals seems to be 400KHz.

Correcting the 'to' list.

>
> Tested-by: Lokesh Vutla <lokeshvutla-l0cyMroinI0@public.gmane.org>
> Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
> Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
> ---
>   arch/arm/boot/dts/dra72-evm.dts |   16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts
> index 5147023..1e12862 100644
> --- a/arch/arm/boot/dts/dra72-evm.dts
> +++ b/arch/arm/boot/dts/dra72-evm.dts
> @@ -19,6 +19,22 @@
>   	};
>   };
>   
> +&dra7_pmx_core {
> +	i2c1_pins: pinmux_i2c1_pins {
> +		pinctrl-single,pins = <
> +			0x400 (PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */
> +			0x404 (PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */
> +		>;
> +	};
> +};
> +
> +&i2c1 {
> +	status = "okay";
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&i2c1_pins>;
> +	clock-frequency = <400000>;
> +};
> +
>   &uart1 {
>   	status = "okay";
>   };

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Keerthy <a0393675@ti.com>
To: Keerthy <j-keerthy@ti.com>
Cc: <nm@ti.com>, <mark.rutland@arm.com>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <linux-omap@vger.kernel.org>,
	<tony@atomide.com>, <galak@codeaurora.org>, <lokeshvutla@ti.com>
Subject: Re: [PATCH 1/2] ARM: dts: dra72-evm: Enable I2C1 node
Date: Mon, 28 Jul 2014 14:54:06 +0530	[thread overview]
Message-ID: <53D616B6.3030806@ti.com> (raw)
In-Reply-To: <1406528334-4415-2-git-send-email-j-keerthy@ti.com>

On Monday 28 July 2014 11:48 AM, Keerthy wrote:
> From: Keerthy J <j-keerthy@ti.com>
>
> I2C1 bus is used for the following peripherals
> 	P8 connector (MLB)
> 	TLV320AIC3106 Audio codec
> 	J15 LCD header
> 	24WC256 eeprom
> 	TMP102AIDRLT temperature sensor
> 	PCF8575 GPIO expander
> 	PCA9306 i2c voltage translator -> Goes to P9 for comm interface
> 	P2 expansion connector
> 	TPS65917 PMIC
>
> The slowest speed of all the peripherals seems to be 400KHz.

Correcting the 'to' list.

>
> Tested-by: Lokesh Vutla <lokeshvutla@ti.com>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> ---
>   arch/arm/boot/dts/dra72-evm.dts |   16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts
> index 5147023..1e12862 100644
> --- a/arch/arm/boot/dts/dra72-evm.dts
> +++ b/arch/arm/boot/dts/dra72-evm.dts
> @@ -19,6 +19,22 @@
>   	};
>   };
>   
> +&dra7_pmx_core {
> +	i2c1_pins: pinmux_i2c1_pins {
> +		pinctrl-single,pins = <
> +			0x400 (PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */
> +			0x404 (PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */
> +		>;
> +	};
> +};
> +
> +&i2c1 {
> +	status = "okay";
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&i2c1_pins>;
> +	clock-frequency = <400000>;
> +};
> +
>   &uart1 {
>   	status = "okay";
>   };


  parent reply	other threads:[~2014-07-28  9:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28  6:18 [PATCH 0/2] ARM: dts: dra72-evm: Add i2c1 and tps65917 nodes Keerthy
2014-07-28  6:18 ` Keerthy
     [not found] ` <1406528334-4415-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2014-07-28  6:18   ` [PATCH 1/2] ARM: dts: dra72-evm: Enable I2C1 node Keerthy
2014-07-28  6:18     ` Keerthy
     [not found]     ` <1406528334-4415-2-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2014-07-28  9:24       ` Keerthy [this message]
2014-07-28  9:24         ` Keerthy
2014-07-28  6:18   ` [PATCH 2/2] ARM: dts: dra72-evm: Add tps65917 PMIC node Keerthy
2014-07-28  6:18     ` Keerthy
2014-07-28  9:23     ` Keerthy
2014-07-28  9:23       ` Keerthy
2014-07-28  6:30   ` [PATCH 0/2] ARM: dts: dra72-evm: Add i2c1 and tps65917 nodes Lokesh Vutla
2014-07-28  6:30     ` Lokesh Vutla
2014-07-28  9:22     ` Keerthy
2014-07-28  9:22       ` Keerthy
     [not found]       ` <53D61643.4070005-l0cyMroinI0@public.gmane.org>
2014-08-12 12:35         ` Keerthy
2014-08-12 12:35           ` Keerthy
2014-09-08 20:04           ` Nishanth Menon
2014-09-08 20:04             ` Nishanth Menon
2014-09-08 23:12             ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D616B6.3030806@ti.com \
    --to=a0393675-l0cymroini0@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=j-keerthy-l0cyMroinI0@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lokeshvutla-l0cyMroinI0@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=nm-l0cyMroinI0@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.