[PATCH v3] dt-bindings: powerpc: Convert fsl/pmc.txt to YAML

Rob Herring (Arm) robh at kernel.org
Tue Apr 22 22:50:35 AEST 2025


On Thu, 17 Apr 2025 16:21:14 +0200, J. Neuschäfer wrote:
> This patch rewrites pmc.txt into YAML format. Descriptive texts are
> expanded or shortened in a few places to better fit today's conventions.
> 
> The list of compatible strings (and combinations of them) is based on
> existing device trees in arch/powerpc as well as compatible strings
> already mentioned in the plain-text version of the binding.
> 
> One thing I didn't handle are soc-clk at ... nodes as seen in
> arch/powerpc/boot/dts/fsl/pq3-power.dtsi. They are also ignored
> by Linux drivers.
> 
> Signed-off-by: J. Neuschäfer <j.ne at posteo.net>
> ---
> Changes in v3:
> - Combine two compatible strings into one "enum"
> - Remove sleep consumer (sata at 19000) from example
> - Fix reference to example for soc-clk at ... nodes, and explain why they
>   are not modeled
> - Link to v2: https://lore.kernel.org/r/20250412-fslpmc-yaml-v2-1-98c0948a2921@posteo.net
> 
> Changes in v2:
> - Rebase on v6.15-rc1
> - Link to v1: https://lore.kernel.org/r/20250315-fslpmc-yaml-v1-1-10ba354a85c2@posteo.net
> ---
>  .../devicetree/bindings/powerpc/fsl/pmc.txt        |  63 ---------
>  .../devicetree/bindings/powerpc/fsl/pmc.yaml       | 152 +++++++++++++++++++++
>  2 files changed, 152 insertions(+), 63 deletions(-)
> 

Applied, thanks!



More information about the Linuxppc-dev mailing list