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

dt-bindings: simplefb: Support regulator supply properties

The physical display tied to the framebuffer may have regulators
providing power to it, such as power for LCDs or interface conversion
chips.

The number of regulators in use may vary, but the regulator supply
binding can not be a list. Instead just support any named regulator
supply properties under the device node. These should be properly
named to match the device schematics / design. The driver should
take care to go through them all.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

Chen-Yu Tsai and committed by
Tomi Valkeinen
bd58a390 2168b49a

+9 -4
+9 -4
Documentation/devicetree/bindings/display/simple-framebuffer.txt
··· 47 47 - a8b8g8r8 (32-bit pixels, d[31:24]=a, d[23:16]=b, d[15:8]=g, d[7:0]=r). 48 48 49 49 Optional properties: 50 - - clocks : List of clocks used by the framebuffer. Clocks listed here 51 - are expected to already be configured correctly. The OS must 52 - ensure these clocks are not modified or disabled while the 53 - simple framebuffer remains active. 50 + - clocks : List of clocks used by the framebuffer. 51 + - *-supply : Any number of regulators used by the framebuffer. These should 52 + be named according to the names in the device's design. 53 + 54 + The above resources are expected to already be configured correctly. 55 + The OS must ensure they are not modified or disabled while the simple 56 + framebuffer remains active. 57 + 54 58 - display : phandle pointing to the primary display hardware node 55 59 56 60 Example: ··· 72 68 stride = <(1600 * 2)>; 73 69 format = "r5g6b5"; 74 70 clocks = <&ahb_gates 36>, <&ahb_gates 43>, <&ahb_gates 44>; 71 + lcd-supply = <&reg_dc1sw>; 75 72 display = <&lcdc0>; 76 73 }; 77 74 stdout-path = "display0";