linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] dt-bindings: pinctrl: ti-k3: Move k3.h to arch specific
@ 2023-03-11 13:13 Nishanth Menon
  2023-03-11 13:13 ` [PATCH 1/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: Drop pinmux header Nishanth Menon
  2023-03-11 13:13 ` [PATCH 2/2] dt-bindings: pinctrl: Move k3.h to arch Nishanth Menon
  0 siblings, 2 replies; 7+ messages in thread
From: Nishanth Menon @ 2023-03-11 13:13 UTC (permalink / raw)
  To: Sekhar Nori, Linus Walleij, Krzysztof Kozlowski, Rob Herring,
	Paolo Abeni, Jakub Kicinski, Eric Dumazet, David S. Miller
  Cc: linux-gpio, linux-arm-kernel, linux-kernel, devicetree, netdev,
	Tero Kristo, Vignesh Raghavendra, Nishanth Menon

Hi,

As discussed in [1], lets do some basic cleanups and move pin ctrl
definitions to arch folder.

Base: next-20230310

Nishanth Menon (2):
  dt-bindings: net: ti: k3-am654-cpsw-nuss: Drop pinmux header
  dt-bindings: pinctrl: Move k3.h to arch

 .../devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml      | 1 -
 MAINTAINERS                                                 | 1 -
 arch/arm64/boot/dts/ti/k3-am62.dtsi                         | 3 ++-
 arch/arm64/boot/dts/ti/k3-am62a.dtsi                        | 3 ++-
 arch/arm64/boot/dts/ti/k3-am64.dtsi                         | 3 ++-
 arch/arm64/boot/dts/ti/k3-am65.dtsi                         | 3 ++-
 arch/arm64/boot/dts/ti/k3-j7200.dtsi                        | 3 ++-
 arch/arm64/boot/dts/ti/k3-j721e.dtsi                        | 3 ++-
 arch/arm64/boot/dts/ti/k3-j721s2.dtsi                       | 3 ++-
 arch/arm64/boot/dts/ti/k3-j784s4.dtsi                       | 3 ++-
 .../pinctrl/k3.h => arch/arm64/boot/dts/ti/k3-pinctrl.h     | 6 +++---
 11 files changed, 19 insertions(+), 13 deletions(-)
 rename include/dt-bindings/pinctrl/k3.h => arch/arm64/boot/dts/ti/k3-pinctrl.h (94%)

[1] https://lore.kernel.org/all/c4d53e9c-dac0-8ccc-dc86-faada324beba@linaro.org/
-- 
2.37.2


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

