[PATCH v5 2/3] pwm: rp1: Add RP1 PWM controller driver

Uwe Kleine-König ukleinek at kernel.org
Sun Jun 14 23:37:28 PDT 2026


On Sat, Jun 13, 2026 at 01:27:49PM +0100, Julian Braha wrote:
> On 6/12/26 15:01, Andrea della Porta wrote:
> 
> > +config PWM_RASPBERRYPI_RP1
> > +	tristate "RP1 PWM support"
> > +	depends on MISC_RP1 || COMPILE_TEST
> > +	depends on HAS_IOMEM
> > +	select REGMAP_MMIO
> > +	select MFD_SYSCON
> > +	help
> > +	  PWM framework driver for Raspberry Pi RP1 controller.
> > +
> 
> Hi Andrea,
> 
> Selecting REGMAP_MMIO is unnecessary here since you're already selecting
> MFD_SYSCON.

IMHO selecting REGMAP_MMIO explicitly here is fine because at least to
me it's not obvious that MFD_SYSCON enforces REGMAP_MMIO.

Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260615/014e4718/attachment.sig>


More information about the linux-arm-kernel mailing list