Skip to contentSkip to conversation

Introduce ASPEED AST27XX BMC SoC

PATCH NAK Kevin Chen 3 participants 26 messages Dec 12, 2024 – Dec 18, 2024

Subsystems (5)
lore
Share & tools
lore

Kevin Chen

author
#0 lore raw

v3 cover Introduce ASPEED AST27XX BMC SoC

---
v3:
- Split clk and reset driver to other commits, which are in series of "Add support for AST2700 clk driver".
- For BMC console by UART12, add uart12 using ASPEED INTC architecture.

aspeed,ast2700-intc.yaml
- Add minItems to 1 to fix the warning by "make dtbs_check W=1".
- Add intc1 into example.

Kconfig.platforms
- Remove MACH_ASPEED_G7.

Kevin Chen (6):
dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.
dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC
arm64: aspeed: Add support for ASPEED AST27XX BMC SoC
arm64: dts: aspeed: Add initial AST27XX device tree
arm64: dts: aspeed: Add initial AST2700 EVB device tree
arm64: defconfig: Add ASPEED AST2700 family support

 .../bindings/arm/aspeed/aspeed.yaml           |   6 +
 .../aspeed,ast2700-intc.yaml                  |  60 ++++-
 MAINTAINERS                                   |   1 +
 arch/arm64/Kconfig.platforms                  |   6 +
 arch/arm64/boot/dts/Makefile                  |   1 +
 arch/arm64/boot/dts/aspeed/Makefile           |   4 +
 arch/arm64/boot/dts/aspeed/aspeed-g7.dtsi     | 236 ++++++++++++++++++
 arch/arm64/boot/dts/aspeed/ast2700-evb.dts    |  57 +++++
 arch/arm64/configs/defconfig                  |   1 +
 9 files changed, 359 insertions(+), 13 deletions(-)
 create mode 100644 arch/arm64/boot/dts/aspeed/Makefile
 create mode 100644 arch/arm64/boot/dts/aspeed/aspeed-g7.dtsi
 create mode 100644 arch/arm64/boot/dts/aspeed/ast2700-evb.dts
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v3 1/6 dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +7 -0
index 2f92b8ab08fa..600424929df9 100644
@@ -8,6 +8,7 @@ title: Aspeed SoC based boards
 
 maintainers:
   - Joel Stanley <[email protected]>
+  - Kevin Chen <[email protected]>
 
 properties:
   $nodename:
@@ -101,4 +102,10 @@ properties:
               - ufispace,ncplite-bmc
           - const: aspeed,ast2600
 
+      - description: AST2700 based boards
+        items:
+          - enum:
+              - aspeed,ast2700-evb
+          - const: aspeed,ast2700
+
 additionalProperties: true
Signature · 1 line
2.34.1
#2 lore raw

