Hi Krzysztof,
Thank you for the valuable suggestion.
Sorry for sending the same email again. I forgot to reply to everyone
in my last email..
Krzysztof Kozlowski 於 2022年6月1日 週三 上午4:15寫道:
>
> On 31/05/2022 12:42, ChiaEn Wu wrote:
> > From: ChiaEn Wu
> >
>
> S
Hi Daniel,
Thanks for your valuable feedback!
Daniel Thompson 於 2022年6月1日 週三 下午5:46寫道:
>
> On Tue, May 31, 2022 at 07:19:00PM +0800, ChiaEn Wu wrote:
> > From: ChiaEn Wu
> >
> > Add Mediatek MT6370 Backlight support.
> >
> > Signed-off-by: ChiaEn Wu
Hi Jonathan,
Sorry for sending the same email again. I miss to reply all in the last email..
Thanks for your valuable suggestions!
Jonathan Cameron 於 2022年5月31日 週二 下午9:21寫道:
>
> On Tue, 31 May 2022 19:18:56 +0800
> ChiaEn Wu wrote:
>
> > From: ChiaEn Wu
> >
>
From: ChiaEn Wu
This patch series add Mediatek MT6370 PMIC support. The MT6370 is a
highly-integrated smart power management IC, which includes a single
cell Li-Ion/Li-Polymer switching battery charger, a USB
Type-C & Power Delivery (PD) controller, dual Flash LED current sources,
a RGB
From: ChiYuan Huang
Add Mediatek MT6370 TCPC binding documentation.
Signed-off-by: ChiYuan Huang
---
.../bindings/usb/mediatek,mt6370-tcpc.yaml| 36 +++
1 file changed, 36 insertions(+)
create mode 100644
Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml
di
From: ChiaEn Wu
Add Mediatek MT6370 Charger binding documentation.
Signed-off-by: ChiaEn Wu
---
.../power/supply/mediatek,mt6370-charger.yaml | 60 +++
1 file changed, 60 insertions(+)
create mode 100644
Documentation/devicetree/bindings/power/supply/mediatek,mt6370
From: ChiYuan Huang
Add Mediatek mt6370 current sink type LED indicator binding documentation.
Signed-off-by: ChiYuan Huang
---
.../leds/mediatek,mt6370-indicator.yaml | 48 +++
1 file changed, 48 insertions(+)
create mode 100644
Documentation/devicetree/bindings/leds/m
From: Alice Chen
Add Mediatek MT6370 flashlight binding documentation.
Signed-off-by: Alice Chen
---
.../leds/mediatek,mt6370-flashlight.yaml | 44 +++
1 file changed, 44 insertions(+)
create mode 100644
Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.y
MT6370 Backlight
+
+maintainers:
+ - ChiaEn Wu
+
+description: |
+ This module is part of the MT6370 MFD device.
+ The MT6370 Backlight WLED driver supports up to a 29V output voltage for
+ 4 channels of 8 series WLEDs. Each channel supports up to 30mA of current
+ capability with 2048 current
From: ChiYuan Huang
Add Mediatek MT6370 binding documentation.
Signed-off-by: ChiYuan Huang
---
.../bindings/mfd/mediatek,mt6370.yaml | 279 ++
.../dt-bindings/iio/adc/mediatek,mt6370_adc.h | 18 ++
2 files changed, 297 insertions(+)
create mode 100644 Documentation/d
From: ChiaEn Wu
Add ABI documentation for mt6370 non-standard ADC sysfs interfaces.
Signed-off-by: ChiaEn Wu
---
.../ABI/testing/sysfs-bus-iio-adc-mt6370 | 36 +++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-mt6370
From: ChiYuan Huang
Add Mediatek MT6370 MFD support.
Signed-off-by: ChiYuan Huang
---
drivers/mfd/Kconfig | 13 ++
drivers/mfd/Makefile | 1 +
drivers/mfd/mt6370.c | 349 +++
3 files changed, 363 insertions(+)
create mode 100644 drivers/mfd/mt6370.c
From: ChiYuan Huang
Add chip level mt6370 tcpci driver.
Signed-off-by: ChiYuan Huang
---
drivers/usb/typec/tcpm/Kconfig| 8 +
drivers/usb/typec/tcpm/Makefile | 1 +
drivers/usb/typec/tcpm/tcpci_mt6370.c | 212 ++
3 files changed, 221 insertions(+)
cre
From: ChiYuan Huang
Add mt6370 DisplayBias and VibLDO support.
Signed-off-by: ChiYuan Huang
---
drivers/regulator/Kconfig| 8 +
drivers/regulator/Makefile | 1 +
drivers/regulator/mt6370-regulator.c | 388 +++
3 files changed, 397 insertions(+)
From: ChiaEn Wu
Add Mediatek MT6370 ADC support.
Signed-off-by: ChiaEn Wu
---
drivers/iio/adc/Kconfig | 9 ++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/mt6370-adc.c | 262 +++
3 files changed, 272 insertions(+)
create mode 100644 drivers/iio
From: ChiaEn Wu
Add Mediatek MT6370 charger driver.
Signed-off-by: ChiaEn Wu
---
drivers/power/supply/Kconfig | 11 +
drivers/power/supply/Makefile |1 +
drivers/power/supply/mt6370-charger.c | 1132 +
3 files changed, 1144 insertions(+)
create
From: ChiYuan Huang
Add Mediatek MT6370 current sink type LED Indicator driver.
Signed-off-by: ChiYuan Huang
---
drivers/leds/Kconfig | 11 +
drivers/leds/Makefile | 1 +
drivers/leds/leds-mt6370.c | 989 +
3 files changed, 1001 insertions(+)
From: Alice Chen
Add Mediatek MT6370 flashlight support.
Signed-off-by: Alice Chen
---
drivers/leds/flash/Kconfig | 9 +
drivers/leds/flash/Makefile| 1 +
drivers/leds/flash/leds-mt6370-flash.c | 657 +
3 files changed, 667 insertions(+)
cre
From: ChiaEn Wu
Add Mediatek MT6370 Backlight support.
Signed-off-by: ChiaEn Wu
---
drivers/video/backlight/Kconfig| 9 +
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/mt6370-backlight.c | 339 +
3 files changed, 349 insertions
Hi Randy,
Thanks for your helpful comments!
We will refine them in the next patch, thanks!
Randy Dunlap 於 2022年6月14日 週二 凌晨4:15寫道:
>
>
>
> On 6/13/22 04:11, ChiaEn Wu wrote:
> > diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
> > index cbe0f96ca
Hi Randy,
Thanks for your comment!
I apologize for any inconvenience caused when you decoded this help text.
I will refine this in the next patch, thanks!
Randy Dunlap 於 2022年6月14日 週二 凌晨4:17寫道:
>
> Hi,
>
> On 6/13/22 04:11, ChiaEn Wu wrote:
> > diff --git a/drivers/iio/adc/Kco
Hi Daniel,
Thanks for your helpful feedback!
Daniel Thompson 於 2022年6月14日 週二 凌晨1:08寫道:
>
> On Mon, Jun 13, 2022 at 07:11:46PM +0800, ChiaEn Wu wrote:
> > +static int mt6370_init_backlight_properties(struct mt6370_priv *priv,
> > +
Hi Krzysztof,
Thanks for your helpful comments! I have so some questions want to ask
you below.
Krzysztof Kozlowski 於 2022年6月17日 週五 清晨5:05寫道:
>
> On 13/06/2022 04:11, ChiaEn Wu wrote:
> > From: ChiaEn Wu
> >
> > Add Mediatek MT6370 Charger binding documentation.
>
Hi Krzysztof,
Thanks for your helpful feedback, I have some questions want to
confirm with you below.
Krzysztof Kozlowski 於 2022年6月17日 週五 清晨5:13寫道:
>
> On 13/06/2022 04:11, ChiaEn Wu wrote:
> > From: ChiYuan Huang
> >
> > Add mt6370 backlight binding documentatio
Hi Rob,
Rob Herring 於 2022年6月13日 週一 晚上9:33寫道:
>
> On Mon, 13 Jun 2022 19:11:37 +0800, ChiaEn Wu wrote:
> > From: ChiYuan Huang
> >
> > Add Mediatek MT6370 binding documentation.
> >
> > Signed-off-by: ChiYuan Huang
> > ---
> > ...
Hi Krzysztof,
Krzysztof Kozlowski 於 2022年6月17日 週五 清晨5:15寫道:
>
> On 13/06/2022 04:11, ChiaEn Wu wrote:
> > From: ChiYuan Huang
> >
> > Add Mediatek MT6370 binding documentation.
> >
> > Signed-off-by: ChiYuan Huang
> > ---
> > ...
Hi Lee,
Thanks for your helpful comments, we have some questions and replies below.
Lee Jones 於 2022年6月16日 週四 清晨6:49寫道:
>
> On Mon, 13 Jun 2022, ChiaEn Wu wrote:
>
> > From: ChiYuan Huang
> >
> > Add Mediatek MT6370 MFD support.
> >
> > Signed-off-by:
Hi Jonathan,
Thanks for your helpful comments, and I have some questions want to
ask you below.
Jonathan Cameron 於 2022年6月18日 週六 晚上11:39寫道:
>
> On Mon, 13 Jun 2022 19:11:38 +0800
> ChiaEn Wu wrote:
>
> > From: ChiaEn Wu
> >
> > Add ABI documentation for
Hi Jonathan,
Thanks for your reply!
Jonathan Cameron 於 2022年6月21日 週二 凌晨2:35寫道:
>
> On Mon, 20 Jun 2022 14:00:43 +0800
> ChiaEn Wu wrote:
>
> > Hi Jonathan,
> >
> > Thanks for your helpful comments, and I have some questions want to
> > ask you below.
>
From: ChiaEn Wu
MediaTek MT6370 is a SubPMIC consisting of a single cell battery charger
with ADC monitoring, RGB LEDs, dual channel flashlight, WLED backlight
driver, display bias voltage supply, one general purpose LDO, and the
USB Type-C & PD controller complies with the latest USB Type-C
From: ChiaEn Wu
MediaTek MT6370 is a SubPMIC consisting of a single cell battery charger
with ADC monitoring, RGB LEDs, dual channel flashlight, WLED backlight
driver, display bias voltage supply, one general purpose LDO, and the
USB Type-C & PD controller complies with the latest USB Type-C
From: ChiaEn Wu
MediaTek MT6370 is a SubPMIC consisting of a single cell battery charger
with ADC monitoring, RGB LEDs, dual channel flashlight, WLED backlight
driver, display bias voltage supply, one general purpose LDO, and the
USB Type-C & PD controller complies with the latest USB Type-C
d-by: Alice Chen
Signed-off-by: Alice Chen
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
v7
- Add the comment for the union of 'struct mt6370_led'
- Revise the wrong description of 'Authors'
- Revise some typos (e.g. led --> LED)
- Revise 'if (!fwnode_pr
From: ChiaEn Wu
This patch series add MediaTek MT6370 PMIC support. The MT6370 is a
highly-integrated smart power management IC, which includes a single
cell Li-Ion/Li-Polymer switching battery charger, a USB
Type-C & Power Delivery (PD) controller, dual Flash LED current sources,
a RGB
From: ChiaEn Wu
Add MediaTek MT6370 Charger binding documentation.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: ChiaEn Wu
---
.../power/supply/mediatek,mt6370-charger.yaml | 88 ++
1 file changed, 88 insertions(+)
create mode 100644
Documentation/devicetree
From: ChiYuan Huang
Add MediaTek MT6370 binding documentation.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
.../devicetree/bindings/mfd/mediatek,mt6370.yaml | 280 +
include/dt-bindings/iio/adc/mediatek,mt6370_adc.h | 18
From: ChiYuan Huang
Add MediaTek MT6370 TCPC binding documentation.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
.../bindings/usb/mediatek,mt6370-tcpc.yaml | 36 ++
1 file changed, 36 insertions(+)
create mode 100644
From: ChiYuan Huang
Add MediaTek MT6370 current sink type LED indicator binding documentation.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
.../bindings/leds/mediatek,mt6370-indicator.yaml | 81 ++
1 file changed, 81
From: ChiYuan Huang
Add MT6370 backlight binding documentation.
Reviewed-by: Rob Herring
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
v7
- Add the second compatible string for 'mt6372'
- Add 'mediatek,bled-exponential-mode-enable' property for enable the
play bias driver and a general LDO for portable devices.
Add a support for the Type-C & Power Delivery controller in
MediaTek MT6370 IC.
Reviewed-by: AngeloGioacchino Del Regno
Reviewed-by: Guenter Roeck
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
v7
& PD controller
complies with the latest USB Type-C and PD standards.
Reviewed-by: Andy Shevchenko
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
v7
- Move '#define MT6370_REG_MAXADDR' to the next line of
'#define MT6370_REG_CHG_MASK1'
- Rename
play bias driver and a general LDO for portable devices.
Add a support for the MT6370 Flash LED driver. Flash LED in MT6370
has 2 channels and support torch/strobe mode.
Signed-off-by: Alice Chen
Signed-off-by: ChiaEn Wu
---
v7
- Fix the indentation.
- For the well defined macro, the parenthesi
From: Alice Chen
Add MediaTek MT6370 flashlight binding documentation.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Chen
Signed-off-by: ChiaEn Wu
---
.../bindings/leds/mediatek,mt6370-flashlight.yaml | 41 ++
1 file changed, 41 insertions(+)
create mode 100644
From: ChiaEn Wu
I apologize for using the wrong mail list to send the wrong emails
for the last v8 patchset...
This patch series add MediaTek MT6370 PMIC support and add a index macro
to . The MT6370 is a highly-integrated smart power management
IC, which includes a single cell Li-Ion/Li
From: ChiaEn Wu
Add MediaTek MT6370 Charger binding documentation.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: ChiaEn Wu
---
.../power/supply/mediatek,mt6370-charger.yaml | 88 +++
1 file changed, 88 insertions(+)
create mode 100644
Documentation/devicetree/bindings
From: ChiYuan Huang
Add MediaTek MT6370 TCPC binding documentation.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
.../bindings/usb/mediatek,mt6370-tcpc.yaml| 36 +++
1 file changed, 36 insertions(+)
create mode 100644
From: Alice Chen
Add MediaTek MT6370 flashlight binding documentation.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Alice Chen
Signed-off-by: ChiaEn Wu
---
.../leds/mediatek,mt6370-flashlight.yaml | 41 +++
1 file changed, 41 insertions(+)
create mode 100644
From: ChiYuan Huang
Add MT6370 backlight binding documentation.
Reviewed-by: Rob Herring
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
.../backlight/mediatek,mt6370-backlight.yaml | 121 ++
1 file changed, 121 insertions(+)
create mode 100644
Documentation
From: ChiaEn Wu
MediaTek MT6370 is a SubPMIC consisting of a single cell battery charger
with ADC monitoring, RGB LEDs, dual channel flashlight, WLED backlight
driver, display bias voltage supply, one general purpose LDO, and the
USB Type-C & PD controller complies with the latest USB Type-C
From: ChiaEn Wu
Add linear_range_idx macro for declaring the linear_range struct simply.
Signed-off-by: ChiaEn Wu
---
include/linux/linear_range.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/linux/linear_range.h b/include/linux/linear_range.h
index fd3d0b358f22
From: ChiaEn Wu
MediaTek MT6370 is a SubPMIC consisting of a single cell battery charger
with ADC monitoring, RGB LEDs, dual channel flashlight, WLED backlight
driver, display bias voltage supply, one general purpose LDO, and the
USB Type-C & PD controller complies with the latest USB Type-C
lice Chen
Signed-off-by: Alice Chen
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
v8
- Add include header file
- Remove useless 'enum mt6370_state' because of using 'enum led_default_state'
- Revise the calculation of 'val' in 'mt6370_gen_bre
play bias driver and a general LDO for portable devices.
Add support for the MT6370 Flash LED driver. Flash LED in MT6370
has 2 channels and support torch/strobe mode.
Signed-off-by: Alice Chen
Signed-off-by: ChiaEn Wu
---
v8
- Add missing 'dependency config' in Kconfig
- Revise all multi
From: ChiaEn Wu
MediaTek MT6370 is a SubPMIC consisting of a single cell battery charger
with ADC monitoring, RGB LEDs, dual channel flashlight, WLED backlight
driver, display bias voltage supply, one general purpose LDO, and the
USB Type-C & PD controller complies with the latest USB Type-C
From: ChiYuan Huang
Add MediaTek MT6370 current sink type LED indicator binding documentation.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: ChiYuan Huang
Signed-off-by: ChiaEn Wu
---
.../leds/mediatek,mt6370-indicator.yaml | 81 +++
1 file changed, 81 insertions
Signed-off-by: ChiaEn Wu
---
drivers/usb/typec/tcpm/Kconfig| 11 ++
drivers/usb/typec/tcpm/Makefile | 1 +
drivers/usb/typec/tcpm/tcpci_mt6370.c | 207 ++
3 files changed, 219 insertions(+)
create mode 100644 drivers/usb/typec/tcpm/tcpci_mt6370.c
diff
MT6370 Backlight
+
+maintainers:
+ - ChiaEn Wu
+
+description: |
+ MT6370 is a highly-integrated smart power management IC, which includes a
+ single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C &
+ Power Delivery (PD) controller, dual flash LED current sources, a RGB
From: ChiaEn Wu
Sorry, for the patch dependency, we resend this patch series and we're
sorry for any inconvenience that we may have caused. This patch series add
Mediatek MT6370 PMIC support. The MT6370 is a highly-integrated smart
power management IC, which includes a single cell Li-I
From: ChiYuan Huang
Add chip level mt6370 tcpci driver.
Signed-off-by: ChiYuan Huang
---
drivers/usb/typec/tcpm/Kconfig| 8 +
drivers/usb/typec/tcpm/Makefile | 1 +
drivers/usb/typec/tcpm/tcpci_mt6370.c | 212 ++
3 files changed, 221 insertions(+)
cre
From: Alice Chen
Add Mediatek MT6370 flashlight binding documentation
Signed-off-by: Alice Chen
---
.../leds/mediatek,mt6370-flashlight.yaml | 48 +++
1 file changed, 48 insertions(+)
create mode 100644
Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.ya
From: ChiaEn Wu
Add Mediatek MT6370 charger driver
Signed-off-by: ChiaEn Wu
---
drivers/power/supply/Kconfig | 11 +
drivers/power/supply/Makefile |1 +
drivers/power/supply/mt6370-charger.c | 1132 +
3 files changed, 1144 insertions(+)
create
From: Alice Chen
Add Mediatek MT6370 flashlight support
Signed-off-by: Alice Chen
---
drivers/leds/flash/Kconfig | 9 +
drivers/leds/flash/Makefile| 1 +
drivers/leds/flash/leds-mt6370-flash.c | 665 +
3 files changed, 675 insertions(+)
crea
From: ChiYuan Huang
Add mt6370 DisplayBias and VibLDO support.
Signed-off-by: ChiYuan Huang
---
drivers/regulator/Kconfig| 8 +
drivers/regulator/Makefile | 1 +
drivers/regulator/mt6370-regulator.c | 389 +++
3 files changed, 398 insertions(+)
From: ChiaEn Wu
Add Mediatek MT6370 Backlight support.
Signed-off-by: ChiaEn Wu
---
drivers/video/backlight/Kconfig| 8 +
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/mt6370-backlight.c | 338 +
3 files changed, 347 insertions
From: Alice Chen
Add Mediatek MT6370 Indicator support
Signed-off-by: Alice Chen
---
drivers/leds/Kconfig | 11 +
drivers/leds/Makefile | 1 +
drivers/leds/leds-mt6370.c | 994 +
3 files changed, 1006 insertions(+)
create mode 100644 drivers/l
From: ChiaEn Wu
Add Mediatek MT6370 ADC support.
Signed-off-by: ChiaEn Wu
---
drivers/iio/adc/Kconfig | 9 ++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/mt6370-adc.c | 257 +++
3 files changed, 267 insertions(+)
create mode 100644 drivers/iio
From: ChiaEn Wu
Add Mediatek MT6370 Charger binding documentation.
Signed-off-by: ChiaEn Wu
---
.../power/supply/mediatek,mt6370-charger.yaml | 60 +++
1 file changed, 60 insertions(+)
create mode 100644
Documentation/devicetree/bindings/power/supply/mediatek,mt6370
From: ChiYuan Huang
Add Mediatek MT6370 TCPC binding documentation.
Signed-off-by: ChiYuan Huang
---
.../bindings/usb/mediatek,mt6370-tcpc.yaml| 35 +++
1 file changed, 35 insertions(+)
create mode 100644
Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml
di
From: ChiYuan Huang
Add Mediatek mt6370 indicator documentation.
Signed-off-by: ChiYuan Huang
---
.../leds/mediatek,mt6370-indicator.yaml | 57 +++
1 file changed, 57 insertions(+)
create mode 100644
Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml
From: ChiYuan Huang
Add Mediatek MT6370 MFD support.
Signed-off-by: ChiYuan Huang
---
drivers/mfd/Kconfig | 13 +++
drivers/mfd/Makefile | 1 +
drivers/mfd/mt6370.c | 273 +++
3 files changed, 287 insertions(+)
create mode 100644 drivers/mfd/mt6370.
From: ChiYuan Huang
Add Mediatek MT6370 binding documentation.
Signed-off-by: ChiYuan Huang
---
.../bindings/mfd/mediatek,mt6370.yaml | 282 ++
.../dt-bindings/iio/adc/mediatek,mt6370_adc.h | 18 ++
include/dt-bindings/mfd/mediatek,mt6370.h | 83 ++
3 files ch
From: ChiaEn Wu
This patch series add Mediatek MT6370 PMIC support. The MT6370 is a
highly-integrated smart power management IC, which includes a single
cell Li-Ion/Li-Polymer switching battery charger, a USB
Type-C & Power Delivery (PD) controller, dual Flash LED current sources,
a RGB
From: ChiYuan Huang
Add Mediatek MT6370 TCPC binding documentation.
Signed-off-by: ChiYuan Huang
Reviewed-by: Krzysztof Kozlowski
---
.../bindings/usb/mediatek,mt6370-tcpc.yaml | 36 ++
1 file changed, 36 insertions(+)
create mode 100644
Documentation/devicetree/
From: ChiaEn Wu
Add Mediatek MT6370 Charger binding documentation.
Signed-off-by: ChiaEn Wu
---
v3
- Add items and remove maxItems of io-channels
- Add io-channel-names and describe each item
- Add "unevaluatedProperties: false" in "usb-otg-vbus-regulator"
- Rename &quo
From: ChiYuan Huang
Add Mediatek mt6370 current sink type LED indicator binding documentation.
Signed-off-by: ChiYuan Huang
---
v3
- Use leds-class-multicolor.yaml instead of common.yaml.
- Split multi-led and led node.
- Add subdevice "led" in "multi-led".
---
.../bindings/leds/mediatek,mt63
From: Alice Chen
Add Mediatek MT6370 flashlight binding documentation.
Signed-off-by: Alice Chen
---
v3
- Remove the description of enum.
---
.../bindings/leds/mediatek,mt6370-flashlight.yaml | 41 ++
1 file changed, 41 insertions(+)
create mode 100644
Documentation/dev
-0,0 +1,92 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id:
http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mediatek MT6370 Backlight
+
+maintainers:
+ - ChiaEn Wu
+
+d
From: ChiYuan Huang
Add Mediatek MT6370 binding documentation.
Signed-off-by: ChiYuan Huang
---
v3
- Use " in entire patchset
- Refine ADC description
- Rename "enable-gpio" to "enable-gpios" in "regualtor"
- Change "/schemas/" to "../" in every reference of all MT6370 modules
---
.../devicet
From: ChiYuan Huang
Add Mediatek MT6370 MFD support.
Signed-off-by: ChiYuan Huang
---
v3
- Refine Kconfig help text
- Refine error message of unknown vendor ID in
mt6370_check_vendor_info()
- Refine return value handling of mt6370_regmap_read()
- Refine all probe error by using dev_err_probe
From: ChiYuan Huang
Add chip level mt6370 tcpci driver.
Signed-off-by: ChiYuan Huang
---
drivers/usb/typec/tcpm/Kconfig| 8 ++
drivers/usb/typec/tcpm/Makefile | 1 +
drivers/usb/typec/tcpm/tcpci_mt6370.c | 212 ++
3 files changed, 221 insertion
From: ChiYuan Huang
Add mt6370 DisplayBias and VibLDO support.
Signed-off-by: ChiYuan Huang
---
v3
- Refine Kconfig help text
---
drivers/regulator/Kconfig| 8 +
drivers/regulator/Makefile | 1 +
drivers/regulator/mt6370-regulator.c | 388
From: ChiaEn Wu
Add Mediatek MT6370 ADC support.
Signed-off-by: ChiaEn Wu
---
v3
- Refine Kconfig help text
- Refine all channel value in read_scale()
a. current: uA --> mA
b. voltage: uV --> mV
c. temperature: degrees Celsius --> milli degrees Celsius
- Add
From: ChiaEn Wu
Add Mediatek MT6370 charger driver.
Signed-off-by: ChiaEn Wu
---
drivers/power/supply/Kconfig | 11 +
drivers/power/supply/Makefile |1 +
drivers/power/supply/mt6370-charger.c | 1132 +
3 files changed, 1144 insertions
From: ChiYuan Huang
Add Mediatek MT6370 current sink type LED Indicator driver.
Signed-off-by: ChiYuan Huang
---
v3
- Refine the grammer of the Kconfig.
- Change reg mode to the const current mode.
---
drivers/leds/Kconfig | 11 +
drivers/leds/Makefile | 1 +
drivers/leds/leds-m
From: Alice Chen
Add Mediatek MT6370 flashlight support.
Signed-off-by: Alice Chen
---
drivers/leds/flash/Kconfig | 9 +
drivers/leds/flash/Makefile| 1 +
drivers/leds/flash/leds-mt6370-flash.c | 657 +
3 files changed, 667 insertions
From: ChiaEn Wu
Add Mediatek MT6370 Backlight support.
Signed-off-by: ChiaEn Wu
---
v3
- Refine bool properties parsing (pwm-enable, ovp-shutdown, ocp-shutdown) in DT
parsing function
- Refine u32 and u8 properties parsing (pwm-hys-input-th-steps, ovp-microvolt,
ocp-microamp), from using
Hi Joe,
Joe Simmons-Talbott 於 2022年6月23日 週四 晚上9:17寫道:
>
> On Thu, Jun 23, 2022 at 07:56:22PM +0800, ChiaEn Wu wrote:
> > From: ChiYuan Huang
> >
> > Add mt6370 backlight binding documentation.
> >
> > Signed-off-by: ChiYuan Huang
> > ---
> >
Hi Daniel,
Thanks for your comments!
Daniel Thompson 於 2022年6月23日 週四 晚上9:43寫道:
>
> On Thu, Jun 23, 2022 at 07:56:31PM +0800, ChiaEn Wu wrote:
> > From: ChiaEn Wu
> >
> > Add Mediatek MT6370 Backlight support.
> >
> > Signed-off-by: ChiaEn Wu
>
> >
Hi Andy,
Thanks for your helpful comments! We have some questions below.
Andy Shevchenko 於 2022年6月24日 週五 凌晨2:01寫道:
>
> On Thu, Jun 23, 2022 at 1:59 PM ChiaEn Wu wrote:
> >
> > From: ChiYuan Huang
> >
> > Add Mediatek MT6370 MFD support.
>
> ...
>
>
Hi Andy,
Thanks for your helpful comments!
Andy Shevchenko 於 2022年6月24日 週五 凌晨2:19寫道:
>
> On Thu, Jun 23, 2022 at 2:00 PM ChiaEn Wu wrote:
> >
> > From: ChiYuan Huang
> >
> > Add mt6370 DisplayBias and VibLDO support.
>
> ...
>
> > +#include
Hi Lee,
Thanks for your reply!
Lee Jones 於 2022年6月27日 週一 晚上10:14寫道:
>
> On Sat, 18 Jun 2022, ChiaEn Wu wrote:
>
> > Hi Lee,
> >
> > Thanks for your helpful comments, we have some questions and replies below.
> >
> > Lee Jones 於 2022年6月16日 週四 清晨6:49
Hi Andy,
Sorry for the late reply, I have some questions to ask you below. Thanks!
Andy Shevchenko 於 2022年6月24日 週五 凌晨2:56寫道:
>
> On Thu, Jun 23, 2022 at 2:00 PM ChiaEn Wu wrote:
> >
> > From: ChiaEn Wu
> >
> > Add Mediatek MT6370 charger driver.
>
&
From: ChiaEn Wu
This patch series add Mediatek MT6370 PMIC support. The MT6370 is a
highly-integrated smart power management IC, which includes a single
cell Li-Ion/Li-Polymer switching battery charger, a USB
Type-C & Power Delivery (PD) controller, dual Flash LED current sources,
a RGB
From: ChiYuan Huang
Add Mediatek MT6370 current sink type LED Indicator driver.
Signed-off-by: ChiYuan Huang
---
v4:
- Replace text "Mediatek" with "MediaTek" in Kconfig
- Replace text "const" with "constant" in Kconfig
- Add Copyright in the source code
---
drivers/leds/Kconfig | 14 +
#
+
+title: MediaTek MT6370 Backlight
+
+maintainers:
+ - ChiaEn Wu
+
+description: |
+ This module is part of the MT6370 MFD device.
+ The MT6370 Backlight WLED driver supports up to a 29V output voltage for
+ 4 channels of 8 series WLEDs. Each channel supports up to 30mA of current
From: ChiaEn Wu
Add Mediatek MT6370 ADC support.
Signed-off-by: ChiaEn Wu
---
v4:
- Replace text "Mediatek" with "MediaTek"
- Replace all "first dev_err() and then return" with "return
dev_err_probe()"
- Add Copyright in the source code
- Add module n
From: Alice Chen
Add Mediatek MT6370 flashlight binding documentation.
Signed-off-by: Alice Chen
Reviewed-by: Krzysztof Kozlowski
---
.../bindings/leds/mediatek,mt6370-flashlight.yaml | 41 ++
1 file changed, 41 insertions(+)
create mode 100644
Documentation/devicetree/
From: ChiYuan Huang
Add Mediatek MT6370 binding documentation.
Signed-off-by: ChiYuan Huang
---
v4
- Roll back all "$ref: " to v2 patch style (using
"/schemas/...")
---
.../devicetree/bindings/mfd/mediatek,mt6370.yaml | 280 +
include/dt-bindings/iio/adc/mediatek,mt637
From: ChiaEn Wu
Add Mediatek MT6370 charger driver.
Signed-off-by: ChiaEn Wu
---
v4:
- Replace text "Mediatek" with "MediaTek" in Kconfig and
MODULE_DESCRIPTION()
- Replace "mt6370_chg_val_to_reg" and "mt6370_chg_reg_to_val"
with
"linear_rang
From: ChiYuan Huang
Add Mediatek MT6370 MFD support.
Signed-off-by: ChiYuan Huang
---
v4
- Replace text "Mediatek" with "MediaTek" in Kconfig
- Replace "first break and then return" with "return directly"
in
"mt6370_check_vendor_info()"
- Add module name related description in Kconfig help
1 - 100 of 159 matches
Mail list logo