Skip to contentSkip to conversation

ARM: dts: aspeed: Adding Facebook Bletchley BMC

PATCH Superseded Howard Chiu 4 participants 9 messages Dec 1, 2021 – Dec 7, 2021

Subsystems (3)

v6 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

PATCH v6 1/1 ARM: dts: aspeed: Adding Facebook Bletchley BMC

Initial introduction of Facebook Bletchley equipped with Aspeed 2600 BMC SoC.

Change since v5:
- Add an EEPROM on i2c-7
- Change address of FUSB302 to 0x22
- Assign interrupt pin to FUSB302
- Rework pin assignment of pca9539

Change since v4:
- Change address of TMP421 on i2c-12 to 0x4d

Change since v3:
- Add a TMP421 on i2c-10

Change since v2:
- Remove uart5 workaround
- Remove gpio nodes of pca9552/pca9539
- Modify gpio-line-name of led/power/presence pins with openbmc pattern
- Add MP5023 devices

Change since v1:
- Keep sorted in Makefile
- Change baudrate to 57600 from 115200
- Rename node *-ember to *-amber
- Use openbmc-flash-layout-128.dtsi

---
 arch/arm/boot/dts/Makefile                    |   1 +
 .../dts/aspeed-bmc-facebook-bletchley.dts     | 760 ++++++++++++++++++
 2 files changed, 761 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
arch/arm/boot/dts/Makefile +1 -0
index 0de64f237cd8..b804b577010a 100644
@@ -1482,6 +1482,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-arm-stardragon4800-rep2.dtb \
 	aspeed-bmc-asrock-e3c246d4i.dtb \
 	aspeed-bmc-bytedance-g220a.dtb \
+	aspeed-bmc-facebook-bletchley.dtb \
 	aspeed-bmc-facebook-cloudripper.dtb \
 	aspeed-bmc-facebook-cmm.dtb \
 	aspeed-bmc-facebook-elbert.dtb \
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +760 -0

760 lines not on this page · raw message

Signature · 1 line
2.25.1
maintainer
#1 lore raw

Hello Howard,

Please just cc the people that get_maintainers.pl spits out. You don't want to cc soc at kenrel.org (that's for when patches are ready to apply, and something that the maintainer for the platform will handle).

$ ./scripts/get_maintainer.pl -f
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
Rob Herring <[email protected]> (maintainer:OPEN FIRMWARE AND
FLATTENED DEVICE TREE BINDINGS)
Joel Stanley <[email protected]> (supporter:ARM/ASPEED MACHINE SUPPORT)
Andrew Jeffery <[email protected]> (reviewer:ARM/ASPEED MACHINE SUPPORT)
devicetree at vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED
DEVICE TREE BINDINGS)
linux-arm-kernel at lists.infradead.org (moderated list:ARM/ASPEED MACHINE SUPPORT)
linux-aspeed at lists.ozlabs.org (moderated list:ARM/ASPEED MACHINE SUPPORT)
linux-kernel at vger.kernel.org (open list)
Quoted 3 lines · Howard Chiu

Initial introduction of Facebook Bletchley equipped with Aspeed 2600 BMC SoC.

I like to have some background on the machine, as it provides context for the review. Is it a x86 server? A x86 switch? Of course if this information is confidential then that's fine to omit it, only provide what you can.

Quoted 3 lines

Put the changes below under ---. This is so they are not included in the commit message when added to the kernel.

If the information is relevant, then put it in the commit message above your s-o-b.

Quoted 73 lines

Change since v5:
- Add an EEPROM on i2c-7
- Change address of FUSB302 to 0x22
- Assign interrupt pin to FUSB302
- Rework pin assignment of pca9539

Change since v4:
- Change address of TMP421 on i2c-12 to 0x4d

Change since v3:
- Add a TMP421 on i2c-10

Change since v2:
- Remove uart5 workaround
- Remove gpio nodes of pca9552/pca9539
- Modify gpio-line-name of led/power/presence pins with openbmc pattern
- Add MP5023 devices

Change since v1:
- Keep sorted in Makefile
- Change baudrate to 57600 from 115200
- Rename node *-ember to *-amber
- Use openbmc-flash-layout-128.dtsi

