Introduce UCLASS_SOC
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 9 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Grygorii Strashko |
|---|---|
| Series | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/9] Introduce UCLASS_SOC
Quoted 69 lines · Dave Gerlach
Hi,
This is v2 of the series to introduce
UCLASS_SOCto be used for SOC identification and attribute matching based on SoC ID info. The first version of this series can be found at [1].Biggest change is the addition of a patch to add documentation for the SOC ID framework as requested by several folks. Otherwise, several comments were addressed in the patch to introduce the
UCLASS_SOCimplementation:* Renamed
soc_device_attributetosoc_attr.
* Added inline docs for same struct.
* Moved ifdef forCONFIG_SOC_DEVICEto only include functions
* Documented NULL return possiblity forsoc_device_match.And a change to SOC Revision macro naming in the
soc_ti_k3driver to use SR consistently instead of PG.Regards,
Dave[1] https://lists.denx.de/pipermail/u-boot/2020-June/418109.html
Dave Gerlach (9):
doc: Add new doc for soc ID driver model
dm: soc: IntroduceUCLASS_SOCfor SOC ID and attribute matching
test: Add tests for SOC uclass
dm: soc: Introducesoc_ti_k3driver for TI K3 SoCs
arm: dts: k3-am65-wakeup: Introduce chipid node
arm: dts: k3-j721e-mcu-wakeup: Introduce chipid node
configs:am65x_evm: EnableCONFIG_SOC_DEVICEand
CONFIG_SOC_DEVICE_TI_K3
configs:j721e_evm: EnableCONFIG_SOC_DEVICEand
CONFIG_SOC_DEVICE_TI_K3
arm: mach-k3: Use SOC driver for device identificationarch/arm/dts/k3-am65-wakeup.dtsi | 5 + arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 4 + .../k3-j721e-common-proc-board-u-boot.dtsi | 4 + arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 5 + arch/arm/mach-k3/common.c | 48 +++--- arch/arm/mach-k3/common.h | 6 - arch/arm/mach-k3/include/mach/hardware.h | 1 - arch/sandbox/dts/test.dts | 4 + configs/am65x_evm_a53_defconfig | 2 + configs/am65x_evm_r5_defconfig | 2 + configs/am65x_hs_evm_a53_defconfig | 2 + configs/am65x_hs_evm_r5_defconfig | 2 + configs/j721e_evm_a72_defconfig | 2 + configs/j721e_evm_r5_defconfig | 2 + configs/j721e_hs_evm_a72_defconfig | 2 + configs/j721e_hs_evm_r5_defconfig | 2 + configs/sandbox64_defconfig | 1 + configs/sandbox_defconfig | 1 + configs/sandbox_flattree_defconfig | 1 + configs/sandbox_spl_defconfig | 1 + doc/driver-model/index.rst | 1 + doc/driver-model/soc-framework.rst | 68 ++++++++ drivers/soc/Kconfig | 16 ++ drivers/soc/Makefile | 3 + drivers/soc/soc-uclass.c | 102 ++++++++++++ drivers/soc/soc_sandbox.c | 56 +++++++ drivers/soc/soc_ti_k3.c | 124 +++++++++++++++ include/dm/uclass-id.h | 1 + include/soc.h | 145 ++++++++++++++++++ test/dm/Makefile | 1 + test/dm/soc.c | 120 +++++++++++++++ 31 files changed, 698 insertions(+), 36 deletions(-)
Quoted 7 lines
create mode 100644
doc/driver-model/soc-framework.rstcreate mode 100644drivers/soc/soc-uclass.ccreate mode 100644drivers/soc/soc_sandbox.ccreate mode 100644drivers/soc/soc_ti_k3.ccreate mode 100644include/soc.h
create mode 100644test/dm/soc.c
Thank you.
Signature · 2 lines
Best regards, grygorii