ti,tps62360.yaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/ti,tps62360.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Texas Instruments TPS6236x Voltage Regulators
  7. maintainers:
  8. - Laxman Dewangan <ldewangan@nvidia.com>
  9. description: |
  10. The TPS6236x are a family of step down dc-dc converter with
  11. an input voltage range of 2.5V to 5.5V. The devices provide
  12. up to 3A peak load current, and an output voltage range of
  13. 0.77V to 1.4V (TPS62360/62) and 0.5V to 1.77V (TPS62361B/63).
  14. Datasheet is available at:
  15. https://www.ti.com/lit/gpn/tps62360
  16. allOf:
  17. - $ref: regulator.yaml#
  18. properties:
  19. compatible:
  20. enum:
  21. - ti,tps62360
  22. - ti,tps62361
  23. - ti,tps62362
  24. - ti,tps62363
  25. reg:
  26. maxItems: 1
  27. ti,vsel0-gpio:
  28. description: |
  29. GPIO for controlling VSEL0 line. If this property
  30. is missing, then assume that there is no GPIO for
  31. VSEL0 control.
  32. maxItems: 1
  33. ti,vsel1-gpio:
  34. description: |
  35. GPIO for controlling VSEL1 line. If this property
  36. is missing, then assume that there is no GPIO for
  37. VSEL1 control.
  38. maxItems: 1
  39. ti,enable-vout-discharge:
  40. description: Enable output discharge.
  41. type: boolean
  42. ti,enable-pull-down:
  43. description: Enable pull down.
  44. type: boolean
  45. ti,vsel0-state-high:
  46. description: |
  47. Initial state of VSEL0 input is high. If this property
  48. is missing, then assume the state as low.
  49. type: boolean
  50. ti,vsel1-state-high:
  51. description: |
  52. Initial state of VSEL1 input is high. If this property
  53. is missing, then assume the state as low.
  54. type: boolean
  55. required:
  56. - compatible
  57. - reg
  58. unevaluatedProperties: false
  59. examples:
  60. - |
  61. #include <dt-bindings/gpio/gpio.h>
  62. i2c {
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. regulator@60 {
  66. compatible = "ti,tps62361";
  67. reg = <0x60>;
  68. regulator-name = "tps62361-vout";
  69. regulator-min-microvolt = <500000>;
  70. regulator-max-microvolt = <1500000>;
  71. regulator-boot-on;
  72. ti,vsel0-gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;
  73. ti,vsel1-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;
  74. ti,vsel0-state-high;
  75. ti,vsel1-state-high;
  76. ti,enable-pull-down;
  77. ti,enable-vout-discharge;
  78. };
  79. };
  80. ...