[PATCH net-next v2 5/5] net-next: dsa: add dsa support for Mediatek MT7530 switch

Felix Fietkau nbd at nbd.name
Thu Mar 23 07:09:06 PDT 2017


On 2017-03-23 09:06, Sean Wang wrote:
> Hi Andrew,
> 
> The purpose for the regmap table registered is to 
> 
> provide a way which helps us to look up a specific 
> 
> register on the switch through regmap-debugfs.
> 
> 
> And not all ranges of register is defined
> 
> so I only include the meaningful ones in a sparse way 
> 
> for the table.
I think in that case it might be nice to make regmap support optional in
order to avoid pulling in bloat on platforms that don't need it.

- Felix





More information about the Linux-mediatek mailing list