Message ID | d962c0a5328e72b3dd4a74e138b0f3bd233de373.1583445235.git.amit.kucheria@linaro.org |
---|---|
State | Superseded, archived |
Headers | show |
Series | make dtbs_check fixes for cpu compatible | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | warning | "total: 0 errors, 1 warnings, 16 lines checked" |
On Thu, Mar 5, 2020 at 4:00 PM Amit Kucheria <amit.kucheria@linaro.org> wrote: > > make -k ARCH=arm64 dt_binding_check shows the following error. Fix it. > > /home/amit/work/builds/build-aarch64/Documentation/devicetree/bindings/arm/psci.example.dt.yaml: > cpu@0: compatible: Additional items are not allowed ('arm,armv8' was > unexpected) > /home/amit/work/builds/build-aarch64/Documentation/devicetree/bindings/arm/psci.example.dt.yaml: > cpu@0: compatible: ['arm,cortex-a53', 'arm,armv8'] is too long CHECK > Documentation/devicetree/bindings/arm/moxart.example.dt.yaml > /home/amit/work/builds/build-aarch64/Documentation/devicetree/bindings/arm/psci.example.dt.yaml: > cpu@1: compatible: Additional items are not allowed ('arm,armv8' was > unexpected) > /home/amit/work/builds/build-aarch64/Documentation/devicetree/bindings/arm/psci.example.dt.yaml: > cpu@1: compatible: ['arm,cortex-a57', 'arm,armv8'] is too long > > Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> > --- > Documentation/devicetree/bindings/arm/psci.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Thanks, but already queued a fix for this and more from Ulf. Rob
diff --git a/Documentation/devicetree/bindings/arm/psci.yaml b/Documentation/devicetree/bindings/arm/psci.yaml index 8ef85420b2ab1..de71bbfb185b8 100644 --- a/Documentation/devicetree/bindings/arm/psci.yaml +++ b/Documentation/devicetree/bindings/arm/psci.yaml @@ -199,7 +199,7 @@ examples: CPU0: cpu@0 { device_type = "cpu"; - compatible = "arm,cortex-a53", "arm,armv8"; + compatible = "arm,cortex-a53"; reg = <0x0>; enable-method = "psci"; power-domains = <&CPU_PD0>; @@ -208,7 +208,7 @@ examples: CPU1: cpu@1 { device_type = "cpu"; - compatible = "arm,cortex-a57", "arm,armv8"; + compatible = "arm,cortex-a57"; reg = <0x100>; enable-method = "psci"; power-domains = <&CPU_PD1>;
make -k ARCH=arm64 dt_binding_check shows the following error. Fix it. /home/amit/work/builds/build-aarch64/Documentation/devicetree/bindings/arm/psci.example.dt.yaml: cpu@0: compatible: Additional items are not allowed ('arm,armv8' was unexpected) /home/amit/work/builds/build-aarch64/Documentation/devicetree/bindings/arm/psci.example.dt.yaml: cpu@0: compatible: ['arm,cortex-a53', 'arm,armv8'] is too long CHECK Documentation/devicetree/bindings/arm/moxart.example.dt.yaml /home/amit/work/builds/build-aarch64/Documentation/devicetree/bindings/arm/psci.example.dt.yaml: cpu@1: compatible: Additional items are not allowed ('arm,armv8' was unexpected) /home/amit/work/builds/build-aarch64/Documentation/devicetree/bindings/arm/psci.example.dt.yaml: cpu@1: compatible: ['arm,cortex-a57', 'arm,armv8'] is too long Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> --- Documentation/devicetree/bindings/arm/psci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)