Skip to content

Commit

Permalink
arm64: tegra: p2597: Add SDMMC power supplies
Browse files Browse the repository at this point in the history
Add power supplies for the SD/MMC card slot. Note that vmmc-supply is
currently restricted to 3.3 V because we don't support switching the
mode yet.

Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
thierryreding committed Jul 14, 2016
1 parent 7793426 commit 6d5aef5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,9 @@
no-1-8-v;

cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;

vqmmc-supply = <&vddio_sdmmc>;
vmmc-supply = <&vdd_3v3_sd>;
};

regulators {
Expand Down Expand Up @@ -1323,6 +1326,20 @@
regulator-always-on;
regulator-boot-on;
};

vdd_3v3_sd: regulator@4 {
compatible = "regulator-fixed";
reg = <4>;
regulator-name = "VDD_3V3_SD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;

regulator-enable-ramp-delay = <472>;
regulator-disable-ramp-delay = <4880>;
};
};

gpio-keys {
Expand Down

0 comments on commit 6d5aef5

Please sign in to comment.