Hi, On Mon, Mar 17, 2014 at 10:11:36AM -0700, Tony Lindgren wrote: > Hi, > > * Markus Pargmann <mpa@xxxxxxxxxxxxxx> [140315 06:12]: > > This driver extracts the hardware macid from the control module of > > am335x processors. It exports a function cpsw_ctrl_macid_read for cpsw > > to get the macid from within the processor. > > Few things have improved recently :) This can be now implemented > in a much cleaner way using regmap against the already defined syscon > node. > > For an example, see how the MMC PBIAS regulator is using regmap > in Linux next: > > 11469e0bb1 (regulator: add pbias regulator support) > cd042fe5c1 (ARM: dts: add pbias dt node) > > That avoids the problem of the tinkering with SoC specific registers > that belong to another device. > > So please update this series for regmap, let's not add more mapping > of system control module registers to the drivers. Thanks, I will have a look into this and update the series. Regards, Markus > > Regards, > > Tony > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: Digital signature