lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <22d8a179-cc6c-0be6-1580-cb2a5a749417@ti.com>
Date:   Wed, 15 Sep 2021 20:41:55 +0530
From:   Aswath Govindraju <a-govindraju@...com>
To:     Nishanth Menon <nm@...com>, Rob Herring <robh+dt@...nel.org>,
        Tero Kristo <kristo@...nel.org>,
        Vignesh Raghavendra <vigneshr@...com>
CC:     <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        Jan Kiszka <jan.kiszka@...mens.com>
Subject: Re: [PATCH] arm64: dts: ti: ti-k3*: Introduce aliases for mmc nodes

On 15/09/21 7:24 pm, Nishanth Menon wrote:
> Since probe order of mmc can vary depending on device tree dependencies,
> Lets try and introduce a consistent definition of what mmc0, 1 are
> across platforms.
> 
> NOTE: Certain platforms may choose to have overrides due to various
> legacy reasons, we permit that in the board specific alias definition.
> 
> Signed-off-by: Nishanth Menon <nm@...com>
> ---

Reviewed-by: Aswath Govindraju <a-govindraju@...com>

>  arch/arm64/boot/dts/ti/k3-am64.dtsi  | 2 ++
>  arch/arm64/boot/dts/ti/k3-am65.dtsi  | 2 ++
>  arch/arm64/boot/dts/ti/k3-j7200.dtsi | 2 ++
>  arch/arm64/boot/dts/ti/k3-j721e.dtsi | 3 +++
>  4 files changed, 9 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am64.dtsi b/arch/arm64/boot/dts/ti/k3-am64.dtsi
> index de6805b0c72c..120974726be8 100644
> --- a/arch/arm64/boot/dts/ti/k3-am64.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am64.dtsi
> @@ -30,6 +30,8 @@ aliases {
>  		serial8 = &main_uart6;
>  		ethernet0 = &cpsw_port1;
>  		ethernet1 = &cpsw_port2;
> +		mmc0 = &sdhci0;
> +		mmc1 = &sdhci1;
>  	};
>  
>  	chosen { };
> diff --git a/arch/arm64/boot/dts/ti/k3-am65.dtsi b/arch/arm64/boot/dts/ti/k3-am65.dtsi
> index a9fc1af03f27..a58a39fa42db 100644
> --- a/arch/arm64/boot/dts/ti/k3-am65.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65.dtsi
> @@ -31,6 +31,8 @@ aliases {
>  		i2c4 = &main_i2c2;
>  		i2c5 = &main_i2c3;
>  		ethernet0 = &cpsw_port1;
> +		mmc0 = &sdhci0;
> +		mmc1 = &sdhci1;
>  	};
>  
>  	chosen { };
> diff --git a/arch/arm64/boot/dts/ti/k3-j7200.dtsi b/arch/arm64/boot/dts/ti/k3-j7200.dtsi
> index b7005b803149..47567cb260c2 100644
> --- a/arch/arm64/boot/dts/ti/k3-j7200.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j7200.dtsi
> @@ -30,6 +30,8 @@ aliases {
>  		serial9 = &main_uart7;
>  		serial10 = &main_uart8;
>  		serial11 = &main_uart9;
> +		mmc0 = &main_sdhci0;
> +		mmc1 = &main_sdhci1;
>  	};
>  
>  	chosen { };
> diff --git a/arch/arm64/boot/dts/ti/k3-j721e.dtsi b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
> index f0587fde147e..214359e7288b 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721e.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
> @@ -31,6 +31,9 @@ aliases {
>  		serial10 = &main_uart8;
>  		serial11 = &main_uart9;
>  		ethernet0 = &cpsw_port1;
> +		mmc0 = &main_sdhci0;
> +		mmc1 = &main_sdhci1;
> +		mmc2 = &main_sdhci2;
>  	};
>  
>  	chosen { };
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