Skip to content

ARM: sunxi: Enable syscon for the system controller

Maxime Ripard linux-arm-kernel linux-devicetree 1 version In review

Get series with b4
b4 am 20140505225517.GE9464@lukather

Versions newest first

  1. v1 Latest0 of 2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ARM: sunxi: Enable syscon for the system controller
Quoted 11 lines · Carlo Caione

The so called "system controller" in Allwinner A20 and A31 SoCs is multi-purpose controller that tries to add misc functionality to one memory region.
In these SoCs it controls the internal SRAM partitioning but it also includes registers for chip versioning and NMI control.
This patch adds the proper nodes in the DTS files and enable the syscon in the defconfig files.

Even though the system controller includes also register for managing the NMI controller, these register are not mapped in the syscon since they are directly used and mapped by the NMI controller itself.

Hmmm, what exactly do you want to achieve with this?

The NMI controller won't be able to use it, since it's initialized much earlier than syscon and regmap.

Moreover, the A31 doesn't seem to have this system controller, or at least this overlap.

And since on the A20, registers seem to have one usage only, so I guess we can just split this IP into several nodes, just like we did with the NMI.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140505/94cab0bb/attachment.sig>