Skip to content

Add support for Actions Semi Owl socinfo

Cristian Ciocaltea linux-arm-kernel linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 17 repliesIn review
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Exposed the memory range for reading the SoC serial number under /reserved-memory DT node, according to Rob's review; as a consequence added a new binding document (actions,owl-soc-serial.yaml) and updated owl-socinfo.yaml

- Replaced the unportable usage of system_serial_{low,high} globals with a public API to provide external access to SoC serial number parts (e.g. Owl Ethernet MAC driver will use this to generate a stable MAC address)

- Rebased patch series on v5.12-rc5

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: reserved-memory: Add Owl SoC serial number bindingDocumentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml+53 -04 replies
2/6dt-bindings: soc: actions: Add Actions Semi Owl socinfo bindingDocumentation/devicetree/bindings/soc/actions/owl-socinfo.yaml+57 -04 replies
3/6soc: actions: Add Actions Semi Owl socinfo driverdrivers/soc/actions/Kconfig drivers/soc/actions/Makefile drivers/soc/actions/owl-socinfo.c +1 more+181 -02 replies
4/6arm: dts: owl-s500: Add reserved-memory range for Owl SoC serial numberarch/arm/boot/dts/owl-s500.dtsi+11 -00 replies
5/6arm: dts: owl-s500: Add socinfo supportarch/arm/boot/dts/owl-s500.dtsi+1 -10 replies
6/6MAINTAINERS: Add entries for Owl reserved-memory and socinfo bindingsMAINTAINERS+2 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/6] Add support for Actions Semi Owl socinfo

This patchset adds a socinfo driver which provides information about Actions Semi Owl SoCs to user space via sysfs: machine, family, soc_id, serial_number.

Please note the serial number is currently available only for the S500 SoC variant.

This has been tested on the S500 SoC based RoseapplePi SBC.

Thanks,
Cristi

Changes in v2:
- Exposed the memory range for reading the SoC serial number under /reserved-memory DT node, according to Rob's review; as a consequence added a new binding document (actions,owl-soc-serial.yaml) and updated owl-socinfo.yaml

- Replaced the unportable usage of system_serial_{low,high} globals with a public API to provide external access to SoC serial number parts (e.g. Owl Ethernet MAC driver will use this to generate a stable MAC address)

- Rebased patch series on v5.12-rc5

Cristian Ciocaltea (6):
dt-bindings: reserved-memory: Add Owl SoC serial number binding
dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding
soc: actions: Add Actions Semi Owl socinfo driver
arm: dts: owl-s500: Add reserved-memory range for Owl SoC serial
number
arm: dts: owl-s500: Add socinfo support
MAINTAINERS: Add entries for Owl reserved-memory and socinfo bindings

 .../actions,owl-soc-serial.yaml               |  53 ++++++
 .../bindings/soc/actions/owl-socinfo.yaml     |  57 +++++++
 MAINTAINERS                                   |   2 +
 arch/arm/boot/dts/owl-s500.dtsi               |  13 +-
 drivers/soc/actions/Kconfig                   |   8 +
 drivers/soc/actions/Makefile                  |   1 +
 drivers/soc/actions/owl-socinfo.c             | 152 ++++++++++++++++++
 include/linux/soc/actions/owl-serial-number.h |  20 +++
 8 files changed, 305 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml
 create mode 100644 Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml
 create mode 100644 drivers/soc/actions/owl-socinfo.c
 create mode 100644 include/linux/soc/actions/owl-serial-number.h
Signature · 1 line
2.31.1