]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: tegra: Disable SD card write-protection on Jetson Nano
authorThierry Reding <treding@nvidia.com>
Thu, 6 Aug 2020 15:41:10 +0000 (17:41 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 27 Aug 2020 15:35:46 +0000 (17:35 +0200)
There is no GPIO hooked up to the write-protection pin of the SD slot.
Make sure to describe this properly in device tree to avoid errors or
warnings being emitted by the operating system.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts

index b8d1fa72e17770289007ee919f7c3eb48d122669..553a5585edaca2305eee3f54268b1f55c8e800fb 100644 (file)
                bus-width = <4>;
 
                cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;
+               disable-wp;
 
                vqmmc-supply = <&vddio_sdmmc>;
                vmmc-supply = <&vdd_3v3_sd>;