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

dt-bindings: leds: backlight: apple,dwi-bl: Add Apple DWI backlight

Add backlight controllers attached via Apple DWI 2-wire interface.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: "Daniel Thompson (RISCstar)" <danielt@kernel.org>
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Link: https://lore.kernel.org/r/20250214040306.16312-2-towinchenmi@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Nick Chan and committed by
Lee Jones
0508d175 276822a0

+57
+57
Documentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/leds/backlight/apple,dwi-bl.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Apple DWI 2-Wire Interface Backlight Controller 8 + 9 + maintainers: 10 + - Nick Chan <towinchenmi@gmail.com> 11 + 12 + description: 13 + Apple SoCs contain a 2-wire interface called DWI. On some Apple iPhones, 14 + iPads and iPod touches with a LCD display, 1-2 backlight controllers 15 + are connected via DWI. Interfacing with DWI controls all backlight 16 + controllers at the same time. As such, the backlight controllers are 17 + treated as a single controller regardless of the underlying 18 + configuration. 19 + 20 + allOf: 21 + - $ref: common.yaml# 22 + 23 + properties: 24 + compatible: 25 + items: 26 + - enum: 27 + - apple,s5l8960x-dwi-bl 28 + - apple,t7000-dwi-bl 29 + - apple,s8000-dwi-bl 30 + - apple,t8010-dwi-bl 31 + - apple,t8015-dwi-bl 32 + - const: apple,dwi-bl 33 + 34 + reg: 35 + maxItems: 1 36 + 37 + power-domains: 38 + maxItems: 1 39 + 40 + required: 41 + - compatible 42 + - reg 43 + 44 + unevaluatedProperties: false 45 + 46 + examples: 47 + - | 48 + soc { 49 + #address-cells = <2>; 50 + #size-cells = <2>; 51 + 52 + dwi_bl: backlight@20e200010 { 53 + compatible = "apple,s5l8960x-dwi-bl", "apple,dwi-bl"; 54 + reg = <0x2 0x0e200010 0x0 0x8>; 55 + power-domains = <&ps_dwi>; 56 + }; 57 + };