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 Ric
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 default
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(+)
creat
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
diff
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
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 s
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
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 +
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 i
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 chang
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
- Re
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 +++
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
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 fro
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 dt-bindin
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 shut
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.
since
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 +
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 v
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 o
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 shut
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
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
Documentation/devicetree/bindings/leds/backlight/ric
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
Documentation/devicetree/bindings/regulator/rich
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.
- Re
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
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 +
drivers/
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 char
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
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
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 Documentation/devicetree/bindings/leds/leds
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 1075b10..0a07
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 +
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. Re
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
Documentation/devicetree/bindings/regulator/richtek,rtmv20-regu
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
Documentation/devicetree/bindings/regulator/richtek,rtmv20-regu
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 changed
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() -> tcpm_de
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
Documentation/devicetree/bindings/usb/
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
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 inser
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
unregi
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 inser
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
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.
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.
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 +-
drivers
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.
Signed-off-b
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
Documentation/devicetree/bindings/usb/
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
b/drivers/usb/typec/tc
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 ++
drivers/usb/typec/tcpm/Makefile
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
Documentation/devicetree/bindings/usb/
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
Documentation/devicetree/bindings/usb/
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 ++
drivers/usb/typec/tcpm/Makefile
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[] = {
| ^~~~
Signed-off-by
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|
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
a/Documentation/devicetree/bindings/regulator/richtek,rt4801-regulator.yam
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
Documentation/devicetree/bindings/r
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
Documentation/devicetree/bindings/r
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|
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
dr
61 matches
Mail list logo