Skip to contentSkip to conversation

Add CMC of Facebook Minerva platform

PATCH Superseded [email protected] 2 participants 14 messages Sep 12, 2023 – Sep 14, 2023

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Add CMC of Facebook Minerva platform

From: Yang Chen <[email protected]>

Add linux device tree entry related to Minerva Chassis Management Controller (CMC) specific devices connected to the Aspeed SoC (AST2600).

Yang Chen (2):
dt-bindings: arm: aspeed: document board compatibles
ARM: dts: aspeed: Minerva: Add Facebook Minerva CMC board

 .../bindings/arm/aspeed/aspeed.yaml           |   1 +
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed-bmc-facebook-minerva-cmc.dts       | 265 ++++++++++++++++++
 3 files changed, 267 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/2 dt-bindings: arm: aspeed: document board compatibles

From: Yang Chen <[email protected]>

Document the new compatibles used on the Facebook Minerva Chassis Management Controller (CMC).

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index 68f717670f78..749ee54a3ff8 100644
@@ -79,6 +79,7 @@ properties:
               - facebook,elbert-bmc
               - facebook,fuji-bmc
               - facebook,greatlakes-bmc
+              - facebook,minerva-cmc
               - facebook,yosemite4-bmc
               - ibm,everest-bmc
               - ibm,rainier-bmc
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH 1/2 dt-bindings: arm: aspeed: document board compatibles

Hi Krzysztof,

Thanks for your reply, Minerva is a project of Facebook server that includes two types of boards. One is the motherboard that includes a BMC and another is the Chassis Management Board that includes a CMC and both use the Aspeed SoC (AST2600). These patches are for the CMC and the link you provided is for the BMC and they need to use different DTS.

Thanks,
Yang Chen

Krzysztof Kozlowski <[email protected]> ? 2023?9?13? ?? ??4:20???

Quoted 6 lines · yangchen.openbmc at gmail.com
Quoted 4 lines

From: Yang Chen <[email protected]>

Document the new compatibles used on the Facebook Minerva Chassis Management Controller (CMC).

Quoted 9 lines

How is this related to

https://lore.kernel.org/all/20230907064514.1764010-3-peteryin.openbmc at gmail.com/ ? Looks like duplicate :/

Best regards,
Krzysztof

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20230913/bcddaed5/attachment-0001.htm>

#4 lore raw

Re: [PATCH 1/2] dt-bindings: arm: aspeed: document board compatibles

Quoted 7 lines · Yang Chen

Hi Krzysztof,

Thanks for your reply, Minerva is a project of Facebook server that includes two types of boards. One is the motherboard that includes a BMC and another is the Chassis Management Board that includes a CMC and both use the Aspeed SoC (AST2600). These patches are for the CMC and the link you provided is for the BMC and they need to use different DTS.

Are they similar? Maybe you should share board DTSI?

Best regards,
Krzysztof

author
#5 lore raw

Re: [PATCH 1/2] dt-bindings: arm: aspeed: document board compatibles

Quoted 9 lines · Yang Chen
Quoted 7 lines

Hi Krzysztof,

Thanks for your reply, Minerva is a project of Facebook server that includes two types of boards. One is the motherboard that includes a BMC and another is the Chassis Management Board that includes a CMC and both use the Aspeed SoC (AST2600). These patches are for the CMC and the link you provided is for the BMC and they need to use different DTS.

Quoted 5 lines

Are they similar? Maybe you should share board DTSI?

Best regards,
Krzysztof

No, they are not similar. They just use the same SoC but they are on different system boards with different electronic schematic.

Thanks,
Yang Chen

#7 lore raw

PATCH 2/2 ARM: dts: aspeed: Minerva: Add Facebook Minerva CMC board

In reply to [email protected]

From: Yang Chen <[email protected]>

Add linux device tree entry related to the Minerva Chassis Management Controller (CMC) specific devices connected to the Aspeed SoC (AST2600).

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed-bmc-facebook-minerva-cmc.dts       | 265 ++++++++++++++++++
 2 files changed, 266 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index 23cbc7203a8e..d3ac20e316d0 100644
@@ -19,6 +19,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-facebook-fuji.dtb \
 	aspeed-bmc-facebook-galaxy100.dtb \
 	aspeed-bmc-facebook-greatlakes.dtb \
+	aspeed-bmc-facebook-minerva-cmc.dtb \
 	aspeed-bmc-facebook-minipack.dtb \
 	aspeed-bmc-facebook-tiogapass.dtb \
 	aspeed-bmc-facebook-wedge40.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts new file +265 -0

265 lines not on this page · raw message

