
Hi All,
Gentle Ping. Please let me know, are we happy with this patch series?
The patch series[1] is blocked by this. [1] http://u-boot.10912.n7.nabble.com/PATCH-v7-0-4-Add-CPU-identification-suppor...
Cheers, Biju
-----Original Message----- From: Biju Das biju.das.jz@bp.renesas.com Sent: 16 November 2020 13:04 To: Simon Glass sjg@chromium.org; Marek Vasut marek.vasut+renesas@gmail.com Cc: Biju Das biju.das.jz@bp.renesas.com; Dave Gerlach <d- gerlach@ti.com>; Prabhakar Mahadev Lad <prabhakar.mahadev- lad.rj@bp.renesas.com>; u-boot@lists.denx.de; Nobuhiro Iwamatsu iwamatsu@nigauri.org; Chris Paterson Chris.Paterson2@renesas.com Subject: [PATCH v4 0/4] Add Renesas SoC identification driver support
This patch series aims to support Renesas SoC identification driver.
Added a helper function of_match_node to find the matching of_match structure. This helper function can be used to replace the following code in u-boot [1] and [2]
[1] https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Felixir.b ootlin.com%2Fu- boot%2Flatest%2Fsource%2Fdrivers%2Fserial%2Fserial_uniphier.c%23L129&d ata=04%7C01%7Cbiju.das.jz%40bp.renesas.com%7Ccc01f2630adf48bdb3c408d88a306 996%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C637411287820999264%7CUnkn own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX VCI6Mn0%3D%7C1000&sdata=YmZ52jZrOQqXhvbflvy5XWnXsfb7FIRgxpY1XhBI6YE%3D &reserved=0 [2] https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Felixir.b ootlin.com%2Fu- boot%2Flatest%2Fsource%2Fdrivers%2Fusb%2Fphy%2Frockchip_usb2_phy.c%23L77&a mp;data=04%7C01%7Cbiju.das.jz%40bp.renesas.com%7Ccc01f2630adf48bdb3c408d88 a306996%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C637411287820999264%7C Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi LCJXVCI6Mn0%3D%7C1000&sdata=N2wF3aZNCkN7TQlA%2FbhV3ggDjZdYVjjS%2F0tOFf j%2BkOE%3D&reserved=0
Also added soc_id attribute support in UCLASS_SOC which is required for Renesas SoC identification driver similar to mainline linux.
v3->v4
- Added Simon's Rb tag
- Updated patch description for SoC identification using soc_id
- Updated probe function of Renesas SoC identification driver.
Biju Das (4): dm: core: Add of_match_node helper function soc: Fix comments from SOC to SoC dm: soc: Add SoC id for attribute matching dm: soc: SoC identification driver for Renesas SoC's
drivers/core/device.c | 21 ++++ drivers/soc/Kconfig | 7 ++ drivers/soc/Makefile | 1 + drivers/soc/soc-uclass.c | 19 ++- drivers/soc/soc_renesas.c | 244 ++++++++++++++++++++++++++++++++++++++ drivers/soc/soc_sandbox.c | 8 ++ include/dm/device.h | 13 ++ include/soc.h | 39 +++++- test/dm/core.c | 31 +++++ test/dm/soc.c | 8 ++ 10 files changed, 384 insertions(+), 7 deletions(-) create mode 100644 drivers/soc/soc_renesas.c
-- 2.17.1