---
 arch/arm/boot/dts/Makefile                    |   1 +
 .../dts/aspeed-bmc-facebook-bletchley.dts     | 760 ++++++++++++++++++
 2 files changed, 761 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
arch/arm/boot/dts/Makefile +1 -0
index 0de64f237cd8..b804b577010a 100644
@@ -1482,6 +1482,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
        aspeed-bmc-arm-stardragon4800-rep2.dtb \
        aspeed-bmc-asrock-e3c246d4i.dtb \
        aspeed-bmc-bytedance-g220a.dtb \
+       aspeed-bmc-facebook-bletchley.dtb \
        aspeed-bmc-facebook-cloudripper.dtb \
        aspeed-bmc-facebook-cmm.dtb \
        aspeed-bmc-facebook-elbert.dtb \
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +26 -0
new file mode 100644
index 000000000000..c013ebe1704a
@@ -0,0 +1,760 @@
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright (c) 2021 Facebook Inc.
+/dts-v1/;
+
+#include "aspeed-g6.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/usb/pd.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+/ {
+       model = "Facebook Bletchley BMC";
+       compatible = "facebook,bletchley-bmc", "aspeed,ast2600";
+
+       aliases {
+               serial4 = &uart5;
+       };
+
+       chosen {
+               bootargs = "console=ttyS4,57600n8";
+       };
+
+       memory at 80000000 {
+               device_type = "memory";
+               reg = <0x80000000 0x80000000>;
+       };
+

arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts line 36

Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +10 -0
+       iio-hwmon {
+               compatible = "iio-hwmon";
+               io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
+                       <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
+                       <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>,
+                       <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>;
+       };
+
+       spi_gpio: spi-gpio {
+               status = "okay";

The okay is redundant.

Quoted 9 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +9 -0
+               compatible = "spi-gpio";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
+               gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
+               gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
+               num-chipselects = <1>;
+               cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;

arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts line 55

Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +10 -0
+
+               tpmdev at 0 {
+                       compatible = "tcg,tpm_tis-spi";
+                       spi-max-frequency = <33000000>;
+                       reg = <0>;
+               };
+       };
+
+       switchphy: ethernet-phy at 0 {
+               // Fixed-link

Are there any properties we should be adding here? Other examples mention the speed and duplex setting.

arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts line 256

Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +8 -0
+       };
+
 
+
+&i2c0 {
 
+
+       sled0_fusb302: typec-portc at 54 {
+               compatible = "fcs,fusb302";
+               reg = <0x22>;

Your reg property is 22, but the unit address is 54. These need to math or you will get a warning from the device tree compiler:

arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts:254.32-271.4:
Warning (i2c_bus_reg):
/ahb/apb/bus at 1e78a000/i2c-bus at 80/typec-portc at 54: I2C bus unit address format error, expected "22"

Please fix this for all the fusb302 nodes, and make sure you build test with this patch applied to v5.16-rc1, or newer.

../arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts:254.32-271.4:
Warning (i2c_bus_reg):
/ahb/apb/bus at 1e78a000/i2c-bus at 80/typec-portc at 54: I2C bus unit address format error, expected "22" ../arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts:318.32-335.4:
Warning (i2c_bus_reg):
/ahb/apb/bus at 1e78a000/i2c-bus at 100/typec-portc at 54: I2C bus unit address format error, expected "22" ../arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts:386.32-404.4:
Warning (i2c_bus_reg):
/ahb/apb/bus at 1e78a000/i2c-bus at 180/typec-portc at 54: I2C bus unit address format error, expected "22" ../arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts:451.32-469.4:
Warning (i2c_bus_reg):
/ahb/apb/bus at 1e78a000/i2c-bus at 200/typec-portc at 54: I2C bus unit address format error, expected "22" ../arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts:516.32-533.4:
Warning (i2c_bus_reg):
/ahb/apb/bus at 1e78a000/i2c-bus at 280/typec-portc at 54: I2C bus unit address format error, expected "22" ../arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts:580.32-597.4:
Warning (i2c_bus_reg):
/ahb/apb/bus at 1e78a000/i2c-bus at 300/typec-portc at 54: I2C bus unit address format error, expected "22"

Quoted 7 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +7 -0
+               interrupt-parent = <&gpio0>;
+               interrupts = <ASPEED_GPIO(M, 0) IRQ_TYPE_LEVEL_LOW>;
+
+               connector {
+                       compatible = "usb-c-connector";
+                       label = "USB-C";
+                       power-role = "dual";

arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts line 273

Quoted 10 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +10 -0
+                       try-power-role = "sink";
+                       source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
+                       sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
+                                       PDO_VAR(3000, 12000, 3000)
+                                       PDO_PPS_APDO(3000, 11000, 3000)>;
+                       op-sink-microwatt = <10000000>;
+               };
+       };
+};
+

