RE: [PATCH v9 4/4] phy: nuvoton: phy-ma35d1-usb2: extend to dual-port with OTG support
From: YCLU4@xxxxxxxxxxx
Date: Mon Nov 30 2026 - 02:44:22 EST
-----Original Message-----
From: Joey Lu <a0987203069@xxxxxxxxx>
Sent: Monday, November 30, 2026 10:02 AM
To: Manivannan Sadhasivam <mani@xxxxxxxxxx>
Cc: Vinod Koul <vkoul@xxxxxxxxxx>; Neil Armstrong <neil.armstrong@xxxxxxxxxx>; Rob Herring <robh@xxxxxxxxxx>; Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>; Conor Dooley <conor+dt@xxxxxxxxxx>; Arnd Bergmann <arnd@xxxxxxxx>; Catalin Marinas <catalin.marinas@xxxxxxx>; MS10 YCHuang3 <YCHuang3@xxxxxxxxxxx>; MS10 SCHung <SCHung@xxxxxxxxxxx>; Hui-Ping Chen <hpchen0nvt@xxxxxxxxx>; MS10 YCLu4 <YCLU4@xxxxxxxxxxx>; linux-phy@xxxxxxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [PATCH v9 4/4] phy: nuvoton: phy-ma35d1-usb2: extend to dual-port with OTG support
CAUTION - External Email: Do not click links or open attachments unless you acknowledge the sender and content.
On 11/27/2026 8:18 PM, Manivannan Sadhasivam wrote:
> On 2026-11-11 15:31 +0800, Joey Lu wrote:
>> PHY0 and PHY1 use the same power-on/reset sequence in USBPMISCR, with
>> PHY1 control bits shifted 16 positions relative to PHY0. A separate
>> driver for PHY1 would duplicate this logic, so the existing driver is
>> extended to manage both ports.
>>
--------------8<-----------------
>> diff --git a/drivers/phy/nuvoton/phy-ma35d1-usb2.c
>> b/drivers/phy/nuvoton/phy-ma35d1-usb2.c
>> index 0b9976fb15c1..bc706356c434 100644
>> --- a/drivers/phy/nuvoton/phy-ma35d1-usb2.c
>> +++ b/drivers/phy/nuvoton/phy-ma35d1-usb2.c
>> @@ -1,6 +1,12 @@
>> // SPDX-License-Identifier: GPL-2.0
>> /*
>> - * Copyright (C) 2024 Nuvoton Technology Corp.
>> + * Nuvoton MA35D1 USB 2.0 PHY driver
>> + *
>> + * Supports PHY0 (USB0 OTG port, shared between DWC2 gadget and
>> + EHCI0/OHCI0)
>> + * and PHY1 (USB1 host-only port, used by EHCI1/OHCI1). The hardware
>> + mux on
>> + * PHY0 switches automatically via the USB ID pin.
>> + *
>> + * Copyright (C) 2024-2026 Nuvoton Technology Corp.
> Are you affiliated with Nuvoton? Your email doesn't say so. So you do
> not have the authority to change the copyright (not even extend it).
Sorry about that. I'll restore the original line and keep it unchanged.
Hi Mani,
Yes, I'm a Nuvoton employee, and this reply is sent from my company address to show that. I submitted the earlier versions from my personal mail only because the company mail setup goes through a proxy, which is unreliable for sending patches.
I'll restore the original "Copyright (C) 2024 Nuvoton Technology Corp." line in v10 and leave the copyright untouched.
Thanks,
Joey Lu
________________________________
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.