Re: [PATCH v8 3/3] dt-bindings: net: can: fsl,mpc5xxx-mscan: Convert to DT schema
From: Rob Herring
Date: Wed Sep 23 2026 - 10:32:28 EST
On Tue, Sep 22, 2026 at 06:22:58PM +0800, Quchaosheng wrote:
> Convert the Freescale MPC5xxx MSCAN binding from free-form text to DT
> schema.
>
> The original text documents fsl,mpc5200-mscan and fsl,mpc5121-mscan in two
> separate sections. Keep that split: fsl,mscan-clock-source takes "ip" or
> "ref" on fsl,mpc5200-mscan, and "ip", "ref" or "sys" on fsl,mpc5121-mscan.
>
> Add fsl,mpc5200b-mscan as a fallback of fsl,mpc5200-mscan. mpc5200b.dtsi
> uses it.
>
> Document clocks and clock-names, which the original text does not describe.
> fsl,mpc5121-mscan requires the "ipg", "ips", "sys", "ref" and "mclk"
> clocks in that order, as mpc5121.dtsi supplies them. MPC5200 does not use
> DT clocks; it takes its frequency from the CDM block.
>
> fsl,mscan-clock-divider divides the selected clock, so value 0 cannot be
> used.
>
> Keep the note that the MPC5121 Rev. 1 processor is not supported.
>
> Assisted-by: LLM
> Signed-off-by: Quchaosheng <quchaosheng000406@xxxxxxx>
> ---
>
> v8:
> - No change.
> .../bindings/net/can/fsl,mpc5xxx-mscan.yaml | 109 ++++++++++++++++++
> .../bindings/net/can/mpc5xxx-mscan.txt | 53 ---------
> 2 files changed, 109 insertions(+), 53 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/net/can/fsl,mpc5xxx-mscan.yaml
> delete mode 100644 Documentation/devicetree/bindings/net/can/mpc5xxx-mscan.txt
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>