linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: marvell: armada-80x0: Fix pinctrl compatible string
@ 2018-01-12 10:00 Gregory CLEMENT
  2018-01-12 10:06 ` Thomas Petazzoni
  2018-01-12 16:09 ` Gregory CLEMENT
  0 siblings, 2 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2018-01-12 10:00 UTC (permalink / raw)
  To: linux-arm-kernel

When replacing the cpm by cp0 and cps by cp1 [1] not only the label and
the alias were replaced but also the compatible string which was wrong.

Due to this the pinctrl driver was no more probed.

This patch fix it by reverting this change for the pinctrl compatible
string on Armada 8K.

[1]: "arm64: dts: marvell: replace cpm by cp0, cps by cp1"

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
 arch/arm64/boot/dts/marvell/armada-80x0.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
index 0d36b0fa7153..e9c84a1d3c4d 100644
--- a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
@@ -108,13 +108,13 @@
 
 &cp0_syscon0 {
 	cp0_pinctrl: pinctrl {
-		compatible = "marvell,armada-8k-cp0-pinctrl";
+		compatible = "marvell,armada-8k-cpm-pinctrl";
 	};
 };
 
 &cp1_syscon0 {
 	cp1_pinctrl: pinctrl {
-		compatible = "marvell,armada-8k-cp1-pinctrl";
+		compatible = "marvell,armada-8k-cps-pinctrl";
 
 		nand_pins: nand-pins {
 			marvell,pins =
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] arm64: dts: marvell: armada-80x0: Fix pinctrl compatible string
  2018-01-12 10:00 [PATCH] arm64: dts: marvell: armada-80x0: Fix pinctrl compatible string Gregory CLEMENT
@ 2018-01-12 10:06 ` Thomas Petazzoni
  2018-01-12 10:10   ` Gregory CLEMENT
  2018-01-12 16:09 ` Gregory CLEMENT
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2018-01-12 10:06 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

On Fri, 12 Jan 2018 11:00:02 +0100, Gregory CLEMENT wrote:
> When replacing the cpm by cp0 and cps by cp1 [1] not only the label and
> the alias were replaced but also the compatible string which was wrong.
> 
> Due to this the pinctrl driver was no more probed.
> 
> This patch fix it by reverting this change for the pinctrl compatible
> string on Armada 8K.
> 
> [1]: "arm64: dts: marvell: replace cpm by cp0, cps by cp1"

It is normally recommended to give the commit ID, i.e:

In commit 01b451ed3bd2 ("arm64: dts: marvell: replace cpm by cp0, cps
by cp1"), ...

> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thanks for fixing this mistake!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] arm64: dts: marvell: armada-80x0: Fix pinctrl compatible string
  2018-01-12 10:06 ` Thomas Petazzoni
@ 2018-01-12 10:10   ` Gregory CLEMENT
  0 siblings, 0 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2018-01-12 10:10 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Thomas,
 
 On ven., janv. 12 2018, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> Hello,
>
> On Fri, 12 Jan 2018 11:00:02 +0100, Gregory CLEMENT wrote:
>> When replacing the cpm by cp0 and cps by cp1 [1] not only the label and
>> the alias were replaced but also the compatible string which was wrong.
>> 
>> Due to this the pinctrl driver was no more probed.
>> 
>> This patch fix it by reverting this change for the pinctrl compatible
>> string on Armada 8K.
>> 
>> [1]: "arm64: dts: marvell: replace cpm by cp0, cps by cp1"
>
> It is normally recommended to give the commit ID, i.e:
>
> In commit 01b451ed3bd2 ("arm64: dts: marvell: replace cpm by cp0, cps
> by cp1"), ...

But this commit in not yet in Linus tree, the ID you point is in
linux-next, so once this patch will be merged the commit ID would become
meaningless.

Gregory
>
>> 
>> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
>
> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
> Thanks for fixing this mistake!
>
> Thomas
> -- 
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
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] 4+ messages in thread

* [PATCH] arm64: dts: marvell: armada-80x0: Fix pinctrl compatible string
  2018-01-12 10:00 [PATCH] arm64: dts: marvell: armada-80x0: Fix pinctrl compatible string Gregory CLEMENT
  2018-01-12 10:06 ` Thomas Petazzoni
@ 2018-01-12 16:09 ` Gregory CLEMENT
  1 sibling, 0 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2018-01-12 16:09 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,
 
 On ven., janv. 12 2018, Gregory CLEMENT <gregory.clement@free-electrons.com> wrote:

> When replacing the cpm by cp0 and cps by cp1 [1] not only the label and
> the alias were replaced but also the compatible string which was wrong.
>
> Due to this the pinctrl driver was no more probed.
>
> This patch fix it by reverting this change for the pinctrl compatible
> string on Armada 8K.
>
> [1]: "arm64: dts: marvell: replace cpm by cp0, cps by cp1"
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>

Applied on mvebu/dt64 with the reviewed-by flag from Thomas Petazzoni. I
do it right now because I hope being able to make a late pull request
with it in order to have the dtbs in the right state from the beginning
of the 4.16-rc1.

Gregory

> ---
>  arch/arm64/boot/dts/marvell/armada-80x0.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
> index 0d36b0fa7153..e9c84a1d3c4d 100644
> --- a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi
> @@ -108,13 +108,13 @@
>  
>  &cp0_syscon0 {
>  	cp0_pinctrl: pinctrl {
> -		compatible = "marvell,armada-8k-cp0-pinctrl";
> +		compatible = "marvell,armada-8k-cpm-pinctrl";
>  	};
>  };
>  
>  &cp1_syscon0 {
>  	cp1_pinctrl: pinctrl {
> -		compatible = "marvell,armada-8k-cp1-pinctrl";
> +		compatible = "marvell,armada-8k-cps-pinctrl";
>  
>  		nand_pins: nand-pins {
>  			marvell,pins =
> -- 
> 2.15.1
>

-- 
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] 4+ messages in thread

end of thread, other threads:[~2018-01-12 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 10:00 [PATCH] arm64: dts: marvell: armada-80x0: Fix pinctrl compatible string Gregory CLEMENT
2018-01-12 10:06 ` Thomas Petazzoni
2018-01-12 10:10   ` Gregory CLEMENT
2018-01-12 16:09 ` Gregory CLEMENT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).