[PATCH v6 1/4] mfd: rt4831: Adds support for Richtek RT4831

2021-03-28 Thread cy_huang
From: ChiYuan Huang This adds support Richtek RT4831 core. It includes four channel WLED driver and Display Bias Voltage outputs. Signed-off-by: ChiYuan Huang --- The RT4831 regulator patches are already on main stream, and can be referred to 9351ab8b0cb6 regulator: rt4831: Adds support for

[PATCH v6 4/4] backlight: rt4831: Adds support for Richtek RT4831 backlight

2021-03-28 Thread cy_huang
From: ChiYuan Huang Adds support for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang --- since v6 - Fix Kconfig typo. - Remove internal mutex lock. - Add the prefix for max brightness. - rename init_device_properties to parse_backlight_properties. - Remove some warning message if

[PATCH v6 2/4] backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight

2021-03-28 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang --- .../leds/backlight/richtek,rt4831-backlight.yaml | 65 ++ include/dt-bindings/leds/rt4831-backlight.h| 23 2 files changed, 88 insertions(+)

[PATCH v6 3/4] mfd: rt4831: Adds DT binding document for Richtek RT4831

2021-03-28 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831. Signed-off-by: ChiYuan Huang --- .../devicetree/bindings/mfd/richtek,rt4831.yaml| 90 ++ 1 file changed, 90 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/richtek,rt4831.yaml

[PATCH v3 2/2] leds: rt4505: Add support for Richtek RT4505 flash LED controller

2021-03-26 Thread cy_huang
From: ChiYuan Huang Add support for RT4505 flash LED controller. It can support up to 1.5A flash current with hardware timeout and low input voltage protection. Signed-off-by: ChiYuan Huang Acked-by: Jacek Anaszewski --- drivers/leds/flash/Kconfig | 11 + drivers/leds/flash/Makefile

[PATCH v3 1/2] leds: rt4505: Add DT binding document for Richtek RT4505

2021-03-26 Thread cy_huang
From: ChiYuan Huang Add DT binding document for Richtek RT4505 flash LED controller. Signed-off-by: ChiYuan Huang Reviewed-by: Rob Herring --- Changes since v3 - Port this patch to led for-next tree. - Merge Acks in the commit context. - Reorder the patch series from the docs first. Changes

[PATCH 2/2] usb typec: tcpci: mt6360: Add vbus supply into dt-binding description

2021-01-15 Thread cy_huang
From: ChiYuan Huang Add external vbus source into dt-binding description. Signed-off-by: ChiYuan Huang --- Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml

[PATCH 1/2] usb typec: tcpci: mt6360: Add vsafe0v support and external vbus supply control

2021-01-15 Thread cy_huang
From: ChiYuan Huang MT6360 not support for TCPC command to control source and sink. Uses external 5V vbus regulator as the vbus source control. Also adds the capability to report vsafe0v. Signed-off-by: ChiYuan Huang --- drivers/usb/typec/tcpm/tcpci_mt6360.c | 29

[PATCH v5 6/6] regulator: rt4831: Adds support for Richtek RT4831 DSV regulator

2020-12-17 Thread cy_huang
From: ChiYuan Huang Adds support for Richtek RT4831 DSV Regulator Signed-off-by: ChiYuan Huang --- drivers/regulator/Kconfig| 10 ++ drivers/regulator/Makefile | 1 + drivers/regulator/rt4831-regulator.c | 198 +++ 3 files changed, 209

[PATCH v5 5/6] backlight: rt4831: Adds support for Richtek RT4831 backlight

2020-12-17 Thread cy_huang
From: ChiYuan Huang Adds support for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang --- drivers/video/backlight/Kconfig| 8 ++ drivers/video/backlight/Makefile | 1 + drivers/video/backlight/rt4831-backlight.c | 219 + 3 files

[PATCH v5 4/6] mfd: rt4831: Adds DT binding document for Richtek RT4831 core

2020-12-17 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 core. Signed-off-by: ChiYuan Huang --- This patch depends on "backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight" "regulator: rt4831: Adds DT binding document for Richtek RT4831 DSV regulator" since v5 -

[PATCH v5 3/6] regulator: rt4831: Adds DT binding document for Richtek RT4831 DSV regulator

2020-12-17 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 DSV regulator. Signed-off-by: ChiYuan Huang --- since v5 - Revert it back from v3 patch. - Drop the example in dt-binding, Already full example in mfd dt-binding. --- .../regulator/richtek,rt4831-regulator.yaml| 35

[PATCH v5 2/6] backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight

