1*4882a593SmuzhiyunDIO5632 regulators 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: "DIO5632" 5*4882a593Smuzhiyun- reg: I2C slave address 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunOptional Subnode: 8*4882a593SmuzhiyunDevice supports two regulators OUTP and OUTN. A sub node within the 9*4882a593Smuzhiyun device node describe the properties of these regulators. The sub-node 10*4882a593Smuzhiyun names must be as follows: 11*4882a593Smuzhiyun -For regulator outp, the sub node name should be "outp". 12*4882a593Smuzhiyun -For regulator outn, the sub node name should be "outn". 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun-enable-gpios:(active high, output) Regulators are controlled by the input pins. 15*4882a593Smuzhiyun If it is connected to GPIO through host system then provide the 16*4882a593Smuzhiyun gpio number as per gpio.txt. 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunEach regulator is defined using the standard binding for regulators. 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunExample: 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun dio5632@3e { 23*4882a593Smuzhiyun compatible = "DIO5632"; 24*4882a593Smuzhiyun reg = <0x3e>; 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun outp { 27*4882a593Smuzhiyun regulator-name = "outp"; 28*4882a593Smuzhiyun regulator-boot-on; 29*4882a593Smuzhiyun regulator-always-on; 30*4882a593Smuzhiyun enable-gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; 31*4882a593Smuzhiyun }; 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun outn { 34*4882a593Smuzhiyun regulator-name = "outn"; 35*4882a593Smuzhiyun regulator-boot-on; 36*4882a593Smuzhiyun regulator-always-on; 37*4882a593Smuzhiyun enable-gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>; 38*4882a593Smuzhiyun }; 39*4882a593Smuzhiyun }; 40