Signature · 1 line
2.34.1
#8 lore raw

Re: [PATCH 2/2] ARM: dts: aspeed: Minerva: Add Facebook Minerva CMC board

Quoted 6 lines · yangchen.openbmc at gmail.com

From: Yang Chen <[email protected]>

Add linux device tree entry related to the Minerva Chassis Management Controller (CMC) specific devices connected to the Aspeed SoC (AST2600).

Also looks like a duplicate.

Best regards,
Krzysztof

#9 lore raw

Re: [PATCH 2/2] ARM: dts: aspeed: Minerva: Add Facebook Minerva CMC board

In reply to [email protected]
Quoted 17 lines · yangchen.openbmc at gmail.com

From: Yang Chen <[email protected]>

Add linux device tree entry related to the Minerva Chassis Management Controller (CMC) specific devices connected to the Aspeed SoC (AST2600).

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed-bmc-facebook-minerva-cmc.dts       | 265 ++++++++++++++++++
 2 files changed, 266 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +2 -0
 
 
+
+&i2c15 {

arch/arm/

Quoted 10 lines
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +10 -0
+	status = "okay";
+
+	eeprom at 50 {
+		compatible = "atmel,24c128";
+		reg = <0x50>;
+	};
+};
+
+&adc0 {
+	ref_voltage = <2500>;

There is no such property in the bindings.

arch/arm/

Quoted 9 lines
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +9 -0
+	status = "okay";
+	pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
+		&pinctrl_adc2_default &pinctrl_adc3_default
+		&pinctrl_adc4_default &pinctrl_adc5_default
+		&pinctrl_adc6_default &pinctrl_adc7_default>;
+};
+
+&adc1 {
+	ref_voltage = <2500>;

NAK, there is no such property.

Best regards,
Krzysztof

author NAK
#10 lore raw

PATCH 2/2 ARM: dts: aspeed: Minerva: Add Facebook Minerva CMC board

Hi Krzysztof,

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts line 245

Quoted 12 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts new file +12 -0
+
+&i2c15 {
+     status = "okay";
+
+     eeprom at 50 {
+             compatible = "atmel,24c128";
+             reg = <0x50>;
+     };
+};
+
+&adc0 {
+     ref_voltage = <2500>;

There is no such property in the bindings.

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts line 254

Quoted 9 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts new file +9 -0
+     status = "okay";
+     pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
+             &pinctrl_adc2_default &pinctrl_adc3_default
+             &pinctrl_adc4_default &pinctrl_adc5_default
+             &pinctrl_adc6_default &pinctrl_adc7_default>;
+};
+
+&adc1 {
+     ref_voltage = <2500>;

NAK, there is no such property.

Thanks for your advice, I will change this property to "aspeed,int-vref-microvolt" which is defined in the binding in the v2 patch.

Thanks,
Yang Chen

Krzysztof Kozlowski <[email protected]> ? 2023?9?13? ?? ??6:04???

Quoted 46 lines · yangchen.openbmc at gmail.com
Quoted 11 lines

From: Yang Chen <[email protected]>

Add linux device tree entry related to the Minerva Chassis Management Controller (CMC) specific devices connected to the Aspeed SoC (AST2600).

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed-bmc-facebook-minerva-cmc.dts       | 265 ++++++++++++++++++
 2 files changed, 266 insertions(+)
 create mode 100644

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts

Quoted 6 lines
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +2 -0
 
 
+
+&i2c15 {

arch/arm/

Quoted 10 lines
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +10 -0
+     status = "okay";
+
+     eeprom at 50 {
+             compatible = "atmel,24c128";
+             reg = <0x50>;
+     };
+};
+
+&adc0 {
+     ref_voltage = <2500>;

There is no such property in the bindings.

arch/arm/

Quoted 9 lines
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +9 -0
+     status = "okay";
+     pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
+             &pinctrl_adc2_default &pinctrl_adc3_default
+             &pinctrl_adc4_default &pinctrl_adc5_default
+             &pinctrl_adc6_default &pinctrl_adc7_default>;
+};
+
+&adc1 {
+     ref_voltage = <2500>;

NAK, there is no such property.

Quoted 4 lines

Best regards,
Krzysztof

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20230913/68c9c87b/attachment-0001.htm>

#11 lore raw

Re: [PATCH 2/2] ARM: dts: aspeed: Minerva: Add Facebook Minerva CMC board

Quoted 16 lines · Yang Chen

Hi Krzysztof,

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts line 245

Quoted 12 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts new file +12 -0
+
+&i2c15 {
+     status = "okay";
+
+     eeprom at 50 {
+             compatible = "atmel,24c128";
+             reg = <0x50>;
+     };
+};
+
+&adc0 {
+     ref_voltage = <2500>;

There is no such property in the bindings.

Fix your email setup. This is my response, not yours.

Quoted 13 lines

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts line 254

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts new file +9 -0
+     status = "okay";
+     pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
+             &pinctrl_adc2_default &pinctrl_adc3_default
+             &pinctrl_adc4_default &pinctrl_adc5_default
+             &pinctrl_adc6_default &pinctrl_adc7_default>;
+};
+
+&adc1 {
+     ref_voltage = <2500>;

NAK, there is no such property.

So who says what?

Quoted 2 lines

Thanks for your advice, I will change this property to "aspeed,int-vref-microvolt" which is defined in the binding in the v2 patch.

No, why? Drop it. There is no user.

Also, do not top post.

Best regards,
Krzysztof

author
#12 lore raw

Re: [PATCH 2/2] ARM: dts: aspeed: Minerva: Add Facebook Minerva CMC board

Quoted 17 lines · On Wed, Sep 13, 2023 at 6:04?PM Krzysztof Kozlowski…
Quoted 13 lines · yangchen.openbmc at gmail.com

From: Yang Chen <[email protected]>

Add linux device tree entry related to the Minerva Chassis Management Controller (CMC) specific devices connected to the Aspeed SoC (AST2600).

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed-bmc-facebook-minerva-cmc.dts       | 265 ++++++++++++++++++
 2 files changed, 266 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +0 -0
Quoted 14 lines

arch/arm/

Quoted 12 lines
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +12 -0
+
+&i2c15 {
+     status = "okay";
+
+     eeprom at 50 {
+             compatible = "atmel,24c128";
+             reg = <0x50>;
+     };
+};
+
+&adc0 {
+     ref_voltage = <2500>;

There is no such property in the bindings.

Hi Krzysztof,

I will change this property to the "aspeed,int-vref-microvolt" which is defined in the binding that can choose the ADC internal reference voltage is 1200000 or 2500000 ?V, and will add these changes to the v2 patches.

Quoted 12 lines

arch/arm/

Quoted 10 lines
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +9 -0
+     status = "okay";
+     pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
+             &pinctrl_adc2_default &pinctrl_adc3_default
+             &pinctrl_adc4_default &pinctrl_adc5_default
+             &pinctrl_adc6_default &pinctrl_adc7_default>;
+};
+
+&adc1 {
+     ref_voltage = <2500>;

NAK, there is no such property.

I will change this property to the "aspeed,int-vref-microvolt" which is defined in the binding that can choose the ADC internal reference voltage is 1200000 or 2500000 ?V, and will add these changes to the v2 patches.

Thanks,
Yang Chen

author
#13 lore raw

Re: [PATCH 2/2] ARM: dts: aspeed: Minerva: Add Facebook Minerva CMC board

In reply to Krzysztof Kozlowski

Krzysztof Kozlowski <[email protected]> ? 2023?9?13? ?? ??6:04???

Quoted 17 lines · yangchen.openbmc at gmail.com
Quoted 13 lines

From: Yang Chen <[email protected]>

Add linux device tree entry related to the Minerva Chassis Management Controller (CMC) specific devices connected to the Aspeed SoC (AST2600).

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed-bmc-facebook-minerva-cmc.dts       | 265 ++++++++++++++++++
 2 files changed, 266 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +0 -0
Quoted 14 lines

arch/arm/

Quoted 12 lines
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +12 -0
+
+&i2c15 {
+     status = "okay";
+
+     eeprom at 50 {
+             compatible = "atmel,24c128";
+             reg = <0x50>;
+     };
+};
+
+&adc0 {
+     ref_voltage = <2500>;

There is no such property in the bindings.

Thanks for your advice, I will change this property to "aspeed,int-vref-microvolt" which is defined in the binding in the v2 patch.

Quoted 12 lines

arch/arm/

Quoted 10 lines
arch/arm/ renamed from arch/arm/boot/dts/aspeed/Makefile +9 -0
+     status = "okay";
+     pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
+             &pinctrl_adc2_default &pinctrl_adc3_default
+             &pinctrl_adc4_default &pinctrl_adc5_default
+             &pinctrl_adc6_default &pinctrl_adc7_default>;
+};
+
+&adc1 {
+     ref_voltage = <2500>;

NAK, there is no such property.

Thanks for your advice, I will change this property to "aspeed,int-vref-microvolt" which is defined in the binding in the v2 patch.

Quoted 6 lines

Best regards,
Krzysztof