2020-12-17 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang --- since v5 - Drop the example in dt-binding. Aready full example in mfd dt-binding. since v3 - Move inlcude/dt-bindings/leds/rt4831-backlight.h from patch 0004 to here. - Add dual license

[PATCH v5 1/6] mfd: rt4831: Adds support for Richtek RT4831 core

2020-12-17 Thread cy_huang
From: ChiYuan Huang This adds support Richtek RT4831 core. It includes four channel WLED driver and Display Bias Voltage outputs. Signed-off-by: ChiYuan Huang --- since v5 - Rename file name from rt4831-core.c to rt4831.c - Change RICHTEK_VID to RICHTEK_VENDOR_ID. - Change gpio_desc nameing

[PATCH v4 2/3] backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight

2020-12-11 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang --- since v3 - Move inlcude/dt-bindings/leds/rt4831-backlight.h from v3 mfd binding patch to here. - Add dual license tag in header and backlight binding document. - Left backlight

[PATCH v4 1/3] mfd: rt4831: Adds support for Richtek RT4831 MFD core

2020-12-11 Thread cy_huang
From: ChiYuan Huang This adds support Richtek RT4831 MFD core. It includes four channel WLED driver and Display Bias Voltage outputs. Signed-off-by: ChiYuan Huang --- since v2 - Refine Kconfig descriptions. - Add copyright. - Refine error logs in probe. - Refine comment lines in remove and

[PATCH v4 3/3] mfd: rt4831: Adds DT binding document for Richtek RT4831 MFD core

2020-12-11 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 MFD core. Signed-off-by: ChiYuan Huang --- This patch depends on "backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight". since v4 - remove v3 regulator binding patch, directly merge it into mfd binding.

[PATCH v3 3/4] regulator: rt4831: Adds DT binding document for Richtek RT4831 DSV regulator

2020-12-08 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 DSV regulator. Signed-off-by: ChiYuan Huang --- since v3 - Add dual license tag in regulator binding document. - Left regulator dt-binding example only. --- .../regulator/richtek,rt4831-regulator.yaml| 57

[PATCH v3 4/4] mfd: rt4831: Adds DT binding document for Richtek RT4831 MFD core

2020-12-08 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 MFD core. Signed-off-by: ChiYuan Huang --- This patch depends on "backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight". "regulator: rt4831: Adds DT binding document for Richtek RT4831 DSV regulator". since

[PATCH v3 2/4] backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight

2020-12-08 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang --- since v3 - Move inlcude/dt-bindings/leds/rt4831-backlight.h from patch 0004 to here. - Add dual license tag in header and backlight binding document. - Left backlight dt-binding example

[PATCH v3 1/4] mfd: rt4831: Adds support for Richtek RT4831 MFD core

2020-12-08 Thread cy_huang
From: ChiYuan Huang This adds support Richtek RT4831 MFD core. It includes four channel WLED driver and Display Bias Voltage outputs. Signed-off-by: ChiYuan Huang --- since v2 - Refine Kconfig descriptions. - Add copyright. - Refine error logs in probe. - Refine comment lines in remove and

[PATCH v2 4/4] mfd: rt4831: Adds DT binding document for Richtek RT4831 MFD core

2020-12-03 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 MFD core. This patch depends on "backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight". "regulator: rt4831: Adds DT binding document for Richtek RT4831 DSV regulator". Signed-off-by: ChiYuan Huang --- Changes

[PATCH v2 2/4] backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight

2020-12-03 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 backlight. Signed-off-by: ChiYuan Huang --- .../leds/backlight/richtek,rt4831-backlight.yaml | 86 ++ 1 file changed, 86 insertions(+) create mode 100644

[PATCH v2 3/4] regulator: rt4831: Adds DT binding document for Richtek RT4831 DSV regulator

2020-12-03 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 DSV regulator. Signed-off-by: ChiYuan Huang --- .../regulator/richtek,rt4831-regulator.yaml| 67 ++ 1 file changed, 67 insertions(+) create mode 100644

[PATCH v2 1/4] mfd: rt4831: Adds support for Richtek RT4831 MFD core

2020-12-03 Thread cy_huang
From: ChiYuan Huang This adds support Richtek RT4831 MFD core. It includes four channel WLED driver and Display Bias Voltage outputs. Signed-off-by: ChiYuan Huang --- Changes since v2 - Add copyright. - Refine error log text in probe. - Refine comment lines in remove and shutdown callback. -

[PATCH v1 2/2] mfd: rt4505: Adds DT binding document for Richtek RT4831 MFD core

