diff mbox series

[1/2] arm64: tegra: Sort properties more logically

Message ID 20230609105543.3730161-1-thierry.reding@gmail.com
State Accepted
Headers show
Series [1/2] arm64: tegra: Sort properties more logically | expand

Commit Message

Thierry Reding June 9, 2023, 10:55 a.m. UTC
From: Thierry Reding <treding@nvidia.com>

We typically sort the "compatible" property first because it defines
what the remainder of the properties can be. For the sound node on the
Jetson AGX Orin this wasn't done, so fix that up.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Jon Hunter June 9, 2023, 11:04 a.m. UTC | #1
On 09/06/2023 11:55, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> We typically sort the "compatible" property first because it defines
> what the remainder of the properties can be. For the sound node on the
> Jetson AGX Orin this wasn't done, so fix that up.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>   arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
> index ac64dac287de..e499010fc673 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
> @@ -2345,9 +2345,8 @@ serial {
>   	};
>   
>   	sound {
> -		status = "okay";
> -
>   		compatible = "nvidia,tegra186-audio-graph-card";
> +		status = "okay";
>   
>   		dais = /* ADMAIF (FE) Ports */
>   		       <&admaif0_port>, <&admaif1_port>, <&admaif2_port>, <&admaif3_port>,


Acked-by: Jon Hunter <jonathanh@nvidia.com>

Jon
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
index ac64dac287de..e499010fc673 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
@@ -2345,9 +2345,8 @@  serial {
 	};
 
 	sound {
-		status = "okay";
-
 		compatible = "nvidia,tegra186-audio-graph-card";
+		status = "okay";
 
 		dais = /* ADMAIF (FE) Ports */
 		       <&admaif0_port>, <&admaif1_port>, <&admaif2_port>, <&admaif3_port>,