1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2025-08-25 21:42:22 +00:00
Files
a155-U-u1/kernel-5.10/arch/arm64/boot/dts/samsung/regulator-fixe-3.dtsi
physwizz 99537be4e2 first
2024-03-11 06:53:12 +11:00

31 lines
615 B
Plaintext

/*
* This pinctrl code is only for PULL state change.
* IN-OUT setting is set to OUTPUT at fixed-regulator probe.
*/
&pio {
ldo_gpio3: ldo_gpio3 {
GPIO_CONFIG_PUD(AP,pio,152, FUNC_OUTPUT_HIGH, PULL_NONE);
#if 0
samsung,pin-con-pdn = <3>;
samsung,pin-pud-pdn = <0>;
#endif
};
};
&smd {
fixed_regulator3: fixed_regulator@3 {
compatible = "regulator-fixed";
#if 1
regulator-name = "lcd_vdd3";
#else
regulator-name = "fixed_regulator3";
#endif
gpio = <SEC_GPIO_REF(AP,pio,152) 0>;
pinctrl-names = "default";
pinctrl-0 = <&ldo_gpio3>;
enable-active-high;
};
};