dt-bindings: fsl: fsl,imx7ulp-smc1: Allow clocks and clock-names
Subsystems (2)
Frank Li
maintainerPATCH 1/1 dt-bindings: fsl: fsl,imx7ulp-smc1: Allow clocks and clock-names
Allow clocks and clock-names to match existed dts file.
'hsrun_divcore' should be 'hsrun-divcore'. But use '_' to keep old dts back compatible.
Fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx7ulp-com.dtb: clock-controller@40410000 (fsl,imx7ulp-smc1): '#clock-cells', 'clock-names', 'clocks' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/arm/freescale/fsl,imx7ulp-pm.yaml#
--- .../devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.yaml | 8 ++++++++ 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.yaml +8 -0
@@ -28,6 +28,14 @@ properties: reg: maxItems: 1 + clocks: + maxItems: 2 + + clock-names: + items: + - const: divcore + - const: hsrun_divcore + required: - compatible - reg
Signature · 1 line
2.34.1
Quoted 5 lines · Frank Li
Allow clocks and clock-names to match existed dts file.
'
hsrun_divcore' should be 'hsrun-divcore'. But use '_' to keep old dts back compatible.
Quoted 9 lines
Fix below
CHECK_DTBSwarnings:
arch/arm/boot/dts/nxp/imx/imx7ulp-com.dtb: clock-controller@40410000 (fsl,imx7ulp-smc1): '#clock-cells', 'clock-names', 'clocks' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/arm/freescale/fsl,imx7ulp-pm.yaml#Signed-off-by Frank Li <[email protected]>--- .../devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.yaml | 8 ++++++++ 1 file changed, 8 insertions(+)
Shawn Guo
AppliedQuoted 10 lines · Frank Li
Allow clocks and clock-names to match existed dts file.
'
hsrun_divcore' should be 'hsrun-divcore'. But use '_' to keep old dts back compatible.Fix below
CHECK_DTBSwarnings:
arch/arm/boot/dts/nxp/imx/imx7ulp-com.dtb: clock-controller@40410000 (fsl,imx7ulp-smc1): '#clock-cells', 'clock-names', 'clocks' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/arm/freescale/fsl,imx7ulp-pm.yaml#Signed-off-by Frank Li <[email protected]>
Applied, thanks!