1*4882a593SmuzhiyunFixed Voltage regulator 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunBinding: 4*4882a593SmuzhiyunThe binding is done by the property "compatible" - this is different, than for 5*4882a593Smuzhiyunbinding by the node prefix (doc/device-tree-bindings/regulator/regulator.txt). 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunRequired properties: 8*4882a593Smuzhiyun- compatible: "regulator-fixed" 9*4882a593Smuzhiyun- regulator-name: this is required by the regulator uclass 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunOptional properties: 12*4882a593Smuzhiyun- gpio: GPIO to use for enable control 13*4882a593Smuzhiyun- startup-delay-us: startup time in microseconds 14*4882a593Smuzhiyun- regulator constraints (binding info: regulator.txt) 15*4882a593Smuzhiyun- enable-active-high: Polarity of GPIO is Active high. If this property 16*4882a593Smuzhiyun is missing, the default assumed is Active low. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunOther kernel-style properties, are currently not used. 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunNote: 22*4882a593SmuzhiyunFor the regulator constraints, driver expects that: 23*4882a593Smuzhiyun- regulator-min-microvolt is equal to regulator-max-microvolt 24*4882a593Smuzhiyun- regulator-min-microamp is equal to regulator-max-microamp 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunExample: 27*4882a593Smuzhiyunfixed_regulator@0 { 28*4882a593Smuzhiyun /* Mandatory */ 29*4882a593Smuzhiyun compatible = "regulator-fixed"; 30*4882a593Smuzhiyun regulator-name = "LED_3.3V"; 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun /* Optional: */ 33*4882a593Smuzhiyun gpio = <&gpc1 0 GPIO_ACTIVE_LOW>; 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun /* Optional for regulator uclass */ 36*4882a593Smuzhiyun regulator-min-microvolt = <3300000>; 37*4882a593Smuzhiyun regulator-max-microvolt = <3300000>; 38*4882a593Smuzhiyun regulator-min-microamp = <15000>; 39*4882a593Smuzhiyun regulator-max-microamp = <15000>; 40*4882a593Smuzhiyun regulator-always-on; 41*4882a593Smuzhiyun regulator-boot-on; 42*4882a593Smuzhiyun enable-active-high; 43*4882a593Smuzhiyun}; 44