2020-11-01 Thread cy_huang
From: ChiYuan Huang Adds DT binding document for Richtek RT4831 MFD core. Signed-off-by: ChiYuan Huang --- .../devicetree/bindings/mfd/richtek,rt4831.yaml| 89 ++ include/dt-bindings/leds/rt4831-backlight.h| 23 ++ 2 files changed, 112 insertions(+) create

[PATCH v1 1/2] mfd: rt4831: Adds support for Richtek RT4831 MFD core

2020-11-01 Thread cy_huang
From: ChiYuan Huang Adds support Richtek RT4831 MFD core. RT4831 includes backlight and DSV part that can provode display panel for postive and negative voltage and WLED driving. Signed-off-by: ChiYuan Huang --- drivers/mfd/Kconfig | 11 + drivers/mfd/Makefile | 1 +

[PATCH v2 1/2] leds: rt4505: Add support for Richtek RT4505 flash LED controller

2020-11-01 Thread cy_huang
From: ChiYuan Huang Add support for RT4505 flash LED controller. It can support up to 1.5A flash current with hardware timeout and low input voltage protection. Signed-off-by: ChiYuan Huang --- Changes since v1 to v2 - Create flash directory into drvers/leds. - Coding style fix to meet 80

[PATCH v2 2/2] leds: rt4505: Add DT binding document for Richtek RT4505

2020-11-01 Thread cy_huang
From: ChiYuan Huang Add DT binding document for Richtek RT4505 flash LED controller. Signed-off-by: ChiYuan Huang Reviewed-by: Rob Herring --- Changes since v1 to v2 - Change the descriptions for 'led' text to uppercase 'LED'. --- .../devicetree/bindings/leds/leds-rt4505.yaml | 57

[PATCH v1 1/2] leds: rt4505: Add support for Richtek RT4505 flash led controller

2020-10-27 Thread cy_huang
From: ChiYuan Huang Add support for RT4505 flash led controller. It can support up to 1.5A flash current with hardware timeout and low input voltage protection. Signed-off-by: ChiYuan Huang --- drivers/leds/Kconfig | 11 ++ drivers/leds/Makefile | 1 + drivers/leds/leds-rt4505.c

[PATCH v1 2/2] leds: rt4505: Add DT binding document for Richtek RT4505

2020-10-27 Thread cy_huang
From: ChiYuan Huang Add DT binding document for Richtek RT4505 flash led controller. Signed-off-by: ChiYuan Huang --- .../devicetree/bindings/leds/leds-rt4505.yaml | 57 ++ 1 file changed, 57 insertions(+) create mode 100644

[PATCH] regulator: rtmv20: Add missing regcache cache only before marked as dirty

2020-09-30 Thread cy_huang
From: ChiYuan Huang Add missing regcache cache only before masked as dirty. Signed-off-by: ChiYuan Huang --- drivers/regulator/rtmv20-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/rtmv20-regulator.c b/drivers/regulator/rtmv20-regulator.c index

[PATCH] regulator: rtmv20: Update DT binding document and property name parsing

2020-09-30 Thread cy_huang
From: ChiYuan Huang 1. Add vendor suffix to all proprietary properties. 2. Fix typo. 3. Change lsw to normal property, not pattern property. 4. Due to item 1, modify source code for property parsing. Signed-off-by: ChiYuan Huang --- .../regulator/richtek,rtmv20-regulator.yaml| 53

[PATCH v2 1/2] regulator: rtmv20: Adds support for Richtek RTMV20 load switch regulator

2020-09-28 Thread cy_huang
From: ChiYuan Huang Add support for Richtek RTMV20 load switch regulator. Signed-off-by: ChiYuan Huang --- v1 to v2 1. Use regcache related APIs when HW disable and enable. 2. Because of regcache, refine the initial properties flow. 3. Change all propertiy name to use dash, not underline. 4.

[PATCH v2 2/2] regulator: rtmv20: Add DT-binding document for Richtek RTMV20

2020-09-28 Thread cy_huang
From: ChiYuan Huang Add DT-binding document for Richtek RTMV20 Signed-off-by: ChiYuan Huang --- .../regulator/richtek,rtmv20-regulator.yaml| 168 + 1 file changed, 168 insertions(+) create mode 100644

[PATCH v1 2/2] regulator: rtmv20: Add DT-binding document for Richtek RTMV20

2020-09-24 Thread cy_huang
From: ChiYuan Huang Add DT-binding document for Richtek RTMV20 Signed-off-by: ChiYuan Huang --- .../regulator/richtek,rtmv20-regulator.yaml| 183 + 1 file changed, 183 insertions(+) create mode 100644

