Add Google Tensor SoC USB PHY support
Subsystems (4)
v8 cover Add Google Tensor SoC USB PHY support
This series introduces USB PHY support for the Google Tensor G5 SoC (codename: Laguna), a new generation of Google silicon first launched with Pixel 10 devices.
The Tensor G5 represents a significant architectural overhaul compared to previous Tensor generations (e.g., gs101), which were based on Samsung Exynos IP. Although the G5 still utilizes Synopsys IP for the USB components, the custom top-level integration introduces a completely new design for clock, reset scheme, register interfaces and programming sequence, necessitating new drivers and device tree bindings.
The USB subsystem on Tensor G5 integrates a Synopsys DWC3 USB 3.1 DRD-Single Port controller with hibernation support, and a custom PHY block comprising Synopsys eUSB2 and USB 3.2/DP combo PHYs. The controller support is sent as a separate patch series.
---
Changes in v8:
- Update the Kconfig dependency to depends on ARCH_GOOGLE || COMPILE_TEST Note that ARCH_GOOGLE does not exist yet but will eventually
be there when the following patch lands
https://lore.kernel.org/r/20251111112158.3.I35b9e835ac49ab408e5ca3e0983930a1f1395814@changeid/
- Mention SoC codename Laguna in Kconfig description.
- Sort the header alphabetically and sort the variables using the reverse christmas tree ordering.
- Add driver and binding files to the Tensor SoC MAINTAINER entry.
- Add detailed comment for phy_mutex
Link to v7: https://lore.kernel.org/r/[email protected]
Changes in v7:
- Change the device tree binding example node name to usb-phy to follow the hyphen-separated naming convention and remove label.
Link to v6: https://lore.kernel.org/r/[email protected]
Changes in v6:
- Use "lga" as SoC name instead of "gs5" to align with Tensor G5 device tree https://lore.kernel.org/lkml/[email protected]
- Add "usb2_core" to the reg property to define the MMIO space for
the eUSB 2.0 PHY IP.
- Rename "usb3_top" reg as "usbdp_top" and update the description to reflect its nature as a top-level wrapper and align with internal documentation.
- Use syscon to access the "usb2_cfg" MMIO space.
- Remove minItems for clocks and resets, making all listed clocks and resets (including USB3) mandatory.
Link to v5: https://lore.kernel.org/linux-phy/[email protected]
Changes in v5:
- Add usb3 registers/clks/resets to binding as suggested by Krzysztof Kozlowski. This ensures completeness of the binding, though the
driver has not yet ultilized the resources. The usb3 clks and resets
are optional if usb2-only operation is desired, this is denoted by minItems and descriptions in the clocks and resets properties. Additionally, rename existing binding entries for consistency and to better differntiate between usb2 and usb3.
- Move the description of the phy select to phy-cells in binding as suggested by Krzysztof Kozlowski.
Link to v4: https://lore.kernel.org/linux-phy/[email protected]
Changes in v4:
- Separate controller and phy changes into two distinct patch series.
- Remove usb2only mode configuration and the corresponding usb_top_cfg
reg (moved to controller)
- Add more descriptions to dp_top reg to indicate it's not DP specific.
- Add u2phy_apb clk/reset
Link to v3: https://lore.kernel.org/linux-usb/[email protected]
Changes in v3:
- Align binding file name with the compatible string
- Simplify the compatible property in binding to a single const value.
- Add descriptive comments and use item list in binding.
- Rename binding entries for clarity and brevity.
Link to v2: https://lore.kernel.org/linux-usb/[email protected]
Changes in v2:
- Reorder patches to present bindings first.
- Update dt binding compatible strings to be SoC-specific (google,gs5-*).
- Better describe the hardware in dt binding commit messages and descriptions.
- Adjust PHY driver commit subjects to use correct prefixes ("phy:").
- Move PHY driver from a subdirectory to drivers/phy/.
Link to v1: https://lore.kernel.org/linux-usb/[email protected]/
---
Roy Luo (2):
dt-bindings: phy: google: Add Google Tensor G5 USB PHY
phy: Add Google Tensor SoC USB PHY driver
.../bindings/phy/google,lga-usb-phy.yaml | 133 ++++++++++ MAINTAINERS | 2 + drivers/phy/Kconfig | 11 + drivers/phy/Makefile | 1 + drivers/phy/phy-google-usb.c | 295 +++++++++++++++++++++ 5 files changed, 442 insertions(+)
---
base-commit: 43dfc13ca972988e620a6edb72956981b75ab6b0
change-id: 20251119-phyb4-2e03a7c449c4
Best regards,
Signature · 1 line
Roy Luo <[email protected]>
PATCH v8 1/2 dt-bindings: phy: google: Add Google Tensor G5 USB PHY
Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation (Laguna). The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP.
Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding.
--- .../bindings/phy/google,lga-usb-phy.yaml | 133 +++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 134 insertions(+)
Documentation/devicetree/bindings/phy/google,lga-usb-phy.yaml new file +133 -0
@@ -0,0 +1,133 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2025, Google LLC +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/google,lga-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Tensor Series G5 (Laguna) USB PHY + +maintainers: + - Roy Luo <[email protected]> + +description: + Describes the USB PHY interfaces integrated with the DWC3 USB controller on + Google Tensor SoCs, starting with the G5 generation (laguna). + Two specific PHY IPs from Synopsys are integrated, including eUSB 2.0 PHY IP + and USB3.2/DisplayPort combo PHY IP. + +properties: + compatible: + const: google,lga-usb-phy + + reg: + items: + - description: USB3.2/DisplayPort combo PHY core registers. + - description: USB3.2/DisplayPort combo PHY Type-C Assist registers. + - description: eUSB 2.0 PHY core registers. + - description: Top-level wrapper registers for the integrated PHYs. + + reg-names: + items: + - const: usb3_core + - const: usb3_tca + - const: usb2_core + - const: usbdp_top + + "#phy-cells": + description: | + The phandle's argument in the PHY specifier selects one of the three + following PHY interfaces. + - 0 for USB high-speed. + - 1 for USB super-speed. + - 2 for DisplayPort. + const: 1 + + clocks: + items: + - description: USB2 PHY clock. + - description: USB2 PHY APB clock. + - description: USB3.2/DisplayPort combo PHY clock. + - description: USB3.2/DisplayPort combo PHY firmware clock. + + clock-names: + items: + - const: usb2 + - const: usb2_apb + - const: usb3 + - const: usb3_fw + + resets: + items: + - description: USB2 PHY reset. + - description: USB2 PHY APB reset. + - description: USB3.2/DisplayPort combo PHY reset. + + reset-names: + items: + - const: usb2 + - const: usb2_apb + - const: usb3 + + power-domains: + maxItems: 1 + + orientation-switch: + type: boolean + description: + Indicates the PHY as a handler of USB Type-C orientation changes + + google,usb-cfg-csr: + description: + A phandle to a syscon node used to access the USB configuration + registers. These registers are the top-level wrapper of the USB + subsystem and provide control and status for the integrated USB + controller and USB PHY. + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to the syscon node. + - description: USB2 PHY configuration register offset. + +required: + - compatible + - reg + - reg-names + - "#phy-cells" + - clocks + - clock-names + - resets + - reset-names + - power-domains + - orientation-switch + - google,usb-cfg-csr + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + usb-phy@c410000 { + compatible = "google,lga-usb-phy"; + reg = <0 0x0c410000 0 0x20000>, + <0 0x0c430000 0 0x1000>, + <0 0x0c440000 0 0x10000>, + <0 0x0c637000 0 0xa0>; + reg-names = "usb3_core", "usb3_tca", "usb2_core", "usbdp_top"; + #phy-cells = <1>; + clocks = <&hsion_usb2_phy_clk>, <&hsion_u2phy_apb_clk>, + <&hsion_usb3_phy_clk>, <&hsion_usb3_phy_fw_clk>; + clock-names = "usb2", "usb2_apb", "usb3", "usb3_fw"; + resets = <&hsion_resets_usb2_phy>, + <&hsion_resets_u2phy_apb>, + <&hsion_resets_usb3_phy>; + reset-names = "usb2", "usb2_apb", "usb3"; + power-domains = <&hsio_n_usb_pd>; + orientation-switch; + google,usb-cfg-csr = <&usb_cfg_csr 0x14>; + }; + }; +...
MAINTAINERS +1 -0
@@ -10661,6 +10661,7 @@ S: Maintained P: Documentation/process/maintainer-soc-clean-dts.rst C: irc://irc.oftc.net/pixel6-kernel-dev F: Documentation/devicetree/bindings/clock/google,gs101-clock.yaml +F: Documentation/devicetree/bindings/phy/google,lga-usb-phy.yaml F: Documentation/devicetree/bindings/soc/google/google,gs101-pmu-intr-gen.yaml F: arch/arm64/boot/dts/exynos/google/ F: drivers/clk/samsung/clk-gs101.c
Signature · 1 line
2.52.0.223.gf5cc29aaa4-goog
Krzysztof Kozlowski
maintainerRe: [PATCH v8 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
Quoted 6 lines · Roy Luo
Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation (Laguna). The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP.
Quoted 6 lines
Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding.
Signed-off-by Roy Luo <[email protected]>
Why intentionally dropping the tag? How are you handling this patchset? Rewrite every time from scratch?
<form letter>
This is a friendly reminder during the review process.
It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.
Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577
If a tag was not added on purpose, please state why and what changed. </form letter>
Best regards,
Krzysztof
Re: [PATCH v8 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
Quoted 13 lines · Krzysztof Kozlowski
Quoted 11 lines · Roy Luo
Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation (Laguna). The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP.
Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding.
Quoted 4 lines
Quoted 1 line
Signed-off-by Roy Luo <[email protected]>Why intentionally dropping the tag? How are you handling this patchset? Rewrite every time from scratch?
Hi Krzysztof,
I dropped the tag because a new file is being modified in this version, Although it's just MAINTAINER file but I thought you might also want to take a look. I wasn't sure if modifying a new file qualifies as "substantial" so I erred on the side of caution. I should've called it out specifically in the change log. Sorry for the inconvenience.
Regards,
Roy Luo
Quoted 23 lines
<form letter>
This is a friendly reminder during the review process.It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577If a tag was not added on purpose, please state why and what changed. </form letter>
Best regards,
Krzysztof
Krzysztof Kozlowski
maintainerRe: [PATCH v8 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
Quoted 19 lines · Roy Luo
Quoted 13 lines · Krzysztof Kozlowski
Quoted 11 lines · Roy Luo
Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation (Laguna). The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP.
Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding.
Quoted 4 lines
Quoted 1 line
Signed-off-by Roy Luo <[email protected]>Why intentionally dropping the tag? How are you handling this patchset? Rewrite every time from scratch?
Quoted 7 lines
Hi Krzysztof,
I dropped the tag because a new file is being modified in this version, Although it's just MAINTAINER file but I thought you might also want to take a look. I wasn't sure if modifying a new file qualifies as "substantial" so I erred on the side of caution. I should've called it out specifically in the change log. Sorry for the inconvenience.
1. so just squeeze that change into second patch and no need to ask for re-review
2. You did not read my complain fully, look:
Quoted 23 lines
Regards,
Roy LuoQuoted 19 lines
<form letter>
This is a friendly reminder during the review process.It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577If a tag was not added on purpose, please state why and what changed.
Where did you address this? You dropped the tag silently.
Best regards,
Krzysztof
Re: [PATCH v8 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
Quoted 23 lines · Krzysztof Kozlowski
Quoted 21 lines · Roy Luo
Quoted 13 lines · Krzysztof Kozlowski
Quoted 11 lines · Roy Luo
Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation (Laguna). The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP.
Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding.
Quoted 4 lines
Quoted 1 line
Signed-off-by Roy Luo <[email protected]>Why intentionally dropping the tag? How are you handling this patchset? Rewrite every time from scratch?
Hi Krzysztof,
Quoted 8 lines
Quoted 5 lines
I dropped the tag because a new file is being modified in this version, Although it's just MAINTAINER file but I thought you might also want to take a look. I wasn't sure if modifying a new file qualifies as "substantial" so I erred on the side of caution. I should've called it out specifically in the change log. Sorry for the inconvenience.
1. so just squeeze that change into second patch and no need to ask for re-review
That's a fair point. I will be more mindful of the review overhead going forward.
Quoted 21 lines
2. You did not read my complain fully, look:
Quoted 19 lines
Regards,
Roy LuoQuoted 15 lines
<form letter>
This is a friendly reminder during the review process.It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577If a tag was not added on purpose, please state why and what changed.
Where did you address this? You dropped the tag silently.
Why: a new file is being modified.
What changed: MAINTAINER
What's not changed:Documentation/devicetree/bindings/phy/google,lga-usb-phy.yaml
Could you consider re-reviewing this patch?
Thanks,
Roy Luo
Quoted 4 lines
Best regards,
Krzysztof
Krzysztof Kozlowski
maintainerRe: [PATCH v8 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
Quoted 60 lines · Roy Luo
Quoted 23 lines · Krzysztof Kozlowski
Quoted 21 lines · Roy Luo
Quoted 13 lines · Krzysztof Kozlowski
Quoted 11 lines · Roy Luo
Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation (Laguna). The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP.
Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding.
Quoted 4 lines
Quoted 1 line
Signed-off-by Roy Luo <[email protected]>Why intentionally dropping the tag? How are you handling this patchset? Rewrite every time from scratch?
Hi Krzysztof,
Quoted 8 lines
Quoted 5 lines
I dropped the tag because a new file is being modified in this version, Although it's just MAINTAINER file but I thought you might also want to take a look. I wasn't sure if modifying a new file qualifies as "substantial" so I erred on the side of caution. I should've called it out specifically in the change log. Sorry for the inconvenience.
1. so just squeeze that change into second patch and no need to ask for re-review
That's a fair point. I will be more mindful of the review overhead going forward.
Quoted 24 lines
2. You did not read my complain fully, look:
Quoted 22 lines
Regards,
Roy LuoQuoted 18 lines
<form letter>
This is a friendly reminder during the review process.It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
If a tag was not added on purpose, please state why and what changed.
Where did you address this? You dropped the tag silently.
Why: a new file is being modified.
What changed: MAINTAINER
What's not changed:Documentation/devicetree/bindings/phy/google,lga-usb-phy.yaml
I don't know if you still did not get the problem or you think that I really need that clear answer. So no, I do not need that clear answer, I understood with first reply, but you kept explaining instead of admitting that your changelog needs fixes. So I still do not believe you understood the problem here and you might repeat the mistake.
I think you need someone in Google to coach in this process, because I even gave you the exact link describing the process and what was expected. I even pointed specific paragraph, so you don't need to read entire file!
I assume you understood what should be done instead in this patchset. Anyway, my previous tag applies if there were no bindings changes, but I wasted too much time here to care anymore. The expectation from big companies is they do not ask community to coach on basic submission process. It's quite unfair to my spare, personal time after work, considering how much big company is making. Big company should invest in this coaching.
Best regards,
Krzysztof
Re: [PATCH v8 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
Quoted 71 lines · Krzysztof Kozlowski
Quoted 60 lines · Roy Luo
Quoted 23 lines · Krzysztof Kozlowski
Quoted 21 lines · Roy Luo
Quoted 13 lines · Krzysztof Kozlowski
Quoted 11 lines · Roy Luo
Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation (Laguna). The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP.
Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding.
Quoted 4 lines
Quoted 1 line
Signed-off-by Roy Luo <[email protected]>Why intentionally dropping the tag? How are you handling this patchset? Rewrite every time from scratch?
Hi Krzysztof,
Quoted 8 lines
Quoted 5 lines
I dropped the tag because a new file is being modified in this version, Although it's just MAINTAINER file but I thought you might also want to take a look. I wasn't sure if modifying a new file qualifies as "substantial" so I erred on the side of caution. I should've called it out specifically in the change log. Sorry for the inconvenience.
1. so just squeeze that change into second patch and no need to ask for re-review
That's a fair point. I will be more mindful of the review overhead going forward.
Quoted 24 lines
2. You did not read my complain fully, look:
Quoted 22 lines
Regards,
Roy LuoQuoted 18 lines
<form letter>
This is a friendly reminder during the review process.It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
If a tag was not added on purpose, please state why and what changed.
Where did you address this? You dropped the tag silently.
Why: a new file is being modified.
What changed: MAINTAINER
What's not changed:Documentation/devicetree/bindings/phy/google,lga-usb-phy.yaml
Quoted 5 lines
I don't know if you still did not get the problem or you think that I really need that clear answer. So no, I do not need that clear answer, I understood with first reply, but you kept explaining instead of admitting that your changelog needs fixes. So I still do not believe you understood the problem here and you might repeat the mistake.
I admitted that my changelog needs fixes in my first reply. "I should've called it out specifically in the change log. Sorry for the inconvenience.".
Maybe you think I didn't read through because my reply was placed before the <form letter> section, but that's a misunderstanding. I did read through the paragraph, that's why I mentioned the changelog in my first reply.
I also misunderstood your question of "Where did you address this?". If you were asking where this should have been addressed, obviously the answer is to address it in the changelog, but I thought that was already made clear in the first reply and you might be asking for a clear answer.
Quoted 5 lines
I think you need someone in Google to coach in this process, because I even gave you the exact link describing the process and what was expected. I even pointed specific paragraph, so you don't need to read entire file!
I appreciate you pointing out the specific paragraph, I understand you're going above and beyond here. I did read and understand what should've been done instead for this patch.
Quoted 10 lines
I assume you understood what should be done instead in this patchset. Anyway, my previous tag applies if there were no bindings changes, but I wasted too much time here to care anymore. The expectation from big companies is they do not ask community to coach on basic submission process. It's quite unfair to my spare, personal time after work, considering how much big company is making. Big company should invest in this coaching.
Quoted 2 lines
Best regards,
Krzysztof
Thank you for the feedback. I understand your frustration, and I apologize for taking up your time. I will be sure to be more thorough in the future.
Thanks,
Roy Luo
Re: [PATCH v8 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
Quoted 15 lines · Roy Luo
Quoted 10 lines · Krzysztof Kozlowski
I assume you understood what should be done instead in this patchset. Anyway, my previous tag applies if there were no bindings changes, but I wasted too much time here to care anymore. The expectation from big companies is they do not ask community to coach on basic submission process. It's quite unfair to my spare, personal time after work, considering how much big company is making. Big company should invest in this coaching.
Quoted 2 lines
Best regards,
Krzysztof
Quoted 6 lines
Thank you for the feedback. I understand your frustration, and I apologize for taking up your time. I will be sure to be more thorough in the future.
Thanks,
Roy Luo
To confirm my takeaway: for this patch, the changes I introduced were not significant enough to remove your 'Reviewed-by' tag, and I should have kept it. Moving forward, I will calibrate my criteria for what changes are considered 'significant' (essentially any changes to binding), and more importantly, always document the rationale for dropping or keeping tags in the changelog when I make non-trivial changes to patches.
I plan to send a new version for this patchset and the controller patchset [1] next week with your tag re-added, please let me know if you disagree.
[1] https://lore.kernel.org/linux-usb/[email protected]
Thanks,
Roy Luo
Krzysztof Kozlowski
maintainerRe: [PATCH v8 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
In reply to Roy LuoQuoted 93 lines · Roy Luo
Quoted 71 lines · Krzysztof Kozlowski
Quoted 60 lines · Roy Luo
Quoted 23 lines · Krzysztof Kozlowski
Quoted 21 lines · Roy Luo
Quoted 13 lines · Krzysztof Kozlowski
Quoted 11 lines · Roy Luo
Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation (Laguna). The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP.
Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding.
Quoted 4 lines
Quoted 1 line
Signed-off-by Roy Luo <[email protected]>Why intentionally dropping the tag? How are you handling this patchset? Rewrite every time from scratch?
Hi Krzysztof,
Quoted 8 lines
Quoted 5 lines
I dropped the tag because a new file is being modified in this version, Although it's just MAINTAINER file but I thought you might also want to take a look. I wasn't sure if modifying a new file qualifies as "substantial" so I erred on the side of caution. I should've called it out specifically in the change log. Sorry for the inconvenience.
1. so just squeeze that change into second patch and no need to ask for re-review
That's a fair point. I will be more mindful of the review overhead going forward.
Quoted 24 lines
2. You did not read my complain fully, look:
Quoted 22 lines
Regards,
Roy LuoQuoted 18 lines
<form letter>
This is a friendly reminder during the review process.It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
If a tag was not added on purpose, please state why and what changed.
Where did you address this? You dropped the tag silently.
Why: a new file is being modified.
What changed: MAINTAINER
What's not changed:Documentation/devicetree/bindings/phy/google,lga-usb-phy.yamlQuoted 5 lines
I don't know if you still did not get the problem or you think that I really need that clear answer. So no, I do not need that clear answer, I understood with first reply, but you kept explaining instead of admitting that your changelog needs fixes. So I still do not believe you understood the problem here and you might repeat the mistake.
I admitted that my changelog needs fixes in my first reply. "I should've called it out specifically in the change log. Sorry for the inconvenience.".
Maybe you think I didn't read through because my reply was placed before the <form letter> section, but that's a misunderstanding. I did read through the paragraph, that's why I mentioned the changelog in my first reply.I also misunderstood your question of "Where did you address this?". If you were asking where this should have been addressed, obviously the answer is to address it in the changelog, but I thought that was already made clear in the first reply and you might be asking for a clear answer.
Quoted 1 line
Quoted 8 lines
Quoted 4 lines
I think you need someone in Google to coach in this process, because I even gave you the exact link describing the process and what was expected. I even pointed specific paragraph, so you don't need to read entire file!
I appreciate you pointing out the specific paragraph, I understand you're going above and beyond here. I did read and understand what should've been done instead for this patch.
Ack, understood. Apologies for my previous over agitated email. That was not professional of me.
Best regards,
Krzysztof
Re: [PATCH v8 1/2] dt-bindings: phy: google: Add Google Tensor G5 USB PHY
In reply to Roy LuoQuoted 11 lines · Roy Luo
Document the device tree bindings for the USB PHY interfaces integrated with the DWC3 controller on Google Tensor SoCs, starting with G5 generation (Laguna). The USB PHY on Tensor G5 includes two integrated Synopsys PHY IPs: the eUSB 2.0 PHY IP and the USB 3.2/DisplayPort combo PHY IP.
Due to a complete architectural overhaul in the Google Tensor G5, the existing Samsung/Exynos USB PHY binding for older generations of Google silicons such as gs101 are no longer compatible, necessitating this new device tree binding.
Quoted 5 lines
Signed-off-by Roy Luo <[email protected]>--- .../bindings/phy/google,lga-usb-phy.yaml | 133 +++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 134 insertions(+)
Best regards,
Krzysztof
PATCH v8 2/2 phy: Add Google Tensor SoC USB PHY driver
In reply to Roy LuoSupport the USB PHY found on Google Tensor G5 (Laguna). This particular USB PHY supports both high-speed and super-speed operations, and is integrated with the SNPS DWC3 controller that's also on the SoC. This initial patch specifically adds functionality for high-speed.
--- MAINTAINERS | 1 + drivers/phy/Kconfig | 11 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-google-usb.c | 295 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 308 insertions(+)
MAINTAINERS +1 -0
@@ -10665,6 +10665,7 @@ F: Documentation/devicetree/bindings/phy/google,lga-usb-phy.yaml F: Documentation/devicetree/bindings/soc/google/google,gs101-pmu-intr-gen.yaml F: arch/arm64/boot/dts/exynos/google/ F: drivers/clk/samsung/clk-gs101.c +F: drivers/phy/phy-google-usb.c F: drivers/phy/samsung/phy-gs101-ufs.c F: include/dt-bindings/clock/google,gs101.h K: [gG]oogle.?[tT]ensor
drivers/phy/Kconfig +11 -0
@@ -101,6 +101,17 @@ config PHY_NXP_PTN3222 schemes. It supports all three USB 2.0 data rates: Low Speed, Full Speed and High Speed. +config PHY_GOOGLE_USB + tristate "Google Tensor SoC USB PHY driver" + depends on ARCH_GOOGLE || COMPILE_TEST + select GENERIC_PHY + help + Enable support for the USB PHY on Google Tensor SoCs, starting with + the G5 generation (Laguna). This driver provides the PHY interfaces + to interact with the SNPS eUSB2 and USB 3.2/DisplayPort Combo PHY, + both of which are integrated with the DWC3 USB DRD controller. + This driver currently supports USB high-speed. + source "drivers/phy/allwinner/Kconfig" source "drivers/phy/amlogic/Kconfig" source "drivers/phy/broadcom/Kconfig"
drivers/phy/Makefile +1 -0
@@ -13,6 +13,7 @@ obj-$(CONFIG_PHY_SNPS_EUSB2) += phy-snps-eusb2.o obj-$(CONFIG_USB_LGM_PHY) += phy-lgm-usb.o obj-$(CONFIG_PHY_AIROHA_PCIE) += phy-airoha-pcie.o obj-$(CONFIG_PHY_NXP_PTN3222) += phy-nxp-ptn3222.o +obj-$(CONFIG_PHY_GOOGLE_USB) += phy-google-usb.o obj-y += allwinner/ \ amlogic/ \ broadcom/ \
drivers/phy/phy-google-usb.c new file +295 -0
295 lines not on this page · raw message
Signature · 1 line
2.52.0.223.gf5cc29aaa4-goog