[DO NOT MERGE][PATCH v4 6/6] arm64: dts: ti: k3-am64: Add ti,pa-stats property

MD Danish Anwar posted 6 patches 1 year, 4 months ago
There is a newer version of this series
[DO NOT MERGE][PATCH v4 6/6] arm64: dts: ti: k3-am64: Add ti,pa-stats property
Posted by MD Danish Anwar 1 year, 4 months ago
Add ti,pa-stats phandles to k3-am64x-evm.dts. This is a phandle to
PA_STATS syscon regmap and will be used to dump IET related statistics
for ICSSG Driver

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am642-evm.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
index 6bb1ad2e56ec..dcb28d3e7379 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
@@ -253,6 +253,7 @@ icssg1_eth: icssg1-eth {
 		ti,mii-g-rt = <&icssg1_mii_g_rt>;
 		ti,mii-rt = <&icssg1_mii_rt>;
 		ti,iep = <&icssg1_iep0>,  <&icssg1_iep1>;
+		ti,pa-stats = <&icssg1_pa_stats>;
 		interrupt-parent = <&icssg1_intc>;
 		interrupts = <24 0 2>, <25 1 3>;
 		interrupt-names = "tx_ts0", "tx_ts1";
-- 
2.34.1
Re: [DO NOT MERGE][PATCH v4 6/6] arm64: dts: ti: k3-am64: Add ti,pa-stats property
Posted by Nishanth Menon 1 year, 4 months ago
On 17:02-20240729, MD Danish Anwar wrote:
> Add ti,pa-stats phandles to k3-am64x-evm.dts. This is a phandle to
> PA_STATS syscon regmap and will be used to dump IET related statistics
> for ICSSG Driver
> 
> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
> Reviewed-by: Roger Quadros <rogerq@kernel.org>
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-am642-evm.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
> index 6bb1ad2e56ec..dcb28d3e7379 100644
> --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
> @@ -253,6 +253,7 @@ icssg1_eth: icssg1-eth {
>  		ti,mii-g-rt = <&icssg1_mii_g_rt>;
>  		ti,mii-rt = <&icssg1_mii_rt>;
>  		ti,iep = <&icssg1_iep0>,  <&icssg1_iep1>;
> +		ti,pa-stats = <&icssg1_pa_stats>;

Follow:  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/dts-coding-style.rst#n117
for ordering properties.
>  		interrupt-parent = <&icssg1_intc>;
>  		interrupts = <24 0 2>, <25 1 3>;
>  		interrupt-names = "tx_ts0", "tx_ts1";
> -- 
> 2.34.1
> 

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
Re: [DO NOT MERGE][PATCH v4 6/6] arm64: dts: ti: k3-am64: Add ti,pa-stats property
Posted by MD Danish Anwar 1 year, 4 months ago

On 30/07/24 5:38 pm, Nishanth Menon wrote:
> On 17:02-20240729, MD Danish Anwar wrote:
>> Add ti,pa-stats phandles to k3-am64x-evm.dts. This is a phandle to
>> PA_STATS syscon regmap and will be used to dump IET related statistics
>> for ICSSG Driver
>>
>> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
>> Reviewed-by: Roger Quadros <rogerq@kernel.org>
>> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
>> ---
>>  arch/arm64/boot/dts/ti/k3-am642-evm.dts | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
>> index 6bb1ad2e56ec..dcb28d3e7379 100644
>> --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
>> @@ -253,6 +253,7 @@ icssg1_eth: icssg1-eth {
>>  		ti,mii-g-rt = <&icssg1_mii_g_rt>;
>>  		ti,mii-rt = <&icssg1_mii_rt>;
>>  		ti,iep = <&icssg1_iep0>,  <&icssg1_iep1>;
>> +		ti,pa-stats = <&icssg1_pa_stats>;
> 
> Follow:  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/dts-coding-style.rst#n117
> for ordering properties.

Sure Nishant, I will take care of ordering properties when I post these
DTS patches for merge.

For now, I have posted DTS patches only for reference and only the
dt-binding patch is for merging.

>>  		interrupt-parent = <&icssg1_intc>;
>>  		interrupts = <24 0 2>, <25 1 3>;
>>  		interrupt-names = "tx_ts0", "tx_ts1";
>> -- 
>> 2.34.1
>>
> 

-- 
Thanks and Regards,
Danish