| 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 |
|
| 7 |
title: RaspberryPi 7" display ATTINY88-based regulator/backlight controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Marek Vasut <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 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 |
|
| 17 |
allOf: |
| 18 |
- $ref: regulator.yaml# |
| 19 |
|
| 20 |
properties: |
| 21 |
compatible: |
| 22 |
const: raspberrypi,7inch-touchscreen-panel-regulator |
| 23 |
|
| 24 |
reg: |
| 25 |
maxItems: 1 |
| 26 |
|
| 27 |
gpio-controller: true |
| 28 |
|
| 29 |
"#gpio-cells": |
| 30 |
const: 2 |
| 31 |
|
| 32 |
additionalProperties: false |
| 33 |
|
| 34 |
required: |
| 35 |
- compatible |
| 36 |
- reg |
| 37 |
|
| 38 |
examples: |
| 39 |
- | |
| 40 |
i2c { |
| 41 |
#address-cells = <1>; |
| 42 |
#size-cells = <0>; |
| 43 |
regulator@45 { |
| 44 |
compatible = "raspberrypi,7inch-touchscreen-panel-regulator"; |
| 45 |
reg = <0x45>; |
| 46 |
}; |
| 47 |
}; |
| 48 |
|
| 49 |
... |