Linux PWM subsystem development
 help / color / mirror / Atom feed
* [PATCH v1] pwm: microchip-core: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE
@ 2023-09-18 10:23 Conor Dooley
  2023-09-18 13:03 ` Uwe Kleine-König
  2023-10-06  9:05 ` Thierry Reding
  0 siblings, 2 replies; 4+ messages in thread
From: Conor Dooley @ 2023-09-18 10:23 UTC (permalink / raw)
  To: linux-pwm; +Cc: conor, conor.dooley, Thierry Reding, Uwe Kleine-König

As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the
use of such symbols on other architectures, convert the Microchip FPGA
PWM driver to use the new symbol.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
CC: Thierry Reding <thierry.reding@gmail.com>
CC: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
CC: linux-pwm@vger.kernel.org
---
 drivers/pwm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 8ebcddf91f7b..502d041d4a11 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -407,7 +407,7 @@ config PWM_MEDIATEK
 
 config PWM_MICROCHIP_CORE
 	tristate "Microchip corePWM PWM support"
-	depends on SOC_MICROCHIP_POLARFIRE || COMPILE_TEST
+	depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST
 	depends on HAS_IOMEM && OF
 	help
 	  PWM driver for Microchip FPGA soft IP core.
-- 
2.40.1


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

* Re: [PATCH v1] pwm: microchip-core: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE
  2023-09-18 10:23 [PATCH v1] pwm: microchip-core: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE Conor Dooley
@ 2023-09-18 13:03 ` Uwe Kleine-König
  2023-09-19  9:10   ` Conor Dooley
  2023-10-06  9:05 ` Thierry Reding
  1 sibling, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2023-09-18 13:03 UTC (permalink / raw)
  To: Conor Dooley; +Cc: linux-pwm, conor, Thierry Reding

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

Hello Conor,

On Mon, Sep 18, 2023 at 11:23:27AM +0100, Conor Dooley wrote:
> As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the
> use of such symbols on other architectures, convert the Microchip FPGA
> PWM driver to use the new symbol.
> 
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> CC: Thierry Reding <thierry.reding@gmail.com>
> CC: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> CC: linux-pwm@vger.kernel.org
> ---
>  drivers/pwm/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index 8ebcddf91f7b..502d041d4a11 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -407,7 +407,7 @@ config PWM_MEDIATEK
>  
>  config PWM_MICROCHIP_CORE
>  	tristate "Microchip corePWM PWM support"
> -	depends on SOC_MICROCHIP_POLARFIRE || COMPILE_TEST
> +	depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST
>  	depends on HAS_IOMEM && OF
>  	help
>  	  PWM driver for Microchip FPGA soft IP core.

that seems to be in line with commit 444c3dbdabd4 ("RISC-V: introduce
ARCH_FOO kconfig aliases for SOC_FOO symbols")

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [PATCH v1] pwm: microchip-core: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE
  2023-09-18 13:03 ` Uwe Kleine-König
@ 2023-09-19  9:10   ` Conor Dooley
  0 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2023-09-19  9:10 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Conor Dooley, linux-pwm, Thierry Reding

[-- Attachment #1: Type: text/plain, Size: 1435 bytes --]

On Mon, Sep 18, 2023 at 03:03:22PM +0200, Uwe Kleine-König wrote:
> Hello Conor,
> 
> On Mon, Sep 18, 2023 at 11:23:27AM +0100, Conor Dooley wrote:
> > As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the
> > use of such symbols on other architectures, convert the Microchip FPGA
> > PWM driver to use the new symbol.
> > 
> > Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
> > ---
> > CC: Thierry Reding <thierry.reding@gmail.com>
> > CC: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> > CC: linux-pwm@vger.kernel.org
> > ---
> >  drivers/pwm/Kconfig | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> > index 8ebcddf91f7b..502d041d4a11 100644
> > --- a/drivers/pwm/Kconfig
> > +++ b/drivers/pwm/Kconfig
> > @@ -407,7 +407,7 @@ config PWM_MEDIATEK
> >  
> >  config PWM_MICROCHIP_CORE
> >  	tristate "Microchip corePWM PWM support"
> > -	depends on SOC_MICROCHIP_POLARFIRE || COMPILE_TEST
> > +	depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST
> >  	depends on HAS_IOMEM && OF
> >  	help
> >  	  PWM driver for Microchip FPGA soft IP core.
> 
> that seems to be in line with commit 444c3dbdabd4 ("RISC-V: introduce
> ARCH_FOO kconfig aliases for SOC_FOO symbols")

Ah, now that you mention it, it would probably be a good idea for me to
point out that commit in future submissions. Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH v1] pwm: microchip-core: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE
  2023-09-18 10:23 [PATCH v1] pwm: microchip-core: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE Conor Dooley
  2023-09-18 13:03 ` Uwe Kleine-König
@ 2023-10-06  9:05 ` Thierry Reding
  1 sibling, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2023-10-06  9:05 UTC (permalink / raw)
  To: linux-pwm, Conor Dooley; +Cc: conor, Uwe Kleine-König


On Mon, 18 Sep 2023 11:23:27 +0100, Conor Dooley wrote:
> As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the
> use of such symbols on other architectures, convert the Microchip FPGA
> PWM driver to use the new symbol.
> 
> 

Applied, thanks!

[1/1] pwm: microchip-core: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE
      (no commit info)

Best regards,
-- 
Thierry Reding <thierry.reding@gmail.com>

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

end of thread, other threads:[~2023-10-06  9:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-18 10:23 [PATCH v1] pwm: microchip-core: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE Conor Dooley
2023-09-18 13:03 ` Uwe Kleine-König
2023-09-19  9:10   ` Conor Dooley
2023-10-06  9:05 ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox