All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Add support for Actions Semi Owl socinfo
@ 2021-03-30 13:48 ` Cristian Ciocaltea
  0 siblings, 0 replies; 48+ messages in thread
From: Cristian Ciocaltea @ 2021-03-30 13:48 UTC (permalink / raw)
  To: Rob Herring, Andreas Färber, Manivannan Sadhasivam
  Cc: devicetree, linux-arm-kernel, linux-actions, linux-kernel

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

-- 
2.31.1


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

end of thread, other threads:[~2021-04-02 19:45 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 13:48 [PATCH v2 0/6] Add support for Actions Semi Owl socinfo Cristian Ciocaltea
2021-03-30 13:48 ` Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 1/6] dt-bindings: reserved-memory: Add Owl SoC serial number binding Cristian Ciocaltea
2021-03-30 13:48   ` Cristian Ciocaltea
2021-04-01 17:07   ` Rob Herring
2021-04-01 17:07     ` Rob Herring
2021-04-01 17:40     ` Cristian Ciocaltea
2021-04-01 17:40       ` Cristian Ciocaltea
2021-04-02 18:06       ` Manivannan Sadhasivam
2021-04-02 18:06         ` Manivannan Sadhasivam
2021-04-02 19:44         ` Cristian Ciocaltea
2021-04-02 19:44           ` Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 2/6] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding Cristian Ciocaltea
2021-03-30 13:48   ` Cristian Ciocaltea
2021-04-01 17:08   ` Rob Herring
2021-04-01 17:08     ` Rob Herring
2021-04-01 17:57     ` Cristian Ciocaltea
2021-04-01 17:57       ` Cristian Ciocaltea
2021-04-02 18:04   ` Manivannan Sadhasivam
2021-04-02 18:04     ` Manivannan Sadhasivam
2021-04-02 19:25     ` Cristian Ciocaltea
2021-04-02 19:25       ` Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 3/6] soc: actions: Add Actions Semi Owl socinfo driver Cristian Ciocaltea
2021-03-30 13:48   ` Cristian Ciocaltea
2021-04-02 18:16   ` Manivannan Sadhasivam
2021-04-02 18:16     ` Manivannan Sadhasivam
2021-04-02 19:36     ` Cristian Ciocaltea
2021-04-02 19:36       ` Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 4/6] arm: dts: owl-s500: Add reserved-memory range for Owl SoC serial number Cristian Ciocaltea
2021-03-30 13:48   ` Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 5/6] arm: dts: owl-s500: Add socinfo support Cristian Ciocaltea
2021-03-30 13:48   ` Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 6/6] MAINTAINERS: Add entries for Owl reserved-memory and socinfo bindings Cristian Ciocaltea
2021-03-30 13:48   ` Cristian Ciocaltea
2021-04-01  5:24 ` [PATCH v2 0/6] Add support for Actions Semi Owl socinfo Manivannan Sadhasivam
2021-04-01  5:24   ` Manivannan Sadhasivam
2021-04-01  9:40   ` Cristian Ciocaltea
2021-04-01  9:40     ` Cristian Ciocaltea
2021-04-01 10:27     ` Manivannan Sadhasivam
2021-04-01 10:27       ` Manivannan Sadhasivam
2021-04-01 10:49       ` Andreas Färber
2021-04-01 10:49         ` Andreas Färber
2021-04-01 10:58         ` Cristian Ciocaltea
2021-04-01 10:58           ` Cristian Ciocaltea
2021-04-01 11:07           ` Manivannan Sadhasivam
2021-04-01 11:07             ` Manivannan Sadhasivam
2021-04-01 13:19             ` Cristian Ciocaltea
2021-04-01 13:19               ` Cristian Ciocaltea

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.