linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Allwinner A64 SRAM C (DE2 SRAM) support
@ 2017-08-09  8:56 Icenowy Zheng
  2017-08-09  8:56 ` [PATCH 1/4] dt-bindings: add binding for Allwinner A64 SRAM controller and SRAM C Icenowy Zheng
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Icenowy Zheng @ 2017-08-09  8:56 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-08-18  6:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-09  8:56 [PATCH 0/4] Allwinner A64 SRAM C (DE2 SRAM) support Icenowy Zheng
2017-08-09  8:56 ` [PATCH 1/4] dt-bindings: add binding for Allwinner A64 SRAM controller and SRAM C Icenowy Zheng
2017-08-14  9:37   ` [linux-sunxi] " Chen-Yu Tsai
2017-08-17 15:10   ` Rob Herring
2017-08-09  8:56 ` [PATCH 2/4] drivers: soc: sunxi: fix error processing on base address when claiming Icenowy Zheng
2017-08-09  9:16   ` [linux-sunxi] " Chen-Yu Tsai
2017-08-18  6:21   ` Chen-Yu Tsai
2017-08-18  6:23     ` Icenowy Zheng
2017-08-18  6:29       ` Chen-Yu Tsai
2017-08-09  8:56 ` [PATCH 3/4] drivers: soc: sunxi: add support for remapping func value to reg value Icenowy Zheng
2017-08-14  9:46   ` [linux-sunxi] " Chen-Yu Tsai
2017-08-09  8:56 ` [PATCH 4/4] drivers: soc: sunxi: add support for A64 and its SRAM C Icenowy Zheng
2017-08-14  9:48   ` [linux-sunxi] " Chen-Yu Tsai
2017-08-18  6:19     ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).