Cheers,

Joel

Reviewed-by on v6 1/1
#2 lore raw
In reply to Howard Chiu
Quoted 5 lines · Howard Chiu

Initial introduction of Facebook Bletchley equipped with Aspeed 2600 BMC SoC.

...

Quoted 4 lines

Change since v2:
- Remove uart5 workaround
- Remove gpio nodes of pca9552/pca9539
- Modify gpio-line-name of led/power/presence pins with openbmc pattern

A number of the GPIOs do not have defined openbmc patterns for them yet. The names you have chosen are ok for now, but we will be changing them as we refine development of this machine further.

arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts line 236

Quoted 5 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +5 -0
+		gpio-line-names =
+		"SLED0_MS_DETECT1","SLED0_VBUS_BMC_EN","SLED0_INA230_ALERT","SLED0_P12V_STBY_ALERT",
+		"SLED0_SSD_ALERT","SLED0_MS_DETECT0","SLED0_RST_CCG5","SLED0_FUSB302_INT",
+		"SLED0_MD_STBY_RESET","SLED0_MD_IOEXP_EN_FAULT","SLED0_MD_DIR","SLED0_MD_DECAY",
+		"SLED0_MD_MODE1","SLED0_MD_MODE2","SLED0_MD_MODE3","power-host0";

Such as these...

Quoted 3 lines
Signature · 1 line
2.25.1

Otherwise,

Signature · 8 lines
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20211206/66f2e602/attachment.sig>
maintainer
#3 lore raw
Quoted 27 lines · Patrick Williams
Quoted 5 lines · Howard Chiu

Initial introduction of Facebook Bletchley equipped with Aspeed 2600 BMC SoC.

...

Quoted 4 lines

Change since v2:
- Remove uart5 workaround
- Remove gpio nodes of pca9552/pca9539
- Modify gpio-line-name of led/power/presence pins with openbmc pattern

A number of the GPIOs do not have defined openbmc patterns for them yet. The names you have chosen are ok for now, but we will be changing them as we refine development of this machine further.

arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts line 236

Quoted 5 lines
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts new file +5 -0
+             gpio-line-names =
+             "SLED0_MS_DETECT1","SLED0_VBUS_BMC_EN","SLED0_INA230_ALERT","SLED0_P12V_STBY_ALERT",
+             "SLED0_SSD_ALERT","SLED0_MS_DETECT0","SLED0_RST_CCG5","SLED0_FUSB302_INT",
+             "SLED0_MD_STBY_RESET","SLED0_MD_IOEXP_EN_FAULT","SLED0_MD_DIR","SLED0_MD_DECAY",
+             "SLED0_MD_MODE1","SLED0_MD_MODE2","SLED0_MD_MODE3","power-host0";

Such as these...

Quoted 7 lines
Quoted 3 lines

--
2.25.1

Otherwise,

Thanks for reviewing.

Howard, I'm merging patches for v5.17 but I can't apply this until you fix the warnings I mentioned.

Cheers,

Jeol

Quoted 3 lines

--
Patrick Williams

#4 lore raw

Hi Joel

Bletchley platform needs to support fan control.
Since Billy's patch for upstream is still under review, I can't add pwm/tach node into dts or the build would fail.

As you know, I had committed the pwm/tach driver for ast26xx to OpenBMC linux, could I commit the dts to OpenBMC linux instead of upstream for early build?

Howard

Quoted 71 lines