* [PATCH 1/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: Drop pinmux header
  2023-03-11 13:13 [PATCH 0/2] dt-bindings: pinctrl: ti-k3: Move k3.h to arch specific Nishanth Menon
@ 2023-03-11 13:13 ` Nishanth Menon
  2023-03-11 15:43   ` Krzysztof Kozlowski
  2023-03-11 13:13 ` [PATCH 2/2] dt-bindings: pinctrl: Move k3.h to arch Nishanth Menon
  1 sibling, 1 reply; 7+ messages in thread
From: Nishanth Menon @ 2023-03-11 13:13 UTC (permalink / raw)
  To: Sekhar Nori, Linus Walleij, Krzysztof Kozlowski, Rob Herring,
	Paolo Abeni, Jakub Kicinski, Eric Dumazet, David S. Miller
  Cc: linux-gpio, linux-arm-kernel, linux-kernel, devicetree, netdev,
	Tero Kristo, Vignesh Raghavendra, Nishanth Menon

Drop the pinmux header reference. Examples should just show the node
definition.

Signed-off-by: Nishanth Menon <nm@ti.com>
---

Looks like there are regressions in this yaml file already when checked
with dt_bindings_check, but that is a seperate activity of it's own.

If net maintainers are OK, I'd like to pick this up as part of the
pinctrl fixes series for next..

 Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml b/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
index 900063411a20..837d6db299c4 100644
--- a/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
+++ b/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
@@ -222,7 +222,6 @@ additionalProperties: false
 
 examples:
   - |
-    #include <dt-bindings/pinctrl/k3.h>
     #include <dt-bindings/soc/ti,sci_pm_domain.h>
     #include <dt-bindings/net/ti-dp83867.h>
     #include <dt-bindings/interrupt-controller/irq.h>
-- 
2.37.2


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

* [PATCH 2/2] dt-bindings: pinctrl: Move k3.h to arch
  2023-03-11 13:13 [PATCH 0/2] dt-bindings: pinctrl: ti-k3: Move k3.h to arch specific Nishanth Menon
  2023-03-11 13:13 ` [PATCH 1/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: Drop pinmux header Nishanth Menon
@ 2023-03-11 13:13 ` Nishanth Menon
  2023-03-11 15:46   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 7+ messages in thread
From: Nishanth Menon @ 2023-03-11 13:13 UTC (permalink / raw)
  To: Sekhar Nori, Linus Walleij, Krzysztof Kozlowski, Rob Herring,
	Paolo Abeni, Jakub Kicinski, Eric Dumazet, David S. Miller
  Cc: linux-gpio, linux-arm-kernel, linux-kernel, devicetree, netdev,
	Tero Kristo, Vignesh Raghavendra, Nishanth Menon,
	Krzysztof Kozlowski

Move the k3 pinctrl definition to arch dts folder.

While at this, fixup MAINTAINERS and header guard macro to better
reflect the changes.

Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/all/c4d53e9c-dac0-8ccc-dc86-faada324beba@linaro.org/
Signed-off-by: Nishanth Menon <nm@ti.com>
---

There is no specific case I can think of at the moment to create a
pinctrl.dtsi for the SoCs.. So, unlike other SoCs, I had not done that
in the series, if folks have a better opinion about this, please let us
discuss.

 MAINTAINERS                                                 | 1 -
 arch/arm64/boot/dts/ti/k3-am62.dtsi                         | 3 ++-
 arch/arm64/boot/dts/ti/k3-am62a.dtsi                        | 3 ++-
 arch/arm64/boot/dts/ti/k3-am64.dtsi                         | 3 ++-
 arch/arm64/boot/dts/ti/k3-am65.dtsi                         | 3 ++-
 arch/arm64/boot/dts/ti/k3-j7200.dtsi                        | 3 ++-
 arch/arm64/boot/dts/ti/k3-j721e.dtsi                        | 3 ++-
 arch/arm64/boot/dts/ti/k3-j721s2.dtsi                       | 3 ++-
 arch/arm64/boot/dts/ti/k3-j784s4.dtsi                       | 3 ++-
 .../pinctrl/k3.h => arch/arm64/boot/dts/ti/k3-pinctrl.h     | 6 +++---
 10 files changed, 19 insertions(+), 12 deletions(-)
 rename include/dt-bindings/pinctrl/k3.h => arch/arm64/boot/dts/ti/k3-pinctrl.h (94%)

diff --git a/MAINTAINERS b/MAINTAINERS
index 2892858cb040..442ac29e1fce 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2933,7 +2933,6 @@ F:	Documentation/devicetree/bindings/arm/ti/k3.yaml
 F:	Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml
 F:	arch/arm64/boot/dts/ti/Makefile
 F:	arch/arm64/boot/dts/ti/k3-*
-F:	include/dt-bindings/pinctrl/k3.h
 
 ARM/TOSHIBA VISCONTI ARCHITECTURE
 M:	Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
diff --git a/arch/arm64/boot/dts/ti/k3-am62.dtsi b/arch/arm64/boot/dts/ti/k3-am62.dtsi
index 37fcbe7a3c33..a401f5225243 100644
--- a/arch/arm64/boot/dts/ti/k3-am62.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62.dtsi
@@ -8,9 +8,10 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/pinctrl/k3.h>
 #include <dt-bindings/soc/ti,sci_pm_domain.h>
 
+#include "k3-pinctrl.h"
+
 / {
 	model = "Texas Instruments K3 AM625 SoC";
 	compatible = "ti,am625";
diff --git a/arch/arm64/boot/dts/ti/k3-am62a.dtsi b/arch/arm64/boot/dts/ti/k3-am62a.dtsi
index 6eb87c3f9f3c..fe60c9ce21e3 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a.dtsi
@@ -8,9 +8,10 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/pinctrl/k3.h>
 #include <dt-bindings/soc/ti,sci_pm_domain.h>
 
+#include "k3-pinctrl.h"
+
 / {
 	model = "Texas Instruments K3 AM62A SoC";
 	compatible = "ti,am62a7";
diff --git a/arch/arm64/boot/dts/ti/k3-am64.dtsi b/arch/arm64/boot/dts/ti/k3-am64.dtsi
index c858725133af..60fe95b48312 100644
--- a/arch/arm64/boot/dts/ti/k3-am64.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64.dtsi
@@ -8,9 +8,10 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/pinctrl/k3.h>
 #include <dt-bindings/soc/ti,sci_pm_domain.h>
 
+#include "k3-pinctrl.h"
+
 / {
 	model = "Texas Instruments K3 AM642 SoC";
 	compatible = "ti,am642";
diff --git a/arch/arm64/boot/dts/ti/k3-am65.dtsi b/arch/arm64/boot/dts/ti/k3-am65.dtsi
index c538a0bf3cdd..3093ef6b9b23 100644
--- a/arch/arm64/boot/dts/ti/k3-am65.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65.dtsi
@@ -8,9 +8,10 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/pinctrl/k3.h>
 #include <dt-bindings/soc/ti,sci_pm_domain.h>
 
+#include "k3-pinctrl.h"
+
 / {
 	model = "Texas Instruments K3 AM654 SoC";
 	compatible = "ti,am654";
diff --git a/arch/arm64/boot/dts/ti/k3-j7200.dtsi b/arch/arm64/boot/dts/ti/k3-j7200.dtsi
index d74f86b0f622..bbe380c72a7e 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200.dtsi
@@ -7,9 +7,10 @@
 
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/pinctrl/k3.h>
 #include <dt-bindings/soc/ti,sci_pm_domain.h>
 
+#include "k3-pinctrl.h"
+
 / {
 	model = "Texas Instruments K3 J7200 SoC";
 	compatible = "ti,j7200";
diff --git a/arch/arm64/boot/dts/ti/k3-j721e.dtsi b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
index 6975cae644d9..4c7d5f9d61a8 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
@@ -7,9 +7,10 @@
 
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/pinctrl/k3.h>
 #include <dt-bindings/soc/ti,sci_pm_domain.h>
 
+#include "k3-pinctrl.h"
+
 / {
 	model = "Texas Instruments K3 J721E SoC";
 	compatible = "ti,j721e";
diff --git a/arch/arm64/boot/dts/ti/k3-j721s2.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2.dtsi
index 78295ee0fee5..376924726f1f 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721s2.dtsi
@@ -10,9 +10,10 @@
 
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/pinctrl/k3.h>
 #include <dt-bindings/soc/ti,sci_pm_domain.h>
 
+#include "k3-pinctrl.h"
+
 / {
 
 	model = "Texas Instruments K3 J721S2 SoC";
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4.dtsi
index 3eb0d0568959..2e03d84da7d2 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4.dtsi
@@ -10,9 +10,10 @@
 
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/pinctrl/k3.h>
 #include <dt-bindings/soc/ti,sci_pm_domain.h>
 
+#include "k3-pinctrl.h"
+
 / {
 	model = "Texas Instruments K3 J784S4 SoC";
 	compatible = "ti,j784s4";
diff --git a/include/dt-bindings/pinctrl/k3.h b/arch/arm64/boot/dts/ti/k3-pinctrl.h
similarity index 94%
rename from include/dt-bindings/pinctrl/k3.h
rename to arch/arm64/boot/dts/ti/k3-pinctrl.h
index 469bd29651db..6004e0967ec5 100644
--- a/include/dt-bindings/pinctrl/k3.h
+++ b/arch/arm64/boot/dts/ti/k3-pinctrl.h
@@ -3,10 +3,10 @@
  * This header provides constants for pinctrl bindings for TI's K3 SoC
  * family.
  *
- * Copyright (C) 2018-2021 Texas Instruments Incorporated - https://www.ti.com/
+ * Copyright (C) 2018-2023 Texas Instruments Incorporated - https://www.ti.com/
  */
-#ifndef _DT_BINDINGS_PINCTRL_TI_K3_H
-#define _DT_BINDINGS_PINCTRL_TI_K3_H
+#ifndef DTS_ARM64_TI_K3_PINCTRL_H
+#define DTS_ARM64_TI_K3_PINCTRL_H
 
 #define PULLUDEN_SHIFT		(16)
 #define PULLTYPESEL_SHIFT	(17)
-- 
2.37.2


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

* Re: [PATCH 1/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: Drop pinmux header
  2023-03-11 13:13 ` [PATCH 1/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: Drop pinmux header Nishanth Menon
@ 2023-03-11 15:43   ` Krzysztof Kozlowski
  2023-03-13 15:59     ` Nishanth Menon
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-11 15:43 UTC (permalink / raw)
  To: Nishanth Menon, Sekhar Nori, Linus Walleij, Krzysztof Kozlowski,
	Rob Herring, Paolo Abeni, Jakub Kicinski, Eric Dumazet,
	David S. Miller
  Cc: linux-gpio, linux-arm-kernel, linux-kernel, devicetree, netdev,
	Tero Kristo, Vignesh Raghavendra

On 11/03/2023 14:13, Nishanth Menon wrote:
> Drop the pinmux header reference. Examples should just show the node
> definition.

You could mention that it is not used.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>



Best regards,
Krzysztof


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

* Re: [PATCH 2/2] dt-bindings: pinctrl: Move k3.h to arch
  2023-03-11 13:13 ` [PATCH 2/2] dt-bindings: pinctrl: Move k3.h to arch Nishanth Menon
@ 2023-03-11 15:46   ` Krzysztof Kozlowski
  2023-03-13 16:00     ` Nishanth Menon
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-11 15:46 UTC (permalink / raw)
  To: Nishanth Menon, Sekhar Nori, Linus Walleij, Krzysztof Kozlowski,
	Rob Herring, Paolo Abeni, Jakub Kicinski, Eric Dumazet,
	David S. Miller
  Cc: linux-gpio, linux-arm-kernel, linux-kernel, devicetree, netdev,
	Tero Kristo, Vignesh Raghavendra

On 11/03/2023 14:13, Nishanth Menon wrote:
> Move the k3 pinctrl definition to arch dts folder.
> 
> While at this, fixup MAINTAINERS and header guard macro to better
> reflect the changes.
> 
> Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Suggested-by: Linus Walleij <linus.walleij@linaro.org>
> Link: https://lore.kernel.org/all/c4d53e9c-dac0-8ccc-dc86-faada324beba@linaro.org/
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
> 
> There is no specific case I can think of at the moment to create a
> pinctrl.dtsi for the SoCs.. So, unlike other SoCs, I had not done that
> in the series, if folks have a better opinion about this, please let us
> discuss.
> 
>  MAINTAINERS                                                 | 1 -
>  arch/arm64/boot/dts/ti/k3-am62.dtsi                         | 3 ++-
>  arch/arm64/boot/dts/ti/k3-am62a.dtsi                        | 3 ++-
>  arch/arm64/boot/dts/ti/k3-am64.dtsi                         | 3 ++-
>  arch/arm64/boot/dts/ti/k3-am65.dtsi                         | 3 ++-
>  arch/arm64/boot/dts/ti/k3-j7200.dtsi                        | 3 ++-
>  arch/arm64/boot/dts/ti/k3-j721e.dtsi                        | 3 ++-
>  arch/arm64/boot/dts/ti/k3-j721s2.dtsi                       | 3 ++-
>  arch/arm64/boot/dts/ti/k3-j784s4.dtsi                       | 3 ++-
>  .../pinctrl/k3.h => arch/arm64/boot/dts/ti/k3-pinctrl.h     | 6 +++---

Bindings are separate from other changes (also DTS). Split the patches.

(...)

>  / {
>  	model = "Texas Instruments K3 J784S4 SoC";
>  	compatible = "ti,j784s4";
> diff --git a/include/dt-bindings/pinctrl/k3.h b/arch/arm64/boot/dts/ti/k3-pinctrl.h
> similarity index 94%
> rename from include/dt-bindings/pinctrl/k3.h
> rename to arch/arm64/boot/dts/ti/k3-pinctrl.h
> index 469bd29651db..6004e0967ec5 100644
> --- a/include/dt-bindings/pinctrl/k3.h
> +++ b/arch/arm64/boot/dts/ti/k3-pinctrl.h

Dropping this file is going to break existing code and I would say is
also a break of the ABI. You need to keep the header for at least one
cycle, you can add there a warning for coming deprecation.

See for example:
https://lore.kernel.org/all/20220605160508.134075-5-krzysztof.kozlowski@linaro.org/

Best regards,
Krzysztof


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

* Re: [PATCH 1/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: Drop pinmux header
  2023-03-11 15:43   ` Krzysztof Kozlowski
@ 2023-03-13 15:59     ` Nishanth Menon
  0 siblings, 0 replies; 7+ messages in thread
From: Nishanth Menon @ 2023-03-13 15:59 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Sekhar Nori, Linus Walleij, Krzysztof Kozlowski, Rob Herring,
	Paolo Abeni, Jakub Kicinski, Eric Dumazet, David S. Miller,
	linux-gpio, linux-arm-kernel, linux-kernel, devicetree, netdev,
	Tero Kristo, Vignesh Raghavendra

On 16:43-20230311, Krzysztof Kozlowski wrote:
> On 11/03/2023 14:13, Nishanth Menon wrote:
> > Drop the pinmux header reference. Examples should just show the node
> > definition.
> 
> You could mention that it is not used.
> 
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
Yup. will update the series. Thanks for reviewing.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

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

* Re: [PATCH 2/2] dt-bindings: pinctrl: Move k3.h to arch
  2023-03-11 15:46   ` Krzysztof Kozlowski
@ 2023-03-13 16:00     ` Nishanth Menon
  0 siblings, 0 replies; 7+ messages in thread
From: Nishanth Menon @ 2023-03-13 16:00 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Sekhar Nori, Linus Walleij, Krzysztof Kozlowski, Rob Herring,
	Paolo Abeni, Jakub Kicinski, Eric Dumazet, David S. Miller,
	linux-gpio, linux-arm-kernel, linux-kernel, devicetree, netdev,
	Tero Kristo, Vignesh Raghavendra

On 16:46-20230311, Krzysztof Kozlowski wrote:
> On 11/03/2023 14:13, Nishanth Menon wrote:
> > Move the k3 pinctrl definition to arch dts folder.
> > 
> > While at this, fixup MAINTAINERS and header guard macro to better
> > reflect the changes.
> > 
> > Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > Suggested-by: Linus Walleij <linus.walleij@linaro.org>
> > Link: https://lore.kernel.org/all/c4d53e9c-dac0-8ccc-dc86-faada324beba@linaro.org/
> > Signed-off-by: Nishanth Menon <nm@ti.com>
> > ---
> > 
> > There is no specific case I can think of at the moment to create a
> > pinctrl.dtsi for the SoCs.. So, unlike other SoCs, I had not done that
> > in the series, if folks have a better opinion about this, please let us
> > discuss.
> > 
> >  MAINTAINERS                                                 | 1 -
> >  arch/arm64/boot/dts/ti/k3-am62.dtsi                         | 3 ++-
> >  arch/arm64/boot/dts/ti/k3-am62a.dtsi                        | 3 ++-
> >  arch/arm64/boot/dts/ti/k3-am64.dtsi                         | 3 ++-
> >  arch/arm64/boot/dts/ti/k3-am65.dtsi                         | 3 ++-
> >  arch/arm64/boot/dts/ti/k3-j7200.dtsi                        | 3 ++-
> >  arch/arm64/boot/dts/ti/k3-j721e.dtsi                        | 3 ++-
> >  arch/arm64/boot/dts/ti/k3-j721s2.dtsi                       | 3 ++-
> >  arch/arm64/boot/dts/ti/k3-j784s4.dtsi                       | 3 ++-
> >  .../pinctrl/k3.h => arch/arm64/boot/dts/ti/k3-pinctrl.h     | 6 +++---
> 
> Bindings are separate from other changes (also DTS). Split the patches.
> 
> (...)
> 
> >  / {
> >  	model = "Texas Instruments K3 J784S4 SoC";
> >  	compatible = "ti,j784s4";
> > diff --git a/include/dt-bindings/pinctrl/k3.h b/arch/arm64/boot/dts/ti/k3-pinctrl.h
> > similarity index 94%
> > rename from include/dt-bindings/pinctrl/k3.h
> > rename to arch/arm64/boot/dts/ti/k3-pinctrl.h
> > index 469bd29651db..6004e0967ec5 100644
> > --- a/include/dt-bindings/pinctrl/k3.h
> > +++ b/arch/arm64/boot/dts/ti/k3-pinctrl.h
> 
> Dropping this file is going to break existing code and I would say is
> also a break of the ABI. You need to keep the header for at least one
> cycle, you can add there a warning for coming deprecation.
> 
> See for example:
> https://lore.kernel.org/all/20220605160508.134075-5-krzysztof.kozlowski@linaro.org/


Makes complete sense. Thanks. will follow the lead and redo the series.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

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

end of thread, other threads:[~2023-03-13 16:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-11 13:13 [PATCH 0/2] dt-bindings: pinctrl: ti-k3: Move k3.h to arch specific Nishanth Menon
2023-03-11 13:13 ` [PATCH 1/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: Drop pinmux header Nishanth Menon
2023-03-11 15:43   ` Krzysztof Kozlowski
2023-03-13 15:59     ` Nishanth Menon
2023-03-11 13:13 ` [PATCH 2/2] dt-bindings: pinctrl: Move k3.h to arch Nishanth Menon
2023-03-11 15:46   ` Krzysztof Kozlowski
2023-03-13 16:00     ` Nishanth Menon

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).