[PATCH 0/3] ARM: vt8500: Add runtime SoC version identification

Alexey Charkov posted 3 patches 9 months, 2 weeks ago
There is a newer version of this series
.../devicetree/bindings/soc/vt8500/via,scc-id.yaml |  37 +++++++
arch/arm/boot/dts/vt8500/vt8500.dtsi               |   5 +
arch/arm/boot/dts/vt8500/wm8505.dtsi               |   5 +
arch/arm/boot/dts/vt8500/wm8650.dtsi               |   5 +
arch/arm/boot/dts/vt8500/wm8750.dtsi               |   5 +
arch/arm/boot/dts/vt8500/wm8850.dtsi               |   5 +
drivers/soc/Kconfig                                |   1 +
drivers/soc/Makefile                               |   1 +
drivers/soc/vt8500/Kconfig                         |  20 ++++
drivers/soc/vt8500/Makefile                        |   2 +
drivers/soc/vt8500/wmt-socinfo.c                   | 121 +++++++++++++++++++++
11 files changed, 207 insertions(+)
[PATCH 0/3] ARM: vt8500: Add runtime SoC version identification
Posted by Alexey Charkov 9 months, 2 weeks ago
VIA/WonderMedia SoCs have a chip ID register, which is helpful for
selecting support for correct sets of hardware quirks at runtime, add
code for it.

This will enable the use of SOC bus match tables in individual drivers,
allowing for finer grained feature selection where device trees might
not provide full information about what the hardware expects (such as
with non-user-visible SoC revisions having different behavior within
the same user-visible SoC version).

This series intentionally omits the updates to MAINTAINERS, as there
are multiple VT8500 related submissions this cycle which may go via
different trees (and cause pain in sequencing the merges). It will be
updated separately in a single pass to cover everything VT8500 related.

Signed-off-by: Alexey Charkov <alchark@gmail.com>
---
Alexey Charkov (3):
      dt-bindings: soc: Add VIA/WonderMedia SoC identification
      soc: Add VIA/WonderMedia SoC identification driver
      ARM: dts: vt8500: add DT nodes for the system config ID register

 .../devicetree/bindings/soc/vt8500/via,scc-id.yaml |  37 +++++++
 arch/arm/boot/dts/vt8500/vt8500.dtsi               |   5 +
 arch/arm/boot/dts/vt8500/wm8505.dtsi               |   5 +
 arch/arm/boot/dts/vt8500/wm8650.dtsi               |   5 +
 arch/arm/boot/dts/vt8500/wm8750.dtsi               |   5 +
 arch/arm/boot/dts/vt8500/wm8850.dtsi               |   5 +
 drivers/soc/Kconfig                                |   1 +
 drivers/soc/Makefile                               |   1 +
 drivers/soc/vt8500/Kconfig                         |  20 ++++
 drivers/soc/vt8500/Makefile                        |   2 +
 drivers/soc/vt8500/wmt-socinfo.c                   | 121 +++++++++++++++++++++
 11 files changed, 207 insertions(+)
---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250423-wmt-soc-driver-de26d67bd4ef

Best regards,
-- 
Alexey Charkov <alchark@gmail.com>