-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, December 7, 2021 6:52 AM
To: Patrick Williams <[email protected]>
Cc: Howard Chiu <[email protected]>; Arnd Bergmann <[email protected]>; Olof Johansson <[email protected]>; SoC Team <[email protected]>; Rob Herring <[email protected]>; Andrew Jeffery <[email protected]>; Linux ARM <[email protected]>; devicetree <[email protected]>; Linux Kernel Mailing List <[email protected]>; linux-aspeed <[email protected]>; Howard Chiu (???) <[email protected]>
Subject: Re: [PATCH v6] ARM: dts: aspeed: Adding Facebook Bletchley BMC

Quoted 8 lines · Patrick Williams
Quoted 5 lines · Howard Chiu

Initial introduction of Facebook Bletchley equipped with Aspeed 2600 BMC SoC.

Quoted 6 lines

...

Quoted 4 lines

Change since v2:
- Remove uart5 workaround
- Remove gpio nodes of pca9552/pca9539
- Modify gpio-line-name of led/power/presence pins with openbmc

pattern

Quoted 2 lines

A number of the GPIOs do not have defined openbmc patterns for them yet.

The

Quoted 1 line

names you have chosen are ok for now, but we will be changing them as we

refine

Quoted 4 lines

development of this machine further.

Quoted 2 lines
(quoted diff) +2 -0
+             gpio-line-names =
+

"SLED0_MS_DETECT1","SLED0_VBUS_BMC_EN","SLED0_INA230_ALERT","SLE D0_P12V_STBY_ALERT",

Quoted 1 line
Quoted 1 line

+

"SLED0_SSD_ALERT","SLED0_MS_DETECT0","SLED0_RST_CCG5","SLED0_FUSB 302_INT",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_STBY_RESET","SLED0_MD_IOEXP_EN_FAULT","SLED0_MD_DIR"," SLED0_MD_DECAY",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_MODE1","SLED0_MD_MODE2","SLED0_MD_MODE3","power-ho st0";

Quoted 10 lines

Such as these...

Quoted 3 lines

--
2.25.1

Otherwise,

Thanks for reviewing.

Howard, I'm merging patches for v5.17 but I can't apply this until you fix the warnings I mentioned.

Cheers,

Jeol

Quoted 3 lines

--
Patrick Williams

maintainer
#5 lore raw
Quoted 7 lines · Howard Chiu (???)

Hi Joel

Bletchley platform needs to support fan control.
Since Billy's patch for upstream is still under review, I can't add pwm/tach node into dts or the build would fail.

As you know, I had committed the pwm/tach driver for ast26xx to OpenBMC linux, could I commit the dts to OpenBMC linux instead of upstream for early build?

I'd suggest no, omit those features for now, and you can add them in once we have a driver. The device tree bindings for the tach/pwm need some work before they can be approved.

When I asked you to fix the patch, I was referring to the usb-c warnings that I posted about the other week.

Quoted 74 lines

Howard

Quoted 71 lines

-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, December 7, 2021 6:52 AM
To: Patrick Williams <[email protected]>
Cc: Howard Chiu <[email protected]>; Arnd Bergmann <[email protected]>; Olof Johansson <[email protected]>; SoC Team <[email protected]>; Rob Herring <[email protected]>; Andrew Jeffery <[email protected]>; Linux ARM <[email protected]>; devicetree <[email protected]>; Linux Kernel Mailing List <[email protected]>; linux-aspeed <[email protected]>; Howard Chiu (???) <[email protected]>
Subject: Re: [PATCH v6] ARM: dts: aspeed: Adding Facebook Bletchley BMC

Quoted 8 lines · Patrick Williams
Quoted 5 lines · Howard Chiu

Initial introduction of Facebook Bletchley equipped with Aspeed 2600 BMC SoC.

Quoted 6 lines

...

Quoted 4 lines

Change since v2:
- Remove uart5 workaround
- Remove gpio nodes of pca9552/pca9539
- Modify gpio-line-name of led/power/presence pins with openbmc

pattern

Quoted 2 lines

A number of the GPIOs do not have defined openbmc patterns for them yet.

The

Quoted 1 line

names you have chosen are ok for now, but we will be changing them as we

refine

Quoted 4 lines

development of this machine further.

