~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/regulator/lm363x-regulator.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 TI LMU LM363x regulator device tree bindings
  2 
  3 LM363x regulator driver supports LM3631 and LM3632.
  4 LM3631 has five regulators and LM3632 supports three regulators.
  5 
  6 Required property:
  7   - compatible: "ti,lm363x-regulator"
  8 
  9 Optional properties:
 10   LM3632 has external enable pins for two LDOs.
 11   - enable-gpios: Two GPIO specifiers for Vpos and Vneg control pins.
 12                   The first entry is Vpos, the second is Vneg enable pin.
 13 
 14 Child nodes:
 15   LM3631
 16   - vboost
 17   - vcont
 18   - voref
 19   - vpos
 20   - vneg
 21 
 22   LM3632
 23   - vboost
 24   - vpos
 25   - vneg
 26 
 27   Optional properties of a child node:
 28   Each sub-node should contain the constraints and initialization.
 29   Please refer to [1].
 30 
 31 Examples: Please refer to ti-lmu dt-bindings [2].
 32 
 33 lm3631@29 {
 34         compatible = "ti,lm3631";
 35         reg = <0x29>;
 36 
 37         regulators {
 38                 compatible = "ti,lm363x-regulator";
 39 
 40                 vboost {
 41                         regulator-name = "lcd_boost";
 42                         regulator-min-microvolt = <4500000>;
 43                         regulator-max-microvolt = <6350000>;
 44                         regulator-always-on;
 45                 };
 46 
 47                 vcont {
 48                         regulator-name = "lcd_vcont";
 49                         regulator-min-microvolt = <1800000>;
 50                         regulator-max-microvolt = <3300000>;
 51                 };
 52 
 53                 voref {
 54                         regulator-name = "lcd_voref";
 55                         regulator-min-microvolt = <4000000>;
 56                         regulator-max-microvolt = <6000000>;
 57                 };
 58 
 59                 vpos {
 60                         regulator-name = "lcd_vpos";
 61                         regulator-min-microvolt = <4000000>;
 62                         regulator-max-microvolt = <6000000>;
 63                         regulator-boot-on;
 64                 };
 65 
 66                 vneg {
 67                         regulator-name = "lcd_vneg";
 68                         regulator-min-microvolt = <4000000>;
 69                         regulator-max-microvolt = <6000000>;
 70                         regulator-boot-on;
 71                 };
 72         };
 73 };
 74 
 75 lm3632@11 {
 76         compatible = "ti,lm3632";
 77         reg = <0x11>;
 78 
 79         regulators {
 80                 compatible = "ti,lm363x-regulator";
 81 
 82                 /* GPIO1_16 for Vpos, GPIO1_28 is for Vneg */
 83                 enable-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>,
 84                                 <&gpio1 28 GPIO_ACTIVE_HIGH>;
 85 
 86                 vboost {
 87                         regulator-name = "lcd_boost";
 88                         regulator-min-microvolt = <4500000>;
 89                         regulator-max-microvolt = <6400000>;
 90                         regulator-always-on;
 91                 };
 92 
 93                 vpos {
 94                         regulator-name = "lcd_vpos";
 95                         regulator-min-microvolt = <4000000>;
 96                         regulator-max-microvolt = <6000000>;
 97                 };
 98 
 99                 vneg {
100                         regulator-name = "lcd_vneg";
101                         regulator-min-microvolt = <4000000>;
102                         regulator-max-microvolt = <6000000>;
103                 };
104         };
105 };
106 
107 [1] ../regulator/regulator.txt
108 [2] ../mfd/ti-lmu.txt

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php