]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: stm32: use the same 3v3 for SD and DSI nodes on stm32f469-disco
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Wed, 8 Nov 2023 13:44:06 +0000 (14:44 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 20 Nov 2023 17:00:42 +0000 (18:00 +0100)
In the board schematic, the power supply for the SD card is the same 3.3
volts used to power the LCD panel and other peripherals. By generalizing
the name of the voltage regulator, it simplifies the device tree and makes
it more readable.

Link: https://www.st.com/en/evaluation-tools/32f469idiscovery.html#cad-resources
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32f469-disco.dts

index cbbd521bf010847ca06a28972cad4850d502d8c5..8a4f8ddd083d40252f1d872fd4e711bc125f4589 100644 (file)
                serial0 = &usart3;
        };
 
-       mmc_vcard: mmc_vcard {
+       vcc_3v3: vcc-3v3 {
                compatible = "regulator-fixed";
-               regulator-name = "mmc_vcard";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-       };
-
-       vdd_dsi: vdd-dsi {
-               compatible = "regulator-fixed";
-               regulator-name = "vdd_dsi";
+               regulator-name = "vcc_3v3";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
        };
                compatible = "orisetech,otm8009a";
                reg = <0>; /* dsi virtual channel (0..3) */
                reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>;
-               power-supply = <&vdd_dsi>;
+               power-supply = <&vcc_3v3>;
                status = "okay";
 
                port {
 
 &sdio {
        status = "okay";
-       vmmc-supply = <&mmc_vcard>;
+       vmmc-supply = <&vcc_3v3>;
        cd-gpios = <&gpiog 2 GPIO_ACTIVE_LOW>;
        broken-cd;
        pinctrl-names = "default", "opendrain";