Quoted 2 lines
(quoted diff) +2 -0
+             gpio-line-names =
+

"SLED0_MS_DETECT1","SLED0_VBUS_BMC_EN","SLED0_INA230_ALERT","SLE D0_P12V_STBY_ALERT",

Quoted 1 line
Quoted 1 line

+

"SLED0_SSD_ALERT","SLED0_MS_DETECT0","SLED0_RST_CCG5","SLED0_FUSB 302_INT",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_STBY_RESET","SLED0_MD_IOEXP_EN_FAULT","SLED0_MD_DIR"," SLED0_MD_DECAY",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_MODE1","SLED0_MD_MODE2","SLED0_MD_MODE3","power-ho st0";

Quoted 10 lines

Such as these...

Quoted 3 lines

--
2.25.1

Otherwise,

Thanks for reviewing.

Howard, I'm merging patches for v5.17 but I can't apply this until you fix the warnings I mentioned.

Cheers,

Jeol

Quoted 3 lines

--
Patrick Williams

#6 lore raw

Hi Joel

Quoted 3 lines

I'd suggest no, omit those features for now, and you can add them in once we have a driver. The device tree bindings for the tach/pwm need some work before they can be approved.

The driver you mentioned is for OpenBMC Linux or upstream?
If it is for OpenBMC, the upstream robot will reject my DTS because the aspeed-g6.dtsi did not contain pwm/tach node.

If it is for upstream, it will be a long time that OpenBMC Linux won't have tach driver for ast2600 series, and my patch to commit with Billy's early driver for OpenBMC Linux is also meaningless.

Quoted 2 lines

When I asked you to fix the patch, I was referring to the usb-c warnings that I posted about the other week.

I will fix it and others you mentioned in the v7 patch.

Howard

Quoted 114 lines

-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, December 7, 2021 11:30 AM
To: Howard Chiu (???) <[email protected]>
Cc: Patrick Williams <[email protected]>; Howard Chiu <[email protected]>; Arnd Bergmann <[email protected]>; Olof Johansson <[email protected]>; SoC Team <[email protected]>; Rob Herring <[email protected]>; Andrew Jeffery <[email protected]>; Linux ARM <[email protected]>; devicetree <[email protected]>; Linux Kernel Mailing List <[email protected]>; linux-aspeed <[email protected]>
Subject: Re: [PATCH v6] ARM: dts: aspeed: Adding Facebook Bletchley BMC

Quoted 5 lines · Howard Chiu (???)

Hi Joel

Bletchley platform needs to support fan control.
Since Billy's patch for upstream is still under review, I can't add pwm/tach

node into dts or the build would fail.

Quoted 2 lines

As you know, I had committed the pwm/tach driver for ast26xx to OpenBMC

linux, could I commit the dts to OpenBMC linux instead of upstream for early build?

I'd suggest no, omit those features for now, and you can add them in once we have a driver. The device tree bindings for the tach/pwm need some work before they can be approved.

When I asked you to fix the patch, I was referring to the usb-c warnings that I posted about the other week.

Quoted 13 lines

Howard

Quoted 10 lines

-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, December 7, 2021 6:52 AM
To: Patrick Williams <[email protected]>
Cc: Howard Chiu <[email protected]>; Arnd Bergmann <[email protected]>; Olof Johansson <[email protected]>; SoC Team <[email protected]>; Rob Herring <[email protected]>; Andrew Jeffery <[email protected]>; Linux ARM <[email protected]>; devicetree <[email protected]>; Linux Kernel Mailing List <[email protected]>; linux-aspeed

<[email protected]>;

Quoted 14 lines
Quoted 14 lines

Howard Chiu (???) <[email protected]>
Subject: Re: [PATCH v6] ARM: dts: aspeed: Adding Facebook Bletchley BMC

Quoted 10 lines · Patrick Williams
Quoted 5 lines · Howard Chiu

Initial introduction of Facebook Bletchley equipped with Aspeed 2600 BMC SoC.

...

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines

Change since v2:
- Remove uart5 workaround
- Remove gpio nodes of pca9552/pca9539
- Modify gpio-line-name of led/power/presence pins with openbmc

pattern

Quoted 2 lines

A number of the GPIOs do not have defined openbmc patterns for them

