Skip to contentSkip to conversation

Add device tree for IBM system1 BMC

PATCH New Ninad Palsule 1 participant 3 messages Jan 25, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v5 cover Add device tree for IBM system1 BMC

This patchset adds device tree for IBM system1 bmc board.

Change log:
v1:
- Added device binding for IBM system1-bmc
- Added device binding for TIS I2C devices
- Added device tree for IBM system1 BMC board
- Added i2c and muxes
- Added voltage regulators
- Added GPIO, Fan ctrl, Led
- Added more compatible strings for tpm_tis_i2c
- Added power supplies, sensors, EEPROMS, TPM and more

v2:
- Incorporated review comments from Conor Dooley, Jarkko Sakkinen, Guenter Roeck, Rob Herring, Krzysztof Kozlowski
- Merge all patches into single patch.
- Split the trivial device patch.
- Cleanup commit messages.
- Fixed bootargs string.
- Fixed node names.
- Dropped tpm schema patch as it is covered by Lukas's patch.
- Dropped "tpm: tis-i2c: Add more compatible strings" patch and send it as a separate patch.

v3:
- Fixed voltage-regulators names.
- Updated commit message about TPM compatibility string.

v4:
- Removed compatibility string "nuvoton,npct75x" from TPM

v5:
- Fixed commit message as per reeview comment by Bjorn
- Dropped following commit from patchset as it is already merged.

    -> dt-bindings-Add-DPS310-as-trivial-device.patch

Andrew Geissler (1):
ARM: dts: aspeed: System1: IBM system1 BMC board

Ninad Palsule (1):
dt-bindings: arm: aspeed: add IBM system1-bmc

 .../bindings/arm/aspeed/aspeed.yaml           |    1 +
 arch/arm/boot/dts/aspeed/Makefile             |    1 +
 .../dts/aspeed/aspeed-bmc-ibm-system1.dts     | 1623 +++++++++++++++++
 3 files changed, 1625 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
Signature · 1 line
2.39.2
#1 lore raw

PATCH v5 1/2 dt-bindings: arm: aspeed: add IBM system1-bmc

Document the new compatibles used on IBM system1-bmc

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index 68f717670f78..093b28f4ecba 100644
@@ -82,6 +82,7 @@ properties:
               - facebook,yosemite4-bmc
               - ibm,everest-bmc
               - ibm,rainier-bmc
+              - ibm,system1-bmc
               - ibm,tacoma-bmc
               - inventec,starscream-bmc
               - inventec,transformer-bmc
Signature · 1 line
2.39.2
#2 lore raw

PATCH v5 2/2 ARM: dts: aspeed: System1: IBM system1 BMC board

In reply to Ninad Palsule

From: Andrew Geissler <[email protected]>

Added a device tree for IBM system1 BMC board. It uses AST2600 SOC.
- Added base board
- Added i2c devices and muxes.
- Added different voltage regulators.
- Added GPIO pin assignements, GPIO expansion devices
- Added LED blinker devices
- Added fan controllers
- Added EEPROM/VPD
- Added power supplies
- Added humidity, pressure and temperature sensors.
- Added Trusted Platform Module (TPM) chip.

Tested:
This board is tested using the simics simulator.

---
The compatibility string and schema for tpm device is documented in the
following patch series:
-https://lore.kernel.org/all/77fe0ccd-53ff-4773-9787-0d038434297f at linux.ibm.com/ -https://lore.kernel.org/all/3f56f0a2bb90697a23e83583a21684b75dc7eea2.1701093036.git.lukas at wunner.de/

v5:
- Corrected typos in the commit message. Review comments by Bjorn.
v4:
- Removed the compatibility string "nuvoton,npct75x" from tpm node as per the Conor's review comment.
v3:
- Fixed the voltage-regulator names.
v2:
- Incorporated review comments from Conor Dooley, Jarkko Sakkinen, Guenter Roeck, Rob Herring, Krzysztof Kozlowski
- Merge all patches into single patch.
- Split the trivial device patch.
- Cleanup commit messages.
- Fixed bootargs string.
- Fixed node names.
- Dropped tpm schema patch as it is covered by Lukas's patch.
- Dropped "tpm: tis-i2c: Add more compatible strings" patch and send it as a separate patch.

---
 arch/arm/boot/dts/aspeed/Makefile             |    1 +
 .../dts/aspeed/aspeed-bmc-ibm-system1.dts     | 1623 +++++++++++++++++
 2 files changed, 1624 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index 23cbc7203a8e..d551aed79286 100644
@@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-ibm-rainier.dtb \
 	aspeed-bmc-ibm-rainier-1s4u.dtb \
 	aspeed-bmc-ibm-rainier-4u.dtb \
+	aspeed-bmc-ibm-system1.dtb \
 	aspeed-bmc-intel-s2600wf.dtb \
 	aspeed-bmc-inspur-fp5280g2.dtb \
 	aspeed-bmc-inspur-nf5280m6.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts new file +1623 -0

1,623 lines not on this page · raw message

Signature · 1 line
2.39.2