Thread (11 messages) 11 messages, 4 authors, 2023-12-10

Re: [PATCH 1/2] dt-bindings: phy: mediatek: tphy: add a property for force-mode switch

From: Chunfeng Yun (云春峰) <Chunfeng.Yun@mediatek.com>
Date: 2023-12-10 09:14:51
Also in: linux-arm-kernel, linux-devicetree, linux-mediatek, lkml

On Thu, 2023-11-30 at 09:03 +0100, Krzysztof Kozlowski wrote:
 	 
External email : Please do not click links or open attachments until
you have verified the sender or the content.
 On 30/11/2023 02:51, Chunfeng Yun (云春峰) wrote:
quoted
quoted
quoted
3. How about we revise the description as follows for more
precisely?
quoted
mediatek,force-mode:
   description:
     The force mode is used to manually switch the shared PHY
mode
quoted
quoted
quoted
     between USB and PCIe. When force-mode is set, the USB 3.0
mode
quoted
quoted
quoted
     will be selected. This is typically required for older SoCs
     that do not automatically manage PHY mode switching.
     For newer SoCs that support it, it is preferable to use the
     "mediatek,syscon-type" property instead.
   type: boolean
Again, what is force-mode? 
Our DE describe this behavior as force-mode, as you see, the driver
What is "DE"?
Hardware designer
quoted
power down controller and reset pipe to set the mode directly we
want,

So force-mode is driver behavior?
hardware supported, need software to set some registers
quoted
but usually the phy controller switch to the mode automatically
according to the external signal, e.g. trapping pin, efuse etc.
quoted
It looks like you wrote bindings for the
driver behavior. Bindings describe hardware, not how the driver
should
behave. The property might be reasonable, but you must describe
here
quoted
quoted
hardware characteristics/issue/etc.
You must address this, in such case.
OK, I'll modify the description

Thanks


Best regards,
Krzysztof
-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help