yet.

Quoted 2 lines
Quoted 2 lines

The

Quoted 1 line

names you have chosen are ok for now, but we will be changing them as

we

Quoted 6 lines
Quoted 6 lines

refine

Quoted 4 lines

development of this machine further.

Quoted 2 lines
(quoted diff) +2 -0
+             gpio-line-names =
+

"SLED0_MS_DETECT1","SLED0_VBUS_BMC_EN","SLED0_INA230_ALERT","SLE

Quoted 3 lines
Quoted 3 lines

D0_P12V_STBY_ALERT",

Quoted 1 line
Quoted 1 line

+

"SLED0_SSD_ALERT","SLED0_MS_DETECT0","SLED0_RST_CCG5","SLED0_FUSB

Quoted 3 lines
Quoted 3 lines

302_INT",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_STBY_RESET","SLED0_MD_IOEXP_EN_FAULT","SLED0_MD_DIR","

Quoted 3 lines
Quoted 3 lines

SLED0_MD_DECAY",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_MODE1","SLED0_MD_MODE2","SLED0_MD_MODE3","power-ho

Quoted 23 lines
Quoted 23 lines

st0";

Quoted 10 lines

Such as these...

Quoted 3 lines

--
2.25.1

Otherwise,

Thanks for reviewing.

Howard, I'm merging patches for v5.17 but I can't apply this until you fix the warnings I mentioned.

Cheers,

Jeol

Quoted 3 lines

--
Patrick Williams

maintainer
#7 lore raw
Quoted 11 lines · Howard Chiu (???)

Hi Joel

Quoted 3 lines

I'd suggest no, omit those features for now, and you can add them in once we have a driver. The device tree bindings for the tach/pwm need some work before they can be approved.

The driver you mentioned is for OpenBMC Linux or upstream?
If it is for OpenBMC, the upstream robot will reject my DTS because the aspeed-g6.dtsi did not contain pwm/tach node.

If it is for upstream, it will be a long time that OpenBMC Linux won't have tach driver for ast2600 series, and my patch to commit with Billy's early driver for OpenBMC Linux is also meaningless.

Once we've fixed the issues with the bindings, we can put the driver in the openbmc tree. Let's spend our effort fixing that.

Quoted 121 lines
Quoted 3 lines

When I asked you to fix the patch, I was referring to the usb-c warnings that I posted about the other week.

I will fix it and others you mentioned in the v7 patch.

Howard

Quoted 114 lines

-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, December 7, 2021 11:30 AM
To: Howard Chiu (???) <[email protected]>
Cc: Patrick Williams <[email protected]>; Howard Chiu <[email protected]>; Arnd Bergmann <[email protected]>; Olof Johansson <[email protected]>; SoC Team <[email protected]>; Rob Herring <[email protected]>; Andrew Jeffery <[email protected]>; Linux ARM <[email protected]>; devicetree <[email protected]>; Linux Kernel Mailing List <[email protected]>; linux-aspeed <[email protected]>
Subject: Re: [PATCH v6] ARM: dts: aspeed: Adding Facebook Bletchley BMC

Quoted 5 lines · Howard Chiu (???)

Hi Joel

Bletchley platform needs to support fan control.
Since Billy's patch for upstream is still under review, I can't add pwm/tach

node into dts or the build would fail.

Quoted 2 lines

As you know, I had committed the pwm/tach driver for ast26xx to OpenBMC

linux, could I commit the dts to OpenBMC linux instead of upstream for early build?

I'd suggest no, omit those features for now, and you can add them in once we have a driver. The device tree bindings for the tach/pwm need some work before they can be approved.

When I asked you to fix the patch, I was referring to the usb-c warnings that I posted about the other week.

Quoted 13 lines

Howard

Quoted 10 lines

-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, December 7, 2021 6:52 AM
To: Patrick Williams <[email protected]>
Cc: Howard Chiu <[email protected]>; Arnd Bergmann <[email protected]>; Olof Johansson <[email protected]>; SoC Team <[email protected]>; Rob Herring <[email protected]>; Andrew Jeffery <[email protected]>; Linux ARM <[email protected]>; devicetree <[email protected]>; Linux Kernel Mailing List <[email protected]>; linux-aspeed

