Skip to content
Snippets Groups Projects
Commit df1e6212 authored by Philipp Tomsich's avatar Philipp Tomsich
Browse files

rockchip: dts: rk3399-puma: fix the modelling of BIOS_DISABLE


The fixed regulator for overriding BIOS_DISABLE had been modelling
backwards (i.e. the GPIO polarity and the enable-active-low/high
property had both been inverted), causing the 'regulator' command
to always print/expect 'disabled'/'enabled' backwards.

This fixes the mix-up and models it correctly:
 * the GPIO is low-active
 * the regulator should be enabled (enable-active-high) during
   boot-on initialisation

Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: default avatarKlaus Goger <klaus.goger@theobroma-systems.com>
parent be942f2e
No related branches found
No related tags found
No related merge requests found
......@@ -111,8 +111,8 @@
compatible = "regulator-fixed";
u-boot,dm-pre-reloc;
regulator-name = "bios_enable";
enable-active-low;
gpio = <&gpio3 29 GPIO_ACTIVE_HIGH>;
enable-active-high;
gpio = <&gpio3 29 GPIO_ACTIVE_LOW>;
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment