[PATCH v7 0/3] dt-bindings: net: can: convert three bindings to DT schema

Quchaosheng posted 3 patches 2 days, 6 hours ago
There is a newer version of this series
.../bindings/net/can/fsl,mpc5xxx-mscan.yaml   | 109 ++++++++++++++++++
.../bindings/net/can/holt,hi311x.yaml         |  66 +++++++++++
.../bindings/net/can/holt_hi311x.txt          |  23 ----
.../bindings/net/can/ifi,canfd.yaml           |  46 ++++++++
.../devicetree/bindings/net/can/ifi_canfd.txt |  15 ---
.../bindings/net/can/mpc5xxx-mscan.txt        |  53 ---------
6 files changed, 221 insertions(+), 91 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/can/fsl,mpc5xxx-mscan.yaml
create mode 100644 Documentation/devicetree/bindings/net/can/holt,hi311x.yaml
delete mode 100644 Documentation/devicetree/bindings/net/can/holt_hi311x.txt
create mode 100644 Documentation/devicetree/bindings/net/can/ifi,canfd.yaml
delete mode 100644 Documentation/devicetree/bindings/net/can/ifi_canfd.txt
delete mode 100644 Documentation/devicetree/bindings/net/can/mpc5xxx-mscan.txt
[PATCH v7 0/3] dt-bindings: net: can: convert three bindings to DT schema
Posted by Quchaosheng 2 days, 6 hours ago
Three CAN controller bindings converted from free-form text to DT schema.

This is one series on one thread, not three separate replies. The previous
versions were posted as individual threads and re-sent several times, which
is what prompted Krzysztof to ask me to slow down. Nothing was queued while
that request stood.

What changed since v6: Rob reviewed all three on 09-21 and gave
Reviewed-by on ifi,canfd-1.0 and holt,hi311x. fsl,mpc5xxx-mscan came back
with four comments, all of which are addressed here.

ifi,canfd-1.0
	Unchanged.

holt,hi311x
	Unchanged apart from dropping the $ref to
	spi/spi-peripheral-props.yaml, which the example does not use
	(Krzysztof).

fsl,mpc5xxx-mscan
	clock-names is an ordered list of the five names and clocks is
	minItems 5, matching the single order the device trees use.
	fsl,mpc5121-mscan requires both. The if/then that only restated the
	enum of fsl,mscan-clock-source is gone, with the per-compatible
	defaults moved into the property description.
	fsl,mscan-clock-divider has a minimum of 1 because the driver
	divides by it. One example instead of two.

All three pass dt_binding_check clean.

Signed-off-by: Quchaosheng <quchaosheng000406@163.com>

Quchaosheng (3):
  dt-bindings: net: can: ifi,canfd-1.0: Convert to DT schema
  dt-bindings: net: can: holt,hi311x: Convert to DT schema
  dt-bindings: net: can: fsl,mpc5xxx-mscan: Convert to DT schema

 .../bindings/net/can/fsl,mpc5xxx-mscan.yaml   | 109 ++++++++++++++++++
 .../bindings/net/can/holt,hi311x.yaml         |  66 +++++++++++
 .../bindings/net/can/holt_hi311x.txt          |  23 ----
 .../bindings/net/can/ifi,canfd.yaml           |  46 ++++++++
 .../devicetree/bindings/net/can/ifi_canfd.txt |  15 ---
 .../bindings/net/can/mpc5xxx-mscan.txt        |  53 ---------
 6 files changed, 221 insertions(+), 91 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/can/fsl,mpc5xxx-mscan.yaml
 create mode 100644 Documentation/devicetree/bindings/net/can/holt,hi311x.yaml
 delete mode 100644 Documentation/devicetree/bindings/net/can/holt_hi311x.txt
 create mode 100644 Documentation/devicetree/bindings/net/can/ifi,canfd.yaml
 delete mode 100644 Documentation/devicetree/bindings/net/can/ifi_canfd.txt
 delete mode 100644 Documentation/devicetree/bindings/net/can/mpc5xxx-mscan.txt

-- 
2.43.0