[PATCH 0/4] Allwinner A64 SRAM C (DE2 SRAM) support
Icenowy Zheng
icenowy at aosc.io
Wed Aug 9 01:56:23 PDT 2017
The DE2 in Allwinner A64 SoC requires the SRAM C to be claimed to work.
This patchset adds the support of SRAM C in A64 for the sunxi-sram driver.
As the SRAM C controlling bit is a little different with other peripherals'
SRAM controlling bit (inverted), a function value to register value
remapping is added, which is also useful for the SRAM C1 (VE SRAM) on some
SoCs.
Patch 1 is the device tree binding patch.
Patch 2 is a fix for the usage of the DE2 SRAM -- as it's claimed by a
clock driver, and kernel are trying to probe the DE2 clock driver before
probing sunxi-sram driver; this patch fixed probe defering when claiming
SRAM region.
Patch 3 adds the remapping code.
Patch 4 adds necessary codes for A64 SRAM C.
Icenowy Zheng (4):
dt-bindings: add binding for Allwinner A64 SRAM controller and SRAM C
drivers: soc: sunxi: fix error processing on base address when
claiming
drivers: soc: sunxi: add support for remapping func value to reg value
drivers: soc: sunxi: add support for A64 and its SRAM C
.../devicetree/bindings/sram/sunxi-sram.txt | 9 +++-
drivers/soc/sunxi/sunxi_sram.c | 57 ++++++++++++++++++----
2 files changed, 55 insertions(+), 11 deletions(-)
--
2.13.0
More information about the linux-arm-kernel
mailing list