mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2025-08-25 21:42:22 +00:00
31 lines
613 B
Plaintext
31 lines
613 B
Plaintext
/*
|
|
* This pinctrl code is only for PULL state change.
|
|
* IN-OUT setting is set to OUTPUT at fixed-regulator probe.
|
|
*/
|
|
|
|
&pio {
|
|
ldo_gpio2: ldo_gpio2 {
|
|
GPIO_CONFIG_PUD(AP,pio,21, FUNC_OUTPUT_HIGH, PULL_NONE);
|
|
#if 0
|
|
samsung,pin-con-pdn = <3>;
|
|
samsung,pin-pud-pdn = <0>;
|
|
#endif
|
|
};
|
|
};
|
|
|
|
&smd {
|
|
fixed_regulator2: fixed_regulator@2 {
|
|
compatible = "regulator-fixed";
|
|
#if 1
|
|
regulator-name = "lcd_vddi";
|
|
#else
|
|
regulator-name = "fixed_regulator2";
|
|
#endif
|
|
gpio = <SEC_GPIO_REF(AP,pio,21) 0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&ldo_gpio2>;
|
|
enable-active-high;
|
|
};
|
|
};
|
|
|