Hi Maintainers,
Gentle pin for this patch.
Thanks.
On Sun, 2021-03-14 at 02:00 +0800, Hsin-Hsiung Wang wrote:
> Add spmi support for MT6873/8192.
>
> Signed-off-by: Hsin-Hsiung Wang
> ---
> changes since v6:
> - remove unused spinlock.
> - remove redundant check for slave
From: Wen Su
add PMIC MT6359 related nodes which is for MT6779 platform
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
changes since v6:
- update the regulator node.
---
arch/arm64/boot/dts/mediatek/mt6359.dtsi| 298
arch/arm64/boot/dts/mediatek/mt8192
of the pwrap.
Signed-off-by: Hsin-Hsiung Wang
Acked-for-MFD-by: Lee Jones
---
changes since v6:
- no change.
---
drivers/mfd/mt6358-irq.c | 24 ++
drivers/mfd/mt6397-core.c| 24 ++
include/linux/mfd/mt6359/core.h | 133 +++
include/linux/mfd/mt6359/registers.h
The MT6359P is a eco version for MT6359 regulator.
We add support based on MT6359 regulator driver.
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Mark Brown
---
changes since v6:
- no change.
---
drivers/regulator/mt6359-regulator.c | 379 -
include/linux/mfd/mt6359p
From: Wen Su
The MT6359 is a regulator found on boards based on MediaTek MT6779 and
probably other SoCs. It is a so called pmic and connects as a slave to
SoC using SPI, wrapped inside the pmic-wrapper.
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Mark Brown
---
changes
add dt-binding document for MediaTek MT6359 PMIC
Signed-off-by: Hsin-Hsiung Wang
---
changes since v6:
- fix yaml error.
---
.../bindings/regulator/mt6359-regulator.yaml | 385 ++
1 file changed, 385 insertions(+)
create mode 100644
Documentation/devicetree/bindings/regulator
://patchwork.kernel.org/project/linux-mediatek/list/?series=306579
[2] https://patchwork.kernel.org/project/linux-mediatek/list/?series=447127
changes since v6:
- fix yaml error.
- update dts node.
Hsin-Hsiung Wang (6):
mfd: mt6358: refine interrupt code
rtc: mt6397: refine RTC_TC_MTH
dt-bindings
This patch refines the interrupt related code to support new chips.
Signed-off-by: Hsin-Hsiung Wang
Acked-for-MFD-by: Lee Jones
---
changes since v6:
- no change.
---
drivers/mfd/mt6358-irq.c| 65 +++--
include/linux/mfd/mt6358/core.h | 8 ++--
2 files
This patch adds RTC_TC_MTH_MASK to support new chips.
Signed-off-by: Yuchen Huang
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Alexandre Belloni
---
changes since v6:
- no change.
---
drivers/rtc/rtc-mt6397.c | 2 +-
include/linux/mfd/mt6397/rtc.h | 1 +
2 files changed, 2 insertions(+), 1
This adds compatible for the MediaTek MT6359 PMIC.
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Rob Herring
---
changes since v6:
- no change.
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt
Hi,
On Mon, 2021-03-29 at 17:24 +0200, Matthias Brugger wrote:
>
> On 15/03/2021 18:35, Hsin-Hsiung Wang wrote:
> > From: Wen Su
> >
> > add PMIC MT6359 related nodes which is for MT6779 platform
> >
> > Signed-off-by: Wen Su
> > Signed-off-by: Hsin
Hi,
On Tue, 2021-03-16 at 15:28 -0600, Rob Herring wrote:
> On Tue, Mar 16, 2021 at 01:35:53AM +0800, Hsin-Hsiung Wang wrote:
> > add dt-binding document for MediaTek MT6359 PMIC
> >
> > Signed-off-by: Hsin-Hsiung Wang
> > ---
> > changes since v5:
> >
Hi, Rob
I am very grateful for the reviewing which addressed my yaml errors.
I will check my codebase first and fix the error in the next patch.
Thanks.
On Tue, 2021-03-16 at 15:28 -0600, Rob Herring wrote:
> On Tue, Mar 16, 2021 at 01:35:53AM +0800, Hsin-Hsiung Wang wrote:
> > add d
From: Wen Su
add PMIC MT6359 related nodes which is for MT6779 platform
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
changes since v5:
- update file date.
---
arch/arm64/boot/dts/mediatek/mt6359.dtsi| 298
arch/arm64/boot/dts/mediatek/mt8192-evb.dts
The MT6359P is a eco version for MT6359 regulator.
We add support based on MT6359 regulator driver.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v5:
- no change.
---
drivers/regulator/mt6359-regulator.c | 379 -
include/linux/mfd/mt6359p/registers.h | 249
This patch adds RTC_TC_MTH_MASK to support new chips.
Signed-off-by: Yuchen Huang
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Alexandre Belloni
---
changes since v5:
- no change.
---
drivers/rtc/rtc-mt6397.c | 2 +-
include/linux/mfd/mt6397/rtc.h | 1 +
2 files changed, 2 insertions(+), 1
This patch refines the interrupt related code to support new chips.
Signed-off-by: Hsin-Hsiung Wang
Acked-for-MFD-by: Lee Jones
---
changes since v5:
- no change.
---
drivers/mfd/mt6358-irq.c| 65 +++--
include/linux/mfd/mt6358/core.h | 8 ++--
2 files
of the pwrap.
Signed-off-by: Hsin-Hsiung Wang
Acked-for-MFD-by: Lee Jones
---
changes since v5:
- refine the code structure.
- update file date.
---
drivers/mfd/mt6358-irq.c | 24 ++
drivers/mfd/mt6397-core.c| 24 ++
include/linux/mfd/mt6359/core.h | 133
add dt-binding document for MediaTek MT6359 PMIC
Signed-off-by: Hsin-Hsiung Wang
---
changes since v5:
- no change.
---
.../bindings/regulator/mt6359-regulator.yaml | 169 ++
1 file changed, 169 insertions(+)
create mode 100644
Documentation/devicetree/bindings/regulator
=306579
changes since v5:
- rebase to Linux 5.12.
- refine the code structure.
- update the file date.
Hsin-Hsiung Wang (6):
mfd: mt6358: refine interrupt code
rtc: mt6397: refine RTC_TC_MTH
dt-bindings: mfd: Add compatible for the MediaTek MT6359 PMIC
dt-bindings: regulator: Add document
This adds compatible for the MediaTek MT6359 PMIC.
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Rob Herring
---
changes since v5:
- no change.
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt
From: Wen Su
The MT6359 is a regulator found on boards based on MediaTek MT6779 and
probably other SoCs. It is a so called pmic and connects as a slave to
SoC using SPI, wrapped inside the pmic-wrapper.
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
changes since v5:
- update
Hi, Sir
On Mon, 2021-03-15 at 08:22 -0600, Rob Herring wrote:
> On Sun, 14 Mar 2021 02:00:51 +0800, Hsin-Hsiung Wang wrote:
> > This adds documentation for the SPMI controller found on Mediatek SoCs.
> >
> > Signed-off-by: Hsin-Hsiung Wang
> > Reviewed-by: Rob Herring
Add spmi support for MT6873/8192.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v6:
- remove unused spinlock.
- remove redundant check for slave id.
---
drivers/spmi/Kconfig | 10 +
drivers/spmi/Makefile| 2 +
drivers/spmi/spmi-mtk-pmif.c | 465
Add spmi node to SOC MT8192.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v6:
- no changes.
---
arch/arm64/boot/dts/mediatek/mt8192.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
b/arch/arm64/boot/dts/mediatek/mt8192
spmi driver for batter code.
Hsin-Hsiung Wang (4):
dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems'
dt-bindings: spmi: document binding for the Mediatek SPMI controller
spmi: mediatek: Add support for MT6873/8192
arm64: dts: mt8192: add spmi node
.../bindings/spmi/mtk,spmi
This adds documentation for the SPMI controller found on Mediatek SoCs.
Signed-off-by: Hsin-Hsiung Wang
Reviewed-by: Rob Herring
---
changes since v6:
- no changes.
---
.../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 74 +++
1 file changed, 74 insertions(+)
create mode 100644
The constraint of 'maxItem: 1' might be larger than 1, so we modify it
to 'minItem: 1'.
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Rob Herring
---
changes since v6:
- no change.
---
Documentation/devicetree/bindings/spmi/spmi.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Hi,
On Mon, 2021-02-08 at 14:21 -0800, Stephen Boyd wrote:
> Quoting Hsin-Hsiung Wang (2021-02-06 21:19:13)
> > diff --git a/drivers/spmi/Kconfig b/drivers/spmi/Kconfig
> > index a53bad541f1a..418848840999 100644
> > --- a/drivers/spmi/Kconfig
> > +++ b/drivers/spmi/
On Mon, 2021-03-01 at 10:21 +, Lee Jones wrote:
> On Fri, 29 Jan 2021, Hsin-Hsiung Wang wrote:
>
> > The MT6359P is a eco version for MT6359 regulator.
> > We add support based on MT6359 regulator driver.
> >
> > Signed-off-by: Hsin-Hsiung Wang
> >
Hi,
On Mon, 2021-03-01 at 10:20 +, Lee Jones wrote:
> On Fri, 29 Jan 2021, Hsin-Hsiung Wang wrote:
>
> > This adds support for the MediaTek MT6359 PMIC. This is a
> > multifunction device with the following sub modules:
> >
> > - Codec
> > -
MT6873/8192 are highly integrated SoCs and use PMIC_MT6359 for
power management. This patch adds pwrap master driver to
access PMIC_MT6359.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v5:
- no change.
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 29
1 file
Add arbiter capability for pwrap driver.
The arbiter capability uses new design to judge the priority and latency
for multi-channel.
The design with arbiter support cannot change the watchdog timer.
This patch is preparing for adding mt6873/8192 pwrap support.
Signed-off-by: Hsin-Hsiung Wang
Add pwrap node to SOC MT8192.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v5:
- no change.
---
arch/arm64/boot/dts/mediatek/mt8192.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
This series adds support for new SoC MT6873/8192 to the pmic-wrap driver.
This series is based on Weiyi's patches[1].
[1]
https://patchwork.kernel.org/project/linux-mediatek/patch/1608642587-15634-7-git-send-email-weiyi...@mediatek.com/
changes since v5:
- rebase to Linux 5.12
Hsin-Hsiung Wang
Use a better BIT() marco for the bit definition.
No functional changes, cleanup only.
Signed-off-by: Hsin-Hsiung Wang
Reviewed-by: Nicolas Boichat
---
changes since v5:
- no change.
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
This adds dt-binding documentation of pwrap for Mediatek MT6873/8192
SoCs Platform.
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Rob Herring
---
changes since v5:
- no change.
---
Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
Add MT6315 regulator nodes to MT8192 evaluation board.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v3:
- update the dts node.
---
arch/arm64/boot/dts/mediatek/mt8192-evb.dts | 46 +
1 file changed, 46 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8192
document.
- refine the mt6315 regulator for better code quality.
- update mt6315 regulator node in the mt8192-evb.dts.
Hsin-Hsiung Wang (3):
dt-bindings: regulator: document binding for MT6315 regulator
regulator: mt6315: Add support for MT6315 regulator
arm64: dts: mt8192: add mt6315 regulator
The MT6315 is a regulator found on boards based on MediaTek MT8192 and
probably other SoCs. It connects as a slave to SoC using SPMI.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v3:
- refine the mt6315 regulator for better code quality.
- remove unused registers.
---
drivers/regulator
Add device tree binding information for MT6315 regulator driver.
Example bindings for MT6315 are added.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v3:
- correct the yaml file name.
- remove unused description.
- update the example.
---
.../bindings/regulator/mt6315-regulator.yaml | 69
This adds documentation for the SPMI controller found on Mediatek SoCs.
Signed-off-by: Hsin-Hsiung Wang
Reviewed-by: Rob Herring
---
changes since v5: no changes
---
.../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 74 +++
1 file changed, 74 insertions(+)
create mode 100644
Add spmi support for MT6873/8192.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v5:
- add a newline at end of Makefile.
- refine the spmi-mtk-pmif driver for better code quality.
---
drivers/spmi/Kconfig | 9 +
drivers/spmi/Makefile| 2 +
drivers/spmi/spmi-mtk-pmif.c
Add spmi node to SOC MT8192.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v5:
- fix the build error of MT8192.dtsi.
---
arch/arm64/boot/dts/mediatek/mt8192.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
b/arch/arm64
The constraint of 'maxItem: 1' might be larger than 1, so we modify it
to 'minItem: 1'.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v5:
- update the constraint of minItem to 1.
---
Documentation/devicetree/bindings/spmi/spmi.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
-pmif driver for better code quality.
- fix the build error about MT8192.dtsi
Hsin-Hsiung Wang (4):
dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems'
dt-bindings: spmi: document binding for the Mediatek SPMI controller
spmi: mediatek: Add support for MT6873/8192
arm64: dts
This adds dt-binding documentation of pwrap for Mediatek MT6873/8192
SoCs Platform.
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Rob Herring
---
changes since v4: no changes
---
Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
Add pwrap node to SOC MT8192.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4:
- update correct pwrap node in the Mediatek MT8192 dtsi.
---
arch/arm64/boot/dts/mediatek/mt8192.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
b
MT6873/8192 are highly integrated SoCs and use PMIC_MT6359 for
power management. This patch adds pwrap master driver to
access PMIC_MT6359.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4: no changes
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 29
1 file changed
Add arbiter capability for pwrap driver.
The arbiter capability uses new design to judge the priority and latency
for multi-channel.
The design with arbiter support cannot change the watchdog timer.
This patch is preparing for adding mt6873/8192 pwrap support.
Signed-off-by: Hsin-Hsiung Wang
Use a better BIT() marco for the bit definition.
No functional changes, cleanup only.
Signed-off-by: Hsin-Hsiung Wang
Reviewed-by: Nicolas Boichat
---
changes since v4: no changes
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
This series adds support for new SoC MT6873/8192 to the pmic-wrap driver.
changes since v4:
- refine code about PWRAP_CAP_ARB capacity for better code quality.
- update correct pwrap node in the Mediatek MT8192 dtsi.
Hsin-Hsiung Wang (5):
soc: mediatek: pwrap: use BIT() macro
soc: mediatek
Hi,
On Mon, 2020-12-21 at 10:33 +0800, Nicolas Boichat wrote:
> On Wed, Nov 18, 2020 at 8:08 PM Hsin-Hsiung Wang
> wrote:
> >
> > Add arbiter capability for pwrap driver.
> > The arbiter capability uses new design to judge the priority and latency
> > for
Hi,
On Mon, 2020-12-21 at 10:42 +0800, Nicolas Boichat wrote:
> On Wed, Nov 18, 2020 at 8:08 PM Hsin-Hsiung Wang
> wrote:
> >
> > MT6873/8192 are highly integrated SoCs and use PMIC_MT6359 for
> > power management. This patch adds pwrap master driver to
> > access P
This adds compatible for the MediaTek MT6359 PMIC.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4:
- remove unused compatible name.
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt
b
From: Wen Su
add PMIC MT6359 related nodes which is for MT6779 platform
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4:
- add pmic MT6359 support in the MT8192 evb dts.
---
arch/arm64/boot/dts/mediatek/mt6359.dtsi| 298
arch/arm64/boot/dts
From: Wen Su
The MT6359 is a regulator found on boards based on MediaTek MT6779 and
probably other SoCs. It is a so called pmic and connects as a slave to
SoC using SPI, wrapped inside the pmic-wrapper.
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4:
- add enable
of the pwrap.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4:
- remove unused compatible name in the mt6359 mfd cells.
---
drivers/mfd/mt6358-irq.c | 24 ++
drivers/mfd/mt6397-core.c| 26 ++
include/linux/mfd/mt6359/core.h | 133 +++
include/linux/mfd/mt6359
for the regulator_config.
- add the regulators_node support.
- add pmic MT6359 support in the MT8192 evb dts.
Hsin-Hsiung Wang (6):
mfd: mt6358: refine interrupt code
rtc: mt6397: refine RTC_TC_MTH
dt-bindings: mfd: Add compatible for the MediaTek MT6359 PMIC
dt-bindings: regulator: Add document
From: Wen Su
The MT6359 is a regulator found on boards based on MediaTek MT6779 and
probably other SoCs. It is a so called pmic and connects as a slave to
SoC using SPI, wrapped inside the pmic-wrapper.
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4:
- add enable
add dt-binding document for MediaTek MT6359 PMIC
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4: fix yamllint errors in dt-binding document.
---
.../bindings/regulator/mt6359-regulator.yaml | 169 ++
1 file changed, 169 insertions(+)
create mode 100644
Documentation
From: Wen Su
add PMIC MT6359 related nodes which is for MT6779 platform
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4:
- add pmic MT6359 support in the MT8192 evb dts.
---
arch/arm64/boot/dts/mediatek/mt6359.dtsi| 298
arch/arm64/boot/dts
This patch adds RTC_TC_MTH_MASK to support new chips.
Signed-off-by: Yuchen Huang
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Alexandre Belloni
---
changes since v4: no changes
---
drivers/rtc/rtc-mt6397.c | 2 +-
include/linux/mfd/mt6397/rtc.h | 1 +
2 files changed, 2 insertions(+), 1
This adds compatible for the MediaTek MT6359 PMIC.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4:
- remove unused compatible name.
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt
b
The MT6359P is a eco version for MT6359 regulator.
We add support based on MT6359 regulator driver.
Signed-off-by: Hsin-Hsiung Wang
---
changes since v4:
- add the regulators_node support.
---
drivers/regulator/mt6359-regulator.c | 379 -
include/linux/mfd/mt6359p
This patch refines the interrupt related code to support new chips.
Signed-off-by: Hsin-Hsiung Wang
Acked-for-MFD-by: Lee Jones
---
changes since v4: no changes
---
drivers/mfd/mt6358-irq.c| 65 +++--
include/linux/mfd/mt6358/core.h | 8 ++--
2 files
=d40c2d4ed62df64ce603c208bceff25245380157
changes since v2:
- fix the error of binding document.
- refine the mt6315 regulator for better code quality.
- add mt6315 regulator node into mt8192-evb.dts.
Hsin-Hsiung Wang (3):
dt-bindings: regulator: document binding for MT6315 regulator
regulator: mt6315: Add support
The MT6315 is a regulator found on boards based on MediaTek MT8192 and
probably other SoCs. It connects as a slave to SoC using SPMI.
Signed-off-by: Hsin-Hsiung Wang
---
drivers/regulator/Kconfig | 10 +
drivers/regulator/Makefile | 1 +
drivers/regulator
Add MT6315 regulator nodes to MT8192 evaluation board.
Signed-off-by: Hsin-Hsiung Wang
---
arch/arm64/boot/dts/mediatek/mt8192-evb.dts | 46 +
1 file changed, 46 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8192-evb.dts
b/arch/arm64/boot/dts/mediatek/mt8192
Add device tree binding information for MT6315 regulator driver.
Example bindings for MT6315 are added.
Signed-off-by: Hsin-Hsiung Wang
---
.../bindings/regulator/mt6315-regulator.yaml | 71 +++
1 file changed, 71 insertions(+)
create mode 100644
Documentation/devicetree
This adds documentation for the SPMI controller found on Mediatek SoCs.
Signed-off-by: Hsin-Hsiung Wang
---
.../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 74 +++
1 file changed, 74 insertions(+)
create mode 100644
Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml
Add spmi support for MT6873/8192.
Signed-off-by: Hsin-Hsiung Wang
---
drivers/spmi/Kconfig | 9 +
drivers/spmi/Makefile| 1 +
drivers/spmi/spmi-mtk-pmif.c | 504 +++
3 files changed, 514 insertions(+)
create mode 100644 drivers/spmi/spmi-mtk
Add spmi node to SOC MT8192.
Signed-off-by: Hsin-Hsiung Wang
---
arch/arm64/boot/dts/mediatek/mt8192.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index 69d45c7b31f1..6dc8aa97acc3
The constraint of 'maxItem: 1' might be larger than 1, so we modify it
to 'minItem: 0'.
Signed-off-by: Hsin-Hsiung Wang
---
Documentation/devicetree/bindings/spmi/spmi.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml
b
' to 'minItems: 0'.
- fix the error of the binding document.
- refine the mtk spmi driver for the bettery quality.
- add spmi node into MT8192 dtsi.
Hsin-Hsiung Wang (4):
dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems'
dt-bindings: spmi: document binding for the Mediatek SPMI
Hi,
On Thu, 2020-12-17 at 13:28 -0600, Rob Herring wrote:
> On Wed, 16 Dec 2020 15:47:01 +0800, Hsin-Hsiung Wang wrote:
> > This adds compatible for the MediaTek MT6359 PMIC.
> >
> > Signed-off-by: Hsin-Hsiung Wang
> > ---
> > Documentation/devicetree/bindings/
Add the enable time for LDOs.
This patch is preparing for adding mt6359p regulator support.
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Mark Brown
---
drivers/regulator/mt6359-regulator.c | 65 ++--
1 file changed, 42 insertions(+), 23 deletions(-)
diff --git a/drivers
From: Wen Su
The MT6359 is a regulator found on boards based on MediaTek MT6779 and
probably other SoCs. It is a so called pmic and connects as a slave to
SoC using SPI, wrapped inside the pmic-wrapper.
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
drivers/regulator/Kconfig
From: Wen Su
add PMIC MT6359 related nodes which is for MT6779 platform
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
arch/arm64/boot/dts/mediatek/mt6359.dtsi | 298 +++
1 file changed, 298 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt6359
of the pwrap.
Signed-off-by: Hsin-Hsiung Wang
---
drivers/mfd/mt6358-irq.c | 24 ++
drivers/mfd/mt6397-core.c| 28 ++
include/linux/mfd/mt6359/core.h | 133 +++
include/linux/mfd/mt6359/registers.h | 529 +++
include/linux/mfd/mt6397/core.h
add dt-binding document for MediaTek MT6359 PMIC
Signed-off-by: Hsin-Hsiung Wang
---
.../bindings/regulator/mt6359-regulator.yaml | 169 ++
1 file changed, 169 insertions(+)
create mode 100644
Documentation/devicetree/bindings/regulator/mt6359-regulator.yaml
diff --git
This adds compatible for the MediaTek MT6359 PMIC.
Signed-off-by: Hsin-Hsiung Wang
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt
b/Documentation/devicetree/bindings
of
mt6359_get_linear_voltage_sel().
Hsin-Hsiung Wang (7):
mfd: mt6358: refine interrupt code
rtc: mt6397: refine RTC_TC_MTH
dt-bindings: mfd: Add compatible for the MediaTek MT6359 PMIC
dt-bindings: regulator: Add document for MT6359 regulator
mfd: Add support for the MediaTek MT6359 PMIC
regulator
The MT6359P is a eco version for MT6359 regulator.
We add support based on MT6359 regulator driver.
Signed-off-by: Hsin-Hsiung Wang
---
drivers/regulator/mt6359-regulator.c | 377 -
include/linux/mfd/mt6359p/registers.h | 249 ++
include/linux
This patch refines the interrupt related code to support new chips.
Signed-off-by: Hsin-Hsiung Wang
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/mt6358-irq.c| 65 +++--
include/linux/mfd/mt6358/core.h | 8 ++--
2 files changed, 41 insertions(+), 32 deletions
This patch adds RTC_TC_MTH_MASK to support new chips.
Signed-off-by: Yuchen Huang
Signed-off-by: Hsin-Hsiung Wang
---
drivers/rtc/rtc-mt6397.c | 2 +-
include/linux/mfd/mt6397/rtc.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-mt6397.c b/drivers
Hi,
On Wed, 2020-09-23 at 17:24 +0100, Mark Brown wrote:
> On Mon, Sep 21, 2020 at 07:48:10PM +0800, Hsin-Hsiung Wang wrote:
>
> > +Required properties:
> > +- compatible: "mediatek,mt6359-regulator"
>
> The compatible isn't used by the driver (which is
Hi,
On Tue, 2020-12-15 at 11:56 +, Mark Brown wrote:
> On Tue, Dec 15, 2020 at 05:23:08PM +0800, Hsin-hsiung Wang wrote:
> > On Tue, 2020-11-24 at 17:07 +, Mark Brown wrote:
>
> > > This looks like it could just be regmap_get_voltage_sel_regmap()?
> > > O
Hi,
On Tue, 2020-11-24 at 17:07 +, Mark Brown wrote:
> On Mon, Nov 23, 2020 at 11:48:07AM +0800, Hsin-Hsiung Wang wrote:
>
> > +static int mt6359_get_linear_voltage_sel(struct regulator_dev *rdev)
> > +{
> > + struct mt6359_regulator_info *info = rdev_get_drvdat
This patch refines the interrupt related code to support new chips.
Signed-off-by: Hsin-Hsiung Wang
---
drivers/mfd/mt6358-irq.c| 65 +++--
include/linux/mfd/mt6358/core.h | 8 ++--
2 files changed, 41 insertions(+), 32 deletions(-)
diff --git a/drivers/mfd
of the pwrap.
Signed-off-by: Hsin-Hsiung Wang
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/mt6358-irq.c | 24 ++
drivers/mfd/mt6397-core.c| 23 ++
include/linux/mfd/mt6359/core.h | 133 +++
include/linux/mfd/mt6359/registers.h | 529 +++
include
The MT6359P is a eco version for MT6359 regulator.
We add support based on MT6359 regulator driver.
Signed-off-by: Hsin-Hsiung Wang
---
drivers/regulator/mt6359-regulator.c | 413 -
include/linux/mfd/mt6359p/registers.h | 249 +
include/linux/regulator
From: Wen Su
The MT6359 is a regulator found on boards based on MediaTek MT6779 and
probably other SoCs. It is a so called pmic and connects as a slave to
SoC using SPI, wrapped inside the pmic-wrapper.
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Mark Brown
---
drivers
add dt-binding document for MediaTek MT6359 PMIC
Signed-off-by: Hsin-Hsiung Wang
---
.../bindings/regulator/mt6359-regulator.yaml | 145 ++
1 file changed, 145 insertions(+)
create mode 100644
Documentation/devicetree/bindings/regulator/mt6359-regulator.yaml
diff --git
Add the enable time for LDOs.
This patch is preparing for adding mt6359p regulator support.
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Mark Brown
---
drivers/regulator/mt6359-regulator.c | 65 ++--
1 file changed, 42 insertions(+), 23 deletions(-)
diff --git a/drivers
schema format.
- remove unused compatible name.
- update correct registers for VBBCK and VA09.
Hsin-Hsiung Wang (6):
mfd: mt6358: refine interrupt code
dt-bindings: mfd: Add compatible for the MediaTek MT6359 PMIC
dt-bindings: regulator: Add document for MT6359 regulator
mfd: Add support
From: Wen Su
add PMIC MT6359 related nodes which is for MT6779 platform
Signed-off-by: Wen Su
Signed-off-by: Hsin-Hsiung Wang
---
arch/arm64/boot/dts/mediatek/mt6359.dtsi | 295 +++
1 file changed, 295 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt6359
This adds compatible for the MediaTek MT6359 PMIC.
Signed-off-by: Hsin-Hsiung Wang
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/mt6397.txt | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree
This adds dt-binding documentation of pwrap for Mediatek MT6873/8192
SoCs Platform.
Signed-off-by: Hsin-Hsiung Wang
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/soc/mediatek/pwrap.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/soc
MT6873/8192 are highly integrated SoCs and use PMIC_MT6359 for
power management. This patch adds pwrap master driver to
access PMIC_MT6359.
Signed-off-by: Hsin-Hsiung Wang
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 29 +
1 file changed, 29 insertions(+)
diff --git
1 - 100 of 236 matches
Mail list logo