Revise Meta(Facebook) Harma BMC(AST2600)
Subsystems (2)
v2 cover Revise Meta(Facebook) Harma BMC(AST2600)
Summary:
Revise linux device tree entry related to Meta(Facebook) Harma specific devices connected to BMC(AST2600) SoC.
commit-id: 2236141ed3d6f31f53147c26208dafef6051ae43
v1 -> v2
- Patch 0002 - add power-12v-memory-good
v1
- Patch 0001 - add power monitor support
- Patch 0002 - revise gpio name
Peter Yin (2):
ARM: dts: aspeed: harma: add power monitor support
ARM: dts: aspeed: harma: revise gpio name
.../dts/aspeed/aspeed-bmc-facebook-harma.dts | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.0
PATCH v2 1/2 ARM: dts: aspeed: harma: add power monitor support
Add INA238 device on I2C bus 4 for the PDB board power monitoring.
--- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +6 -0
@@ -373,6 +373,12 @@ power-monitor@40 { compatible = "infineon,xdp710"; reg = <0x40>; }; + + power-sensor@45 { + compatible = "ti,ina238"; + reg = <0x45>; + shunt-resistor = <500>; + }; }; &i2c5 {
Signature · 1 line
2.43.0
PATCH v2 2/2 ARM: dts: aspeed: harma: revise gpio name
In reply to Peter YinUpdate GPIO label definitions in the device tree to reflect the correct power and control signal names. This includes:
- Rename "fcb0-activate" to "fcb1-activate" and "fcb2-activate"
- Add labels for:
- power-p3v3-standby
- power-p1v8-good
- power-pvdd33-s5
- power-pvdd18-s5
- power-asic-good
- power-12v-memory-good
- Replace unnamed GPIOs with appropriate labels such as:
- irq-pvddcore0-ocp-alert
- irq-pvddcore1-ocp-alert
--- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-)
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +12 -9
@@ -234,7 +234,7 @@ gpio@12 { "","", "","", "","", - "","fcb1-activate", + "","fcb2-activate", "",""; }; };
@@ -308,7 +308,7 @@ gpio@12 { "","", "","", "","", - "","fcb0-activate", + "","fcb1-activate", "",""; }; };
@@ -698,14 +698,14 @@ &sgpiom0 { "","", /*A4-A7 line 8-15*/ "","power-config-asic-module-enable", - "","power-config-asic-power-good", - "","power-config-pdb-power-good", + "power-p3v3-standby","power-config-asic-power-good", + "power-p1v8-good","power-config-pdb-power-good", "presence-cpu","smi-control-n", /*B0-B3 line 16-23*/ "","nmi-control-n", - "","nmi-control-sync-flood-n", - "","", + "power-pvdd33-s5","nmi-control-sync-flood-n", "","", + "power-pvdd18-s5","", /*B4-B7 line 24-31*/ "","FM_CPU_SP5R1", "reset-cause-rsmrst","FM_CPU_SP5R2",
@@ -749,7 +749,7 @@ &sgpiom0 { /*F4-F7 line 88-95*/ "presence-asic-modules-0","rt-cpu0-p1-force-enable", "presence-asic-modules-1","bios-debug-msg-disable", - "","uart-control-buffer-select", + "power-asic-good","uart-control-buffer-select", "presence-cmm","ac-control-n", /*G0-G3 line 96-103*/ "FM_CPU_CORETYPE2","",
@@ -801,7 +801,7 @@ &sgpiom0 { "asic0-card-type-detection2-n","", "uart-switch-lsb","", "uart-switch-msb","", - "","", + "power-12v-memory-good","", /*M4-M7 line 200-207*/ "","","","","","","","", /*N0-N3 line 208-215*/
@@ -809,7 +809,10 @@ &sgpiom0 { /*N4-N7 line 216-223*/ "","","","","","","","", /*O0-O3 line 224-231*/ - "","","","","","","","", + "","", + "irq-pvddcore0-ocp-alert","", + "irq-pvddcore1-ocp-alert","", + "","", /*O4-O7 line 232-239*/ "","","","","","","","", /*P0-P3 line 240-247*/
Signature · 1 line
2.43.0
Rob Herring (Arm)
maintainerQuoted 17 lines · Peter Yin
Summary:
Revise linux device tree entry related to Meta(Facebook) Harma specific devices connected to BMC(AST2600) SoC.commit-id:
2236141ed3d6f31f53147c26208dafef6051ae43v1 -> v2
- Patch 0002 - add power-12v-memory-goodv1
- Patch 0001 - add power monitor support
- Patch 0002 - revise gpio namePeter Yin (2):
ARM: dts: aspeed: harma: add power monitor support
ARM: dts: aspeed: harma: revise gpio name
Quoted 8 lines
.../dts/aspeed/aspeed-bmc-facebook-harma.dts | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-)--
2.43.0
My bot found new DTB warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/v6.17-rc1-14-g326d25198112 (exact match)
If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm/boot/dts/aspeed/' for [email protected]:
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dtb: /ahb/apb/display@1e6e6000: failed to match any schema with compatible: ['aspeed,ast2600-gfx', 'syscon']