From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 30 Jun 2020 08:43:15 -0400 Subject: [PATCH 1/8] dm: soc: Introduce UCLASS_SOC for SOC ID and attribute matching In-Reply-To: <20200630043853.13276-2-d-gerlach@ti.com> References: <20200630043853.13276-1-d-gerlach@ti.com> <20200630043853.13276-2-d-gerlach@ti.com> Message-ID: <20200630124315.GE1306@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jun 29, 2020 at 11:38:46PM -0500, Dave Gerlach wrote: > 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. > > Signed-off-by: Dave Gerlach > --- > drivers/soc/Kconfig | 9 +++ > drivers/soc/Makefile | 1 + > drivers/soc/soc-uclass.c | 102 ++++++++++++++++++++++++++++++ > include/dm/uclass-id.h | 1 + > include/soc.h | 132 +++++++++++++++++++++++++++++++++++++++ > 5 files changed, 245 insertions(+) > create mode 100644 drivers/soc/soc-uclass.c > create mode 100644 include/soc.h Can we please get a write-up in doc/driver-model/ as well for this? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: