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
7title: RaspberryPi 7" display ATTINY88-based regulator/backlight controller
8
9maintainers:
10  - Marek Vasut <marex@denx.de>
11
12description: |
13  The RaspberryPi 7" display has an ATTINY88-based regulator/backlight
14  controller on the PCB, which is used to turn the display unit on/off
15  and control the backlight.
16
17allOf:
18  - $ref: "regulator.yaml#"
19
20properties:
21  compatible:
22    const: raspberrypi,7inch-touchscreen-panel-regulator
23
24  reg:
25    maxItems: 1
26
27additionalProperties: false
28
29required:
30  - compatible
31  - reg
32
33examples:
34  - |
35    i2c {
36      #address-cells = <1>;
37      #size-cells = <0>;
38      regulator@45 {
39        compatible = "raspberrypi,7inch-touchscreen-panel-regulator";
40        reg = <0x45>;
41      };
42    };
43
44...
45