[PATCH v8 0/5] Add RZ/G3L USB2.0 host support
Biju <[email protected]>
| Newsgroups | org.infradead.lists.linux-phy,org.kernel.vger.linux-clk,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-renesas-soc |
|---|---|
| Message-ID | <[email protected]> |
From: Biju Das <[email protected]> Hi All, This patch series aims to add USB2.0 host support for the RZ/G3L SMARC EVK. The RZ/G3L USB PHY block is similar to RZ/G3S, but each port has an OTG controller, unlike RZ/G3S, which has an OTG controller only on port 1. This series migrates regulator driver to use id-table so there is hard dependency between reset driver and regulator driver. Merge strategy: An Ack/Rb tag from Regulator Maintainer for patch#1 and #5. Patch #1,#2,#3,#4,#5 - Reset subsystem This patch series has functional dependency on [1] [1] https://lore.kernel.org/all/[email protected]/ v7->v8: * Dropped SoC dtsi patches and will post later. * Collected tags for regulator driver and binding. * Avoided code duplication by moving devm_add_action_or_reset() to rzg2l_usbphy_ctrl_pwrrdy_init(). v6->v7: * Dropped PHY subsystem patches as it is accepted. * Merged patch series [2] to here * Collected the tags. * Added additionalProperties: false in regulators node. * Updated commit header of patch#6 * Moved the host enable patch. * dr_mode changed to 'host' as function is not enabled yet. * Updated commit description for patch#9 * Updated dr_mode = "host" to "otg" in {e,o}hci0 device nodes. [2] https://lore.kernel.org/all/[email protected]/#t v5->v6: * To avoid breaking bisectability, prepared a single patch that does the "rzg2l-usb-vbus-regulator" -> "rzg2l-vbus-regulator" rename in both regulator and reset drivers and that could be merged into both trees. * Replaced dev_err->dev_err_probe() in error path of rzg3l_usb_vbus_regulator_probe(). * Retained the tag as the change is trivial. v4->v5: * Collected Ack tag for regulator driver changes. * Dropped renesas,sysc-pwrrdy for RZ/G3L as pwrrdy signal is modelled as power sequence. * Dropped the tag from Conor due to above change . * Replaced the variable regulator_driver_name->regulator_name in struct rzg2l_usbphy_ctrl_info * Switched to power sequence consumer for controlling pwrrdy signal. * Updated commit description for patch#3. v3->v4: * Updated cover letter with merge strategy * Reorder the phy binding patch for easy merging. * Updated the commit description for patch #2,#3, #4. * Moved the handling of regulator_driver_name to patch #3 in preparation for id_table match. * Migrated to id_table match using driver_name and reduced the length < 24. * Dropped rzg3l specific platform driver. * Dropped the tag for regulator driver, * Added id_table handling by introducing a common probe(). * Dropped renesas,sysc-pwrrdy property for usbphy-ctrl node. v2->v3: * Replaced items->enum in reset controller bindings. * Collected the tag for reset binding patch. * Dropped clock patch as it is accepted. v1->v2: * Dropped patch#6(Introduce helper for regulator registration) * Passing pointer to an array of regulators to make it scalable. * Dropped regulator1-vbus and added a regulators group node. * Updated commit description for patch#1,#4,#6,#7,#8,#9 and #10. * Added enum instead of const in the compatible section. * Updated schema check. * Collected tag for PHY binding patch. in the regulator driver. * Added regulators group node and its children in SoC dtsi. Biju Das (5): regulator: renesas-usb-vbus-regulator: Rename platform device to rzg2l-vbus-regulator dt-bindings: reset: renesas,rzg2l-usbphy-ctrl: Document RZ/G3L support reset: rzg2l-usbphy-ctrl: Introduce info struct for match data reset: rzg2l-usbphy-ctrl: Add RZ/G3L support regulator: renesas-usb-vbus-regulator: Add RZ/G3L VBUS regulator support .../reset/renesas,rzg2l-usbphy-ctrl.yaml | 41 ++++++- .../regulator/renesas-usb-vbus-regulator.c | 75 ++++++++++++- drivers/reset/reset-rzg2l-usbphy-ctrl.c | 105 ++++++++++++++---- 3 files changed, 197 insertions(+), 24 deletions(-) -- 2.43.0 -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy