mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
7755313e69
Backlights are generally a subtype of LEDs at least from a software point of view if not always electrically. Move the bindings from the video directory to underneath the leds dir. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: Kumar Gala <galak@codeaurora.org>
36 lines
792 B
Plaintext
36 lines
792 B
Plaintext
SKY81452 bindings
|
|
|
|
Required properties:
|
|
- compatible : Must be "skyworks,sky81452"
|
|
- reg : I2C slave address
|
|
|
|
Required child nodes:
|
|
- backlight : container node for backlight following the binding
|
|
in leds/backlight/sky81452-backlight.txt
|
|
- regulator : container node for regulators following the binding
|
|
in regulator/sky81452-regulator.txt
|
|
|
|
Example:
|
|
|
|
sky81452@2c {
|
|
compatible = "skyworks,sky81452";
|
|
reg = <0x2c>;
|
|
|
|
backlight {
|
|
compatible = "skyworks,sky81452-backlight";
|
|
name = "pwm-backlight";
|
|
led-sources = <0 1 2 3 6>;
|
|
skyworks,ignore-pwm;
|
|
skyworks,phase-shift;
|
|
skyworks,current-limit = <2300>;
|
|
};
|
|
|
|
regulator {
|
|
lout {
|
|
regulator-name = "sky81452-lout";
|
|
regulator-min-microvolt = <4500000>;
|
|
regulator-max-microvolt = <8000000>;
|
|
};
|
|
};
|
|
};
|