All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] power: pmic/fan53555: allow dm be omitted by SPL
@ 2021-11-12 14:10 ` Quentin Schulz
  2021-11-13 14:19   ` Simon Glass
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Quentin Schulz @ 2021-11-12 14:10 UTC (permalink / raw)
  Cc: jh80.chung, andre.przywara, samuel, igor.opaniuk, stephan, sjg,
	tharvey, u-boot, Quentin Schulz, Quentin Schulz

Allow the dm driver be omitted by SPL.

Cc: Quentin Schulz <foss+u-boot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
 drivers/power/pmic/Kconfig  | 14 ++++++++++++++
 drivers/power/pmic/Makefile |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
index b9fda428df..ce0adb18a4 100644
--- a/drivers/power/pmic/Kconfig
+++ b/drivers/power/pmic/Kconfig
@@ -128,6 +128,20 @@ config DM_PMIC_FAN53555
 	  The driver implements read/write operations for use with the FAN53555
 	  regulator driver and binds the regulator driver to its node.
 
+config SPL_DM_PMIC_FAN53555
+	bool "Enable support for OnSemi FAN53555 in SPL"
+	depends on SPL_DM_REGULATOR && SPL_DM_I2C
+	select SPL_DM_REGULATOR_FAN53555
+	help
+	  This config enables implementation of driver-model PMIC
+	  uclass features for the FAN53555 regulator. The FAN53555 is
+	  a (family of) single-output regulators that supports
+	  transitioning between two different output voltages based on
+	  an voltage selection pin.
+
+	  The driver implements read/write operations for use with the FAN53555
+	  regulator driver and binds the regulator driver to its node.
+
 config DM_PMIC_MP5416
 	bool "Enable Driver Model for PMIC MP5416"
 	help
diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
index e1922df00f..401cde32cf 100644
--- a/drivers/power/pmic/Makefile
+++ b/drivers/power/pmic/Makefile
@@ -4,7 +4,7 @@
 # Lukasz Majewski <l.majewski@samsung.com>
 
 obj-$(CONFIG_$(SPL_TPL_)DM_PMIC) += pmic-uclass.o
-obj-$(CONFIG_DM_PMIC_FAN53555) += fan53555.o
+obj-$(CONFIG_$(SPL_)DM_PMIC_FAN53555) += fan53555.o
 obj-$(CONFIG_$(SPL_)DM_PMIC_DA9063) += da9063.o
 obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o
 obj-$(CONFIG_DM_PMIC_MAX8998) += max8998.o
-- 
2.33.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] power: pmic/fan53555: allow dm be omitted by SPL
  2021-11-12 14:10 ` [PATCH] power: pmic/fan53555: allow dm be omitted by SPL Quentin Schulz
@ 2021-11-13 14:19   ` Simon Glass
  2021-11-15  8:34   ` Jaehoon Chung
  2021-12-24  6:52   ` Kever Yang
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2021-11-13 14:19 UTC (permalink / raw)
  To: Quentin Schulz
  Cc: jh80.chung, andre.przywara, samuel, igor.opaniuk, stephan,
	tharvey, u-boot, Quentin Schulz

On Fri, 12 Nov 2021 at 07:11, Quentin Schulz
<quentin.schulz@theobroma-systems.com> wrote:
>
> Allow the dm driver be omitted by SPL.
>
> Cc: Quentin Schulz <foss+u-boot@0leil.net>
> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> ---
>  drivers/power/pmic/Kconfig  | 14 ++++++++++++++
>  drivers/power/pmic/Makefile |  2 +-
>  2 files changed, 15 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] power: pmic/fan53555: allow dm be omitted by SPL
  2021-11-12 14:10 ` [PATCH] power: pmic/fan53555: allow dm be omitted by SPL Quentin Schulz
  2021-11-13 14:19   ` Simon Glass
@ 2021-11-15  8:34   ` Jaehoon Chung
  2021-12-24  6:52   ` Kever Yang
  2 siblings, 0 replies; 4+ messages in thread
From: Jaehoon Chung @ 2021-11-15  8:34 UTC (permalink / raw)
  To: Quentin Schulz
  Cc: andre.przywara, samuel, igor.opaniuk, stephan, sjg, tharvey,
	u-boot, Quentin Schulz

On 11/12/21 11:10 PM, Quentin Schulz wrote:
> Allow the dm driver be omitted by SPL.
> 
> Cc: Quentin Schulz <foss+u-boot@0leil.net>
> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>

Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>

Best Regards,
Jaehoon Chung

