# Re: \[PATCH v5\] dt-bindings: net: can: c\_can: convert to json-schema

- From: Rob Herring \<robh@kernel.org\>
- Date: 2021-08-13 19:05:16 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/08/1477430
- Thread: https://ratatoskr.run/linux-devicetree/2021/08/1469359/t.md

```text
On Thu, 05 Aug 2021 21:27:50 +0200, Dario Binacchi wrote:
> Convert the Bosch C_CAN/D_CAN controller device tree binding
> documentation to json-schema.
> 
> Document missing properties.
> Remove "ti,hwmods" as it is no longer used in TI dts.
> Make "clocks" required as it is used in all dts.
> Update the examples.
> 
> Signed-off-by: Dario Binacchi <redacted>
> 
> ---
> 
> Changes in v5:
>  - Complete 'interrupts' property description
> 
> Changes in v4:
>  - Fix 'syscon-raminit' property to pass checks.
>  - Drop 'status' property from CAN node of examples.
>  - Replace CAN node of examples (compatible = "bosch,d_can")  with a
>    recent version taken from socfpga.dtsi dts.
>  - Update the 'interrupts' property due to the examples updating.
>  - Add 'resets' property due to the examples updating.
> 
> Changes in v3:
>  - Add type (phandle-array) and size (maxItems: 2) to syscon-raminit
>    property.
> 
> Changes in v2:
>  - Drop Documentation references.
> 
>  .../bindings/net/can/bosch,c_can.yaml         | 119 ++++++++++++++++++
>  .../devicetree/bindings/net/can/c_can.txt     |  65 ----------
>  2 files changed, 119 insertions(+), 65 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/net/can/bosch,c_can.yaml
>  delete mode 100644 Documentation/devicetree/bindings/net/can/c_can.txt
> 

Reviewed-by: Rob Herring <robh@kernel.org>
```
