* [PATCH 0/3] Add basic support for the I2C units of the Armada 3700
@ 2016-11-08 15:15 Romain Perier
[not found] ` <20161108151506.1131-1-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Romain Perier @ 2016-11-08 15:15 UTC (permalink / raw)
To: Wolfram Sang, linux-i2c-u79uwXL29TY76Z2rM5mHXA
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Ian Campbell,
Pawel Moll, Mark Rutland, Kumar Gala, Jason Cooper, Andrew Lunn,
Sebastian Hesselbarth, Gregory Clement, Thomas Petazzoni,
Nadav Haklai, Omri Itach, Shadi Ammouri, Yahuda Yitschak,
Hanna Hawa, Neta Zur Hershkovits, Igal Liberman, Marcin Wojtas
This series add basic support for the I2C bus interface units present
in the Armada 3700 to the pxa-i2c driver. It also add the definitions of
the device nodes to the devicetree at the SoC level and for its official
development board: the Armada 3720 DB.
Romain Perier (3):
i2c: pxa: Add support for the I2C units found in Armada 3700
arm64: dts: marvell: Add I2C definitions for the Armada 3700
dt-bindings: i2c: pxa: Update the documentation for the Armada 3700
Documentation/devicetree/bindings/i2c/i2c-pxa.txt | 1 +
arch/arm64/boot/dts/marvell/armada-3720-db.dts | 4 ++++
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 18 ++++++++++++++++
drivers/i2c/busses/Kconfig | 2 +-
drivers/i2c/busses/i2c-pxa.c | 25 +++++++++++++++++++++--
5 files changed, 47 insertions(+), 3 deletions(-)
--
2.9.3
--
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
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <20161108151506.1131-1-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>]
* [PATCH 1/3] i2c: pxa: Add support for the I2C units found in Armada 3700 [not found] ` <20161108151506.1131-1-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> @ 2016-11-08 15:15 ` Romain Perier 2016-11-08 15:44 ` Gregory CLEMENT 0 siblings, 1 reply; 7+ messages in thread From: Romain Perier @ 2016-11-08 15:15 UTC (permalink / raw) To: Wolfram Sang, linux-i2c-u79uwXL29TY76Z2rM5mHXA Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Ian Campbell, Pawel Moll, Mark Rutland, Kumar Gala, Jason Cooper, Andrew Lunn, Sebastian Hesselbarth, Gregory Clement, Thomas Petazzoni, Nadav Haklai, Omri Itach, Shadi Ammouri, Yahuda Yitschak, Hanna Hawa, Neta Zur Hershkovits, Igal Liberman, Marcin Wojtas The Armada 3700 has two I2C controllers that is compliant with the I2C Bus Specificiation 2.1, supports multi-master and different bus speed: Standard mode (up to 100 KHz), Fast mode (up to 400 KHz), High speed mode (up to 3.4 Mhz). This IP block has a lot of similarity with the PXA, except some register offsets and bitfield. This commits adds a basic support for this I2C unit. Signed-off-by: Romain Perier <romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> --- drivers/i2c/busses/Kconfig | 2 +- drivers/i2c/busses/i2c-pxa.c | 25 +++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index d252276..2f56a26 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -763,7 +763,7 @@ config I2C_PUV3 config I2C_PXA tristate "Intel PXA2XX I2C adapter" - depends on ARCH_PXA || ARCH_MMP || (X86_32 && PCI && OF) + depends on ARCH_PXA || ARCH_MMP || ARCH_MVEBU || (X86_32 && PCI && OF) help If you have devices in the PXA I2C bus, say yes to this option. This driver can also be built as a module. If so, the module diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index e28b825..34ea830 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c @@ -55,6 +55,7 @@ enum pxa_i2c_types { REGS_PXA3XX, REGS_CE4100, REGS_PXA910, + REGS_A3700, }; /* @@ -91,6 +92,13 @@ static struct pxa_reg_layout pxa_reg_layout[] = { .ilcr = 0x28, .iwcr = 0x30, }, + [REGS_A3700] = { + .ibmr = 0x00, + .idbr = 0x04, + .icr = 0x08, + .isr = 0x0c, + .isar = 0x10, + }, }; static const struct platform_device_id i2c_pxa_id_table[] = { @@ -98,6 +106,7 @@ static const struct platform_device_id i2c_pxa_id_table[] = { { "pxa3xx-pwri2c", REGS_PXA3XX }, { "ce4100-i2c", REGS_CE4100 }, { "pxa910-i2c", REGS_PXA910 }, + { "armada-3700-i2c", REGS_A3700 }, { }, }; MODULE_DEVICE_TABLE(platform, i2c_pxa_id_table); @@ -122,7 +131,9 @@ MODULE_DEVICE_TABLE(platform, i2c_pxa_id_table); #define ICR_SADIE (1 << 13) /* slave address detected int enable */ #define ICR_UR (1 << 14) /* unit reset */ #define ICR_FM (1 << 15) /* fast mode */ +#define ICR_BUSMODE_FM (1 << 16) /* shifted fast mode for armada-3700 */ #define ICR_HS (1 << 16) /* High Speed mode */ +#define ICR_BUSMODE_HS (1 << 17) /* shifted high speed mode for armada-3700 */ #define ICR_GPIOEN (1 << 19) /* enable GPIO mode for SCL in HS */ #define ISR_RWM (1 << 0) /* read/write mode */ @@ -193,6 +204,8 @@ struct pxa_i2c { unsigned char master_code; unsigned long rate; bool highmode_enter; + unsigned long fm_mask; + unsigned long hs_mask; }; #define _IBMR(i2c) ((i2c)->reg_ibmr) @@ -503,8 +516,8 @@ static void i2c_pxa_reset(struct pxa_i2c *i2c) writel(i2c->slave_addr, _ISAR(i2c)); /* set control register values */ - writel(I2C_ICR_INIT | (i2c->fast_mode ? ICR_FM : 0), _ICR(i2c)); - writel(readl(_ICR(i2c)) | (i2c->high_mode ? ICR_HS : 0), _ICR(i2c)); + writel(I2C_ICR_INIT | (i2c->fast_mode ? i2c->fm_mask : 0), _ICR(i2c)); + writel(readl(_ICR(i2c)) | (i2c->high_mode ? i2c->hs_mask : 0), _ICR(i2c)); #ifdef CONFIG_I2C_PXA_SLAVE dev_info(&i2c->adap.dev, "Enabling slave mode\n"); @@ -1137,6 +1150,7 @@ static const struct of_device_id i2c_pxa_dt_ids[] = { { .compatible = "mrvl,pxa-i2c", .data = (void *)REGS_PXA2XX }, { .compatible = "mrvl,pwri2c", .data = (void *)REGS_PXA3XX }, { .compatible = "mrvl,mmp-twsi", .data = (void *)REGS_PXA910 }, + { .compatible = "marvell,armada-3700-i2c", .data = (void *)REGS_A3700 }, {} }; MODULE_DEVICE_TABLE(of, i2c_pxa_dt_ids); @@ -1158,6 +1172,13 @@ static int i2c_pxa_probe_dt(struct platform_device *pdev, struct pxa_i2c *i2c, i2c->use_pio = 1; if (of_get_property(np, "mrvl,i2c-fast-mode", NULL)) i2c->fast_mode = 1; + if (of_device_is_compatible(np, "marvell,armada-3700-i2c")) { + i2c->fm_mask = ICR_BUSMODE_FM; + i2c->hs_mask = ICR_BUSMODE_HS; + } else { + i2c->fm_mask = ICR_FM; + i2c->hs_mask = ICR_HS; + } *i2c_types = (enum pxa_i2c_types)(of_id->data); -- 2.9.3 -- 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 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] i2c: pxa: Add support for the I2C units found in Armada 3700 2016-11-08 15:15 ` [PATCH 1/3] i2c: pxa: Add support for the I2C units found in " Romain Perier @ 2016-11-08 15:44 ` Gregory CLEMENT 0 siblings, 0 replies; 7+ messages in thread From: Gregory CLEMENT @ 2016-11-08 15:44 UTC (permalink / raw) To: Romain Perier Cc: Wolfram Sang, linux-i2c, devicetree, Rob Herring, Ian Campbell, Pawel Moll, Mark Rutland, Kumar Gala, Jason Cooper, Andrew Lunn, Sebastian Hesselbarth, Thomas Petazzoni, Nadav Haklai, Omri Itach, Shadi Ammouri, Yahuda Yitschak, Hanna Hawa, Neta Zur Hershkovits, Igal Liberman, Marcin Wojtas Hi Romain, On mar., nov. 08 2016, Romain Perier <romain.perier@free-electrons.com> wrote: > The Armada 3700 has two I2C controllers that is compliant with the I2C > Bus Specificiation 2.1, supports multi-master and different bus speed: > Standard mode (up to 100 KHz), Fast mode (up to 400 KHz), > High speed mode (up to 3.4 Mhz). > > This IP block has a lot of similarity with the PXA, except some register > offsets and bitfield. This commits adds a basic support for this I2C > unit. On the Armada 3720 DB board I manged to run i2cdetect and did some i2cdump successfully. Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> During the kernel init I got a: pxa2xx-i2c d0011000.i2c: failed to get the clk: -517 Maybe an improvement of the driver could be to not output this message in case of EPROBE_DEFER. Or at least an other message less scary. Thanks, Gregory > > Signed-off-by: Romain Perier <romain.perier@free-electrons.com> > --- > drivers/i2c/busses/Kconfig | 2 +- > drivers/i2c/busses/i2c-pxa.c | 25 +++++++++++++++++++++++-- > 2 files changed, 24 insertions(+), 3 deletions(-) > > diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig > index d252276..2f56a26 100644 > --- a/drivers/i2c/busses/Kconfig > +++ b/drivers/i2c/busses/Kconfig > @@ -763,7 +763,7 @@ config I2C_PUV3 > > config I2C_PXA > tristate "Intel PXA2XX I2C adapter" > - depends on ARCH_PXA || ARCH_MMP || (X86_32 && PCI && OF) > + depends on ARCH_PXA || ARCH_MMP || ARCH_MVEBU || (X86_32 && PCI && OF) > help > If you have devices in the PXA I2C bus, say yes to this option. > This driver can also be built as a module. If so, the module > diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c > index e28b825..34ea830 100644 > --- a/drivers/i2c/busses/i2c-pxa.c > +++ b/drivers/i2c/busses/i2c-pxa.c > @@ -55,6 +55,7 @@ enum pxa_i2c_types { > REGS_PXA3XX, > REGS_CE4100, > REGS_PXA910, > + REGS_A3700, > }; > > /* > @@ -91,6 +92,13 @@ static struct pxa_reg_layout pxa_reg_layout[] = { > .ilcr = 0x28, > .iwcr = 0x30, > }, > + [REGS_A3700] = { > + .ibmr = 0x00, > + .idbr = 0x04, > + .icr = 0x08, > + .isr = 0x0c, > + .isar = 0x10, > + }, > }; > > static const struct platform_device_id i2c_pxa_id_table[] = { > @@ -98,6 +106,7 @@ static const struct platform_device_id i2c_pxa_id_table[] = { > { "pxa3xx-pwri2c", REGS_PXA3XX }, > { "ce4100-i2c", REGS_CE4100 }, > { "pxa910-i2c", REGS_PXA910 }, > + { "armada-3700-i2c", REGS_A3700 }, > { }, > }; > MODULE_DEVICE_TABLE(platform, i2c_pxa_id_table); > @@ -122,7 +131,9 @@ MODULE_DEVICE_TABLE(platform, i2c_pxa_id_table); > #define ICR_SADIE (1 << 13) /* slave address detected int enable */ > #define ICR_UR (1 << 14) /* unit reset */ > #define ICR_FM (1 << 15) /* fast mode */ > +#define ICR_BUSMODE_FM (1 << 16) /* shifted fast mode for armada-3700 */ > #define ICR_HS (1 << 16) /* High Speed mode */ > +#define ICR_BUSMODE_HS (1 << 17) /* shifted high speed mode for armada-3700 */ > #define ICR_GPIOEN (1 << 19) /* enable GPIO mode for SCL in HS */ > > #define ISR_RWM (1 << 0) /* read/write mode */ > @@ -193,6 +204,8 @@ struct pxa_i2c { > unsigned char master_code; > unsigned long rate; > bool highmode_enter; > + unsigned long fm_mask; > + unsigned long hs_mask; > }; > > #define _IBMR(i2c) ((i2c)->reg_ibmr) > @@ -503,8 +516,8 @@ static void i2c_pxa_reset(struct pxa_i2c *i2c) > writel(i2c->slave_addr, _ISAR(i2c)); > > /* set control register values */ > - writel(I2C_ICR_INIT | (i2c->fast_mode ? ICR_FM : 0), _ICR(i2c)); > - writel(readl(_ICR(i2c)) | (i2c->high_mode ? ICR_HS : 0), _ICR(i2c)); > + writel(I2C_ICR_INIT | (i2c->fast_mode ? i2c->fm_mask : 0), _ICR(i2c)); > + writel(readl(_ICR(i2c)) | (i2c->high_mode ? i2c->hs_mask : 0), _ICR(i2c)); > > #ifdef CONFIG_I2C_PXA_SLAVE > dev_info(&i2c->adap.dev, "Enabling slave mode\n"); > @@ -1137,6 +1150,7 @@ static const struct of_device_id i2c_pxa_dt_ids[] = { > { .compatible = "mrvl,pxa-i2c", .data = (void *)REGS_PXA2XX }, > { .compatible = "mrvl,pwri2c", .data = (void *)REGS_PXA3XX }, > { .compatible = "mrvl,mmp-twsi", .data = (void *)REGS_PXA910 }, > + { .compatible = "marvell,armada-3700-i2c", .data = (void *)REGS_A3700 }, > {} > }; > MODULE_DEVICE_TABLE(of, i2c_pxa_dt_ids); > @@ -1158,6 +1172,13 @@ static int i2c_pxa_probe_dt(struct platform_device *pdev, struct pxa_i2c *i2c, > i2c->use_pio = 1; > if (of_get_property(np, "mrvl,i2c-fast-mode", NULL)) > i2c->fast_mode = 1; > + if (of_device_is_compatible(np, "marvell,armada-3700-i2c")) { > + i2c->fm_mask = ICR_BUSMODE_FM; > + i2c->hs_mask = ICR_BUSMODE_HS; > + } else { > + i2c->fm_mask = ICR_FM; > + i2c->hs_mask = ICR_HS; > + } > > *i2c_types = (enum pxa_i2c_types)(of_id->data); > > -- > 2.9.3 > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/3] arm64: dts: marvell: Add I2C definitions for the Armada 3700 2016-11-08 15:15 [PATCH 0/3] Add basic support for the I2C units of the Armada 3700 Romain Perier [not found] ` <20161108151506.1131-1-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> @ 2016-11-08 15:15 ` Romain Perier [not found] ` <20161108151506.1131-3-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2016-11-08 15:15 ` [PATCH 3/3] dt-bindings: i2c: pxa: Update the documentation " Romain Perier 2 siblings, 1 reply; 7+ messages in thread From: Romain Perier @ 2016-11-08 15:15 UTC (permalink / raw) To: Wolfram Sang, linux-i2c Cc: devicetree, Rob Herring, Ian Campbell, Pawel Moll, Mark Rutland, Kumar Gala, Jason Cooper, Andrew Lunn, Sebastian Hesselbarth, Gregory Clement, Thomas Petazzoni, Nadav Haklai, Omri Itach, Shadi Ammouri, Yahuda Yitschak, Hanna Hawa, Neta Zur Hershkovits, Igal Liberman, Marcin Wojtas The Armada 3700 has two i2c bus interface units, this commit adds the definitions of the corresponding device nodes. It also enables the node on the development board for this SoC. Signed-off-by: Romain Perier <romain.perier@free-electrons.com> --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 4 ++++ arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts index 1372e9a6..16d84af 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts @@ -62,6 +62,10 @@ }; }; +&i2c0 { + status = "okay"; +}; + /* CON3 */ &sata { status = "okay"; diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index c476253..bf2d73d 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -98,6 +98,24 @@ /* 32M internal register @ 0xd000_0000 */ ranges = <0x0 0x0 0xd0000000 0x2000000>; + i2c0: i2c@11000 { + compatible = "marvell,armada-3700-i2c"; + reg = <0x11000 0x24>; + clocks = <&nb_perih_clk 10>; + interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; + mrvl,i2c-fast-mode; + status = "disabled"; + }; + + i2c1: i2c@11080 { + compatible = "marvell,armada-3700-i2c"; + reg = <0x11080 0x24>; + clocks = <&nb_perih_clk 9>; + interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; + mrvl,i2c-fast-mode; + status = "disabled"; + }; + uart0: serial@12000 { compatible = "marvell,armada-3700-uart"; reg = <0x12000 0x400>; -- 2.9.3 ^ permalink raw reply related [flat|nested] 7+ messages in thread
[parent not found: <20161108151506.1131-3-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>]
* Re: [PATCH 2/3] arm64: dts: marvell: Add I2C definitions for the Armada 3700 [not found] ` <20161108151506.1131-3-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> @ 2016-11-08 15:52 ` Gregory CLEMENT 0 siblings, 0 replies; 7+ messages in thread From: Gregory CLEMENT @ 2016-11-08 15:52 UTC (permalink / raw) To: Wolfram Sang, Romain Perier Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Ian Campbell, Pawel Moll, Mark Rutland, Kumar Gala, Jason Cooper, Andrew Lunn, Sebastian Hesselbarth, Thomas Petazzoni, Nadav Haklai, Omri Itach, Shadi Ammouri, Yahuda Yitschak, Hanna Hawa, Neta Zur Hershkovits, Igal Liberman, Marcin Wojtas Hi Romain and Wolfram, On mar., nov. 08 2016, Romain Perier <romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote: > The Armada 3700 has two i2c bus interface units, this commit adds the > definitions of the corresponding device nodes. It also enables the node > on the development board for this SoC. > > Signed-off-by: Romain Perier <romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Acked-by: Gregory CLEMENT <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> This patch is OK for me but I would like to apply it myself on mvebu/dt. Indeed Thomas Petazzoni pointed that I made a typo on the peripheral clock label: nb_perih_clk instead of nb_periph_clk. I would like to fix it and by applying this patch I will avoid a merge conflict or worse a mismatch with the label name. Wolfram, once you will be OK with the patch 1 and 3, I will apply the patch 2. Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-3720-db.dts | 4 ++++ > arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 18 ++++++++++++++++++ > 2 files changed, 22 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts > index 1372e9a6..16d84af 100644 > --- a/arch/arm64/boot/dts/marvell/armada-3720-db.dts > +++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts > @@ -62,6 +62,10 @@ > }; > }; > > +&i2c0 { > + status = "okay"; > +}; > + > /* CON3 */ > &sata { > status = "okay"; > diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > index c476253..bf2d73d 100644 > --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi > @@ -98,6 +98,24 @@ > /* 32M internal register @ 0xd000_0000 */ > ranges = <0x0 0x0 0xd0000000 0x2000000>; > > + i2c0: i2c@11000 { > + compatible = "marvell,armada-3700-i2c"; > + reg = <0x11000 0x24>; > + clocks = <&nb_perih_clk 10>; > + interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; > + mrvl,i2c-fast-mode; > + status = "disabled"; > + }; > + > + i2c1: i2c@11080 { > + compatible = "marvell,armada-3700-i2c"; > + reg = <0x11080 0x24>; > + clocks = <&nb_perih_clk 9>; > + interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; > + mrvl,i2c-fast-mode; > + status = "disabled"; > + }; > + > uart0: serial@12000 { > compatible = "marvell,armada-3700-uart"; > reg = <0x12000 0x400>; > -- > 2.9.3 > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/3] dt-bindings: i2c: pxa: Update the documentation for the Armada 3700 2016-11-08 15:15 [PATCH 0/3] Add basic support for the I2C units of the Armada 3700 Romain Perier [not found] ` <20161108151506.1131-1-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2016-11-08 15:15 ` [PATCH 2/3] arm64: dts: marvell: Add I2C definitions for the " Romain Perier @ 2016-11-08 15:15 ` Romain Perier 2016-11-08 15:55 ` Gregory CLEMENT 2 siblings, 1 reply; 7+ messages in thread From: Romain Perier @ 2016-11-08 15:15 UTC (permalink / raw) To: Wolfram Sang, linux-i2c Cc: devicetree, Rob Herring, Ian Campbell, Pawel Moll, Mark Rutland, Kumar Gala, Jason Cooper, Andrew Lunn, Sebastian Hesselbarth, Gregory Clement, Thomas Petazzoni, Nadav Haklai, Omri Itach, Shadi Ammouri, Yahuda Yitschak, Hanna Hawa, Neta Zur Hershkovits, Igal Liberman, Marcin Wojtas This commit documents the compatible string to have the compatibility for the I2C unit found in the Armada 3700. Signed-off-by: Romain Perier <romain.perier@free-electrons.com> --- Documentation/devicetree/bindings/i2c/i2c-pxa.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-pxa.txt b/Documentation/devicetree/bindings/i2c/i2c-pxa.txt index 12b78ac..b1b995c 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-pxa.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-pxa.txt @@ -7,6 +7,7 @@ Required properties : compatible processor, e.g. pxa168, pxa910, mmp2, mmp3. For the pxa2xx/pxa3xx, an additional node "mrvl,pxa-i2c" is required as shown in the example below. + For the Armada 3700, the compatible should be "marvell,armada-3700". Recommended properties : -- 2.9.3 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] dt-bindings: i2c: pxa: Update the documentation for the Armada 3700 2016-11-08 15:15 ` [PATCH 3/3] dt-bindings: i2c: pxa: Update the documentation " Romain Perier @ 2016-11-08 15:55 ` Gregory CLEMENT 0 siblings, 0 replies; 7+ messages in thread From: Gregory CLEMENT @ 2016-11-08 15:55 UTC (permalink / raw) To: Romain Perier Cc: Wolfram Sang, linux-i2c, devicetree, Rob Herring, Ian Campbell, Pawel Moll, Mark Rutland, Kumar Gala, Jason Cooper, Andrew Lunn, Sebastian Hesselbarth, Thomas Petazzoni, Nadav Haklai, Omri Itach, Shadi Ammouri, Yahuda Yitschak, Hanna Hawa, Neta Zur Hershkovits, Igal Liberman, Marcin Wojtas Hi Romain, On mar., nov. 08 2016, Romain Perier <romain.perier@free-electrons.com> wrote: > This commit documents the compatible string to have the compatibility for > the I2C unit found in the Armada 3700. > > Signed-off-by: Romain Perier <romain.perier@free-electrons.com> > --- > Documentation/devicetree/bindings/i2c/i2c-pxa.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-pxa.txt b/Documentation/devicetree/bindings/i2c/i2c-pxa.txt > index 12b78ac..b1b995c 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-pxa.txt > +++ b/Documentation/devicetree/bindings/i2c/i2c-pxa.txt > @@ -7,6 +7,7 @@ Required properties : > compatible processor, e.g. pxa168, pxa910, mmp2, mmp3. > For the pxa2xx/pxa3xx, an additional node "mrvl,pxa-i2c" is required > as shown in the example below. > + For the Armada 3700, the compatible should be "marvell,armada-3700". You meant "marvell,armada-3700-i2c" I guess. Gregory > Recommended properties : > > -- > 2.9.3 > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-11-08 15:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-08 15:15 [PATCH 0/3] Add basic support for the I2C units of the Armada 3700 Romain Perier
[not found] ` <20161108151506.1131-1-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-11-08 15:15 ` [PATCH 1/3] i2c: pxa: Add support for the I2C units found in " Romain Perier
2016-11-08 15:44 ` Gregory CLEMENT
2016-11-08 15:15 ` [PATCH 2/3] arm64: dts: marvell: Add I2C definitions for the " Romain Perier
[not found] ` <20161108151506.1131-3-romain.perier-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-11-08 15:52 ` Gregory CLEMENT
2016-11-08 15:15 ` [PATCH 3/3] dt-bindings: i2c: pxa: Update the documentation " Romain Perier
2016-11-08 15:55 ` Gregory CLEMENT
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox