commit | f78a26f55b2438c439609fc90b473f7f08f5b697 | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@opensource.se> | Wed Dec 14 01:01:05 2011 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Jan 09 09:33:55 2012 +0900 |
tree | 40359c326c23ccbc4c1f014f04aa60b97db6994e | |
parent | 18925e118b3b4d55b45711218cd3c3c4360e5cd1 [diff] |
sh: pfc: Variable bitfield width config register support Add support for variable config reg hardware by adding the macro PINMUX_CFG_REG_VAR(). The width of each bitfield needs to be passed to the macro, and the correct space must be consumed by each bitfield in the enum table following the macro. Data registers still need to have fixed bitfields. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>