Skip to content

soc: ti: add k3 platforms chipid module driver

Grygorii Strashko linux-arm-kernel linux-devicetree lkml 4 versions – Applied

Status from this message: I merged a version of this driver from Santosh's pull request into the

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 5 repliesApplied
  2. v32 patches 4 repliesSuperseded
  3. v22 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches4 repliesSuperseded

Changes in v4 from the cover letter

- convert to platform_driver as suggested by Arnd Bergmann <[email protected]>

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: soc: ti: add binding for k3 platforms chipid moduleDocumentation/devicetree/bindings/soc/ti/k3-socinfo.yaml+40 -01 reply
2/2soc: ti: add k3 platforms chipid module driverdrivers/soc/ti/Kconfig drivers/soc/ti/Makefile drivers/soc/ti/k3-socinfo.c+163 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLokesh VutlaTero KristoRob Herring
1/2R-b R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/2] 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

Changes in v4:
- convert to platform_driver as suggested by Arnd Bergmann <[email protected]>

Changes in v3:
- add handling of kasprintf() fail

Changes in v2:
- pr_debug() replaced with pr_info() to show SoC info on init
- minor format change
- split series on driver and platform changes
- add Reviewed-by: Lokesh Vutla <[email protected]>

v3: https://lkml.org/lkml/2020/5/8/357
v2: https://lkml.org/lkml/2020/5/5/1193
v1: https://lwn.net/Articles/818577/

Grygorii Strashko (2):
dt-bindings: soc: ti: add binding for k3 platforms chipid module
soc: ti: add k3 platforms chipid module driver

 .../bindings/soc/ti/k3-socinfo.yaml           |  40 +++++
 drivers/soc/ti/Kconfig                        |  10 ++
 drivers/soc/ti/Makefile                       |   1 +
 drivers/soc/ti/k3-socinfo.c                   | 152 ++++++++++++++++++
 4 files changed, 203 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml
 create mode 100644 drivers/soc/ti/k3-socinfo.c
Signature · 1 line
2.17.1