cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

tps65090.txt (3235B)


      1TPS65090 regulators
      2
      3Required properties:
      4- compatible: "ti,tps65090"
      5- reg: I2C slave address
      6- interrupts: the interrupt outputs of the controller
      7- regulators: A node that houses a sub-node for each regulator within the
      8  device. Each sub-node is identified using the node's name, with valid
      9  values listed below. The content of each sub-node is defined by the
     10  standard binding for regulators; see regulator.txt.
     11  dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
     12- vsys[1-3]-supply: The input supply for DCDC[1-3] respectively.
     13- infet[1-7]-supply: The input supply for FET[1-7] respectively.
     14- vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively.
     15
     16Optional properties:
     17- ti,enable-ext-control: This is applicable for DCDC1, DCDC2 and DCDC3.
     18  If DCDCs are externally controlled then this property should be there.
     19- dcdc-ext-control-gpios: This is applicable for DCDC1, DCDC2 and DCDC3.
     20  If DCDCs are externally controlled and if it is from GPIO then GPIO
     21  number should be provided. If it is externally controlled and no GPIO
     22  entry then driver will just configure this rails as external control
     23  and will not provide any enable/disable APIs.
     24- ti,overcurrent-wait: This is applicable to FET registers, which have a
     25  poorly defined "overcurrent wait" field.  If this property is present it
     26  should be between 0 - 3.  If this property isn't present we won't touch the
     27  "overcurrent wait" field and we'll leave it to the BIOS/EC to deal with.
     28
     29Each regulator is defined using the standard binding for regulators.
     30
     31Example:
     32
     33	tps65090@48 {
     34		compatible = "ti,tps65090";
     35		reg = <0x48>;
     36		interrupts = <0 88 0x4>;
     37
     38		vsys1-supply = <&some_reg>;
     39		vsys2-supply = <&some_reg>;
     40		vsys3-supply = <&some_reg>;
     41		infet1-supply = <&some_reg>;
     42		infet2-supply = <&some_reg>;
     43		infet3-supply = <&some_reg>;
     44		infet4-supply = <&some_reg>;
     45		infet5-supply = <&some_reg>;
     46		infet6-supply = <&some_reg>;
     47		infet7-supply = <&some_reg>;
     48		vsys-l1-supply = <&some_reg>;
     49		vsys-l2-supply = <&some_reg>;
     50
     51		regulators {
     52			dcdc1 {
     53				regulator-name = "dcdc1";
     54				regulator-boot-on;
     55				regulator-always-on;
     56				ti,enable-ext-control;
     57				dcdc-ext-control-gpios = <&gpio 10 0>;
     58			};
     59
     60			dcdc2 {
     61				regulator-name = "dcdc2";
     62				regulator-boot-on;
     63				regulator-always-on;
     64			};
     65
     66			dcdc3 {
     67				regulator-name = "dcdc3";
     68				regulator-boot-on;
     69				regulator-always-on;
     70			};
     71
     72			fet1 {
     73				regulator-name = "fet1";
     74				regulator-boot-on;
     75				regulator-always-on;
     76			};
     77
     78			fet2 {
     79				regulator-name = "fet2";
     80				regulator-boot-on;
     81				regulator-always-on;
     82			};
     83
     84			fet3 {
     85				regulator-name = "fet3";
     86				regulator-boot-on;
     87				regulator-always-on;
     88			};
     89
     90			fet4 {
     91				regulator-name = "fet4";
     92				regulator-boot-on;
     93				regulator-always-on;
     94			};
     95
     96			fet5 {
     97				regulator-name = "fet5";
     98				regulator-boot-on;
     99				regulator-always-on;
    100			};
    101
    102			fet6 {
    103				regulator-name = "fet6";
    104				regulator-boot-on;
    105				regulator-always-on;
    106			};
    107
    108			fet7 {
    109				regulator-name = "fet7";
    110				regulator-boot-on;
    111				regulator-always-on;
    112			};
    113
    114			ldo1 {
    115				regulator-name = "ldo1";
    116				regulator-boot-on;
    117				regulator-always-on;
    118			};
    119
    120			ldo2 {
    121				regulator-name = "ldo2";
    122				regulator-boot-on;
    123				regulator-always-on;
    124			};
    125		};
    126	};