devicetree.vger.kernel.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
       [not found] ` <20170809085627.32687-1-icenowy-h8G6r0blFSE@public.gmane.org>
  2017-08-09  8:56 ` [PATCH 3/4] drivers: soc: sunxi: add support for remapping func value to reg value Icenowy Zheng
  0 siblings, 2 replies; 14+ messages in thread
From: Icenowy Zheng @ 2017-08-09  8:56 UTC (permalink / raw)
  To: Rob Herring, Maxime Ripard, Chen-Yu Tsai
  Cc: devicetree, linux-arm-kernel, linux-kernel, linux-sunxi,
	Icenowy Zheng

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
     [not found] ` <20170809085627.32687-1-icenowy-h8G6r0blFSE@public.gmane.org>
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
     [not found]     ` <20170809085627.32687-2-icenowy-h8G6r0blFSE@public.gmane.org>
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
     [not found]     ` <20170809085627.32687-3-icenowy-h8G6r0blFSE@public.gmane.org>
2017-08-09  9:16       ` Chen-Yu Tsai
2017-08-18  6:21       ` Chen-Yu Tsai
     [not found]         ` <CAGb2v67F6xUOE9sJsBgpOn2kRoG2S-aoWrtTsjON64o2pzeXjA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-18  6:23           ` Icenowy Zheng
     [not found]             ` <94408FC0-D7F8-4050-936E-F350029DAB9F-h8G6r0blFSE@public.gmane.org>
2017-08-18  6:29               ` Chen-Yu Tsai
2017-08-09  8:56   ` [PATCH 4/4] drivers: soc: sunxi: add support for A64 and its SRAM C Icenowy Zheng
     [not found]     ` <20170809085627.32687-5-icenowy-h8G6r0blFSE@public.gmane.org>
2017-08-14  9:48       ` [linux-sunxi] " Chen-Yu Tsai
     [not found]         ` <CAGb2v66RnXDbL7OJfOAgeXPJSFZwzgfGbnB108vX-+OO_0xiWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-18  6:19           ` 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
     [not found]   ` <20170809085627.32687-4-icenowy-h8G6r0blFSE@public.gmane.org>
2017-08-14  9:46     ` [linux-sunxi] " 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).