> ---
>  drivers/power/pmic/Kconfig  | 14 ++++++++++++++
>  drivers/power/pmic/Makefile |  2 +-
>  2 files changed, 15 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
> index b9fda428df..ce0adb18a4 100644
> --- a/drivers/power/pmic/Kconfig
> +++ b/drivers/power/pmic/Kconfig
> @@ -128,6 +128,20 @@ config DM_PMIC_FAN53555
>  	  The driver implements read/write operations for use with the FAN53555
>  	  regulator driver and binds the regulator driver to its node.
>  
> +config SPL_DM_PMIC_FAN53555
> +	bool "Enable support for OnSemi FAN53555 in SPL"
> +	depends on SPL_DM_REGULATOR && SPL_DM_I2C
> +	select SPL_DM_REGULATOR_FAN53555
> +	help
> +	  This config enables implementation of driver-model PMIC
> +	  uclass features for the FAN53555 regulator. The FAN53555 is
> +	  a (family of) single-output regulators that supports
> +	  transitioning between two different output voltages based on
> +	  an voltage selection pin.
> +
> +	  The driver implements read/write operations for use with the FAN53555
> +	  regulator driver and binds the regulator driver to its node.
> +
>  config DM_PMIC_MP5416
>  	bool "Enable Driver Model for PMIC MP5416"
>  	help
> diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
> index e1922df00f..401cde32cf 100644
> --- a/drivers/power/pmic/Makefile
> +++ b/drivers/power/pmic/Makefile
> @@ -4,7 +4,7 @@
>  # Lukasz Majewski <l.majewski@samsung.com>
>  
>  obj-$(CONFIG_$(SPL_TPL_)DM_PMIC) += pmic-uclass.o
> -obj-$(CONFIG_DM_PMIC_FAN53555) += fan53555.o
> +obj-$(CONFIG_$(SPL_)DM_PMIC_FAN53555) += fan53555.o
>  obj-$(CONFIG_$(SPL_)DM_PMIC_DA9063) += da9063.o
>  obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o
>  obj-$(CONFIG_DM_PMIC_MAX8998) += max8998.o
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] power: pmic/fan53555: allow dm be omitted by SPL
  2021-11-12 14:10 ` [PATCH] power: pmic/fan53555: allow dm be omitted by SPL Quentin Schulz
  2021-11-13 14:19   ` Simon Glass
  2021-11-15  8:34   ` Jaehoon Chung
@ 2021-12-24  6:52   ` Kever Yang
  2 siblings, 0 replies; 4+ messages in thread
From: Kever Yang @ 2021-12-24  6:52 UTC (permalink / raw)
  To: Quentin Schulz
  Cc: jh80.chung, andre.przywara, samuel, igor.opaniuk, stephan, sjg,
	tharvey, u-boot, Quentin Schulz


On 2021/11/12 下午10:10, Quentin Schulz wrote:
> Allow the dm driver be omitted by SPL.
>
> Cc: Quentin Schulz <foss+u-boot@0leil.net>
> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   drivers/power/pmic/Kconfig  | 14 ++++++++++++++
>   drivers/power/pmic/Makefile |  2 +-
>   2 files changed, 15 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
> index b9fda428df..ce0adb18a4 100644
> --- a/drivers/power/pmic/Kconfig
> +++ b/drivers/power/pmic/Kconfig
> @@ -128,6 +128,20 @@ config DM_PMIC_FAN53555
>   	  The driver implements read/write operations for use with the FAN53555
>   	  regulator driver and binds the regulator driver to its node.
>   
> +config SPL_DM_PMIC_FAN53555
> +	bool "Enable support for OnSemi FAN53555 in SPL"
> +	depends on SPL_DM_REGULATOR && SPL_DM_I2C
> +	select SPL_DM_REGULATOR_FAN53555
> +	help
> +	  This config enables implementation of driver-model PMIC
> +	  uclass features for the FAN53555 regulator. The FAN53555 is
> +	  a (family of) single-output regulators that supports
> +	  transitioning between two different output voltages based on
> +	  an voltage selection pin.
> +
> +	  The driver implements read/write operations for use with the FAN53555
> +	  regulator driver and binds the regulator driver to its node.
> +
>   config DM_PMIC_MP5416
>   	bool "Enable Driver Model for PMIC MP5416"
>   	help
> diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
> index e1922df00f..401cde32cf 100644
> --- a/drivers/power/pmic/Makefile
> +++ b/drivers/power/pmic/Makefile
> @@ -4,7 +4,7 @@
>   # Lukasz Majewski <l.majewski@samsung.com>
>   
>   obj-$(CONFIG_$(SPL_TPL_)DM_PMIC) += pmic-uclass.o
> -obj-$(CONFIG_DM_PMIC_FAN53555) += fan53555.o
> +obj-$(CONFIG_$(SPL_)DM_PMIC_FAN53555) += fan53555.o
>   obj-$(CONFIG_$(SPL_)DM_PMIC_DA9063) += da9063.o
>   obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o
>   obj-$(CONFIG_DM_PMIC_MAX8998) += max8998.o



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-24  6:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20211112141159epcas1p11a8253360265a1b75c80cabcc2994816@epcas1p1.samsung.com>
2021-11-12 14:10 ` [PATCH] power: pmic/fan53555: allow dm be omitted by SPL Quentin Schulz
2021-11-13 14:19   ` Simon Glass
2021-11-15  8:34   ` Jaehoon Chung
2021-12-24  6:52   ` Kever Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.