summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2019-02-28 00:26:51 +0530
committerJagan Teki <jagan@amarulasolutions.com>2019-04-16 16:29:01 +0530
commit695f6043c9d84df6feeaca46661123c9f570397d (patch)
tree787655e20903897cd0d2d6338e5f680b93a4b6a0 /doc
parent0ed8eaf1de2074c40d9a2d4d3d829fd6acee1597 (diff)
net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle
Unlike other Allwinner SoC's R40 GMAC clock control register is locate in CCU, but rest located via syscon itself. Since the phandle property for current code look for 'syscon' and it will grab the respective ccu or syscon base address based on DT property defined in respective SoC dtsi. So, use the existing 'syscon' code even for R40 for retrieving GMAC clock via CCU and update the register directly in sun8i_emac_set_syscon instead of writing it separately using ccm base. Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Lothar Felten <lothar.felten@gmail.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions