On Aug 10, Krzysztof Kozlowski wrote: > On 10/08/2024 06:48, Lorenzo Bianconi wrote: > > + > > +required: > > + - compatible > > + - reg > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + pwm@1fbf0224 { > > + compatible = "airoha,en7581-pwm"; > > + reg = <0x1fbf0224 0x10>, > > + <0x1fbf0238 0x28>, > > + <0x1fbf0298 0x8>; > > These look almost continuous, so I wonder what's in between? E.g. > between 0x1fbf0224+10=0x1fbf0234 and 0x1fbf0238? register 0x1fbf0234 will be used by pinctrl driver (I will post it soon) for pwm muxing. The issue here is clock, pinctrl, gpio, pwm and (future) serdes registers are all interleaved in a non-regular fashion in the following IO space: - <0x1fa20000 - 0x1fa20384> - <0x1fb00000 - 0x1fb0096c> - <0x1fbf0200 - 0x1fbf02bc> So in order to avoid conflicts we need a sparse mapping. Regards, Lorenzo > > Rest looks good. > > Best regards, > Krzysztof >
Attachment:
signature.asc
Description: PGP signature