Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: Add DT bindings for RaspberryPi 7" display ATTINY88-based regulator/backlight controller

Add DT bindings for RaspberryPi 7" display ATTINY88-based
regulator/backlight controller, this one is used in the
Raspberry Pi 7" touchscreen display unit.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Eric Anholt <eric@anholt.net>
Cc: Mark Brown <broonie@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: devicetree@vger.kernel.org
To: dri-devel@lists.freedesktop.org
Link: https://lore.kernel.org/r/20200809105938.6388-1-marex@denx.de
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Marek Vasut and committed by
Mark Brown
9c535960 38573472

+44
+44
Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml
··· 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 <marex@denx.de> 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 + additionalProperties: false 28 + 29 + required: 30 + - compatible 31 + - reg 32 + 33 + examples: 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 + ...