backlight: Add RAVE SP backlight driver
Subsystems (5)
PATCH v2 1/2 backlight: Add RAVE SP backlight driver
This driver provides access to RAVE SP backlight control functionality.
---
Changes since [v1]:
- Collected various Acked-by form Lee and Daniel
- Changes BACKLIGHT_FIRMARE to BACKLIGHT_PLATFORM
[v1] https://lkml.kernel.org/r/[email protected]
drivers/video/backlight/Kconfig | 6 +++ drivers/video/backlight/Makefile | 1 + drivers/video/backlight/rave-sp-backlight.c | 82 +++++++++++++++++++++++++++++ include/linux/mfd/rave-sp.h | 1 + 4 files changed, 90 insertions(+) create mode 100644 drivers/video/backlight/rave-sp-backlight.c
drivers/video/backlight/Kconfig +6 -0
@@ -467,6 +467,12 @@ config BACKLIGHT_ARCXCNN If you have an ARCxCnnnn family backlight say Y to enable the backlight driver. +config BACKLIGHT_RAVE_SP + tristate "RAVE SP Backlight driver" + depends on RAVE_SP_CORE + help + Support for backlight control on RAVE SP device. + endif # BACKLIGHT_CLASS_DEVICE endif # BACKLIGHT_LCD_SUPPORT
drivers/video/backlight/Makefile +1 -0
@@ -57,3 +57,4 @@ obj-$(CONFIG_BACKLIGHT_TOSA) += tosa_bl.o obj-$(CONFIG_BACKLIGHT_TPS65217) += tps65217_bl.o obj-$(CONFIG_BACKLIGHT_WM831X) += wm831x_bl.o obj-$(CONFIG_BACKLIGHT_ARCXCNN) += arcxcnn_bl.o +obj-$(CONFIG_BACKLIGHT_RAVE_SP) += rave-sp-backlight.o
drivers/video/backlight/rave-sp-backlight.c new file +82 -0
82 lines not on this page · raw message
include/linux/mfd/rave-sp.h +1 -0
@@ -21,6 +21,7 @@ enum rave_sp_command {RAVE_SP_CMD_STATUS =0xA0 ,RAVE_SP_CMD_SW_WDT =0xA1 ,RAVE_SP_CMD_PET_WDT =0xA2 , +RAVE_SP_CMD_SET_BACKLIGHT =0xA6 ,RAVE_SP_CMD_RESET =0xA7 , RAVE_SP_CMD_RESET_REASON = 0xA8,
Signature · 1 line
2.14.3
PATCH v2 2/2 dt-bindings: backlight: Add binding for RAVE SP backlight driver
Add Device Tree bindings for RAVE SP backlight driver - an MFD cell of parent RAVE SP driver (documented in Documentation/devicetree/bindings/mfd/zii,rave-sp.txt).
---
Changes since [v1]:
- Fixed typos in commit message and incorrect node name in example section
[v1] https://lkml.kernel.org/r/[email protected]
.../leds/backlight/zii,rave-sp-backlight.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt
Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt new file +23 -0
@@ -0,0 +1,23 @@ +Zodiac Inflight Innovations RAVE Supervisory Processor Backlight Bindings + +RAVE SP backlight device is a "MFD cell" device corresponding to +backlight functionality of RAVE Supervisory Processor. It is expected +that its Device Tree node is specified as a child of the node +corresponding to the parent RAVE SP device (as documented in +Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) + +Required properties: + +- compatible: Should be "zii,rave-sp-backlight" + +Example: + + rave-sp { + compatible = "zii,rave-sp-rdu1"; + current-speed = <38400>; + + backlight { + compatible = "zii,rave-sp-backlight"; + }; + } +
Signature · 1 line
2.14.3
Re: [PATCH v2 2/2] dt-bindings: backlight: Add binding for RAVE SP backlight driver
Quoted 20 lines · Andrey Smirnov
Add Device Tree bindings for RAVE SP backlight driver - an MFD cell of parent RAVE SP driver (documented in
Documentation/devicetree/bindings/mfd/zii,rave-sp.txt).Cc Lee Jones <[email protected]>Cc Daniel Thompson <[email protected]>Cc Jingoo Han <[email protected]>Cc Chris Healy <[email protected]>Cc Lucas Stach <[email protected]>Cc Aleksander Morgado <[email protected]>Cc Rob Herring <[email protected]>Cc Mark Rutland <[email protected]>Acked-by Daniel Thompson <[email protected]>Signed-off-by Andrey Smirnov <[email protected]>---
Changes since [v1]:
Quoted 7 lines
- Fixed typos in commit message and incorrect node name in example section
[v1] https://lkml.kernel.org/r/[email protected]
.../leds/backlight/zii,rave-sp-backlight.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt
Lee Jones
AppliedRe: [PATCH v2 2/2] dt-bindings: backlight: Add binding for RAVE SP backlight driver
In reply to Andrey SmirnovQuoted 20 lines · Andrey Smirnov
Add Device Tree bindings for RAVE SP backlight driver - an MFD cell of parent RAVE SP driver (documented in
Documentation/devicetree/bindings/mfd/zii,rave-sp.txt).Cc Lee Jones <[email protected]>Cc Daniel Thompson <[email protected]>Cc Jingoo Han <[email protected]>Cc Chris Healy <[email protected]>Cc Lucas Stach <[email protected]>Cc Aleksander Morgado <[email protected]>Cc Rob Herring <[email protected]>Cc Mark Rutland <[email protected]>Acked-by Daniel Thompson <[email protected]>Signed-off-by Andrey Smirnov <[email protected]>---
Changes since [v1]:
Quoted 7 lines
- Fixed typos in commit message and incorrect node name in example section
[v1] https://lkml.kernel.org/r/[email protected]
.../leds/backlight/zii,rave-sp-backlight.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Lee Jones
AppliedQuoted 21 lines · Andrey Smirnov
This driver provides access to RAVE SP backlight control functionality.
Cc Lee Jones <[email protected]>Cc Daniel Thompson <[email protected]>Cc Jingoo Han <[email protected]>Cc Chris Healy <[email protected]>Cc Lucas Stach <[email protected]>Cc Aleksander Morgado <[email protected]>Acked-by Daniel Thompson <[email protected]>Acked-for-MFD-by Lee Jones <[email protected]>Signed-off-by Andrey Smirnov <[email protected]>---
Changes since [v1]:
- Collected various Acked-by form Lee and Daniel
- Changes
BACKLIGHT_FIRMAREtoBACKLIGHT_PLATFORM
Quoted 8 lines
[v1] https://lkml.kernel.org/r/[email protected]
drivers/video/backlight/Kconfig | 6 +++ drivers/video/backlight/Makefile | 1 + drivers/video/backlight/rave-sp-backlight.c | 82 +++++++++++++++++++++++++++++ include/linux/mfd/rave-sp.h | 1 + 4 files changed, 90 insertions(+) create mode 100644 drivers/video/backlight/rave-sp-backlight.c
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog