devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND v2 0/2] arm64: dts: add new compatibles for J7 platforms
@ 2022-10-24  3:54 Matt Ranostay
  2022-10-24  3:54 ` [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms Matt Ranostay
  2022-10-24  3:54 ` [PATCH RESEND v2 2/2] arm64: dts: k3-j72*: correct compatible for syscon entries Matt Ranostay
  0 siblings, 2 replies; 7+ messages in thread
From: Matt Ranostay @ 2022-10-24  3:54 UTC (permalink / raw)
  To: nm, vigneshr, krzysztof.kozlowski+dt, robh+dt, lee
  Cc: linux-arm-kernel, devicetree, Matt Ranostay

Changes from v1:
* add j7200 and j721s2 syscon compatible strings to dt-binding documentation
* changed compatible strings to use newly defined ones per platform

Matt Ranostay (2):
  dt-bindings: mfd: ti,j721e-system-controller: add compatible strings
    for other platforms
  arm64: dts: k3-j72*: correct compatible for syscon entries

 .../devicetree/bindings/mfd/ti,j721e-system-controller.yaml     | 2 ++
 arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi                 | 2 +-
 arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi                 | 2 +-
 arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi                | 2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)

-- 
2.38.GIT


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

* [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms
  2022-10-24  3:54 [PATCH RESEND v2 0/2] arm64: dts: add new compatibles for J7 platforms Matt Ranostay
@ 2022-10-24  3:54 ` Matt Ranostay
  2022-10-25 22:55   ` Rob Herring
                     ` (2 more replies)
  2022-10-24  3:54 ` [PATCH RESEND v2 2/2] arm64: dts: k3-j72*: correct compatible for syscon entries Matt Ranostay
  1 sibling, 3 replies; 7+ messages in thread
From: Matt Ranostay @ 2022-10-24  3:54 UTC (permalink / raw)
  To: nm, vigneshr, krzysztof.kozlowski+dt, robh+dt, lee
  Cc: linux-arm-kernel, devicetree, Matt Ranostay

There are multiple J7 based platforms, and the j721e-system-controller
shouldn't be define in non-j721e devices device trees.

This is mainly for clarity; but also useful in case there are future
erratas that need to be fixed for a specific platform.

Signed-off-by: Matt Ranostay <mranostay@ti.com>
---
 .../devicetree/bindings/mfd/ti,j721e-system-controller.yaml     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
index 873ee0c0973f..76ef4352e13c 100644
--- a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
@@ -26,7 +26,9 @@ properties:
   compatible:
     items:
       - enum:
+          - ti,j7200-system-controller
           - ti,j721e-system-controller
+          - ti,j721s2-system-controller
       - const: syscon
       - const: simple-mfd
 
-- 
2.38.GIT


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

* [PATCH RESEND v2 2/2] arm64: dts: k3-j72*: correct compatible for syscon entries
  2022-10-24  3:54 [PATCH RESEND v2 0/2] arm64: dts: add new compatibles for J7 platforms Matt Ranostay
  2022-10-24  3:54 ` [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms Matt Ranostay
@ 2022-10-24  3:54 ` Matt Ranostay
  2022-10-26 14:49   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 7+ messages in thread
From: Matt Ranostay @ 2022-10-24  3:54 UTC (permalink / raw)
  To: nm, vigneshr, krzysztof.kozlowski+dt, robh+dt, lee
  Cc: linux-arm-kernel, devicetree, Matt Ranostay

Add missing ti,j7*-system-controller compatible to bus defines in mcu/wakeup
domains to avoid the following similar warnings from dt-schema checks:

arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dtb: syscon@40f00000: compatible: ['syscon', 'simple-mfd'] is too short'

Signed-off-by: Matt Ranostay <mranostay@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi  | 2 +-
 arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi  | 2 +-
 arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
index e5be78a58682..2025aab4b66f 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
@@ -35,7 +35,7 @@ k3_reset: reset-controller {
 	};
 
 	mcu_conf: syscon@40f00000 {
-		compatible = "syscon", "simple-mfd";
+		compatible = "ti,j7200-system-controller", "syscon", "simple-mfd";
 		reg = <0x00 0x40f00000 0x00 0x20000>;
 		#address-cells = <1>;
 		#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
index df08724bbf1c..5d9ec221fa34 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
@@ -35,7 +35,7 @@ k3_reset: reset-controller {
 	};
 
 	mcu_conf: syscon@40f00000 {
-		compatible = "syscon", "simple-mfd";
+		compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
 		reg = <0x0 0x40f00000 0x0 0x20000>;
 		#address-cells = <1>;
 		#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi
index 4d1bfabd1313..dfd40369b931 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi
@@ -69,7 +69,7 @@ wkup_gpio_intr: interrupt-controller@42200000 {
 	};
 
 	mcu_conf: syscon@40f00000 {
-		compatible = "syscon", "simple-mfd";
+		compatible = "ti,j721s2-system-controller", "syscon", "simple-mfd";
 		reg = <0x0 0x40f00000 0x0 0x20000>;
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.38.GIT


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

* Re: [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms
  2022-10-24  3:54 ` [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms Matt Ranostay
@ 2022-10-25 22:55   ` Rob Herring
  2022-10-26 14:48   ` Krzysztof Kozlowski
  2022-10-31 15:29   ` Lee Jones
  2 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2022-10-25 22:55 UTC (permalink / raw)
  To: Matt Ranostay
  Cc: devicetree, robh+dt, vigneshr, lee, krzysztof.kozlowski+dt,
	linux-arm-kernel, nm

On Sun, 23 Oct 2022 20:54:04 -0700, Matt Ranostay wrote:
> There are multiple J7 based platforms, and the j721e-system-controller
> shouldn't be define in non-j721e devices device trees.
> 
> This is mainly for clarity; but also useful in case there are future
> erratas that need to be fixed for a specific platform.
> 
> Signed-off-by: Matt Ranostay <mranostay@ti.com>
> ---
>  .../devicetree/bindings/mfd/ti,j721e-system-controller.yaml     | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms
  2022-10-24  3:54 ` [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms Matt Ranostay
  2022-10-25 22:55   ` Rob Herring
@ 2022-10-26 14:48   ` Krzysztof Kozlowski
  2022-10-31 15:29   ` Lee Jones
  2 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-26 14:48 UTC (permalink / raw)
  To: Matt Ranostay, nm, vigneshr, krzysztof.kozlowski+dt, robh+dt, lee
  Cc: linux-arm-kernel, devicetree

On 23/10/2022 23:54, Matt Ranostay wrote:
> There are multiple J7 based platforms, and the j721e-system-controller
> shouldn't be define in non-j721e devices device trees.
> 
> This is mainly for clarity; but also useful in case there are future
> erratas that need to be fixed for a specific platform.
> 

This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new
versions. However, there's no need to repost patches *only* to add the
tags. The upstream maintainer will do that for acks received on the
version they apply.

https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540

If a tag was not added on purpose, please state why and what changed.

Best regards,
Krzysztof


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

* Re: [PATCH RESEND v2 2/2] arm64: dts: k3-j72*: correct compatible for syscon entries
  2022-10-24  3:54 ` [PATCH RESEND v2 2/2] arm64: dts: k3-j72*: correct compatible for syscon entries Matt Ranostay
@ 2022-10-26 14:49   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-26 14:49 UTC (permalink / raw)
  To: Matt Ranostay, nm, vigneshr, krzysztof.kozlowski+dt, robh+dt, lee
  Cc: linux-arm-kernel, devicetree

On 23/10/2022 23:54, Matt Ranostay wrote:
> Add missing ti,j7*-system-controller compatible to bus defines in mcu/wakeup
> domains to avoid the following similar warnings from dt-schema checks:
> 
> arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dtb: syscon@40f00000: compatible: ['syscon', 'simple-mfd'] is too short'
> 

This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new
versions. However, there's no need to repost patches *only* to add the
tags. The upstream maintainer will do that for acks received on the
version they apply.

https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540

If a tag was not added on purpose, please state why and what changed.




Best regards,
Krzysztof


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

* Re: [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms
  2022-10-24  3:54 ` [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms Matt Ranostay
  2022-10-25 22:55   ` Rob Herring
  2022-10-26 14:48   ` Krzysztof Kozlowski
@ 2022-10-31 15:29   ` Lee Jones
  2 siblings, 0 replies; 7+ messages in thread
From: Lee Jones @ 2022-10-31 15:29 UTC (permalink / raw)
  To: Matt Ranostay
  Cc: nm, vigneshr, krzysztof.kozlowski+dt, robh+dt, linux-arm-kernel,
	devicetree

On Sun, 23 Oct 2022, Matt Ranostay wrote:

> There are multiple J7 based platforms, and the j721e-system-controller
> shouldn't be define in non-j721e devices device trees.
> 
> This is mainly for clarity; but also useful in case there are future
> erratas that need to be fixed for a specific platform.
> 
> Signed-off-by: Matt Ranostay <mranostay@ti.com>
> ---
>  .../devicetree/bindings/mfd/ti,j721e-system-controller.yaml     | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks.

-- 
Lee Jones [李琼斯]

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

end of thread, other threads:[~2022-10-31 15:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-24  3:54 [PATCH RESEND v2 0/2] arm64: dts: add new compatibles for J7 platforms Matt Ranostay
2022-10-24  3:54 ` [PATCH RESEND v2 1/2] dt-bindings: mfd: ti,j721e-system-controller: add compatible strings for other platforms Matt Ranostay
2022-10-25 22:55   ` Rob Herring
2022-10-26 14:48   ` Krzysztof Kozlowski
2022-10-31 15:29   ` Lee Jones
2022-10-24  3:54 ` [PATCH RESEND v2 2/2] arm64: dts: k3-j72*: correct compatible for syscon entries Matt Ranostay
2022-10-26 14:49   ` Krzysztof Kozlowski

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