<[email protected]>;

Quoted 14 lines
Quoted 14 lines

Howard Chiu (???) <[email protected]>
Subject: Re: [PATCH v6] ARM: dts: aspeed: Adding Facebook Bletchley BMC

Quoted 10 lines · Patrick Williams
Quoted 5 lines · Howard Chiu

Initial introduction of Facebook Bletchley equipped with Aspeed 2600 BMC SoC.

...

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines

Change since v2:
- Remove uart5 workaround
- Remove gpio nodes of pca9552/pca9539
- Modify gpio-line-name of led/power/presence pins with openbmc

pattern

Quoted 2 lines

A number of the GPIOs do not have defined openbmc patterns for them

yet.

Quoted 2 lines
Quoted 2 lines

The

Quoted 1 line

names you have chosen are ok for now, but we will be changing them as

we

Quoted 6 lines
Quoted 6 lines

refine

Quoted 4 lines

development of this machine further.

Quoted 2 lines
(quoted diff) +2 -0
+             gpio-line-names =
+

"SLED0_MS_DETECT1","SLED0_VBUS_BMC_EN","SLED0_INA230_ALERT","SLE

Quoted 3 lines
Quoted 3 lines

D0_P12V_STBY_ALERT",

Quoted 1 line
Quoted 1 line

+

"SLED0_SSD_ALERT","SLED0_MS_DETECT0","SLED0_RST_CCG5","SLED0_FUSB

Quoted 3 lines
Quoted 3 lines

302_INT",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_STBY_RESET","SLED0_MD_IOEXP_EN_FAULT","SLED0_MD_DIR","

Quoted 3 lines
Quoted 3 lines

SLED0_MD_DECAY",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_MODE1","SLED0_MD_MODE2","SLED0_MD_MODE3","power-ho

Quoted 23 lines
Quoted 23 lines

st0";

Quoted 10 lines

Such as these...

Quoted 3 lines

--
2.25.1

Otherwise,

Thanks for reviewing.

Howard, I'm merging patches for v5.17 but I can't apply this until you fix the warnings I mentioned.

Cheers,

Jeol

Quoted 3 lines

--
Patrick Williams

#8 lore raw

Hi Joel

Quoted 2 lines

Once we've fixed the issues with the bindings, we can put the driver in the openbmc tree. Let's spend our effort fixing that.

It means I can commit Bletchley DTS with fan support to OpenBMC tree once Billy's driver got approved, right?

Howard

Quoted 166 lines

-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, December 7, 2021 2:37 PM
To: Howard Chiu (???) <[email protected]>
Cc: Patrick Williams <[email protected]>; Howard Chiu <[email protected]>; Arnd Bergmann <[email protected]>; Olof Johansson <[email protected]>; SoC Team <[email protected]>; Rob Herring <[email protected]>; Andrew Jeffery <[email protected]>; Linux ARM <[email protected]>; devicetree <[email protected]>; Linux Kernel Mailing List <[email protected]>; linux-aspeed <[email protected]>
Subject: Re: [PATCH v6] ARM: dts: aspeed: Adding Facebook Bletchley BMC

Quoted 9 lines · Howard Chiu (???)

Hi Joel

Quoted 3 lines

I'd suggest no, omit those features for now, and you can add them in once we have a driver. The device tree bindings for the tach/pwm need some work before they can be approved.

The driver you mentioned is for OpenBMC Linux or upstream? If it is for OpenBMC, the upstream robot will reject my DTS because the

aspeed-g6.dtsi did not contain pwm/tach node.

Quoted 2 lines

If it is for upstream, it will be a long time that OpenBMC Linux won't have

tach driver for ast2600 series, and my patch to commit with Billy's early driver for OpenBMC Linux is also meaningless.

Once we've fixed the issues with the bindings, we can put the driver in the openbmc tree. Let's spend our effort fixing that.

Quoted 18 lines
Quoted 3 lines

When I asked you to fix the patch, I was referring to the usb-c warnings that I posted about the other week.

I will fix it and others you mentioned in the v7 patch.

Howard

Quoted 11 lines

