Hi Matthias,
On Mon, 2020-06-22 at 12:12 +0200, Matthias Brugger wrote:
>
> On 22/06/2020 08:40, Wen Su wrote:
> > From: "Wen Su"
> >
> > add PMIC MT6359 related nodes which is for MT6779 platform
> >
> > Signed-off-by: Wen Su
> > ---
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
---
drivers/regulator/Kconfig | 9
From: "Wen Su"
add PMIC MT6359 related nodes which is for MT6779 platform
Signed-off-by: Wen Su
---
arch/arm64/boot/dts/mediatek/mt6359.dtsi | 306 +++
1 file changed, 306 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt6359.dtsi
diff --
This patchset add support to MT6359 PMIC regulator. MT6359 is primary
PMIC for MT6779 platform.
Changes since v2:
- remove open coding in the mt6359 regulator for volt_table type regulators
- refine coding style in the mt6359 regulator to avoid using ternery operator
- remove unnecessary reject op
From: "Wen Su"
add dt-binding document for MediaTek MT6359 PMIC
Signed-off-by: Wen Su
Reviewed-by: Rob Herring
---
.../bindings/regulator/mt6359-regulator.txt| 58 ++
1 file changed, 58 insertions(+)
create mode 100644
Documentation/devicetree/bindings
From: "Wen Su"
This adds MediaTek PMIC MT6359 registers definition for the
following sub modules:
- Regulator
- RTC
- Interrupt
Signed-off-by: Wen Su
Acked-for-MFD-by: Lee Jones
---
include/linux/mfd/mt6359/registers.h | 531 +++
1 file ch
.
Thanks
On Fri, 2020-02-21 at 10:39 +0800, Wen Su wrote:
> From: "Wen Su"
>
> This adds MediaTek PMIC MT6359 registers definition for the
> following sub modules:
>
> - Regulator
> - RTC
> - Interrupt
>
> Signed-off-by: Wen Su
> Acked-for-MFD-by: L
struct regulator_dev *rdev;
+ int i;
+
+ for (i = 0; i < MT6359_MAX_REGULATOR; i++) {
+ config.dev = &pdev->dev;
+ config.driver_data = &mt6359_regulators[i];
+ config.regmap = mt6397->regmap;
+
+ rdev = devm_regulator
From: "wen.su"
This adds MediaTek PMIC MT6359 registers definition for the
following sub modules:
- Regulator
- RTC
- Interrupt
Signed-off-by: wen.su
---
include/linux/mfd/mt6359/registers.h | 531 +++
1 file changed, 531 insertions(+)
create mode 100644 inclu
From: "wen.su"
add PMIC MT6359 related nodes which is for MT6779 platform
Signed-off-by: wen.su
---
arch/arm64/boot/dts/mediatek/mt6359.dtsi | 312 +++
1 file changed, 312 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt6359.dtsi
diff --git a/arch/
From: "wen.su"
add dt-binding document for MediaTek MT6359 PMIC
Signed-off-by: wen.su
---
.../bindings/regulator/mt6359-regulator.txt| 59 ++
1 file changed, 59 insertions(+)
create mode 100644
Documentation/devicetree/bindings/regulator/mt6359-regulator.txt
diff
This patchset add support to MT6359 PMIC regulator. MT6359 is primary
PMIC for MT6779 platform.
wen.su (4):
dt-bindings: regulator: Add document for MT6359 regulator
mfd: Add for PMIC MT6359 registers definition
regulator: mt6359: Add support for MT6359 regulator
arm64: dts: mt6359: add P
12 matches
Mail list logo