]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: simplify register access for PLL5 configuration
authorQuentin Schulz <quentin.schulz@bootlin.com>
Thu, 4 Oct 2018 12:22:02 +0000 (14:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 21:36:44 +0000 (14:36 -0700)
commitbe42416861827ffc2a322e1807e51c4530af86cc
tree884224b63a78ecceae05403539fd7a885104e59e
parente16c84d78060a9c184aed121529911295b1619ba
net: mscc: ocelot: simplify register access for PLL5 configuration

Since HSIO address space can be accessed by different drivers, let's
simplify the register address definitions so that it can be easily used
by all drivers and put the register address definition in the
include/soc/mscc/ocelot_hsio.h header file.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.h
drivers/net/ethernet/mscc/ocelot_regs.c
include/soc/mscc/ocelot_hsio.h