Re: [PATCH v3 1/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

Quoted 2 lines · Kevin Chen

---

Please run scripts/checkpatch.pl and fix reported warnings. Then please run scripts/checkpatch.pl --strict and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.

Best regards,
Krzysztof

author
#3 lore raw

PATCH v3 1/6 dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.

In reply to Kevin Chen

1. Because size-cells is no need to use 2, modify to 1 for use.
2. Add minItems to 1 for interrupts for intc1.
3. Add 1 interrupt of intc1 example into yaml file.
4. Add intc1 sub-module of uart12 as example using the intc0 and intc1.

---
 .../aspeed,ast2700-intc.yaml                  | 60 +++++++++++++++----
 1 file changed, 47 insertions(+), 13 deletions(-)
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +47 -13
index 55636d06a674..eadfbc45326b 100644
@@ -31,6 +31,7 @@ properties:
       type as defined in interrupt.txt in this directory.
 
   interrupts:
+    minItems: 1
     maxItems: 6
     description: |
       Depend to which INTC0 or INTC1 used.
@@ -68,19 +69,52 @@ examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
     bus {
+      #address-cells = <2>;
+      #size-cells = <1>;
+
+      intc0: interrupt-controller@12100000 {
+        compatible = "simple-mfd";
+        reg = <0 0x12100000 0x4000>;
+        ranges = <0x0 0x0 0x0 0x12100000 0x4000>;
         #address-cells = <2>;
-        #size-cells = <2>;
-
-        interrupt-controller@12101b00 {
-            compatible = "aspeed,ast2700-intc-ic";
-            reg = <0 0x12101b00 0 0x10>;
-            #interrupt-cells = <2>;
-            interrupt-controller;
-            interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
+        #size-cells = <1>;
+
+        intc0_11: interrupt-controller@1b00 {
+          compatible = "aspeed,ast2700-intc-ic";
+          reg = <0 0x12101b00 0x10>;
+          #interrupt-cells = <2>;
+          interrupt-controller;
+          interrupts = <GIC_SPI 192 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 193 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 194 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 195 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 196 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 197 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
         };
+      };
+
+      intc1: interrupt-controller@14c18000 {
+        compatible = "simple-mfd";
+        reg = <0 0x14c18000 0x400>;
+        ranges = <0x0 0x0 0x0 0x14c18000 0x400>;
+        #address-cells = <2>;
+        #size-cells = <1>;
+
+        intc1_4: interrupt-controller@140 {
+          compatible = "aspeed,ast2700-intc-ic";
+          reg = <0x0 0x140 0x10>;
+          #interrupt-cells = <2>;
+          interrupt-controller;
+          interrupts-extended = <&intc0_11 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
+        };
+      };
+
+      uart12: serial@14c33b00 {
+        compatible = "ns16550a";
+        reg = <0x0 0x14c33b00 0x100>;
+        interrupts-extended = <&intc1_4 18 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
+        reg-shift = <2>;
+        reg-io-width = <4>;
+        no-loopback-test;
+      };
     };
Signature · 1 line
2.34.1
#4 lore raw

Re: [PATCH v3 1/6] dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.

Quoted 1 line · Kevin Chen

1. Because size-cells is no need to use 2, modify to 1 for use.

???

Quoted 1 line

2. Add minItems to 1 for interrupts for intc1.

???

Quoted 3 lines

3. Add 1 interrupt of intc1 example into yaml file.

4. Add intc1 sub-module of uart12 as example using the intc0 and intc1.

What is all this?

BTW, there was no such patch in previous version and your changelog is silent about it.

Subject: drop all full stops. Subject never ends with full stop.

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml properties: · line 34

Quoted 13 lines
---
 .../aspeed,ast2700-intc.yaml                  | 60 +++++++++++++++----
 1 file changed, 47 insertions(+), 13 deletions(-)
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +1 -0
index 55636d06a674..eadfbc45326b 100644
@@ -31,6 +31,7 @@ properties:
       type as defined in interrupt.txt in this directory.
 
   interrupts:
+    minItems: 1

Nope, not explained, not constrained. Your schema is supposed to be constrained.

Quoted 18 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +7 -3
     maxItems: 6
     description: |
       Depend to which INTC0 or INTC1 used.
@@ -68,19 +69,52 @@ examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
     bus {
+      #address-cells = <2>;
+      #size-cells = <1>;
+
+      intc0: interrupt-controller@12100000 {
+        compatible = "simple-mfd";
+        reg = <0 0x12100000 0x4000>;
+        ranges = <0x0 0x0 0x0 0x12100000 0x4000>;
         #address-cells = <2>;
-        #size-cells = <2>;
-
-        interrupt-controller@12101b00 {

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml examples: · line 84

Quoted 10 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +0 -10
-            compatible = "aspeed,ast2700-intc-ic";
-            reg = <0 0x12101b00 0 0x10>;
-            #interrupt-cells = <2>;
-            interrupt-controller;
-            interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;

I don't understand what is all this.

Quoted 30 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +29 -0
+        #size-cells = <1>;
+
+        intc0_11: interrupt-controller@1b00 {
+          compatible = "aspeed,ast2700-intc-ic";
+          reg = <0 0x12101b00 0x10>;
+          #interrupt-cells = <2>;
+          interrupt-controller;
+          interrupts = <GIC_SPI 192 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 193 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 194 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 195 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 196 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+                       <GIC_SPI 197 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
         };
+      };
+
+      intc1: interrupt-controller@14c18000 {
+        compatible = "simple-mfd";
+        reg = <0 0x14c18000 0x400>;
+        ranges = <0x0 0x0 0x0 0x14c18000 0x400>;
+        #address-cells = <2>;
+        #size-cells = <1>;
+
+        intc1_4: interrupt-controller@140 {
+          compatible = "aspeed,ast2700-intc-ic";
+          reg = <0x0 0x140 0x10>;
+          #interrupt-cells = <2>;
+          interrupt-controller;
+          interrupts-extended = <&intc0_11 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
+        };

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml examples: · line 119

Quoted 10 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +10 -0
+      };
+
+      uart12: serial@14c33b00 {
+        compatible = "ns16550a";
+        reg = <0x0 0x14c33b00 0x100>;
+        interrupts-extended = <&intc1_4 18 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
+        reg-shift = <2>;
+        reg-io-width = <4>;
+        no-loopback-test;
+      };

And above is not related at all. Don't add entirely unrelated changes. Drop.

Best regards,
Krzysztof

author
#5 lore raw

RE: [PATCH v3 1/6] dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.

Hi Krzk,

Quoted 3 lines
Quoted 1 line

1. Because size-cells is no need to use 2, modify to 1 for use.

???

So, is it OK that I change the size-cells back to 2 include the aspeed,ast2700-intc.yaml examples and aspeed-g7.dtsi?

Quoted 4 lines
Quoted 2 lines

2. Add minItems to 1 for interrupts for intc1.

???

For variable interrupt numbers, I need to fix the below warnings by minItems.
DTC [C] arch/arm64/boot/dts/aspeed/ast2700-evb.dtb
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@100: interrupts-extended: [[3, 0, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@110: interrupts-extended: [[3, 1, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@120: interrupts-extended: [[3, 2, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@130: interrupts-extended: [[3, 3, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@140: interrupts-extended: [[3, 4, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@150: interrupts-extended: [[3, 5, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#

Quoted 9 lines
Quoted 4 lines

3. Add 1 interrupt of intc1 example into yaml file.

4. Add intc1 sub-module of uart12 as example using the intc0 and intc1.

What is all this?

BTW, there was no such patch in previous version and your changelog is silent about it.

Agree, I will restore the previous version.

Quoted 109 lines

Subject: drop all full stops. Subject never ends with full stop.

Quoted 2 lines
---
 .../aspeed,ast2700-intc.yaml                  | 60

+++++++++++++++----

Quoted 13 lines
 1 file changed, 47 insertions(+), 13 deletions(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast270 0-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast270 0-intc.yaml index 55636d06a674..eadfbc45326b 100644
---
a/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast270 0-intc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/aspeed,as +++ t2700-intc.yaml

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml properties: · line 34

Quoted 4 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +1 -0
@@ -31,6 +31,7 @@ properties:
       type as defined in interrupt.txt in this directory.
 
   interrupts:
+    minItems: 1

Nope, not explained, not constrained. Your schema is supposed to be constrained.

Quoted 18 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +7 -3
     maxItems: 6
     description: |
       Depend to which INTC0 or INTC1 used.
@@ -68,19 +69,52 @@ examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
     bus {
+      #address-cells = <2>;
+      #size-cells = <1>;
+
+      intc0: interrupt-controller@12100000 {
+        compatible = "simple-mfd";
+        reg = <0 0x12100000 0x4000>;
+        ranges = <0x0 0x0 0x0 0x12100000 0x4000>;
         #address-cells = <2>;
-        #size-cells = <2>;
-
-        interrupt-controller@12101b00 {

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml examples: · line 84

Quoted 10 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +0 -10
-            compatible = "aspeed,ast2700-intc-ic";
-            reg = <0 0x12101b00 0 0x10>;
-            #interrupt-cells = <2>;
-            interrupt-controller;
-            interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;

I don't understand what is all this.

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml examples:

Quoted 8 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +8 -0
+        #size-cells = <1>;
+
+        intc0_11: interrupt-controller@1b00 {
+          compatible = "aspeed,ast2700-intc-ic";
+          reg = <0 0x12101b00 0x10>;
+          #interrupt-cells = <2>;
+          interrupt-controller;
+          interrupts = <GIC_SPI 192 (GIC_CPU_MASK_SIMPLE(4) |

IRQ_TYPE_LEVEL_HIGH)>,

Review examples: · line 88

Quoted 1 line
(quoted diff) +1 -0
+                       <GIC_SPI 193 (GIC_CPU_MASK_SIMPLE(4) |

IRQ_TYPE_LEVEL_HIGH)>,

Review examples: · line 89

Quoted 1 line
(quoted diff) +1 -0
+                       <GIC_SPI 194 (GIC_CPU_MASK_SIMPLE(4) |

IRQ_TYPE_LEVEL_HIGH)>,

Review examples: · line 90

Quoted 1 line
(quoted diff) +1 -0
+                       <GIC_SPI 195 (GIC_CPU_MASK_SIMPLE(4) |

IRQ_TYPE_LEVEL_HIGH)>,

Review examples: · line 91

Quoted 1 line
(quoted diff) +1 -0
+                       <GIC_SPI 196 (GIC_CPU_MASK_SIMPLE(4) |

IRQ_TYPE_LEVEL_HIGH)>,

Quoted 8 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +7 -0
+                       <GIC_SPI 197 (GIC_CPU_MASK_SIMPLE(4) |
+ IRQ_TYPE_LEVEL_HIGH)>;
         };
+      };
+
+      intc1: interrupt-controller@14c18000 {
+        compatible = "simple-mfd";
+        reg = <0 0x14c18000 0x400>;

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml examples:

Quoted 10 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +10 -0
+        ranges = <0x0 0x0 0x0 0x14c18000 0x400>;
+        #address-cells = <2>;
+        #size-cells = <1>;
+
+        intc1_4: interrupt-controller@140 {
+          compatible = "aspeed,ast2700-intc-ic";
+          reg = <0x0 0x140 0x10>;
+          #interrupt-cells = <2>;
+          interrupt-controller;
+          interrupts-extended = <&intc0_11 4

(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml examples:

Quoted 7 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +7 -0
+        };
+      };
+
+      uart12: serial@14c33b00 {
+        compatible = "ns16550a";
+        reg = <0x0 0x14c33b00 0x100>;
+        interrupts-extended = <&intc1_4 18 (GIC_CPU_MASK_SIMPLE(4)

| IRQ_TYPE_LEVEL_HIGH)>;

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml examples: · line 119

Quoted 4 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +4 -0
+        reg-shift = <2>;
+        reg-io-width = <4>;
+        no-loopback-test;
+      };
Quoted 5 lines

And above is not related at all. Don't add entirely unrelated changes. Drop.

Best regards,
Krzysztof

Best Regards,
Kevin. Chen

#6 lore raw

Re: [PATCH v3 1/6] dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.

Quoted 6 lines · Kevin Chen

Hi Krzk,

Quoted 3 lines
Quoted 1 line

1. Because size-cells is no need to use 2, modify to 1 for use.

???

So, is it OK that I change the size-cells back to 2 include the aspeed,ast2700-intc.yaml examples and aspeed-g7.dtsi?

No, my total surprise is that I did not understand what it maens. Is this changelog? Commit msg? Why such change is made?

Quoted 23 lines
Quoted 5 lines
Quoted 3 lines

2. Add minItems to 1 for interrupts for intc1.

???

For variable interrupt numbers, I need to fix the below warnings by minItems.
DTC [C] arch/arm64/boot/dts/aspeed/ast2700-evb.dtb
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@100: interrupts-extended: [[3, 0, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@110: interrupts-extended: [[3, 1, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@120: interrupts-extended: [[3, 2, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@130: interrupts-extended: [[3, 3, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@140: interrupts-extended: [[3, 4, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#
/home/kevin/linux-mainline/arch/arm64/boot/dts/aspeed/ast2700-evb.dtb: interrupt-controller@150: interrupts-extended: [[3, 5, 3844]] is too short
from schema $id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2700-intc.yaml#

Quoted 3 lines
Quoted 2 lines

3. Add 1 interrupt of intc1 example into yaml file.

Quoted 34 lines
Quoted 6 lines
Quoted 1 line

4. Add intc1 sub-module of uart12 as example using the intc0 and intc1.

What is all this?

BTW, there was no such patch in previous version and your changelog is silent about it.

Agree, I will restore the previous version.

Quoted 26 lines

Subject: drop all full stops. Subject never ends with full stop.

Quoted 2 lines
---
 .../aspeed,ast2700-intc.yaml                  | 60

+++++++++++++++----

Quoted 13 lines
 1 file changed, 47 insertions(+), 13 deletions(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast270 0-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast270 0-intc.yaml index 55636d06a674..eadfbc45326b 100644
---
a/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast270 0-intc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/aspeed,as +++ t2700-intc.yaml

Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml properties: · line 34

Quoted 4 lines
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +1 -0
@@ -31,6 +31,7 @@ properties:
       type as defined in interrupt.txt in this directory.
 
   interrupts:
+    minItems: 1

Nope, not explained, not constrained. Your schema is supposed to be constrained.

I still do not understand this commit at all.

Best regards,
Krzysztof

#7 lore raw

Re: [PATCH v3 1/6] dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.

In reply to Kevin Chen
Quoted 8 lines · Kevin Chen

1. Because size-cells is no need to use 2, modify to 1 for use.
2. Add minItems to 1 for interrupts for intc1.
3. Add 1 interrupt of intc1 example into yaml file.
4. Add intc1 sub-module of uart12 as example using the intc0 and intc1.

---
 .../aspeed,ast2700-intc.yaml                  | 60 +++++++++++++++----
 1 file changed, 47 insertions(+), 13 deletions(-)

As with all your patches, repeating since v1 the same comment, so one more last time:

Please run scripts/checkpatch.pl and fix reported warnings. Then please run 'scripts/checkpatch.pl --strict' and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.

Best regards,
Krzysztof

author
#8 lore raw

RE: [PATCH v3 1/6] dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.

Hi,

Quoted 10 lines
Quoted 6 lines

1. Because size-cells is no need to use 2, modify to 1 for use.
2. Add minItems to 1 for interrupts for intc1.
3. Add 1 interrupt of intc1 example into yaml file.
4. Add intc1 sub-module of uart12 as example using the intc0 and intc1.

---
 .../aspeed,ast2700-intc.yaml                  | 60

+++++++++++++++----

Quoted 2 lines
 1 file changed, 47 insertions(+), 13 deletions(-)
Quoted 7 lines

As with all your patches, repeating since v1 the same comment, so one more last time:

Please run scripts/checkpatch.pl and fix reported warnings. Then please run 'scripts/checkpatch.pl --strict' and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.

OK.
I need to wait the Ryan's series of " "Add support for AST2700 clk driver"" for clk and reset drivers. I will wait for his commits to be merged with the warnings fixed.

Quoted 3 lines

Best regards,
Krzysztof

author
#9 lore raw

PATCH v3 2/6 dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

In reply to Kevin Chen
---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +6 -0
index 2f92b8ab08fa..20191fee1f5b 100644
@@ -101,4 +101,10 @@ properties:
               - ufispace,ncplite-bmc
           - const: aspeed,ast2600
 
+      - description: AST2700 based boards
+        items:
+          - enum:
+              - aspeed,ast2700-evb
+          - const: aspeed,ast2700
+
 additionalProperties: true
Signature · 1 line
2.34.1
#10 lore raw

Re: [PATCH v3 2/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

Quoted 10 lines · Kevin Chen
---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +0 -0
index 2f92b8ab08fa..20191fee1f5b 100644

Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml properties: · line 110

Quoted 10 lines
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +6 -0
@@ -101,4 +101,10 @@ properties:
               - ufispace,ncplite-bmc
           - const: aspeed,ast2600
 
+      - description: AST2700 based boards
+        items:
+          - enum:
+              - aspeed,ast2700-evb
+          - const: aspeed,ast2700
+
 additionalProperties: true

This patchset is just corrupted. You already sent it as patch #1.

Please run scripts/checkpatch.pl and fix reported warnings. Then please run scripts/checkpatch.pl --strict and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.

Best regards,
Krzysztof

maintainer NAK
#11 lore raw

Re: [PATCH v3 2/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

Quoted 26 lines · Krzysztof Kozlowski
Quoted 10 lines · Kevin Chen
---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +0 -0
index 2f92b8ab08fa..20191fee1f5b 100644

Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml properties: · line 110

Quoted 10 lines
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +6 -0
@@ -101,4 +101,10 @@ properties:
               - ufispace,ncplite-bmc
           - const: aspeed,ast2600
 
+      - description: AST2700 based boards
+        items:
+          - enum:
+              - aspeed,ast2700-evb
+          - const: aspeed,ast2700
+
 additionalProperties: true

This patchset is just corrupted. You already sent it as patch #1.

Quoted 5 lines

Please run scripts/checkpatch.pl and fix reported warnings. Then please run scripts/checkpatch.pl --strict and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.

BTW, you already got here same comments before and this is third time you send exactly the same without implementing what we asked you.

Three times same issue.

NAK

Best regards,
Krzysztof

author
#12 lore raw

RE: [PATCH v3 2/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

Hi Krzk,

Quoted 27 lines
Quoted 27 lines · Kevin Chen
Quoted 11 lines
---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +0 -0
index 2f92b8ab08fa..20191fee1f5b 100644

Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml properties: · line 110

Quoted 10 lines
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +6 -0
@@ -101,4 +101,10 @@ properties:
               - ufispace,ncplite-bmc
           - const: aspeed,ast2600
 
+      - description: AST2700 based boards
+        items:
+          - enum:
+              - aspeed,ast2700-evb
+          - const: aspeed,ast2700
+
 additionalProperties: true

This patchset is just corrupted. You already sent it as patch #1.

Quoted 7 lines
Quoted 5 lines

Please run scripts/checkpatch.pl and fix reported warnings. Then please run scripts/checkpatch.pl --strict and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.

BTW, you already got here same comments before and this is third time you send exactly the same without implementing what we asked you.

Please check the following message.
https://lore.kernel.org/lkml/PSAPR06MB494943F3F34881D23CEEBD9A897D2@PSAPR06MB4949.apcprd06.prod.outlook.com/

Or, how do you think what is better for me to add ast2700-evb?

Quoted 7 lines

Three times same issue.

NAK

Best regards,
Krzysztof

Best Regards,
Kevin. Chen

#13 lore raw

Re: [PATCH v3 2/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

Quoted 34 lines · Kevin Chen

Hi Krzk,

Quoted 32 lines
Quoted 32 lines · Kevin Chen
Quoted 11 lines
---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +0 -0
index 2f92b8ab08fa..20191fee1f5b 100644

Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml properties: · line 110

Quoted 10 lines
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +6 -0
@@ -101,4 +101,10 @@ properties:
               - ufispace,ncplite-bmc
           - const: aspeed,ast2600
 
+      - description: AST2700 based boards
+        items:
+          - enum:
+              - aspeed,ast2700-evb
+          - const: aspeed,ast2700
+
 additionalProperties: true

This patchset is just corrupted. You already sent it as patch #1.

Please run scripts/checkpatch.pl and fix reported warnings. Then please run scripts/checkpatch.pl --strict and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.

Quoted 6 lines
Quoted 2 lines

BTW, you already got here same comments before and this is third time you send exactly the same without implementing what we asked you.

Please check the following message.
https://lore.kernel.org/lkml/PSAPR06MB494943F3F34881D23CEEBD9A897D2@PSAPR06MB4949.apcprd06.prod.outlook.com/

Or, how do you think what is better for me to add ast2700-evb?

Please stop responding just to make me go away.

Read the comments from half a year ago, which you have never implemented:

https://lore.kernel.org/lkml/[email protected]/

On every new patch I was asking you to go back, but again you were ignoring each of such messages.

Best regards,
Krzysztof

author
#14 lore raw

PATCH v3 2/6 dt-bindings: interrupt-controller: Fix the size-cells in ast2700-intc

In reply to Kevin Chen

It is no need to let size-cells to 2 for the ASPEED AST27XX INTC. Modify the ast2700-intc example usage.

---
 .../bindings/interrupt-controller/aspeed,ast2700-intc.yaml    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2700-intc.yaml +2 -2
index 55636d06a674..69503aa638fb 100644
@@ -69,11 +69,11 @@ examples:
 
     bus {
         #address-cells = <2>;
-        #size-cells = <2>;
+        #size-cells = <1>;
 
         interrupt-controller@12101b00 {
             compatible = "aspeed,ast2700-intc-ic";
-            reg = <0 0x12101b00 0 0x10>;
+            reg = <0 0x12101b00 0x10>;
             #interrupt-cells = <2>;
             interrupt-controller;
             interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
Signature · 1 line
2.34.1
#15 lore raw

Re: [PATCH v3 2/6] dt-bindings: interrupt-controller: Fix the size-cells in ast2700-intc

Quoted 2 lines · Kevin Chen

It is no need to let size-cells to 2 for the ASPEED AST27XX INTC. Modify the ast2700-intc example usage.

Why?

This just looks useless.

Quoted 6 lines
---
 .../bindings/interrupt-controller/aspeed,ast2700-intc.yaml    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Best regards,
Krzysztof

author
#16 lore raw

PATCH v3 3/6 arm64: aspeed: Add support for ASPEED AST27XX BMC SoC

In reply to Kevin Chen

Add ARCH_ASPEED in current arm64 architecture.

---
 MAINTAINERS                  | 1 +
 arch/arm64/Kconfig.platforms | 6 ++++++
 2 files changed, 7 insertions(+)
MAINTAINERS +1 -0
index 17daa9ee9384..c6d04cea43d6 100644
@@ -2261,6 +2261,7 @@ Q:	https://patchwork.ozlabs.org/project/linux-aspeed/list/
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git
 F:	Documentation/devicetree/bindings/arm/aspeed/
 F:	arch/arm/boot/dts/aspeed/
+F:	arch/arm64/boot/dts/aspeed/
 F:	arch/arm/mach-aspeed/
 N:	aspeed
 
arch/arm64/Kconfig.platforms +6 -0
index 370a9d2b6919..894b80434776 100644
@@ -40,6 +40,12 @@ config ARCH_APPLE
 	  This enables support for Apple's in-house ARM SoC family, such
 	  as the Apple M1.
 
+config ARCH_ASPEED
+	bool "Aspeed SoC family"
+	help
+	  Say yes if you intend to run on an Aspeed ast2700 or similar
+	  seventh generation Aspeed BMCs.
+
 menuconfig ARCH_BCM
 	bool "Broadcom SoC Support"
 
Signature · 1 line
2.34.1
author
#17 lore raw

PATCH v3 4/6 arm64: dts: aspeed: Add initial AST27XX device tree

In reply to Kevin Chen

Add aspeed-g7.dtsi to be AST27XX device tree.

---
 arch/arm64/boot/dts/Makefile              |   1 +
 arch/arm64/boot/dts/aspeed/aspeed-g7.dtsi | 236 ++++++++++++++++++++++
 2 files changed, 237 insertions(+)
 create mode 100644 arch/arm64/boot/dts/aspeed/aspeed-g7.dtsi
arch/arm64/boot/dts/Makefile +1 -0
index 21cd3a87f385..6a590a66e1a9 100644
@@ -9,6 +9,7 @@ subdir-y += amlogic
 subdir-y += apm
 subdir-y += apple
 subdir-y += arm
+subdir-y += aspeed
 subdir-y += bitmain
 subdir-y += broadcom
 subdir-y += cavium
arch/arm64/boot/dts/aspeed/aspeed-g7.dtsi new file +236 -0

236 lines not on this page · raw message

Signature · 1 line
2.34.1
#18 lore raw

Re: [PATCH v3 4/6] arm64: dts: aspeed: Add initial AST27XX device tree

Quoted 3 lines · Kevin Chen

Add aspeed-g7.dtsi to be AST27XX device tree.

Where are all the bindings? Why are you silent about this? The patchset adding new SoC DTS, when separate, is supposed to explain where we can find the bindings.

Quoted 5 lines
---
 arch/arm64/boot/dts/Makefile              |   1 +
 arch/arm64/boot/dts/aspeed/aspeed-g7.dtsi | 236 ++++++++++++++++++++++
 2 files changed, 237 insertions(+)
 create mode 100644 arch/arm64/boot/dts/aspeed/aspeed-g7.

Best regards,
Krzysztof

author
#19 lore raw

RE: [PATCH v3 4/6] arm64: dts: aspeed: Add initial AST27XX device tree

Hi Krzk,

Quoted 7 lines
Quoted 3 lines

Add aspeed-g7.dtsi to be AST27XX device tree.

Where are all the bindings? Why are you silent about this? The patchset adding new SoC DTS, when separate, is supposed to explain where we can find the bindings.

Do you mean apseed,ast2700-scu0 and aspeed,ast2700-scu1? Could I make sure this new SoC DTS how to submit?

Thanks.

Quoted 11 lines
Quoted 7 lines
---
 arch/arm64/boot/dts/Makefile              |   1 +
 arch/arm64/boot/dts/aspeed/aspeed-g7.dtsi | 236
++++++++++++++++++++++
 2 files changed, 237 insertions(+)
 create mode 100644 arch/arm64/boot/dts/aspeed/aspeed-g7.

Best regards,
Krzysztof

Best Regards,
Kevin. Chen

author
#20 lore raw

PATCH v3 5/6 arm64: dts: aspeed: Add initial AST2700 EVB device tree

In reply to Kevin Chen

Add EVB board of AST2700 in ASPEED Architecture.

---
 arch/arm64/boot/dts/aspeed/Makefile        |  4 ++
 arch/arm64/boot/dts/aspeed/ast2700-evb.dts | 57 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 arch/arm64/boot/dts/aspeed/Makefile
 create mode 100644 arch/arm64/boot/dts/aspeed/ast2700-evb.dts
arch/arm64/boot/dts/aspeed/Makefile new file +4 -0
new file mode 100644
index 000000000000..ffe7e15017cc
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
+
+dtb-$(CONFIG_ARCH_ASPEED) += \
+	ast2700-evb.dtb
arch/arm64/boot/dts/aspeed/ast2700-evb.dts new file +57 -0

57 lines not on this page · raw message

Signature · 1 line
2.34.1
#21 lore raw

Re: [PATCH v3 5/6] arm64: dts: aspeed: Add initial AST2700 EVB device tree

Quoted 34 lines · Kevin Chen

Add EVB board of AST2700 in ASPEED Architecture.

---
 arch/arm64/boot/dts/aspeed/Makefile        |  4 ++
 arch/arm64/boot/dts/aspeed/ast2700-evb.dts | 57 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 arch/arm64/boot/dts/aspeed/Makefile
 create mode 100644 arch/arm64/boot/dts/aspeed/ast2700-evb.dts
arch/arm64/boot/dts/aspeed/Makefile new file +4 -0
new file mode 100644
index 000000000000..ffe7e15017cc
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
+
+dtb-$(CONFIG_ARCH_ASPEED) += \
+	ast2700-evb.dtb
arch/arm64/boot/dts/aspeed/ast2700-evb.dts new file +8 -0
new file mode 100644
index 000000000000..6dad88c98ce0
@@ -0,0 +1,57 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+/dts-v1/;
+
+#include "aspeed-g7.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+
+/ {

arch/arm64/boot/dts/aspeed/ast2700-evb.dts line 18

Quoted 10 lines
arch/arm64/boot/dts/aspeed/ast2700-evb.dts new file +10 -0
+	model = "AST2700A1-EVB";
+	compatible = "aspeed,ast2700-evb", "aspeed,ast2700";
+
+	aliases {
+		serial12 = &uart12;
+	};
+
+	chosen {
+		bootargs = "console=ttyS12,115200n8";
+		stdout-path = &uart12;

Nothing improved. You keep ignoring my comments: not responding, not addressing, not fixing the code.

Quoted 20 lines
arch/arm64/boot/dts/aspeed/ast2700-evb.dts new file +20 -0
+	};
+
+	firmware {
+		optee: optee {
+			compatible = "linaro,optee-tz";
+			method = "smc";
+		};
+	};
+
+	memory@400000000 {
+		device_type = "memory";
+		reg = <0x4 0x00000000 0x40000000>;
+	};
+
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <1>;
+		ranges;
+
+		mcu_fw: mcu-firmware@42fe00000 {

arch/arm64/boot/dts/aspeed/ast2700-evb.dts line 48

Quoted 10 lines
arch/arm64/boot/dts/aspeed/ast2700-evb.dts new file +10 -0
+			reg = <0x4 0x2fe00000 0x200000>;
+			no-map;
+		};
+
+		atf: trusted-firmware-a@430000000 {
+			reg = <0x4 0x30000000 0x80000>;
+			no-map;
+		};
+
+		optee_core: optee_core@430080000 {

Follow DTS Coding style document. That's the same comment as before.

Best regards,
Krzysztof

author
#22 lore raw

RE: [PATCH v3 5/6] arm64: dts: aspeed: Add initial AST2700 EVB device tree

Hi Krzk,

Quoted 42 lines
Quoted 42 lines

Add EVB board of AST2700 in ASPEED Architecture.

---
 arch/arm64/boot/dts/aspeed/Makefile        |  4 ++
 arch/arm64/boot/dts/aspeed/ast2700-evb.dts | 57
++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 arch/arm64/boot/dts/aspeed/Makefile
 create mode 100644 arch/arm64/boot/dts/aspeed/ast2700-evb.dts
arch/arm64/boot/dts/aspeed/Makefile new file +4 -0
new file mode 100644
index 000000000000..ffe7e15017cc
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
+
+dtb-$(CONFIG_ARCH_ASPEED) += \
+	ast2700-evb.dtb
arch/arm64/boot/dts/aspeed/ast2700-evb.dts new file +13 -0
new file mode 100644
index 000000000000..6dad88c98ce0
@@ -0,0 +1,57 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+/dts-v1/;
+
+#include "aspeed-g7.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+
+/ {
+	model = "AST2700A1-EVB";
+	compatible = "aspeed,ast2700-evb", "aspeed,ast2700";
+
+	aliases {
+		serial12 = &uart12;
Quoted 8 lines

arch/arm64/boot/dts/aspeed/ast2700-evb.dts line 18

Quoted 5 lines
arch/arm64/boot/dts/aspeed/ast2700-evb.dts new file +5 -0
+	};
+
+	chosen {
+		bootargs = "console=ttyS12,115200n8";
+		stdout-path = &uart12;

Nothing improved. You keep ignoring my comments: not responding, not addressing, not fixing the code.

OK. I will remove the bootargs.

Quoted 25 lines
Quoted 25 lines
arch/arm64/boot/dts/aspeed/ast2700-evb.dts new file +24 -0
+	};
+
+	firmware {
+		optee: optee {
+			compatible = "linaro,optee-tz";
+			method = "smc";
+		};
+	};
+
+	memory@400000000 {
+		device_type = "memory";
+		reg = <0x4 0x00000000 0x40000000>;
+	};
+
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <1>;
+		ranges;
+
+		mcu_fw: mcu-firmware@42fe00000 {
+			reg = <0x4 0x2fe00000 0x200000>;
+			no-map;
+		};
+
Quoted 8 lines

arch/arm64/boot/dts/aspeed/ast2700-evb.dts line 48

Quoted 6 lines
arch/arm64/boot/dts/aspeed/ast2700-evb.dts new file +6 -0
+		atf: trusted-firmware-a@430000000 {
+			reg = <0x4 0x30000000 0x80000>;
+			no-map;
+		};
+
+		optee_core: optee_core@430080000 {

Follow DTS Coding style document. That's the same comment as before.

OK. I will fix to optee-core:optee-core@430080000 {

Quoted 4 lines

Best regards,
Krzysztof

author
#23 lore raw

PATCH v3 6/6 arm64: defconfig: Add ASPEED AST2700 family support

In reply to Kevin Chen

Enable CONFIG_ARCH_ASPEED in arm64 defconfig.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index c62831e61586..8826068c7c1d 100644
@@ -38,6 +38,7 @@ CONFIG_ARCH_AIROHA=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_ARCH_ALPINE=y
 CONFIG_ARCH_APPLE=y
+CONFIG_ARCH_ASPEED=y
 CONFIG_ARCH_BCM=y
 CONFIG_ARCH_BCM2835=y
 CONFIG_ARCH_BCM_IPROC=y
Signature · 1 line
2.34.1
maintainer
#24 lore raw
In reply to Kevin Chen

Hi Kevin,

Quoted 15 lines · Kevin Chen

---
v3:
  - Split clk and reset driver to other commits, which are in series of
    "Add support for AST2700 clk driver".
  - For BMC console by UART12, add uart12 using ASPEED INTC architecture.

aspeed,ast2700-intc.yaml
  - Add minItems to 1 to fix the warning by "make dtbs_check W=1".
  - Add intc1 into example.

Kconfig.platforms
  - Remove MACH_ASPEED_G7.

Quoted 8 lines

Kevin Chen (6):
  dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.
  dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC
  arm64: aspeed: Add support for ASPEED AST27XX BMC SoC
  arm64: dts: aspeed: Add initial AST27XX device tree
  arm64: dts: aspeed: Add initial AST2700 EVB device tree
  arm64: defconfig: Add ASPEED AST2700 family support

Do you mind sending a v4, because I received a confusing arrangement of patches:

[PATCH v3 1/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC
[PATCH v3 1/6] dt-bindings: interrupt-controller: Refine size/interrupt-cell usage. [PATCH v3 2/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC
[PATCH v3 2/6] dt-bindings: interrupt-controller: Fix the size-cells in ast2700-intc
...

Where the content of

[PATCH v3 1/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

and

[PATCH v3 2/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

Differs, as does the content of

[PATCH v3 1/6] dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.

and

[PATCH v3 2/6] dt-bindings: interrupt-controller: Fix the size-cells in ast2700-intc

Despite sounding like they might have the same intent

Andrew

author
#25 lore raw

Hi,

Quoted 23 lines
Quoted 15 lines

---
v3:
  - Split clk and reset driver to other commits, which are in series of
    "Add support for AST2700 clk driver".
  - For BMC console by UART12, add uart12 using ASPEED INTC architecture.

aspeed,ast2700-intc.yaml
  - Add minItems to 1 to fix the warning by "make dtbs_check W=1".
  - Add intc1 into example.

Kconfig.platforms
  - Remove MACH_ASPEED_G7.

Quoted 7 lines

Kevin Chen (6):
  dt-bindings: interrupt-controller: Refine size/interrupt-cell usage.
  dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC
  arm64: aspeed: Add support for ASPEED AST27XX BMC SoC
  arm64: dts: aspeed: Add initial AST27XX device tree
  arm64: dts: aspeed: Add initial AST2700 EVB device tree
  arm64: defconfig: Add ASPEED AST2700 family support

Quoted 2 lines

Do you mind sending a v4, because I received a confusing arrangement of patches:

OK. I put a mixed commits in our send-mail server. I will try to send v4 patches. Thanks for your reminder.

Quoted 27 lines

[PATCH v3 1/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC [PATCH v3 1/6] dt-bindings: interrupt-controller: Refine size/interrupt-cell usage. [PATCH v3 2/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC [PATCH v3 2/6] dt-bindings: interrupt-controller: Fix the size-cells in ast2700-intc ...

Where the content of

[PATCH v3 1/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

and

[PATCH v3 2/6] dt-bindings: arm: aspeed: Add ASPEED AST27XX SoC

Differs, as does the content of

[PATCH v3 1/6] dt-bindings: interrupt-controller: Refine size/interrupt-cell
usage.

and

[PATCH v3 2/6] dt-bindings: interrupt-controller: Fix the size-cells in
ast2700-intc

Despite sounding like they might have the same intent

Andrew