devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible
@ 2024-01-30 19:51 Andrew Davis
  2024-01-30 19:51 ` [PATCH 2/2] arm64: dts: ti: k3-am65: Add full compatible to SerDes control nodes Andrew Davis
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andrew Davis @ 2024-01-30 19:51 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Andrew Davis

Add TI SERDES control registers compatible. This is a region found in the
TI AM65 CTRL_MMR0 register space[0]. Each instance is used to control a
SERDES clock and lane select mux.

[0] https://www.ti.com/lit/pdf/spruid7

Signed-off-by: Andrew Davis <afd@ti.com>
---
 Documentation/devicetree/bindings/mfd/syscon.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 084b5c2a2a3c2..d8679a2ad4b10 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -73,6 +73,7 @@ properties:
               - rockchip,rv1126-qos
               - starfive,jh7100-sysmain
               - ti,am654-dss-oldi-io-ctrl
+              - ti,am654-serdes-ctrl
 
           - const: syscon
 
-- 
2.39.2


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

* [PATCH 2/2] arm64: dts: ti: k3-am65: Add full compatible to SerDes control nodes
  2024-01-30 19:51 [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible Andrew Davis
@ 2024-01-30 19:51 ` Andrew Davis
  2024-01-31  8:23 ` [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible Krzysztof Kozlowski
  2024-02-05 14:05 ` Vignesh Raghavendra
  2 siblings, 0 replies; 5+ messages in thread
From: Andrew Davis @ 2024-01-30 19:51 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Andrew Davis

This matches the binding for this register region which fixes a couple
DTS check warnings.

While here trim the leading 0s from the "reg" definition.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index fcea544656360..62a68740dac6e 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -483,13 +483,13 @@ scm_conf: scm-conf@100000 {
 		ranges = <0x0 0x0 0x00100000 0x1c000>;
 
 		serdes0_clk: clock@4080 {
-			compatible = "syscon";
-			reg = <0x00004080 0x4>;
+			compatible = "ti,am654-serdes-ctrl", "syscon";
+			reg = <0x4080 0x4>;
 		};
 
 		serdes1_clk: clock@4090 {
-			compatible = "syscon";
-			reg = <0x00004090 0x4>;
+			compatible = "ti,am654-serdes-ctrl", "syscon";
+			reg = <0x4090 0x4>;
 		};
 
 		serdes_mux: mux-controller {
-- 
2.39.2


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

* Re: [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible
  2024-01-30 19:51 [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible Andrew Davis
  2024-01-30 19:51 ` [PATCH 2/2] arm64: dts: ti: k3-am65: Add full compatible to SerDes control nodes Andrew Davis
@ 2024-01-31  8:23 ` Krzysztof Kozlowski
  2024-02-05 14:05 ` Vignesh Raghavendra
  2 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2024-01-31  8:23 UTC (permalink / raw)
  To: Andrew Davis, Nishanth Menon, Vignesh Raghavendra, Tero Kristo,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel

On 30/01/2024 20:51, Andrew Davis wrote:
> Add TI SERDES control registers compatible. This is a region found in the
> TI AM65 CTRL_MMR0 register space[0]. Each instance is used to control a
> SERDES clock and lane select mux.
> 
> [0] https://www.ti.com/lit/pdf/spruid7
> 
> Signed-off-by: Andrew Davis <afd@ti.com>

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

Best regards,
Krzysztof


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

* Re: [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible
  2024-01-30 19:51 [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible Andrew Davis
  2024-01-30 19:51 ` [PATCH 2/2] arm64: dts: ti: k3-am65: Add full compatible to SerDes control nodes Andrew Davis
  2024-01-31  8:23 ` [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible Krzysztof Kozlowski
@ 2024-02-05 14:05 ` Vignesh Raghavendra
  2024-02-05 17:44   ` Andrew Davis
  2 siblings, 1 reply; 5+ messages in thread
From: Vignesh Raghavendra @ 2024-02-05 14:05 UTC (permalink / raw)
  To: Andrew Davis, Nishanth Menon, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel



On 31/01/24 01:21, Andrew Davis wrote:
> Add TI SERDES control registers compatible. This is a region found in the
> TI AM65 CTRL_MMR0 register space[0]. Each instance is used to control a
> SERDES clock and lane select mux.
> 
> [0] https://www.ti.com/lit/pdf/spruid7
> 
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
>  Documentation/devicetree/bindings/mfd/syscon.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
> index 084b5c2a2a3c2..d8679a2ad4b10 100644
> --- a/Documentation/devicetree/bindings/mfd/syscon.yaml
> +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
> @@ -73,6 +73,7 @@ properties:
>                - rockchip,rv1126-qos
>                - starfive,jh7100-sysmain
>                - ti,am654-dss-oldi-io-ctrl
> +              - ti,am654-serdes-ctrl
>  
>            - const: syscon
>  

This needs to go via mfd tree (or at least need an ACK). Please cc
appropriate maintainer  (Lee Jones <lee@kernel.org>). So, I recommended
to split 2/2 out into separate series and post once this patch is merged.

-- 
Regards
Vignesh

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

* Re: [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible
  2024-02-05 14:05 ` Vignesh Raghavendra
@ 2024-02-05 17:44   ` Andrew Davis
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Davis @ 2024-02-05 17:44 UTC (permalink / raw)
  To: Vignesh Raghavendra, Nishanth Menon, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel

On 2/5/24 8:05 AM, Vignesh Raghavendra wrote:
> 
> 
> On 31/01/24 01:21, Andrew Davis wrote:
>> Add TI SERDES control registers compatible. This is a region found in the
>> TI AM65 CTRL_MMR0 register space[0]. Each instance is used to control a
>> SERDES clock and lane select mux.
>>
>> [0] https://www.ti.com/lit/pdf/spruid7
>>
>> Signed-off-by: Andrew Davis <afd@ti.com>
>> ---
>>   Documentation/devicetree/bindings/mfd/syscon.yaml | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
>> index 084b5c2a2a3c2..d8679a2ad4b10 100644
>> --- a/Documentation/devicetree/bindings/mfd/syscon.yaml
>> +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
>> @@ -73,6 +73,7 @@ properties:
>>                 - rockchip,rv1126-qos
>>                 - starfive,jh7100-sysmain
>>                 - ti,am654-dss-oldi-io-ctrl
>> +              - ti,am654-serdes-ctrl
>>   
>>             - const: syscon
>>   
> 
> This needs to go via mfd tree (or at least need an ACK). Please cc
> appropriate maintainer  (Lee Jones <lee@kernel.org>). So, I recommended
> to split 2/2 out into separate series and post once this patch is merged.
> 

Sure, will send this patch standalone, then post the dts changes later.

Andrew

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

end of thread, other threads:[~2024-02-05 17:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-30 19:51 [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible Andrew Davis
2024-01-30 19:51 ` [PATCH 2/2] arm64: dts: ti: k3-am65: Add full compatible to SerDes control nodes Andrew Davis
2024-01-31  8:23 ` [PATCH 1/2] dt-bindings: mfd: syscon: Add ti,am654-serdes-ctrl compatible Krzysztof Kozlowski
2024-02-05 14:05 ` Vignesh Raghavendra
2024-02-05 17:44   ` Andrew Davis

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