raspberrypi,7inch-touchscreen-panel-regulator.yaml 953 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: RaspberryPi 7" display ATTINY88-based regulator/backlight controller
  7. maintainers:
  8. - Marek Vasut <marex@denx.de>
  9. description: |
  10. The RaspberryPi 7" display has an ATTINY88-based regulator/backlight
  11. controller on the PCB, which is used to turn the display unit on/off
  12. and control the backlight.
  13. allOf:
  14. - $ref: regulator.yaml#
  15. properties:
  16. compatible:
  17. const: raspberrypi,7inch-touchscreen-panel-regulator
  18. reg:
  19. maxItems: 1
  20. additionalProperties: false
  21. required:
  22. - compatible
  23. - reg
  24. examples:
  25. - |
  26. i2c {
  27. #address-cells = <1>;
  28. #size-cells = <0>;
  29. regulator@45 {
  30. compatible = "raspberrypi,7inch-touchscreen-panel-regulator";
  31. reg = <0x45>;
  32. };
  33. };
  34. ...