]> git.baikalelectronics.ru Git - kernel.git/commit
soc: sunxi: sram: Enable EMAC clock access for H3 variant
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Wed, 5 Dec 2018 09:24:33 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 5 Dec 2018 10:53:41 +0000 (11:53 +0100)
commit12e77bb50290617f79b172fef3d8a8a29fe18071
tree16a698769c1ef0108c2d29bb9b0107a6069a18ea
parent4059b892e47f2f98a2e7834138be6d4e4a2baad8
soc: sunxi: sram: Enable EMAC clock access for H3 variant

Just like the A64 and H5, the H3 SoC uses the system control block
to enable the EMAC clock.

Add a variant structure definition for the H3 and use it over the A10
one. This will allow using the H3-specific binding for the syscon node
attached to the EMAC instead of the generic syscon binding.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/soc/sunxi/sunxi_sram.c