[PATCH v2 04/10] regulator: bd9571mwv: Add BD9574MWF support

2020-12-11 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is silimar chip with BD9571MWV. Note that BD9574MWF doesn't support AVS and VID. Signed-off-by: Yoshihiro Shimoda --- drivers/regulator/bd9571mwv-regulator.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/regulator

[PATCH v2 08/10] mfd: bd9571mwv: Use the SPDX license identifier

2020-12-11 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda --- drivers/mfd/bd9571mwv.c | 10 +- include/linux/mfd/bd9571mwv.h | 10 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/drivers/mfd/bd9571mwv.c b/drivers

RE: [PATCH 3/3] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-11 Thread Yoshihiro Shimoda
Hi again, > From: Yoshihiro Shimoda, Sent: Friday, December 11, 2020 9:49 AM > > > but as I said - these are only 'nit' comments and I am not insisting on > > changing these. Especially since some of the comments are more related > > to changing the original bd957

RE: [PATCH v7 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-25 Thread Yoshihiro Shimoda
Hello Sergei, > From: Sergei Shtylyov, Sent: Thursday, December 24, 2020 5:50 PM > On 24.12.2020 10:04, Yoshihiro Shimoda wrote: > > > Use dev_regmap_add_irq_chip() to simplify the code. > > devm_? Thank you for the pointed it out. I'll fix it. Best regards, Yoshihiro Shimoda

[PATCH v8 01/12] mfd: bd9571mwv: Use devm_mfd_add_devices()

2020-12-25 Thread Yoshihiro Shimoda
To remove mfd devices when unload this driver, should use devm_mfd_add_devices() instead. Fixes: d3ea21272094 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver") Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Geert Uytterhoeven Reviewed-by: Matti Vaittinen --

[PATCH v8 00/12] treewide: bd9571mwv: Add support for BD9574MWF

2020-12-25 Thread Yoshihiro Shimoda
https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=398059 Khiem Nguyen (2): mfd: bd9571mwv: Make the driver more generic mfd: bd9571mwv: Add support for BD9574MWF Yoshihiro Shimoda (10): mfd: bd9571mwv: Use devm_mfd_add_devices() dt-bindings: mfd: bd9571mwv: Document BD9574MW

[PATCH v8 04/12] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-25 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/regulator/bd9571mwv-regulator.c | 49 + 1 file changed, 26 insertions(+), 23 deletions(-) diff --git

[PATCH v8 06/12] gpio: bd9571mwv: Use the SPDX license identifier

2020-12-25 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven --- drivers/gpio/gpio-bd9571mwv.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-bd9571mwv.c b/drivers/gpio/gpio

[PATCH v8 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-25 Thread Yoshihiro Shimoda
From: Khiem Nguyen The new PMIC BD9574MWF inherits features from BD9571MWV. Add the support of new PMIC to existing bd9571mwv driver. Signed-off-by: Khiem Nguyen Co-developed-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones

[PATCH v8 11/12] mfd: bd9571mwv: Make the driver more generic

2020-12-25 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- drivers/mfd/bd9571mwv.c | 77 +++ include/linux/mfd/bd9571mwv.h | 18 ++ 2 files changed, 43 insertions(+), 52 deletions(-) diff

[PATCH v8 09/12] mfd: bd9571mwv: Use the SPDX license identifier

2020-12-25 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Acked-for-MFD-by: Lee Jones --- drivers/mfd/bd9571mwv.c | 10 +- include/linux/mfd/bd9571mwv.h | 10 +- 2 files changed, 2 insertions(+), 18

[PATCH v8 02/12] dt-bindings: mfd: bd9571mwv: Document BD9574MWF

2020-12-25 Thread Yoshihiro Shimoda
Document other similar specification chip BD9574MWF. Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones --- Documentation/devicetree/bindings/mfd/bd9571mwv.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/bd9571mwv.txt

[PATCH v8 07/12] gpio: bd9571mwv: rid of using struct bd9571mwv

2020-12-25 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-bd9571mwv.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio

[PATCH v8 08/12] gpio: bd9571mwv: Add BD9574MWF support

2020-12-25 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is similar chip with BD9571MWV. Note that BD9574MWF has additional features "RECOV_GPOUT", "FREQSEL" and "RTC_IN", but supports GPIO function only. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-

[PATCH v8 03/12] mfd: rohm-generic: Add BD9571 and BD9574

2020-12-25 Thread Yoshihiro Shimoda
Add chip IDs for BD9571MWV and BD9574MWF. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- include/linux/mfd/rohm-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h

[PATCH v8 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-25 Thread Yoshihiro Shimoda
Use devm_regmap_add_irq_chip() to simplify the code. Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Matti Vaittinen Reviewed-by: Geert Uytterhoeven --- drivers/mfd/bd9571mwv.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff

[PATCH v8 05/12] regulator: bd9571mwv: Add BD9574MWF support

2020-12-25 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is similar chip with BD9571MWV. Note that we don't support voltage rails VD{09,18,25,33} by this driver on BD9574. The VD09 voltage could be read from PMIC but that is not supported by this commit. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen

RE: [PATCH 2/3] mfd: bd9571mwv: Make the driver more generic

2020-12-09 Thread Yoshihiro Shimoda
Hi Geert-san, Thank you for your review! > From: Geert Uytterhoeven, Sent: Wednesday, December 9, 2020 10:26 PM > > Hi Shimoda-san, > > On Tue, Dec 8, 2020 at 9:06 AM Yoshihiro Shimoda > wrote: > > index 80c6ef0..57bdb6a 100644 > > --- a/drivers/mfd/bd9

RE: [PATCH 3/3] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-09 Thread Yoshihiro Shimoda
> > > +#define BD9574MWF_VDCORE_VINIT 0x50 > > +#define BD9574MWF_VD09_VINIT 0x51 > > +#define BD9574MWF_VDCORE_SETVMAX 0x52 > > +#define BD9574MWF_VDCORE_SETVID0x54 > > +#define BD9574MWF_VDCORE_MONIVDAC 0x55 > > +#define BD9574MWF_VDCORE_PGD_CNT 0x56 > > Some of the above are the same as the corresponding BD9571MWV > registers, so using the same define may simplify regulator support > (cfr. BD9571MWV_DVFS_SETVID and BD9571MWV_DVFS_MONIVDAC). Indeed. I'll fix it. > > +#define BD9574MWF_PART_NUMBER "BD9574MWF" > > BD9574MWF_PART_NAME? Yes, I'll rename it. Best regards, Yoshihiro Shimoda

RE: [PATCH 3/3] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-10 Thread Yoshihiro Shimoda
Hi Geert-san, Matti, Thank you for your comments! > From: Geert Uytterhoeven, Sent: Thursday, December 10, 2020 5:20 PM > > Hi Matti, Shimoda-san, > > On Thu, Dec 10, 2020 at 8:33 AM Vaittinen, Matti > wrote: > > On Thu, 2020-12-10 at 04:44 +, Yoshihiro Shimoda wr

RE: [PATCH 2/3] mfd: bd9571mwv: Make the driver more generic

2020-12-10 Thread Yoshihiro Shimoda
> > } > > } > > Given we probably won't have more than a handful variants, I'm > leaning towards the switch() approach. OK. I got it. I'll use switch(). Best regards, Yoshihiro Shimoda

RE: [PATCH 3/3] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-10 Thread Yoshihiro Shimoda
Hi Matti, > From: Vaittinen, Matti, Sent: Thursday, December 10, 2020 5:28 PM > > On Tue, 2020-12-08 at 17:04 +0900, Yoshihiro Shimoda wrote: > > From: Khiem Nguyen > > > > The new PMIC BD9574MWF inherits features from BD9571MWV. > > Add the support of new

RE: [PATCH v4 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-22 Thread Yoshihiro Shimoda
Hi Geert-san, Thank you for your review! > From: Geert Uytterhoeven, Sent: Tuesday, December 22, 2020 5:53 PM > On Mon, Dec 21, 2020 at 3:56 AM Yoshihiro Shimoda > wrote: > > --- a/drivers/mfd/bd9571mwv.c > > +++ b/drivers/mfd/bd9571mwv.c > > > @@ -200,12 +277,14

RE: [PATCH v4 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-22 Thread Yoshihiro Shimoda
Hi Matti-san, > From: Vaittinen, Matti, Sent: Tuesday, December 22, 2020 6:15 PM > > On Tue, 2020-12-22 at 09:49 +0100, Geert Uytterhoeven wrote: > > On Mon, Dec 21, 2020 at 3:57 AM Yoshihiro Shimoda > > wrote: > > > Use dev_regmap_add_irq_chip() to simplify th

RE: [PATCH v4 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-22 Thread Yoshihiro Shimoda
d_table[]? > You still need the "bd9574mwf-gpio" entry, don't you? You're correct. The MFD driver uses "bd9574mwf-gpio". And, "bd9574mwf-gpio" with 0 is not good. So, I'll keep this patch. Thank you for the point it out. Best regards, Yoshihiro Shimoda

RE: [PATCH v4 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-22 Thread Yoshihiro Shimoda
, at least this MFD driver uses "bd9574mwf-gpio" for probing. So, I'll keep that patch as-is. Best regards, Yoshihiro Shimoda

RE: [PATCH v4 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-22 Thread Yoshihiro Shimoda
Hi Matti-san, > From: Vaittinen, Matti, Sent: Tuesday, December 22, 2020 6:39 PM > > On Tue, 2020-12-22 at 09:25 +, Yoshihiro Shimoda wrote: > > Hi Matti-san, > > > > > From: Vaittinen, Matti, Sent: Tuesday, December 22, 2020 6:15 PM > > > > &g

[PATCH v5 02/12] dt-bindings: mfd: bd9571mwv: Document BD9574MWF

2020-12-22 Thread Yoshihiro Shimoda
Document other similar specification chip BD9574MWF. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/mfd/bd9571mwv.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/bd9571mwv.txt b/Documentation/devicetree

[PATCH v5 01/12] mfd: bd9571mwv: Use devm_mfd_add_devices()

2020-12-22 Thread Yoshihiro Shimoda
To remove mfd devices when unload this driver, should use devm_mfd_add_devices() instead. Fixes: d3ea21272094 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver") Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Geert Uytterhoeven Reviewed-by: Matti Vaittinen --

[PATCH v5 09/12] mfd: bd9571mwv: Use the SPDX license identifier

2020-12-22 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Acked-for-MFD-by: Lee Jones --- drivers/mfd/bd9571mwv.c | 10 +- include/linux/mfd/bd9571mwv.h | 10 +- 2 files changed, 2 insertions(+), 18

[PATCH v5 11/12] mfd: bd9571mwv: Make the driver more generic

2020-12-22 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/mfd/bd9571mwv.c | 89 +-- include/linux/mfd/bd9571mwv.h | 18 + 2 files changed, 54 insertions(+), 53 deletions(-) diff --git a/drivers/mfd/bd9571mwv.c

[PATCH v5 08/12] gpio: bd9571mwv: Add BD9574MWF support

2020-12-22 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is silimar chip with BD9571MWV. Note that BD9574MWF has additional features "RECOV_GPOUT", "FREQSEL" and "RTC_IN", but supports GPIO function only. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-

[PATCH v5 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-22 Thread Yoshihiro Shimoda
From: Khiem Nguyen The new PMIC BD9574MWF inherits features from BD9571MWV. Add the support of new PMIC to existing bd9571mwv driver. Signed-off-by: Khiem Nguyen Co-developed-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/mfd/bd9571mwv.c

[PATCH v5 05/12] regulator: bd9571mwv: Add BD9574MWF support

2020-12-22 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is silimar chip with BD9571MWV. Note that we don't support voltage rails VD{09,18,25,33} by this driver on BD9574. The VD09 voltage could be read from PMIC but that is not supported by this commit. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen

[PATCH v5 06/12] gpio: bd9571mwv: Use the SPDX license identifier

2020-12-22 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven --- drivers/gpio/gpio-bd9571mwv.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-bd9571mwv.c b/drivers/gpio/gpio

[PATCH v5 03/12] mfd: rohm-generic: Add BD9571 and BD9574

2020-12-22 Thread Yoshihiro Shimoda
Add chip IDs for BD9571MWV and BD9574MWF. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- include/linux/mfd/rohm-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h

[PATCH v5 07/12] gpio: bd9571mwv: rid of using struct bd9571mwv

2020-12-22 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-bd9571mwv.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio

[PATCH v5 04/12] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-22 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/regulator/bd9571mwv-regulator.c | 49 + 1 file changed, 26 insertions(+), 23 deletions(-) diff --git

[PATCH v5 00/12] treewide: bd9571mwv: Add support for BD9574MWF

2020-12-22 Thread Yoshihiro Shimoda
BD9574MWF. - Rename "part_number" with "part_name". https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=398059 Khiem Nguyen (2): mfd: bd9571mwv: Make the driver more generic mfd: bd9571mwv: Add support for BD9574MWF Yoshihiro Shimoda (10): mfd: bd9571mwv: Us

[PATCH v5 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-22 Thread Yoshihiro Shimoda
Use dev_regmap_add_irq_chip() to simplify the code. Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Matti Vaittinen Reviewed-by: Geert Uytterhoeven --- drivers/mfd/bd9571mwv.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff

RE: [PATCH v5 05/12] regulator: bd9571mwv: Add BD9574MWF support

2020-12-23 Thread Yoshihiro Shimoda
Hi Sergei, > From: Sergei Shtylyov, Sent: Wednesday, December 23, 2020 6:15 PM > > On 22.12.2020 14:22, Yoshihiro Shimoda wrote: > > > Add support for BD9574MWF which is silimar chip with BD9571MWV. > > Similar (again)? :-) Thank you for pointed it out! I'll fix th

[PATCH v6 01/12] mfd: bd9571mwv: Use devm_mfd_add_devices()

2020-12-23 Thread Yoshihiro Shimoda
To remove mfd devices when unload this driver, should use devm_mfd_add_devices() instead. Fixes: d3ea21272094 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver") Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Geert Uytterhoeven Reviewed-by: Matti Vaittinen --

[PATCH v6 04/12] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-23 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/regulator/bd9571mwv-regulator.c | 49 + 1 file changed, 26 insertions(+), 23 deletions(-) diff --git

[PATCH v6 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-23 Thread Yoshihiro Shimoda
From: Khiem Nguyen The new PMIC BD9574MWF inherits features from BD9571MWV. Add the support of new PMIC to existing bd9571mwv driver. Signed-off-by: Khiem Nguyen Co-developed-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/mfd/bd9571mwv.c

[PATCH v6 07/12] gpio: bd9571mwv: rid of using struct bd9571mwv

2020-12-23 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-bd9571mwv.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio

[PATCH v6 08/12] gpio: bd9571mwv: Add BD9574MWF support

2020-12-23 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is similar chip with BD9571MWV. Note that BD9574MWF has additional features "RECOV_GPOUT", "FREQSEL" and "RTC_IN", but supports GPIO function only. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-

[PATCH v6 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-23 Thread Yoshihiro Shimoda
Use dev_regmap_add_irq_chip() to simplify the code. Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Matti Vaittinen Reviewed-by: Geert Uytterhoeven --- drivers/mfd/bd9571mwv.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff

[PATCH v6 11/12] mfd: bd9571mwv: Make the driver more generic

2020-12-23 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/mfd/bd9571mwv.c | 89 +-- include/linux/mfd/bd9571mwv.h | 18 + 2 files changed, 54 insertions(+), 53 deletions(-) diff --git a/drivers/mfd/bd9571mwv.c

[PATCH v6 05/12] regulator: bd9571mwv: Add BD9574MWF support

2020-12-23 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is similar chip with BD9571MWV. Note that we don't support voltage rails VD{09,18,25,33} by this driver on BD9574. The VD09 voltage could be read from PMIC but that is not supported by this commit. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen

[PATCH v6 02/12] dt-bindings: mfd: bd9571mwv: Document BD9574MWF

2020-12-23 Thread Yoshihiro Shimoda
Document other similar specification chip BD9574MWF. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/mfd/bd9571mwv.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/bd9571mwv.txt b/Documentation/devicetree

[PATCH v6 03/12] mfd: rohm-generic: Add BD9571 and BD9574

2020-12-23 Thread Yoshihiro Shimoda
Add chip IDs for BD9571MWV and BD9574MWF. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- include/linux/mfd/rohm-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h

[PATCH v6 09/12] mfd: bd9571mwv: Use the SPDX license identifier

2020-12-23 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Acked-for-MFD-by: Lee Jones --- drivers/mfd/bd9571mwv.c | 10 +- include/linux/mfd/bd9571mwv.h | 10 +- 2 files changed, 2 insertions(+), 18

[PATCH v6 00/12] treewide: bd9571mwv: Add support for BD9574MWF

2020-12-23 Thread Yoshihiro Shimoda
571mwv: Make the driver more generic mfd: bd9571mwv: Add support for BD9574MWF Yoshihiro Shimoda (10): mfd: bd9571mwv: Use devm_mfd_add_devices() dt-bindings: mfd: bd9571mwv: Document BD9574MWF mfd: rohm-generic: Add BD9571 and BD9574 regulator: bd9571mwv: rid of using struct bd9571m

[PATCH v6 06/12] gpio: bd9571mwv: Use the SPDX license identifier

2020-12-23 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven --- drivers/gpio/gpio-bd9571mwv.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-bd9571mwv.c b/drivers/gpio/gpio

RE: [PATCH v6 11/12] mfd: bd9571mwv: Make the driver more generic

2020-12-23 Thread Yoshihiro Shimoda
Hi Lee, > From: Lee Jones, Sent: Thursday, December 24, 2020 12:39 AM > On Wed, 23 Dec 2020, Yoshihiro Shimoda wrote: > > From: Khiem Nguyen > > > > Since the driver supports BD9571MWV PMIC only, this patch makes > > the functions and data structure become more gene

[PATCH v7 00/12] treewide: bd9571mwv: Add support for BD9574MWF

2020-12-23 Thread Yoshihiro Shimoda
ator drivers. - Add missing regmap ranges for BD9574MWF. - Rename "part_number" with "part_name". https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=398059 Khiem Nguyen (2): mfd: bd9571mwv: Make the driver more generic mfd: bd9571mwv: Add support fo

[PATCH v7 05/12] regulator: bd9571mwv: Add BD9574MWF support

2020-12-23 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is similar chip with BD9571MWV. Note that we don't support voltage rails VD{09,18,25,33} by this driver on BD9574. The VD09 voltage could be read from PMIC but that is not supported by this commit. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen

[PATCH v7 02/12] dt-bindings: mfd: bd9571mwv: Document BD9574MWF

2020-12-23 Thread Yoshihiro Shimoda
Document other similar specification chip BD9574MWF. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/mfd/bd9571mwv.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/bd9571mwv.txt b/Documentation/devicetree

[PATCH v7 06/12] gpio: bd9571mwv: Use the SPDX license identifier

2020-12-23 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven --- drivers/gpio/gpio-bd9571mwv.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-bd9571mwv.c b/drivers/gpio/gpio

[PATCH v7 09/12] mfd: bd9571mwv: Use the SPDX license identifier

2020-12-23 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Acked-for-MFD-by: Lee Jones --- drivers/mfd/bd9571mwv.c | 10 +- include/linux/mfd/bd9571mwv.h | 10 +- 2 files changed, 2 insertions(+), 18

[PATCH v7 11/12] mfd: bd9571mwv: Make the driver more generic

2020-12-23 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/mfd/bd9571mwv.c | 77 +++ include/linux/mfd/bd9571mwv.h | 18 ++ 2 files changed, 43 insertions(+), 52 deletions(-) diff --git a/drivers/mfd/bd9571mwv.c

[PATCH v7 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-23 Thread Yoshihiro Shimoda
From: Khiem Nguyen The new PMIC BD9574MWF inherits features from BD9571MWV. Add the support of new PMIC to existing bd9571mwv driver. Signed-off-by: Khiem Nguyen Co-developed-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones

[PATCH v7 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-23 Thread Yoshihiro Shimoda
Use dev_regmap_add_irq_chip() to simplify the code. Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Matti Vaittinen Reviewed-by: Geert Uytterhoeven --- drivers/mfd/bd9571mwv.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff

[PATCH v7 07/12] gpio: bd9571mwv: rid of using struct bd9571mwv

2020-12-23 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-bd9571mwv.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio

[PATCH v7 08/12] gpio: bd9571mwv: Add BD9574MWF support

2020-12-23 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is similar chip with BD9571MWV. Note that BD9574MWF has additional features "RECOV_GPOUT", "FREQSEL" and "RTC_IN", but supports GPIO function only. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-

[PATCH v7 03/12] mfd: rohm-generic: Add BD9571 and BD9574

2020-12-23 Thread Yoshihiro Shimoda
Add chip IDs for BD9571MWV and BD9574MWF. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- include/linux/mfd/rohm-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h

[PATCH v7 04/12] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-23 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/regulator/bd9571mwv-regulator.c | 49 + 1 file changed, 26 insertions(+), 23 deletions(-) diff --git

[PATCH v7 01/12] mfd: bd9571mwv: Use devm_mfd_add_devices()

2020-12-23 Thread Yoshihiro Shimoda
To remove mfd devices when unload this driver, should use devm_mfd_add_devices() instead. Fixes: d3ea21272094 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver") Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones Reviewed-by: Geert Uytterhoeven Reviewed-by: Matti Vaittinen --

RE: [PATCH v6 11/12] mfd: bd9571mwv: Make the driver more generic

2020-12-24 Thread Yoshihiro Shimoda
Hi Lee, > From: Lee Jones, Sent: Thursday, December 24, 2020 4:34 PM > > Hi Lee, > > > > > From: Lee Jones, Sent: Thursday, December 24, 2020 12:39 AM > > > On Wed, 23 Dec 2020, Yoshihiro Shimoda wrote: > > > > From: Khiem Nguyen > &

[PATCH v4 00/12] treewide: bd9571mwv: Add support for BD9574MWF

2020-12-20 Thread Yoshihiro Shimoda
MWF. - Add BD9574MWF support for gpio and regulator drivers. - Add missing regmap ranges for BD9574MWF. - Rename "part_number" with "part_name". https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=398059 Khiem Nguyen (2): mfd: bd9571mwv: Make the driver more ge

[PATCH v4 01/12] mfd: bd9571mwv: Use devm_mfd_add_devices()

2020-12-20 Thread Yoshihiro Shimoda
To remove mfd devices when unload this driver, should use devm_mfd_add_devices() instead. Fixes: d3ea21272094 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver") Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones --- drivers/mfd/bd9571mwv.c | 6 +++--- 1 file changed, 3 insert

[PATCH v4 04/12] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-20 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/regulator/bd9571mwv-regulator.c | 49 + 1 file changed, 26 insertions(+), 23 deletions(-) diff --git

[PATCH v4 06/12] gpio: bd9571mwv: Use the SPDX license identifier

2020-12-20 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven --- drivers/gpio/gpio-bd9571mwv.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-bd9571mwv.c b/drivers/gpio/gpio

[PATCH v4 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-20 Thread Yoshihiro Shimoda
Use dev_regmap_add_irq_chip() to simplify the code. Signed-off-by: Yoshihiro Shimoda Acked-for-MFD-by: Lee Jones --- drivers/mfd/bd9571mwv.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/drivers/mfd/bd9571mwv.c b/drivers/mfd/bd9571mwv.c index

[PATCH v4 07/12] gpio: bd9571mwv: rid of using struct bd9571mwv

2020-12-20 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-bd9571mwv.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio

[PATCH v4 09/12] mfd: bd9571mwv: Use the SPDX license identifier

2020-12-20 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven Acked-for-MFD-by: Lee Jones --- drivers/mfd/bd9571mwv.c | 10 +- include/linux/mfd/bd9571mwv.h | 10 +- 2 files changed, 2 insertions(+), 18

[PATCH v4 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-20 Thread Yoshihiro Shimoda
From: Khiem Nguyen The new PMIC BD9574MWF inherits features from BD9571MWV. Add the support of new PMIC to existing bd9571mwv driver. Signed-off-by: Khiem Nguyen Co-developed-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda --- drivers/mfd/bd9571mwv.c | 83

[PATCH v4 08/12] gpio: bd9571mwv: Add BD9574MWF support

2020-12-20 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is silimar chip with BD9571MWV. Note that BD9574MWF has additional features "RECOV_GPOUT", "FREQSEL" and "RTC_IN", but supports GPIO function only. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-

[PATCH v4 03/12] mfd: rohm-generic: Add BD9571 and BD9574

2020-12-20 Thread Yoshihiro Shimoda
Add chip IDs for BD9571MWV and BD9574MWF. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen Acked-for-MFD-by: Lee Jones --- include/linux/mfd/rohm-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h

[PATCH v4 05/12] regulator: bd9571mwv: Add BD9574MWF support

2020-12-20 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is silimar chip with BD9571MWV. Note that we don't support voltage rails VD{09,18,25,33} by this driver on BD9574. The VD09 voltage could be read from PMIC but that is not supported by this commit. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen

[PATCH v4 11/12] mfd: bd9571mwv: Make the driver more generic

2020-12-20 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda --- drivers/mfd/bd9571mwv.c | 89 +-- include/linux/mfd/bd9571mwv.h | 18 + 2 files changed, 54 insertions(+), 53 deletions(-) diff --git a/drivers/mfd/bd9571mwv.c b/drivers/mfd/bd9571mwv.c

[PATCH v4 02/12] dt-bindings: mfd: bd9571mwv: Document BD9574MWF

2020-12-20 Thread Yoshihiro Shimoda
Document other similar specification chip BD9574MWF. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/mfd/bd9571mwv.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/bd9571mwv.txt b/Documentation/devicetree

RE: [PATCH v2 04/10] regulator: bd9571mwv: Add BD9574MWF support

2020-12-13 Thread Yoshihiro Shimoda
Hello Matti-san, > From: Vaittinen, Matti, Sent: Friday, December 11, 2020 9:34 PM > > Hello again Shimada-san, > > On Fri, 2020-12-11 at 20:27 +0900, Yoshihiro Shimoda wrote: > > Add support for BD9574MWF which is silimar chip with BD9571MWV. > > Note that BD9574MWF

RE: [PATCH v2 07/10] gpio: bd9571mwv: Add BD9574MWF support

2020-12-13 Thread Yoshihiro Shimoda
Hi Matti-san, Thank you for your review! > From: Vaittinen, Matti, Sent: Friday, December 11, 2020 9:55 PM > > On Fri, 2020-12-11 at 20:27 +0900, Yoshihiro Shimoda wrote: > > Add support for BD9574MWF which is silimar chip with BD9571MWV. > > Note that BD9574MWF has

RE: [PATCH v2 09/10] mfd: bd9571mwv: Make the driver more generic

2020-12-13 Thread Yoshihiro Shimoda
Hi Matti-san, Thank you for your review! > From: Vaittinen, Matti, Sent: Friday, December 11, 2020 10:29 PM > > Hi Yoshihiro-san, > > On Fri, 2020-12-11 at 20:27 +0900, Yoshihiro Shimoda wrote: > > From: Khiem Nguyen > > > > Since the driver supports BD9571MW

RE: [PATCH v2 04/10] regulator: bd9571mwv: Add BD9574MWF support

2020-12-14 Thread Yoshihiro Shimoda
Hello Matti-san, > From: Vaittinen, Matti, Sent: Monday, December 14, 2020 4:13 PM > > Hello Shimoda-san, > > On Mon, 2020-12-14 at 04:57 +0000, Yoshihiro Shimoda wrote: > > Hello Matti-san, > > > > > From: Vaittinen, Matti, Sent: Friday, December 11,

RE: [PATCH v2 08/10] mfd: bd9571mwv: Use the SPDX license identifier

2020-12-14 Thread Yoshihiro Shimoda
> From: Yoshihiro Shimoda, Sent: Friday, December 11, 2020 8:28 PM > > Use the SPDX license identifier instead of a local description. > > Signed-off-by: Yoshihiro Shimoda I forgot to add Geert-san's Reviewed-by here. So, I'll submit v3 patch series later. https://patch

RE: [PATCH v2 03/10] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-15 Thread Yoshihiro Shimoda
Hi Geert-san, Matti-san, > From: Geert Uytterhoeven, Sent: Wednesday, December 16, 2020 1:13 AM > On Tue, Dec 15, 2020 at 5:02 PM Geert Uytterhoeven > wrote: > > On Fri, Dec 11, 2020 at 3:03 PM Vaittinen, Matti > > wrote: > > > On Fri, 2020-12-11 at 20:27

RE: [PATCH v2 03/10] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-15 Thread Yoshihiro Shimoda
Hi Matti-san, > From: Vaittinen, Matti, Sent: Wednesday, December 16, 2020 3:00 PM > On Wed, 2020-12-16 at 02:13 +, Yoshihiro Shimoda wrote: > > Hi Geert-san, Matti-san, > > > > > From: Geert Uytterhoeven, Sent: Wednesday, December 16, 2020 1:13 > > > AM &

[PATCH v3 00/12] treewide: bd9571mwv: Add support for BD9574MWF

2020-12-15 Thread Yoshihiro Shimoda
soc/list/?series=398059 Khiem Nguyen (2): mfd: bd9571mwv: Make the driver more generic mfd: bd9571mwv: Add support for BD9574MWF Yoshihiro Shimoda (10): mfd: bd9571mwv: Use devm_mfd_add_devices() dt-bindings: mfd: bd9571mwv: Document BD9574MWF mfd: rohm-generic: Add BD9571 and BD95

[PATCH v3 03/12] mfd: rohm-generic: Add BD9571 and BD9574

2020-12-15 Thread Yoshihiro Shimoda
Add chip IDs for BD9571MWV and BD9574MWF. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- include/linux/mfd/rohm-generic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h index 4283b5b..affacf8 100644

[PATCH v3 01/12] mfd: bd9571mwv: Use devm_mfd_add_devices()

2020-12-15 Thread Yoshihiro Shimoda
To remove mfd devices when unload this driver, should use devm_mfd_add_devices() instead. Fixes: d3ea21272094 ("mfd: Add ROHM BD9571MWV-M MFD PMIC driver") Signed-off-by: Yoshihiro Shimoda --- drivers/mfd/bd9571mwv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH v3 06/12] gpio: bd9571mwv: Use the SPDX license identifier

2020-12-15 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven --- drivers/gpio/gpio-bd9571mwv.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-bd9571mwv.c b/drivers/gpio/gpio

[PATCH v3 05/12] regulator: bd9571mwv: Add BD9574MWF support

2020-12-15 Thread Yoshihiro Shimoda
Add support for BD9574MWF which is silimar chip with BD9571MWV. Note that we don't support voltage rails VD{09,18,25,33} by this driver on BD9574. The VD09 voltage could be read from PMIC but that is not supported by this commit. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen

[PATCH v3 11/12] mfd: bd9571mwv: Make the driver more generic

2020-12-15 Thread Yoshihiro Shimoda
From: Khiem Nguyen Since the driver supports BD9571MWV PMIC only, this patch makes the functions and data structure become more generic so that it can support other PMIC variants as well. Signed-off-by: Khiem Nguyen [shimoda: rebase and refactor] Signed-off-by: Yoshihiro Shimoda --- drivers

[PATCH v3 07/12] gpio: bd9571mwv: rid of using struct bd9571mwv

2020-12-15 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/gpio/gpio-bd9571mwv.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio

[PATCH v3 09/12] mfd: bd9571mwv: Use the SPDX license identifier

2020-12-15 Thread Yoshihiro Shimoda
Use the SPDX license identifier instead of a local description. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven --- drivers/mfd/bd9571mwv.c | 10 +- include/linux/mfd/bd9571mwv.h | 10 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git

[PATCH v3 10/12] mfd: bd9571mwv: Use devm_regmap_add_irq_chip()

2020-12-15 Thread Yoshihiro Shimoda
Use dev_regmap_add_irq_chip() to simplify the code. Signed-off-by: Yoshihiro Shimoda --- drivers/mfd/bd9571mwv.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/drivers/mfd/bd9571mwv.c b/drivers/mfd/bd9571mwv.c index e68c3fa..49e968e 100644

[PATCH v3 04/12] regulator: bd9571mwv: rid of using struct bd9571mwv

2020-12-15 Thread Yoshihiro Shimoda
To simplify this driver, use dev_get_regmap() and rid of using struct bd9571mwv. Signed-off-by: Yoshihiro Shimoda Reviewed-by: Matti Vaittinen --- drivers/regulator/bd9571mwv-regulator.c | 49 + 1 file changed, 26 insertions(+), 23 deletions(-) diff --git

[PATCH v3 12/12] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-15 Thread Yoshihiro Shimoda
From: Khiem Nguyen The new PMIC BD9574MWF inherits features from BD9571MWV. Add the support of new PMIC to existing bd9571mwv driver. Signed-off-by: Khiem Nguyen [shimoda: rebase and refactor] Signed-off-by: Yoshihiro Shimoda --- drivers/mfd/bd9571mwv.c | 86

<    1   2   3   4   5   6   7   >