]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit15e53723ce2bcbe225be9c4bd9566ebb13f2298d
tree16a698769c1ef0108c2d29bb9b0107a6069a18ea
parent2a8c9f1203c6cda24dd032a1007bf3abd4e541f0
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