-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, December 7, 2021 11:30 AM
To: Howard Chiu (???) <[email protected]>
Cc: Patrick Williams <[email protected]>; Howard Chiu <[email protected]>; Arnd Bergmann <[email protected]>; Olof Johansson <[email protected]>; SoC Team <[email protected]>; Rob Herring <[email protected]>; Andrew Jeffery <[email protected]>; Linux ARM <[email protected]>; devicetree <[email protected]>; Linux Kernel Mailing List <[email protected]>; linux-aspeed

<[email protected]>

Quoted 5 lines
Quoted 5 lines

Subject: Re: [PATCH v6] ARM: dts: aspeed: Adding Facebook Bletchley BMC

Quoted 1 line · Howard Chiu (???)
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines

Hi Joel

Bletchley platform needs to support fan control.
Since Billy's patch for upstream is still under review, I can't add pwm/tach

node into dts or the build would fail.

Quoted 2 lines

As you know, I had committed the pwm/tach driver for ast26xx to

OpenBMC

Quoted 1 line
Quoted 1 line

linux, could I commit the dts to OpenBMC linux instead of upstream for

early

Quoted 12 lines
Quoted 12 lines

build?

I'd suggest no, omit those features for now, and you can add them in once we have a driver. The device tree bindings for the tach/pwm need some work before they can be approved.

When I asked you to fix the patch, I was referring to the usb-c warnings that I posted about the other week.

Quoted 3 lines

Howard

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

-----Original Message-----
From: Joel Stanley <[email protected]>
Sent: Tuesday, December 7, 2021 6:52 AM
To: Patrick Williams <[email protected]>
Cc: Howard Chiu <[email protected]>; Arnd Bergmann <[email protected]>; Olof Johansson <[email protected]>; SoC Team <[email protected]>; Rob Herring <[email protected]>; Andrew Jeffery <[email protected]>; Linux ARM

<[email protected]>;

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

devicetree <[email protected]>; Linux Kernel Mailing List <[email protected]>; linux-aspeed

<[email protected]>;

Quoted 2 lines
Quoted 2 lines

Howard Chiu (???) <[email protected]>
Subject: Re: [PATCH v6] ARM: dts: aspeed: Adding Facebook Bletchley

BMC

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Mon, 6 Dec 2021 at 21:25, Patrick Williams <[email protected]>

Quoted 10 lines · wrote:
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines · Howard Chiu
Quoted 5 lines

Initial introduction of Facebook Bletchley equipped with Aspeed 2600 BMC SoC.

...

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines

Change since v2:
- Remove uart5 workaround
- Remove gpio nodes of pca9552/pca9539
- Modify gpio-line-name of led/power/presence pins with openbmc

pattern

Quoted 2 lines

A number of the GPIOs do not have defined openbmc patterns for

them

Quoted 3 lines
Quoted 3 lines

yet.

Quoted 2 lines
Quoted 2 lines

The

Quoted 1 line

names you have chosen are ok for now, but we will be changing them

as

Quoted 8 lines
Quoted 8 lines

we

Quoted 6 lines
Quoted 6 lines

refine

Quoted 4 lines

development of this machine further.

Quoted 2 lines
(quoted diff) +2 -0
+             gpio-line-names =
+

"SLED0_MS_DETECT1","SLED0_VBUS_BMC_EN","SLED0_INA230_ALERT","SLE

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

D0_P12V_STBY_ALERT",

Quoted 1 line
Quoted 1 line

+

"SLED0_SSD_ALERT","SLED0_MS_DETECT0","SLED0_RST_CCG5","SLED0_FUSB

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

302_INT",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_STBY_RESET","SLED0_MD_IOEXP_EN_FAULT","SLED0_MD_DIR","

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

SLED0_MD_DECAY",

Quoted 1 line
Quoted 1 line

+

"SLED0_MD_MODE1","SLED0_MD_MODE2","SLED0_MD_MODE3","power-ho

Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines

st0";

Quoted 10 lines

Such as these...

Quoted 3 lines

--
2.25.1

Otherwise,

Thanks for reviewing.

Howard, I'm merging patches for v5.17 but I can't apply this until you fix the warnings I mentioned.

Cheers,

Jeol

Quoted 3 lines

--
Patrick Williams