diff options
author | Dave Gerlach <d-gerlach@ti.com> | 2020-07-16 07:39:57 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-25 23:46:57 +0300 |
commit | 6d3b82df832908675fe4cf4c829779f3abc34999 (patch) | |
tree | 2c8be8def4d315905b9a1ac3b11881f081a85ed4 /drivers/soc/Kconfig | |
parent | 726eb121b8ba8a4bc6c58072e551ec93c09165ec (diff) | |
download | u-boot-6d3b82df832908675fe4cf4c829779f3abc34999.tar.xz |
dm: soc: Introduce UCLASS_SOC for SOC ID and attribute matching
Introduce UCLASS_SOC to be used for SOC identification and attribute
matching based on the SoC ID info. This allows drivers to be provided
for SoCs to retrieve SoC identifying information and also for matching
device attributes for selecting SoC specific data.
This is useful for other device drivers that may need different
parameters or quirks enabled depending on the specific device variant in
use.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Diffstat (limited to 'drivers/soc/Kconfig')
-rw-r--r-- | drivers/soc/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig index 7b4e4d6130..e715dfd017 100644 --- a/drivers/soc/Kconfig +++ b/drivers/soc/Kconfig @@ -1,5 +1,14 @@ menu "SOC (System On Chip) specific Drivers" +config SOC_DEVICE + bool "Enable SoC Device ID drivers using Driver Model" + help + This allows drivers to be provided for SoCs to help in identifying + the SoC in use and matching SoC attributes for selecting SoC + specific data. This is useful for other device drivers that may + need different parameters or quirks enabled depending on the + specific device variant in use. + source "drivers/soc/ti/Kconfig" endmenu |