Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/leds/backlight/apple,dwi-bl.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Apple DWI 2-Wire Interface Backlight Controller
|
|
|
|
maintainers:
|
|
- Nick Chan <towinchenmi@gmail.com>
|
|
|
|
description:
|
|
Apple SoCs contain a 2-wire interface called DWI. On some Apple iPhones,
|
|
iPads and iPod touches with a LCD display, 1-2 backlight controllers
|
|
are connected via DWI. Interfacing with DWI controls all backlight
|
|
controllers at the same time. As such, the backlight controllers are
|
|
treated as a single controller regardless of the underlying
|
|
configuration.
|
|
|
|
allOf:
|
|
- $ref: common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- apple,s5l8960x-dwi-bl
|
|
- apple,t7000-dwi-bl
|
|
- apple,s8000-dwi-bl
|
|
- apple,t8010-dwi-bl
|
|
- apple,t8015-dwi-bl
|
|
- const: apple,dwi-bl
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
soc {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
dwi_bl: backlight@20e200010 {
|
|
compatible = "apple,s5l8960x-dwi-bl", "apple,dwi-bl";
|
|
reg = <0x2 0x0e200010 0x0 0x8>;
|
|
power-domains = <&ps_dwi>;
|
|
};
|
|
};
|