[PATCH V3 0/7] dt-bindings: usb: covert ci-hdrc-usb2/usbmisc-imx to yaml

From: Peng Fan (OSS)
Date: Sun Feb 26 2023 - 08:00:45 EST


From: Peng Fan <peng.fan@xxxxxxx>

V3:
Sorry for this long time delay for V3. I thought this should be V5, but actually
I only posted two versions before.
Add myself ad maintainer
The major changes are in patch 4:
Added some properties to address dtbs_check error, for qcom, fsl. But I still leave
some properties not introduced, such as phy-select for qcom,
nvidia,needs-double-reset operating-points-v2 for nvidia, which I would expect
sub-soc maintainers continue on it.

Add A-b from Rob
Add a new patch 7

v2:
patch order changed, usbmisc-imx moved to first
Add Xu Yang as maintainer
Typo fix
Not define properties within if/then/else
Set additionalProperties to false
Drop duplicated compatibles
Fix checkpatch issue
For pinctrl-names: I think there is restrictin in allOf, so not list items
Add fsl,usbmisc: ref
Define items for mux-control-names
Rename usbmisc-imx.yaml to fsl,usbmisc.yaml

Hope I not miss any comments

Note: there will still be dtbs_check failure if run with only a single patch,
with this patchset applied, there is no related dtbs_check failure.


This patchset is to convert ci-hdrc-usb2 and usbmisc-imx to yaml format.
There are compatible strings not landed in binding doc, but in device tree,
so run dtbs_check on the single yaml convertion patch will report
dtbs_check failure. If apply the whole patchset, there will be no failure.


Peng Fan (7):
dt-bindings: usb: usbmisc-imx: convert to DT schema
dt-bindings: usb: usbmisc-imx: add clocks property
dt-bindings: usb: usbmisc-imx: add more i.MX compatible
dt-bindings: usb: ci-hdrc-usb2: convert to DT schema format
dt-bindings: usb: ci-hdrc-usb2: add i.MX53/6SLL/UL compatible
dt-bindings: usb: ci-hdrc-usb2: add i.MX8DXL/MN support
dt-bindings: usb: usb-nop-xceiv: add power-domains property

.../devicetree/bindings/usb/ci-hdrc-usb2.txt | 159 -------
.../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 421 ++++++++++++++++++
.../devicetree/bindings/usb/fsl,usbmisc.yaml | 68 +++
.../bindings/usb/usb-nop-xceiv.yaml | 3 +
.../devicetree/bindings/usb/usbmisc-imx.txt | 19 -
5 files changed, 492 insertions(+), 178 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
create mode 100644 Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml
delete mode 100644 Documentation/devicetree/bindings/usb/usbmisc-imx.txt

--
2.37.1