]> git.baikalelectronics.ru Git - kernel.git/commit
soc: sunxi: sram: Add support for more than one EMAC clock
authorAndre Przywara <andre.przywara@arm.com>
Wed, 27 Jan 2021 17:24:48 +0000 (17:24 +0000)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 28 Jan 2021 10:19:47 +0000 (11:19 +0100)
commit9117d0c975b8e1596320c9f21f8ba9b9ecc79cbd
tree3fa3a1e773f0683111eb32c9eaced68e56b16afc
parent59657d55d1a04fa5d50f96487c96c1d82f02a7f6
soc: sunxi: sram: Add support for more than one EMAC clock

The Allwinner H616 adds a second EMAC clock register at offset 0x34, for
controlling the second EMAC in this chip.

Allow to extend the regmap in this case, to cover more than the current
4 bytes exported.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210127172500.13356-9-andre.przywara@arm.com
drivers/soc/sunxi/sunxi_sram.c