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. The V2 supports 5" and 7" panels and also
16  offers PWM backlight control.
17
18allOf:
19  - $ref: regulator.yaml#
20
21properties:
22  compatible:
23    enum:
24      - raspberrypi,7inch-touchscreen-panel-regulator
25      - raspberrypi,touchscreen-panel-regulator-v2
26
27  reg:
28    maxItems: 1
29
30additionalProperties: false
31
32required:
33  - compatible
34  - reg
35
36examples:
37  - |
38    i2c {
39      #address-cells = <1>;
40      #size-cells = <0>;
41      regulator@45 {
42        compatible = "raspberrypi,7inch-touchscreen-panel-regulator";
43        reg = <0x45>;
44      };
45    };
46
47...
48