Skip to contentSkip to conversation

dt-bindings: phy: st: convert phy-stih407-usb to DT schema

PATCH Applied Raphael Gallais-Pou 3 participants 3 messages Aug 23, 2023 – Sep 21, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dt-bindings: phy: st: convert phy-stih407-usb to DT schema

Convert the st,stih407-usb2-phy binding to DT schema format.

---
Changes in v2:
* Removed quotes surrounding $ref
* Removed quotes surrounding const properties
* Changed 'st,syscfg' $ref value to phandle-array
* Changed authorship to my oss email address

Changes in v3:
* Remove driver references
* Dropped obvious description
* Dropped label and set simpler node name

---
 .../bindings/phy/phy-stih407-usb.txt          | 24 -------
 .../bindings/phy/st,stih407-usb2-phy.yaml     | 63 +++++++++++++++++++
 2 files changed, 63 insertions(+), 24 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/phy/phy-stih407-usb.txt
 create mode 100644 Documentation/devicetree/bindings/phy/st,stih407-usb2-phy.yaml
Documentation/devicetree/bindings/phy/phy-stih407-usb.txt deleted +0 -24
deleted file mode 100644
index 35f03df00130..000000000000
@@ -1,24 +0,0 @@
-ST STiH407 USB PHY controller
-
-This file documents the dt bindings for the usb picoPHY driver which is the PHY for both USB2 and USB3
-host controllers (when controlling usb2/1.1 devices) available on STiH407 SoC family from STMicroelectronics.
-
-Required properties:
-- compatible		: should be "st,stih407-usb2-phy"
-- st,syscfg		: phandle of sysconfig bank plus integer array containing phyparam and phyctrl register offsets
-- resets		: list of phandle and reset specifier pairs. There should be two entries, one
-			  for the whole phy and one for the port
-- reset-names		: list of reset signal names. Should be "global" and "port"
-See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml
-See: Documentation/devicetree/bindings/reset/reset.txt
-
-Example:
-
-usb2_picophy0: usbpicophy@f8 {
-	compatible	= "st,stih407-usb2-phy";
-	#phy-cells	= <0>;
-	st,syscfg	= <&syscfg_core 0x100 0xf4>;
-	resets		= <&softreset STIH407_PICOPHY_SOFTRESET>,
-			  <&picophyreset STIH407_PICOPHY0_RESET>;
-	reset-names	= "global", "port";
-};
Documentation/devicetree/bindings/phy/st,stih407-usb2-phy.yaml new file +63 -0

63 lines not on this page · raw message

Signature · 7 lines
2.41.0


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
Reviewed-by on v3 1/1
#1 lore raw
Quoted 5 lines · Raphael Gallais-Pou

Convert the st,stih407-usb2-phy binding to DT schema format.

---
Changes in v2:

---

This is an automated instruction, just in case, because many review tags are being ignored. If you know the process, you can skip it (please do not feel offended by me posting it here - no bad intentions intended). 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, under or above your Signed-off-by tag. 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.

https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577

Best regards,
Krzysztof

Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer Applied
#2 lore raw
In reply to Raphael Gallais-Pou
Quoted 3 lines · Raphael Gallais-Pou

Convert the st,stih407-usb2-phy binding to DT schema format.

Applied, thanks!

[1/1] dt-bindings: phy: st: convert phy-stih407-usb to DT schema

      commit: d61644df75d07863386e0a66fc7306de8b6c5fb0

Best regards,

Signature · 1 line
~Vinod