On Wed, Aug 02, 2017 at 09:51:29PM +0200, Wolfram Sang wrote: > On Wed, Aug 02, 2017 at 02:48:42PM +0200, Simon Horman wrote: > > Provide a whitelist for Gen3 SoC ES versions for both the SYS DMAC and > > internal DMAC variants of the SDHI driver. This is to allow drivers to > > only initialise for Gen3 SoC ES versions for which they are the appropriate > > DMAC implementation. Currently internal DMAC is the appropriate > > implementation for all supported Gen3 SoC ES versions. > > > > Signed-off-by: Simon Horman <horms+renesas@xxxxxxxxxxxx> > > Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> > > > +/* > > + * Whitelist of specific R-Car Gen3 SoC ES versions to use this DMAC > > + * implementation. Currently empty as all supported ES versions use > > + * the internal DMAC. > > + */ > > +static const struct soc_device_attribute gen3_soc_whitelist[] = { > > + { /* sentinel */ } > > +}; > > It may look strange to add an empty list, but I think it is worth it. We > have good reasons to believe the soc_device_match distinction is > necessary and I think it is good to be clear from the beginning how we > want to deal with the differences. Hi Wolfram, thanks for adding some colour to the motivation for this change. I agree with your statements above.