Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: fsl: fsl,rcpm: fix unevaluated fsl,rcpm-wakeup property

Drop the RCPM consumer example from the binding (LPUART device node),
because:
1. Using phandles is typical syntax, thus explaining it is not needed in
the provider binding,
2. It has 'fsl,rcpm-wakeup' property which is not allowed by LPUART
binding so it causes dt_binding_check warning:

fsl,rcpm.example.dtb: serial@2950000: Unevaluated properties are not allowed ('fsl,rcpm-wakeup' was unexpected)
from schema $id: http://devicetree.org/schemas/serial/fsl-lpuart.yaml#

Alternatively, this property could be added to LPUART binding
(fsl-lpuart.yaml), but it looks like none of in-tree DTS use it.

Fixes: ad21e3840a88 ("dt-bindings: soc: fsl: Convert rcpm to yaml format")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240811153507.126512-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Rob Herring (Arm)
991f1254 bdc9c467

+1 -10
+1 -10
Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml
··· 80 80 examples: 81 81 - | 82 82 #include <dt-bindings/interrupt-controller/arm-gic.h> 83 - rcpm: global-utilities@e2000 { 83 + global-utilities@e2000 { 84 84 compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0"; 85 85 reg = <0xe2000 0x1000>; 86 86 #fsl,rcpm-wakeup-cells = <2>; 87 - }; 88 - 89 - serial@2950000 { 90 - compatible = "fsl,ls1021a-lpuart"; 91 - reg = <0x2950000 0x1000>; 92 - interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; 93 - clocks = <&sysclk>; 94 - clock-names = "ipg"; 95 - fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>; 96 87 };