[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200423180545.13707-1-grygorii.strashko@ti.com>
Date: Thu, 23 Apr 2020 21:05:40 +0300
From: Grygorii Strashko <grygorii.strashko@...com>
To: Dave Gerlach <d-gerlach@...com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Tero Kristo <t-kristo@...com>, Nishanth Menon <nm@...com>,
Rob Herring <robh+dt@...nel.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Lokesh Vutla <lokeshvutla@...com>
CC: Sekhar Nori <nsekhar@...com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
Grygorii Strashko <grygorii.strashko@...com>
Subject: [PATCH 0/5] soc: ti: add k3 platforms chipid module driver
Hi All,
This series introduces TI K3 Multicore SoC platforms chipid module driver
which provides identification support of the TI K3 SoCs (family, revision)
and register this information with the SoC bus. It is available under
/sys/devices/soc0/ for user space, and can be checked, where needed,
in Kernel using soc_device_match().
It is also required for introducing support for new revisions of
K3 AM65x/J721E SoCs.
Example J721E:
# cat /sys/devices/soc0/{machine,family,revision}
Texas Instruments K3 J721E SoC
J721E
SR1.0
Example AM65x:
# cat /sys/devices/soc0/{machine,family,revision}
Texas Instruments AM654 Base Board
AM65X
SR1.0
Grygorii Strashko (5):
dt-bindings: soc: ti: add binding for k3 platforms chipid module
soc: ti: add k3 platforms chipid module driver
arm64: arch_k3: enable chipid driver
arm64: dts: ti: k3-am65-wakeup: add k3 platforms chipid module node
arm64: dts: ti: k3-j721e-mcu-wakeup: add k3 platforms chipid module
node
.../bindings/soc/ti/k3-socinfo.yaml | 40 ++++++
arch/arm64/Kconfig.platforms | 1 +
arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi | 5 +
.../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 5 +
drivers/soc/ti/Kconfig | 10 ++
drivers/soc/ti/Makefile | 1 +
drivers/soc/ti/k3-socinfo.c | 135 ++++++++++++++++++
7 files changed, 197 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml
create mode 100644 drivers/soc/ti/k3-socinfo.c
--
2.17.1
Powered by blists - more mailing lists