arm64: dts: renesas: beacon: Fix audio-1.8V pin enable
authorAdam Ford <aford173@gmail.com>
Sun, 13 Dec 2020 18:37:45 +0000 (12:37 -0600)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 28 Dec 2020 09:46:44 +0000 (10:46 +0100)
The fact the audio worked at all was a coincidence because the wrong
gpio enable was used.  Use the correct GPIO pin to ensure its operation.

Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit")
Signed-off-by: Adam Ford <aford173@gmail.com>
Link: https://lore.kernel.org/r/20201213183759.223246-6-aford173@gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi

index e66b5b3..759734b 100644 (file)
                regulator-name = "audio-1.8V";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
-               gpio = <&gpio_exp2 7 GPIO_ACTIVE_HIGH>;
+               gpio = <&gpio_exp4 1 GPIO_ACTIVE_HIGH>;
                enable-active-high;
        };