Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1707166

[PATCH 0/4] Allwinner A64 SRAM C (DE2 SRAM) support

From Icenowy Zheng <icenowy@aosc.io>
Newsgroups linux.kernel
Subject [PATCH 0/4] Allwinner A64 SRAM C (DE2 SRAM) support
Date 2017-08-09 11:00 +0200
Message-ID <ucv0l-4EV-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] Allwinner A64 SRAM C (DE2 SRAM) support Icenowy Zheng <icenowy@aosc.io> - 2017-08-09 11:00 +0200
  [PATCH 2/4] drivers: soc: sunxi: fix error processing on base address when claiming Icenowy Zheng <icenowy@aosc.io> - 2017-08-09 11:00 +0200
    Re: [linux-sunxi] [PATCH 2/4] drivers: soc: sunxi: fix error  processing on base address when claiming Chen-Yu Tsai <wens@csie.org> - 2017-08-09 11:20 +0200

csiph-web