Re: [PATCH 1/2] arm64: tegra: fix p3767 card detect polarity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 26, 2023 at 06:09:19PM +0000, Brad Griffis wrote:
> The card detect pin on Orin Nano SKU5 (p3767-0005) is active-low.
> 
> Fixes: 13b0aca303e9 ("arm64: tegra: Support Jetson Orin NX")
> Signed-off-by: Brad Griffis <bgriffis@xxxxxxxxxx>
> ---
>  arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This DTS include is also used by Jetson Orin NX, but I assume that the
same polarity applies to that as well?

Actually, looking at the Orin NX, I don't see an SD card slot and
judging by the documentation that I was able to find it's not documented
for Orin Nano either. Or is it only certain variants that were equipped
with the SD slot?

Thierry

> diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi
> index bd60478fa75e..831a553ec387 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi
> @@ -42,7 +42,7 @@ flash@0 {
>  		mmc@3400000 {
>  			status = "okay";
>  			bus-width = <4>;
> -			cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_HIGH>;
> +			cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
>  			disable-wp;
>  		};
>  
> -- 
> 2.25.1
> 

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux