All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] soc: amlogic: Add Meson6/8/8b SoC Information driver
@ 2017-09-23 14:14 ` Martin Blumenstingl
  0 siblings, 0 replies; 18+ messages in thread
From: Martin Blumenstingl @ 2017-09-23 14:14 UTC (permalink / raw)
  To: linus-amlogic

The 32-bit Amlogic SoC have some registers which contain some information
the SoC's major and version, as well as a "major version".
This patchset adds support for this register decoding and exposing with the
SoC bus infrastructure, with dt-bindings and DT node.

This is inspired by Neil's Meson GX socinfo driver, see [0]

All information was taken from Amlogic's 3.10 GPL kernel sources because
the public S805 datasheet from Hardkernel does not contain any relevant
information for these register blocks.


[0] http://lists.infradead.org/pipermail/linux-amlogic/2017-June/004187.html

Martin Blumenstingl (3):
  dt-bindings: Amlogic: add documentation for the SoC info register
    areas
  soc: amlogic: Add Meson6/Meson8/Meson8b/Meson8m2 SoC Information
    driver
  ARM: dts: meson: add SoC information nodes

 .../devicetree/bindings/arm/amlogic/analog-top.txt |  20 +++
 .../devicetree/bindings/arm/amlogic/assist.txt     |  17 ++
 .../devicetree/bindings/arm/amlogic/bootrom.txt    |  17 ++
 arch/arm/boot/dts/meson.dtsi                       |  10 ++
 arch/arm/boot/dts/meson8.dtsi                      |   5 +
 arch/arm/boot/dts/meson8b.dtsi                     |   5 +
 drivers/soc/amlogic/Kconfig                        |  10 ++
 drivers/soc/amlogic/Makefile                       |   1 +
 drivers/soc/amlogic/meson-mx-socinfo.c             | 175 +++++++++++++++++++++
 9 files changed, 260 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/amlogic/analog-top.txt
 create mode 100644 Documentation/devicetree/bindings/arm/amlogic/assist.txt
 create mode 100644 Documentation/devicetree/bindings/arm/amlogic/bootrom.txt
 create mode 100644 drivers/soc/amlogic/meson-mx-socinfo.c

-- 
2.14.1

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

end of thread, other threads:[~2017-10-06 22:38 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-23 14:14 [PATCH 0/3] soc: amlogic: Add Meson6/8/8b SoC Information driver Martin Blumenstingl
2017-09-23 14:14 ` Martin Blumenstingl
2017-09-23 14:14 ` Martin Blumenstingl
2017-09-23 14:14 ` [PATCH 1/3] dt-bindings: Amlogic: add documentation for the SoC info register areas Martin Blumenstingl
2017-09-23 14:14   ` Martin Blumenstingl
2017-09-23 14:14   ` Martin Blumenstingl
2017-10-05 19:52   ` Rob Herring
2017-10-05 19:52     ` Rob Herring
2017-10-05 19:52     ` Rob Herring
2017-09-23 14:14 ` [PATCH 2/3] soc: amlogic: Add Meson6/Meson8/Meson8b/Meson8m2 SoC Information driver Martin Blumenstingl
2017-09-23 14:14   ` Martin Blumenstingl
2017-09-23 14:14   ` Martin Blumenstingl
2017-09-23 14:14 ` [PATCH 3/3] ARM: dts: meson: add SoC information nodes Martin Blumenstingl
2017-09-23 14:14   ` Martin Blumenstingl
2017-09-23 14:14   ` Martin Blumenstingl
2017-10-06 22:38 ` [PATCH 0/3] soc: amlogic: Add Meson6/8/8b SoC Information driver Kevin Hilman
2017-10-06 22:38   ` Kevin Hilman
2017-10-06 22:38   ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.