[PATCH v1 1/2] regulator: rtmv20: Adds support for Richtek RTMV20 load switch regulator

2020-09-24 Thread cy_huang
From: ChiYuan Huang Add support for Richtek RTMV20 load switch regulator. Signed-off-by: ChiYuan Huang --- drivers/regulator/Kconfig| 9 + drivers/regulator/Makefile | 1 + drivers/regulator/rtmv20-regulator.c | 512 +++ 3 files

[PATCH] usb: typec: tcpm: Fix if vbus before cc, hard_reset_count not reset issue

2020-09-02 Thread cy_huang
From: ChiYuan Huang Fix: If vbus event is before cc_event trigger, hard_reset_count won't bt reset for some case. Signed-off-by: ChiYuan Huang --- Below's the flow. _tcpm_pd_vbus_off() -> run_state_machine to change state to SNK_UNATTACHED call tcpm_snk_detach() -> tcpm_snk_detach() ->

[PATCH v5 2/2] usb typec: mt6360: Add MT6360 Type-C DT binding documentation

2020-08-31 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the MT6360 Type-C driver. Signed-off-by: ChiYuan Huang --- .../bindings/usb/mediatek,mt6360-tcpc.yaml | 95 ++ 1 file changed, 95 insertions(+) create mode 100644

[PATCH v5 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-31 Thread cy_huang
From: ChiYuan Huang Mediatek MT6360 is a multi-functional IC that includes USB Type-C. It works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Signed-off-by: ChiYuan Huang --- v1 to v2 1. Add fix to Prevent the race condition from interrupt and tcpci port

[PATCH v4 2/2] usb typec: mt6360: Add MT6360 Type-C DT binding documentation

2020-08-28 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the MT6360 Type-C driver. usb typec: mt6360: Rename DT binding doument from mt6360 to mt636x Signed-off-by: ChiYuan Huang --- .../bindings/usb/mediatek,mt6360-tcpc.yaml | 73 ++ 1 file changed, 73

[PATCH v4 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-28 Thread cy_huang
From: ChiYuan Huang Mediatek MT6360 is a multi-functional IC that includes USB Type-C. It works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Signed-off-by: ChiYuan Huang --- v2 1. Add fix to Prevent the race condition from interrupt and tcpci port

[PATCH v4 2/2] usb typec: mt6360: Add MT6360 Type-C DT binding documentation

2020-08-28 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the MT6360 Type-C driver. usb typec: mt6360: Rename DT binding doument from mt6360 to mt636x Signed-off-by: ChiYuan Huang --- .../bindings/usb/mediatek,mt6360-tcpc.yaml | 73 ++ 1 file changed, 73

[PATCH v4 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-28 Thread cy_huang
From: ChiYuan Huang Mediatek MT6360 is a multi-functional IC that includes USB Type-C. It works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Signed-off-by: ChiYuan Huang --- v1 to v2 1. Add fix to Prevent the race condition from interrupt and tcpci port

[PATCH v3 3/3] usb typec: mt6360: Add MT6360 Type-C DT binding documentation

2020-08-27 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the MT6360 Type-C driver. usb typec: mt6360: Rename DT binding doument from mt6360 to mt636x Change binding document file name from mt6360 to mt636xfor the future compatible. Also change internal description from mt6360 to mt636x.

[PATCH v3 1/3] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-27 Thread cy_huang
From: ChiYuan Huang Mediatek MT6360 is a multi-functional IC that includes USB Type-C. It works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. v1 to v2 1. Add fix to Prevent the race condition from interrupt and tcpci port unregister during module remove.

[PATCH v3 2/3] usb typec: mt6360: Rename driver/Kconfig/Makefile from mt6360 to mt636x

2020-08-27 Thread cy_huang
From: ChiYuan Huang 1. Rename file form tcpci_mt6360.c to tcpci_mt636x.c 2. Rename internal function from mt6360 to mt636x, except the register definition. 3. Change Kconfig/Makefile from MT6360 to MT636X. Signed-off-by: ChiYuan Huang --- drivers/usb/typec/tcpm/Kconfig| 6 +-

[PATCH v2 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-26 Thread cy_huang
From: ChiYuan Huang Mediatek MT6360 is a multi-functional IC that includes USB Type-C. It works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Add fix to Prevent the race condition from interrupt and tcpci port unregister during module remove.

[PATCH v2 2/2] usb typec: mt6360: Add MT6360 Type-C DT binding documentation

2020-08-26 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the MT6360 Type-C driver. Signed-off-by: ChiYuan Huang --- .../bindings/usb/mediatek,mt6360-tcpc.yaml | 73 ++ 1 file changed, 73 insertions(+) create mode 100644

[PATCH v2 3/3] usb typec: mt6360: Prevent the race condition during module remove

2020-08-26 Thread cy_huang
From: ChiYuan Huang Prevent the race condition from interrupt and tcpci port unregister during module remove. Signed-off-by: ChiYuan Huang --- drivers/usb/typec/tcpm/tcpci_mt6360.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/typec/tcpm/tcpci_mt6360.c

[PATCH v2 1/3] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-26 Thread cy_huang
From: ChiYuan Huang Mediatek MT6360 is a multi-functional IC that includes USB Type-C. It works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Signed-off-by: ChiYuan Huang --- drivers/usb/typec/tcpm/Kconfig| 8 ++

[PATCH v2 2/3] usb typec: mt6360: Add MT6360 Type-C DT binding documentation

2020-08-26 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the MT6360 Type-C driver. Signed-off-by: ChiYuan Huang --- .../bindings/usb/mediatek,mt6360-tcpc.yaml | 73 ++ 1 file changed, 73 insertions(+) create mode 100644

[PATCH 2/2] usb typec: mt6360: Add MT6360 Type-C DT binding documentation

2020-08-26 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the MT6360 Type-C driver. Signed-off-by: ChiYuan Huang --- .../bindings/usb/mediatek,mt6360-tcpc.yaml | 73 ++ 1 file changed, 73 insertions(+) create mode 100644

[PATCH 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-26 Thread cy_huang
From: ChiYuan Huang Mediatek MT6360 is a multi-functional IC that includes USB Type-C. It works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Signed-off-by: ChiYuan Huang --- drivers/usb/typec/tcpm/Kconfig| 8 ++

[PATCH] regulator: rt4801: Fix W=1 build warning when CONFIG_OF=n

2020-08-23 Thread cy_huang
From: ChiYuan Huang Fix below warning when CONFIG_OF=n: drivers/regulator/rt4801-regulator.c:206:34: warning: unused variable 'rt4801_of_id' [-Wunused-const-variable] 206 | static const struct of_device_id rt4801_of_id[] = { | ^~~~

[PATCH 1/3] regulator: rt4801: Add support for RT4801 Display Bias regulator driver

2020-08-15 Thread cy_huang
From: ChiYuan Huang Adds support for the RT4801 DSV. It has two regulators (DSVP/DSVN) with an I2C interface. DSVP/DSVN can provide the display panel module for the positive/negative voltage range from (+/-)4V to (+/-)6V. Signed-off-by: ChiYuan Huang --- drivers/regulator/Kconfig|

[PATCH 3/3] regulator: rt4801: Fix the dt-binding document for dtc check.

2020-08-15 Thread cy_huang
From: ChiYuan Huang Fix the dt-binding document for dtc check. Signed-off-by: ChiYuan Huang --- .../devicetree/bindings/regulator/richtek,rt4801-regulator.yaml| 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 2/3] regulator: rt4801: Add DT binding documentation

2020-08-15 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the rt4801 regulator driver. Signed-off-by: ChiYuan Huang --- .../regulator/richtek,rt4801-regulator.yaml| 80 ++ 1 file changed, 80 insertions(+) create mode 100644

[PATCH 2/2] regulator: rt4801: Add DT binding documentation

2020-08-14 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the rt4801 regulator driver. Signed-off-by: ChiYuan Huang --- .../regulator/richtek,rt4801-regulator.yaml| 80 ++ 1 file changed, 80 insertions(+) create mode 100644

[PATCH 1/2] regulator: rt4801: Add support for RT4801 Display Bias regulator driver

2020-08-14 Thread cy_huang
From: ChiYuan Huang Adds support for the RT4801 DSV. It has two regulators (DSVP/DSVN) with an I2C interface. DSVP/DSVN can provide the display panel module for the positive/negative voltage range from (+/-)4V to (+/-)6V. Signed-off-by: ChiYuan Huang --- drivers/regulator/Kconfig|

[PATCH] regulator: Add support for RT4801 Display Bias regulator driver

2020-08-13 Thread cy_huang
From: ChiYuan Huang Adds support for the RT4801 DSV. It has two regulators (DSVP/DSVN) with an I2C interface. DSVP/DSVN can provide the display panel module for the positive/negative voltage range from (+/-)4V to (+/-)6V. --- .../regulator/richtek,rt4801-regulator.yaml| 80