0001-arch-riscv-boot-dts-thead-add-lcd0-en-regulator.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 4d09a6c7ad3017a3f6c5dcc9cbfd6513a2a09f32 Mon Sep 17 00:00:00 2001
  2. From: "linghui.zlh" <linghui.zlh@linux.alibaba.com>
  3. Date: Tue, 10 May 2022 14:55:57 +0800
  4. Subject: [PATCH] arch: riscv: boot: dts: thead: add lcd0-en regulator
  5. add lcd0-en rgulator
  6. Signed-off-by: linghui.zlh < linghui.zlh@linux.alibaba.com >
  7. ---
  8. arch/riscv/boot/dts/thead/light-val-ant-evt.dts | 10 ++++++++++
  9. 1 file changed, 10 insertions(+)
  10. diff --git a/arch/riscv/boot/dts/thead/light-val-ant-evt.dts b/arch/riscv/boot/dts/thead/light-val-ant-evt.dts
  11. index fa4ac3a72353..592c99316f6a 100644
  12. --- a/arch/riscv/boot/dts/thead/light-val-ant-evt.dts
  13. +++ b/arch/riscv/boot/dts/thead/light-val-ant-evt.dts
  14. @@ -287,6 +287,16 @@
  15. regulator-always-on;
  16. };
  17. + soc_vdd18_lcd0_en_reg: soc_lcd0_en {
  18. + compatible = "regulator-fixed";
  19. + regulator-name = "soc_lcd0_en";
  20. + regulator-min-microvolt = <1800000>;
  21. + regulator-max-microvolt = <1800000>;
  22. + gpio = <&gpio1_porta 9 1>;
  23. + enable-active-high;
  24. + regulator-always-on;
  25. + };
  26. +
  27. soc_vdd5v_se_en_reg: soc_vdd5v_se_en {
  28. compatible = "regulator-fixed";
  29. regulator-name = "soc_vdd5v_se_en";
  30. --
  31. 2.17.1