diff mbox series

[v2,3/3] ARM: dts: Add i2c0 pinctrl information for 98dx3236

Message ID 20200907211712.9697-4-chris.packham@alliedtelesis.co.nz (mailing list archive)
State New, archived
Headers show
Series 98dx3236 i2c related fixes | expand

Commit Message

Chris Packham Sept. 7, 2020, 9:17 p.m. UTC
Add pinctrl information for the 98dx3236 (and variants). There is only
one choice for i2c0 MPP14 and MPP15.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
---
Changes in v2:
- Add reviewed-by from Andrew

 arch/arm/boot/dts/armada-xp-98dx3236.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Linus Walleij Sept. 12, 2020, 4:16 p.m. UTC | #1
On Mon, Sep 7, 2020 at 11:17 PM Chris Packham
<chris.packham@alliedtelesis.co.nz> wrote:

> Add pinctrl information for the 98dx3236 (and variants). There is only
> one choice for i2c0 MPP14 and MPP15.
>
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Please merge this through the ARM SoC maintenance path.

Yours,
Linus Walleij
Chris Packham Sept. 23, 2020, 3:08 a.m. UTC | #2
Hi Jason, Andrew, Gregory,

On 13/09/20 4:16 am, Linus Walleij wrote:
> On Mon, Sep 7, 2020 at 11:17 PM Chris Packham
> <chris.packham@alliedtelesis.co.nz> wrote:
>
>> Add pinctrl information for the 98dx3236 (and variants). There is only
>> one choice for i2c0 MPP14 and MPP15.
>>
>> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
>> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>
> Please merge this through the ARM SoC maintenance path.

Are you able to pick this up via the mvebu tree or should I send it via 
the RMKs patch tracking system?

Incidentally I notice there is no longer a linux-mvebu.git on 
git.infradead.org is there a pending update to MAINTAINERS.
Andrew Lunn Sept. 23, 2020, 12:31 p.m. UTC | #3
On Wed, Sep 23, 2020 at 03:08:22AM +0000, Chris Packham wrote:
> Hi Jason, Andrew, Gregory,
> 
> On 13/09/20 4:16 am, Linus Walleij wrote:
> > On Mon, Sep 7, 2020 at 11:17 PM Chris Packham
> > <chris.packham@alliedtelesis.co.nz> wrote:
> >
> >> Add pinctrl information for the 98dx3236 (and variants). There is only
> >> one choice for i2c0 MPP14 and MPP15.
> >>
> >> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
> >> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> > Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> >
> > Please merge this through the ARM SoC maintenance path.
> 
> Are you able to pick this up via the mvebu tree or should I send it via 
> the RMKs patch tracking system?

Hi Chris

Gregory should be able to pick this up via mvebu.

> Incidentally I notice there is no longer a linux-mvebu.git on 
> git.infradead.org is there a pending update to MAINTAINERS.

It moved to git.kernel.org.

https://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu.git/

It does not look like there is a patch to MAINTAINERS queued.

	 Andrew
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi
index aeccedd12574..38a052a0312d 100644
--- a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi
+++ b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi
@@ -264,6 +264,8 @@  refclk: oscillator {
 &i2c0 {
 	compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
 	reg = <0x11000 0x100>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c0_pins>;
 };
 
 &mpic {
@@ -319,6 +321,11 @@  spi0_pins: spi0-pins {
 			       "mpp2", "mpp3";
 		marvell,function = "spi0";
 	};
+
+	i2c0_pins: i2c-pins-0 {
+		marvell,pins = "mpp14", "mpp15";
+		marvell,function = "i2c0";
+	};
 };
 
 &spi0 {