dt-bindings: arm: Clean up CPU binding examples [Linux 5.2]

dt-bindings: arm: Clean up CPU binding examples [Linux 5.2]

This Linux kernel change "dt-bindings: arm: Clean up CPU binding examples" is included in the Linux 5.2 release. This change is authored by Robin Murphy <robin.murphy [at] arm.com> on Tue May 21 17:44:27 2019 +0100. The commit for this change in Linux stable tree is 31910f4 (patch).

dt-bindings: arm: Clean up CPU binding examples

Following commit 31af04cd60d3 ("arm64: dts: Remove inconsistent use of
'arm,armv8' compatible string"), clean up these binding examples in case
anyone is tempted to copy them.

CC: Linus Walleij <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Rob Herring <[email protected]>

There are 16 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 Documentation/devicetree/bindings/arm/arm-boards       |  4 ++--
 Documentation/devicetree/bindings/arm/cpu-capacity.txt | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/arm-boards b/Documentation/devicetree/bindings/arm/arm-boards
index b6e810c..abff8d8 100644
--- a/Documentation/devicetree/bindings/arm/arm-boards
+++ b/Documentation/devicetree/bindings/arm/arm-boards
@@ -216,7 +216,7 @@ Example:
        #size-cells = <0>;

        A57_0: [email protected] {
-           compatible = "arm,cortex-a57","arm,armv8";
+           compatible = "arm,cortex-a57";
            reg = <0x0 0x0>;
            device_type = "cpu";
            enable-method = "psci";
@@ -225,7 +225,7 @@ Example:
        .....

        A53_0: [email protected] {
-           compatible = "arm,cortex-a53","arm,armv8";
+           compatible = "arm,cortex-a53";
            reg = <0x0 0x100>;
            device_type = "cpu";
            enable-method = "psci";
diff --git a/Documentation/devicetree/bindings/arm/cpu-capacity.txt b/Documentation/devicetree/bindings/arm/cpu-capacity.txt
index 96fa46c..380e21c 100644
--- a/Documentation/devicetree/bindings/arm/cpu-capacity.txt
+++ b/Documentation/devicetree/bindings/arm/cpu-capacity.txt
@@ -118,7 +118,7 @@ cpus {
    };

    A57_0: [email protected] {
-       compatible = "arm,cortex-a57","arm,armv8";
+       compatible = "arm,cortex-a57";
        reg = <0x0 0x0>;
        device_type = "cpu";
        enable-method = "psci";
@@ -129,7 +129,7 @@ cpus {
    };

    A57_1: [email protected] {
-       compatible = "arm,cortex-a57","arm,armv8";
+       compatible = "arm,cortex-a57";
        reg = <0x0 0x1>;
        device_type = "cpu";
        enable-method = "psci";
@@ -140,7 +140,7 @@ cpus {
    };

    A53_0: [email protected] {
-       compatible = "arm,cortex-a53","arm,armv8";
+       compatible = "arm,cortex-a53";
        reg = <0x0 0x100>;
        device_type = "cpu";
        enable-method = "psci";
@@ -151,7 +151,7 @@ cpus {
    };

    A53_1: [email protected] {
-       compatible = "arm,cortex-a53","arm,armv8";
+       compatible = "arm,cortex-a53";
        reg = <0x0 0x101>;
        device_type = "cpu";
        enable-method = "psci";
@@ -162,7 +162,7 @@ cpus {
    };

    A53_2: [email protected] {
-       compatible = "arm,cortex-a53","arm,armv8";
+       compatible = "arm,cortex-a53";
        reg = <0x0 0x102>;
        device_type = "cpu";
        enable-method = "psci";
@@ -173,7 +173,7 @@ cpus {
    };

    A53_3: [email protected] {
-       compatible = "arm,cortex-a53","arm,armv8";
+       compatible = "arm,cortex-a53";
        reg = <0x0 0x103>;
        device_type = "cpu";
        enable-method = "psci";

Leave a Reply

Your email address will not be published. Required fields are marked *