public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: uri.mashiach@compulab•co.il (Uri Mashiach)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 2/6] ARM: OMAP2+: dts: cm-t335: add basic support for I2C
Date: Wed, 11 Nov 2015 19:32:44 +0200	[thread overview]
Message-ID: <56437BBC.3070108@compulab.co.il> (raw)
In-Reply-To: <1445948100-16446-3-git-send-email-uri.mashiach@compulab.co.il>

Gentle ping

On 27/10/15 14:14, Uri Mashiach wrote:
> From: Ilya Ledvich <ilya@compulab•co.il>
>
> Add pinmux configuration for I2C0 and I2C1 pins.
> Add description for I2C0 bus, set clock frequency to 400kHz.
> Add child nodes for 24c02 EEPROM and em3027 RTC on I2C0 bus.
>
> Acked-by: Igor Grinberg <grinberg@compulab•co.il>
> Signed-off-by: Ilya Ledvich <ilya@compulab•co.il>
> Signed-off-by: Uri Mashiach <uri.mashiach@compulab•co.il>
> ---
>   arch/arm/boot/dts/am335x-cm-t335.dts | 37 ++++++++++++++++++++++++++++++++++++
>   1 file changed, 37 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am335x-cm-t335.dts b/arch/arm/boot/dts/am335x-cm-t335.dts
> index 197d5ce..39df3d2 100644
> --- a/arch/arm/boot/dts/am335x-cm-t335.dts
> +++ b/arch/arm/boot/dts/am335x-cm-t335.dts
> @@ -37,6 +37,24 @@
>   	pinctrl-names = "default";
>   	pinctrl-0 = <>;
>
> +	i2c0_pins: pinmux_i2c0_pins {
> +		pinctrl-single,pins = <
> +			/* i2c0_sda.i2c0_sda */
> +			0x188 (PIN_INPUT_PULLUP | MUX_MODE0)
> +			/* i2c0_scl.i2c0_scl */
> +			0x18c (PIN_INPUT_PULLUP | MUX_MODE0)
> +		>;
> +	};
> +
> +	i2c1_pins: pinmux_i2c1_pins {
> +		pinctrl-single,pins = <
> +			/* uart0_ctsn.i2c1_sda */
> +			0x168 (PIN_INPUT_PULLUP | MUX_MODE2)
> +			/* uart0_rtsn.i2c1_scl */
> +			0x16c (PIN_INPUT_PULLUP | MUX_MODE2)
> +		>;
> +	};
> +
>   	gpio_led_pins: pinmux_gpio_led_pins {
>   		pinctrl-single,pins = <
>   			0x88 (PIN_OUTPUT | MUX_MODE7)	/* gpmc_csn3.gpio2_0 */
> @@ -60,3 +78,22 @@
>   	status = "okay";
>   };
>
> +&i2c0 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&i2c0_pins>;
> +
> +	status = "okay";
> +	clock-frequency = <400000>;
> +
> +	eeprom: 24c02 at 50 {
> +		compatible = "atmel,24c02";
> +		reg = <0x50>;
> +		pagesize = <16>;
> +	};
> +
> +	ext_rtc: em3027 at 56 {
> +		compatible = "emmicro,em3027";
> +		reg = <0x56>;
> +	};
> +};
> +
>

  reply	other threads:[~2015-11-11 17:32 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27 12:14 [PATCH 0/6] ARM: OMAP2+: dts: cm-t335: initial support Uri Mashiach
2015-10-27 12:14 ` [PATCH 1/6] ARM: OMAP2+: dts: cm-t335: add " Uri Mashiach
2015-11-11 17:32   ` Uri Mashiach
2015-11-13 10:19   ` Igor Grinberg
2015-10-27 12:14 ` [PATCH 2/6] ARM: OMAP2+: dts: cm-t335: add basic support for I2C Uri Mashiach
2015-11-11 17:32   ` Uri Mashiach [this message]
2015-10-27 12:14 ` [PATCH 3/6] ARM: OMAP2+: dts: cm-t335: add support for NAND flash Uri Mashiach
2015-11-11 17:32   ` Uri Mashiach
2015-10-27 12:14 ` [PATCH 4/6] ARM: OMAP2+: dts: cm-t335: add support for MMC Uri Mashiach
2015-11-11 17:33   ` Uri Mashiach
2015-10-27 12:14 ` [PATCH 5/6] ARM: OMAP2+: dts: cm-t335: add support for network device Uri Mashiach
2015-10-27 13:14   ` Mugunthan V N
2015-11-11 17:33   ` Uri Mashiach
2015-10-27 12:15 ` [PATCH 6/6] ARM: OMAP2+: dts: cm-t335: add support for PWM backlight Uri Mashiach
2015-11-11 17:33   ` Uri Mashiach
2015-11-11 17:32 ` [PATCH 0/6] ARM: OMAP2+: dts: cm-t335: initial support Uri Mashiach
2015-11-11 17:50   ` Tony Lindgren
2015-11-24 14:02 ` [PATCH v2 " Uri Mashiach
2015-11-24 14:02   ` [PATCH v2 1/6] ARM: OMAP2+: dts: cm-t335: add " Uri Mashiach
2015-11-25 22:44     ` Rob Herring
2015-11-30 19:51     ` Tony Lindgren
2015-12-02 10:44       ` Uri Mashiach
2015-11-24 14:02   ` [PATCH v2 2/6] ARM: OMAP2+: dts: cm-t335: add basic support for I2C Uri Mashiach
2015-11-24 14:02   ` [PATCH v2 3/6] ARM: OMAP2+: dts: cm-t335: add support for NAND flash Uri Mashiach
2015-11-24 14:02   ` [PATCH v2 4/6] ARM: OMAP2+: dts: cm-t335: add support for MMC Uri Mashiach
2015-11-24 14:02   ` [PATCH v2 5/6] ARM: OMAP2+: dts: cm-t335: add support for network device Uri Mashiach
2015-11-24 14:02   ` [PATCH v2 6/6] ARM: OMAP2+: dts: cm-t335: add support for PWM backlight Uri Mashiach
2015-12-13  8:55 ` [PATCH 0/5] ARM: dts: cm-t335: add peripheral support Uri Mashiach
2015-12-13  8:55   ` [PATCH 1/5] ARM: dts: cm-t335: add support for USB0 Uri Mashiach
2015-12-13  8:55   ` [PATCH 2/5] ARM: dts: cm-t335: add support for SBC-T335 Uri Mashiach
2015-12-14  1:25     ` Rob Herring
2015-12-17 18:05       ` Tony Lindgren
2015-12-13  8:55   ` [PATCH 3/5] ARM: dts: cm-t335: add support for I2C GPIO expander Uri Mashiach
2015-12-13  8:55   ` [PATCH 4/5] ARM: dts: cm-t335: add support for DVI/LCD Uri Mashiach
2015-12-13  8:55   ` [PATCH 5/5] ARM: dts: cm-t335: add support for bluetooth Uri Mashiach

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=56437BBC.3070108@compulab.co.il \
    --to=uri.mashiach@compulab$(echo .)co.il \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox