ARM: dts: aspeed: Add Balcones system
Subsystems (5)
Eddie James
maintainerv6 cover ARM: dts: aspeed: Add Balcones system
The Balcones system is similar to Bonnell but with a POWER11 processor.
Changes since v5:
- Add patch to add address and size cells to max31790 document
- Don't remove address and size cells in max31785 fixes change
Changes since v4:
- Add patch to fix max31785 warnings
- Add patch to fix missing Bonnell documentation
Changes since v3:
- Add max31785 to the max31790 document instead of to trivial-devices
- Fix minor formatting in dps310 document
Changes since v2:
- Fix a couple of incorrect i2c addresses
- Document dps310 and max31785 properly
- Drop the UCD binding documentation update, it's been fixed
Changes since v1:
- Add all the ucd9000 driver supported compatible strings
- Fix node ordering in Balcones device tree
- Improve commit message to explain addition of ibm-power11-dual.dtsi
Eddie James (7):
dt-bindings: arm: aspeed: add IBM Balcones board
dt-bindings: arm: aspeed: add IBM Bonnell board
dt-bindings: iio: Add Infineon DPS310 sensor documentation
dt-bindings: hwmon: Move max31785 compatibles to max31790 document
dt-bindings: hwmon: max31790: Document address and size cells
ARM: dts: aspeed: Add Balcones system
ARM: dts: aspeed: Fix max31785 fan node naming
.../bindings/arm/aspeed/aspeed.yaml | 2 + .../devicetree/bindings/hwmon/max31785.txt | 22 - .../bindings/hwmon/maxim,max31790.yaml | 12 +- .../iio/pressure/infineon,dps310.yaml | 44 + .../devicetree/bindings/trivial-devices.yaml | 2 - MAINTAINERS | 1 + arch/arm/boot/dts/aspeed/Makefile | 1 + .../dts/aspeed/aspeed-bmc-ibm-balcones.dts | 609 ++++++++++++++ .../dts/aspeed/aspeed-bmc-ibm-bonnell.dts | 4 +- .../dts/aspeed/aspeed-bmc-ibm-everest.dts | 8 +- .../dts/aspeed/aspeed-bmc-ibm-rainier.dts | 12 +- .../boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts | 8 +- .../arm/boot/dts/aspeed/ibm-power11-dual.dtsi | 779 ++++++++++++++++++ .../arm/boot/dts/aspeed/ibm-power11-quad.dtsi | 769 +---------------- 14 files changed, 1465 insertions(+), 808 deletions(-) delete mode 100644 Documentation/devicetree/bindings/hwmon/max31785.txt create mode 100644 Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dts create mode 100644 arch/arm/boot/dts/aspeed/ibm-power11-dual.dtsi
Signature · 1 line
2.51.0
Eddie James
maintainerPATCH v6 1/7 dt-bindings: arm: aspeed: add IBM Balcones board
Document a new AST2600 BMC board for IBM P11 server.
--- Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
@@ -93,6 +93,7 @@ properties: - facebook,minerva-cmc - facebook,santabarbara-bmc - facebook,yosemite4-bmc + - ibm,balcones-bmc - ibm,blueridge-bmc - ibm,everest-bmc - ibm,fuji-bmc
Signature · 1 line
2.51.0
Eddie James
maintainerPATCH v6 2/7 dt-bindings: arm: aspeed: add IBM Bonnell board
In reply to Eddie JamesDocument the existing AST2600 BMC board for IBM P10 server.
--- Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
@@ -95,6 +95,7 @@ properties: - facebook,yosemite4-bmc - ibm,balcones-bmc - ibm,blueridge-bmc + - ibm,bonnell-bmc - ibm,everest-bmc - ibm,fuji-bmc - ibm,rainier-bmc
Signature · 1 line
2.51.0
Eddie James
maintainerPATCH v6 3/7 dt-bindings: iio: Add Infineon DPS310 sensor documentation
In reply to Eddie JamesThe DPS310 is a barometric pressure and temperature sensor with an I2C interface. Remove it from trivial-devices.yaml and add its own documentation.
--- .../iio/pressure/infineon,dps310.yaml | 44 +++++++++++++++++++ .../devicetree/bindings/trivial-devices.yaml | 2 - MAINTAINERS | 1 + 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml
Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml new file +44 -0
@@ -0,0 +1,44 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/pressure/infineon,dps310.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Infineon DPS310 barometric pressure and temperature sensor + +maintainers: + - Eddie James <[email protected]> + +description: + The DPS310 is a barometric pressure and temperature sensor with an I2C + interface. + +properties: + compatible: + enum: + - infineon,dps310 + + reg: + maxItems: 1 + + "#io-channel-cells": + const: 0 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pressure-sensor@76 { + compatible = "infineon,dps310"; + reg = <0x76>; + #io-channel-cells = <0>; + }; + };
Documentation/devicetree/bindings/trivial-devices.yaml +0 -2
@@ -127,8 +127,6 @@ properties: - ibm,cffps2 # IBM On-Chip Controller hwmon device - ibm,p8-occ-hwmon - # Infineon barometric pressure and temperature sensor - - infineon,dps310 # Infineon IR36021 digital POL buck controller - infineon,ir36021 # Infineon IRPS5401 Voltage Regulator (PMIC)
MAINTAINERS +1 -0
@@ -12176,6 +12176,7 @@ INFINEON DPS310 Driver M: Eddie James <[email protected]> L: [email protected] S: Maintained +F: Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml F: drivers/iio/pressure/dps310.c INFINEON PEB2466 ASoC CODEC
Signature · 1 line
2.51.0
Eddie James
maintainerPATCH v6 4/7 dt-bindings: hwmon: Move max31785 compatibles to max31790 document
In reply to Eddie JamesThe binding for the max31785 is the same as the max31790, so just add some compatible strings for the max31785 chip.
--- .../devicetree/bindings/hwmon/max31785.txt | 22 ------------------- .../bindings/hwmon/maxim,max31790.yaml | 6 ++++- 2 files changed, 5 insertions(+), 23 deletions(-) delete mode 100644 Documentation/devicetree/bindings/hwmon/max31785.txt
Documentation/devicetree/bindings/hwmon/max31785.txt deleted +0 -22
@@ -1,22 +0,0 @@ -Bindings for the Maxim MAX31785 Intelligent Fan Controller -========================================================== - -Reference: - -https://datasheets.maximintegrated.com/en/ds/MAX31785.pdf - -The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan -management with temperature and remote voltage sensing. Various fan control -features are provided, including PWM frequency control, temperature hysteresis, -dual tachometer measurements, and fan health monitoring. - -Required properties: -- compatible : One of "maxim,max31785" or "maxim,max31785a" -- reg : I2C address, one of 0x52, 0x53, 0x54, 0x55. - -Example: - - fans@52 { - compatible = "maxim,max31785"; - reg = <0x52>; - };
Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml +5 -1
@@ -20,7 +20,11 @@ description: > properties: compatible: - const: maxim,max31790 + enum: + - maxim,max31785 + - maxim,max31785a + - maxim,max31785b + - maxim,max31790 reg: maxItems: 1
Signature · 1 line
2.51.0
Eddie James
maintainerPATCH v6 5/7 dt-bindings: hwmon: max31790: Document address and size cells
In reply to Eddie JamesSince fan properties can include reg, the fan controller should be able to specify address-cells and size-cells properties.
--- Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml +6 -0
@@ -35,6 +35,12 @@ properties: resets: maxItems: 1 + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + "#pwm-cells": const: 1
Signature · 1 line
2.51.0
Eddie James
maintainerPATCH v6 7/7 ARM: dts: aspeed: Fix max31785 fan node naming
In reply to Eddie JamesNow that the max31785 is properly documented, fix up the uses of it in the Aspeed dts.
--- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts | 4 ++-- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts | 8 ++++---- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dts | 12 ++++++------ arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-)
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts +2 -2
@@ -276,13 +276,13 @@ max31785@52 { #address-cells = <1>; #size-cells = <0>; - fan0: fan@0 { + fan0: fan-0 { compatible = "pmbus-fan"; reg = <0>; tach-pulses = <2>; }; - fan1: fan@1 { + fan1: fan-1 { compatible = "pmbus-fan"; reg = <1>; tach-pulses = <2>;
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts +4 -4
@@ -2065,25 +2065,25 @@ max31785@52 { #size-cells = <0>; reg = <0x52>; - fan@0 { + fan-0 { compatible = "pmbus-fan"; reg = <0>; tach-pulses = <2>; }; - fan@1 { + fan-1 { compatible = "pmbus-fan"; reg = <1>; tach-pulses = <2>; }; - fan@2 { + fan-2 { compatible = "pmbus-fan"; reg = <2>; tach-pulses = <2>; }; - fan@3 { + fan-3 { compatible = "pmbus-fan"; reg = <3>; tach-pulses = <2>;
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dts +6 -6
@@ -1079,37 +1079,37 @@ max: max31785@52 { #address-cells = <1>; #size-cells = <0>; - fan0: fan@0 { + fan0: fan-0 { compatible = "pmbus-fan"; reg = <0>; tach-pulses = <2>; }; - fan1: fan@1 { + fan1: fan-1 { compatible = "pmbus-fan"; reg = <1>; tach-pulses = <2>; }; - fan2: fan@2 { + fan2: fan-2 { compatible = "pmbus-fan"; reg = <2>; tach-pulses = <2>; }; - fan3: fan@3 { + fan3: fan-3 { compatible = "pmbus-fan"; reg = <3>; tach-pulses = <2>; }; - fan4: fan@4 { + fan4: fan-4 { compatible = "pmbus-fan"; reg = <4>; tach-pulses = <2>; }; - fan5: fan@5 { + fan5: fan-5 { compatible = "pmbus-fan"; reg = <5>; tach-pulses = <2>;
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts +4 -4
@@ -480,7 +480,7 @@ max31785@52 { #address-cells = <1>; #size-cells = <0>; - fan@0 { + fan-0 { compatible = "pmbus-fan"; reg = <0>; tach-pulses = <2>;
@@ -493,7 +493,7 @@ fan@0 { maxim,fan-fault-pin-mon; }; - fan@1 { + fan-1 { compatible = "pmbus-fan"; reg = <1>; tach-pulses = <2>;
@@ -506,7 +506,7 @@ fan@1 { maxim,fan-fault-pin-mon; }; - fan@2 { + fan-2 { compatible = "pmbus-fan"; reg = <2>; tach-pulses = <2>;
@@ -519,7 +519,7 @@ fan@2 { maxim,fan-fault-pin-mon; }; - fan@3 { + fan-3 { compatible = "pmbus-fan"; reg = <3>; tach-pulses = <2>;
Signature · 1 line
2.51.0
Eddie James
maintainerPATCH v6 6/7 ARM: dts: aspeed: Add Balcones system
In reply to Eddie JamesThe Balcones system is similar to Bonnell but with a POWER11 processor. Like POWER10, the POWER11 is a dual-chip module, so a dual chip FSI tree is needed. Therefore, split up the quad chip FSI tree.
--- arch/arm/boot/dts/aspeed/Makefile | 1 + .../dts/aspeed/aspeed-bmc-ibm-balcones.dts | 609 ++++++++++++++ .../arm/boot/dts/aspeed/ibm-power11-dual.dtsi | 779 ++++++++++++++++++ .../arm/boot/dts/aspeed/ibm-power11-quad.dtsi | 769 +---------------- 4 files changed, 1391 insertions(+), 767 deletions(-) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dts create mode 100644 arch/arm/boot/dts/aspeed/ibm-power11-dual.dtsi
arch/arm/boot/dts/aspeed/Makefile +1 -0
@@ -39,6 +39,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-facebook-yamp.dtb \ aspeed-bmc-facebook-yosemitev2.dtb \ aspeed-bmc-facebook-yosemite4.dtb \ + aspeed-bmc-ibm-balcones.dtb \ aspeed-bmc-ibm-blueridge.dtb \ aspeed-bmc-ibm-bonnell.dtb \ aspeed-bmc-ibm-everest.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dts new file +609 -0
609 lines not on this page · raw message
arch/arm/boot/dts/aspeed/ibm-power11-dual.dtsi new file +779 -0
779 lines not on this page · raw message
arch/arm/boot/dts/aspeed/ibm-power11-quad.dtsi +2 -767
802 lines not on this page · raw message
Signature · 1 line
2.51.0
Rob Herring (Arm)
maintainerQuoted 53 lines · Eddie James
The Balcones system is similar to Bonnell but with a POWER11 processor.
Changes since v5:
- Add patch to add address and size cells to max31790 document
- Don't remove address and size cells in max31785 fixes changeChanges since v4:
- Add patch to fix max31785 warnings
- Add patch to fix missing Bonnell documentationChanges since v3:
- Add max31785 to the max31790 document instead of to trivial-devices
- Fix minor formatting in dps310 documentChanges since v2:
- Fix a couple of incorrect i2c addresses
- Document dps310 and max31785 properly
- Drop the UCD binding documentation update, it's been fixedChanges since v1:
- Add all the ucd9000 driver supported compatible strings
- Fix node ordering in Balcones device tree
- Improve commit message to explain addition ofibm-power11-dual.dtsiEddie James (7):
dt-bindings: arm: aspeed: add IBM Balcones board
dt-bindings: arm: aspeed: add IBM Bonnell board
dt-bindings: iio: Add Infineon DPS310 sensor documentation
dt-bindings: hwmon: Move max31785 compatibles to max31790 document
dt-bindings: hwmon: max31790: Document address and size cells
ARM: dts: aspeed: Add Balcones system
ARM: dts: aspeed: Fix max31785 fan node naming.../bindings/arm/aspeed/aspeed.yaml | 2 + .../devicetree/bindings/hwmon/max31785.txt | 22 - .../bindings/hwmon/maxim,max31790.yaml | 12 +- .../iio/pressure/infineon,dps310.yaml | 44 + .../devicetree/bindings/trivial-devices.yaml | 2 - MAINTAINERS | 1 + arch/arm/boot/dts/aspeed/Makefile | 1 + .../dts/aspeed/aspeed-bmc-ibm-balcones.dts | 609 ++++++++++++++ .../dts/aspeed/aspeed-bmc-ibm-bonnell.dts | 4 +- .../dts/aspeed/aspeed-bmc-ibm-everest.dts | 8 +- .../dts/aspeed/aspeed-bmc-ibm-rainier.dts | 12 +- .../boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts | 8 +- .../arm/boot/dts/aspeed/ibm-power11-dual.dtsi | 779 ++++++++++++++++++ .../arm/boot/dts/aspeed/ibm-power11-quad.dtsi | 769 +---------------- 14 files changed, 1465 insertions(+), 808 deletions(-) delete mode 100644 Documentation/devicetree/bindings/hwmon/max31785.txt create mode 100644 Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dts create mode 100644 arch/arm/boot/dts/aspeed/ibm-power11-dual.dtsi
Quoted 5 lines
--
2.51.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/next-20250917 (best guess, 10/11 blobs matched)
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-ibm-balcones.dtb: timer (arm,armv7-timer): 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/timer/arm,arch_timer.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: /sdram@1e6e0000: failed to match any schema with compatible: ['aspeed,ast2600-sdram-edac', 'syscon']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: bus@1e600000 (aspeed,ast2600-ahbc): compatible: ['aspeed,ast2600-ahbc', 'syscon'] is too long
from schema $id: http://devicetree.org/schemas/bus/aspeed,ast2600-ahbc.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: syscon@1e6e2000 (aspeed,ast2600-scu): 'smp-memram@180' does not match any of the regexes: '^interrupt-controller@[0-9a-f]+$', '^p2a-control@[0-9a-f]+$', '^pinctrl(@[0-9a-f]+)?$', '^pinctrl-[0-9]+$', '^silicon-id@[0-9a-f]+$'
from schema $id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-0: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-1: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-2: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-3: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-0: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-1: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-2: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-3: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: /ahb/apb/syscon@1e6e2000/smp-memram@180: failed to match any schema with compatible: ['aspeed,ast2600-smpmem']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: adc@1e6e9000 (aspeed,ast2600-adc0): 'interrupts' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: adc@1e6e9100 (aspeed,ast2600-adc1): 'interrupts' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: crypto@1e6fa000 (aspeed,ast2600-acry): 'aspeed,ahbc' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/crypto/aspeed,ast2600-acry.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: /ahb/apb/lpc@1e789000/lhc@a0: failed to match any schema with compatible: ['aspeed,ast2600-lhc']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: /ahb/apb/lpc@1e789000/ibt@140: failed to match any schema with compatible: ['aspeed,ast2600-ibt-bmc']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: max31785@52 (maxim,max31785a): fan-0: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: max31785@52 (maxim,max31785a): fan-1: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: max31785@52 (maxim,max31785a): fan-2: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: max31785@52 (maxim,max31785a): fan-3: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: /ahb/apb/bus@1e78a000/i2c@780/i2c-mux@70/i2c@3/max31785@52/fan-0: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: /ahb/apb/bus@1e78a000/i2c@780/i2c-mux@70/i2c@3/max31785@52/fan-1: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: /ahb/apb/bus@1e78a000/i2c@780/i2c-mux@70/i2c@3/max31785@52/fan-2: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: /ahb/apb/bus@1e78a000/i2c@780/i2c-mux@70/i2c@3/max31785@52/fan-3: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: /ahb/apb/dma-controller@1e79e000: failed to match any schema with compatible: ['aspeed,ast2600-udma']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: max31785@52 (maxim,max31785a): fan-0: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: max31785@52 (maxim,max31785a): fan-1: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: max31785@52 (maxim,max31785a): fan-2: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: max31785@52 (maxim,max31785a): fan-3: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: max31785@52 (maxim,max31785a): fan-4: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: max31785@52 (maxim,max31785a): fan-5: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-0: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-1: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-2: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-3: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-4: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-5: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: max31785@52 (maxim,max31785a): fan-0: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: max31785@52 (maxim,max31785a): fan-1: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: max31785@52 (maxim,max31785a): fan-2: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: max31785@52 (maxim,max31785a): fan-3: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: max31785@52 (maxim,max31785a): fan-4: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: max31785@52 (maxim,max31785a): fan-5: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-0: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-1: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-2: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-3: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-4: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-5: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dtb: max31785@52 (maxim,max31785a): fan-0: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dtb: max31785@52 (maxim,max31785a): fan-1: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-0: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-1: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: max31785@52 (maxim,max31785a): fan-0: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: max31785@52 (maxim,max31785a): fan-1: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: max31785@52 (maxim,max31785a): fan-2: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: max31785@52 (maxim,max31785a): fan-3: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: max31785@52 (maxim,max31785a): fan-4: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: max31785@52 (maxim,max31785a): fan-5: Unevaluated properties are not allowed ('compatible', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-0: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-1: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-2: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-3: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-4: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: /ahb/apb/bus@1e78a000/i2c@400/max31785@52/fan-5: failed to match any schema with compatible: ['pmbus-fan']
Rob Herring
maintainerQuoted 96 lines · Rob Herring (Arm)
Quoted 53 lines · Eddie James
The Balcones system is similar to Bonnell but with a POWER11 processor.
Changes since v5:
- Add patch to add address and size cells to max31790 document
- Don't remove address and size cells in max31785 fixes changeChanges since v4:
- Add patch to fix max31785 warnings
- Add patch to fix missing Bonnell documentationChanges since v3:
- Add max31785 to the max31790 document instead of to trivial-devices
- Fix minor formatting in dps310 documentChanges since v2:
- Fix a couple of incorrect i2c addresses
- Document dps310 and max31785 properly
- Drop the UCD binding documentation update, it's been fixedChanges since v1:
- Add all the ucd9000 driver supported compatible strings
- Fix node ordering in Balcones device tree
- Improve commit message to explain addition ofibm-power11-dual.dtsiEddie James (7):
dt-bindings: arm: aspeed: add IBM Balcones board
dt-bindings: arm: aspeed: add IBM Bonnell board
dt-bindings: iio: Add Infineon DPS310 sensor documentation
dt-bindings: hwmon: Move max31785 compatibles to max31790 document
dt-bindings: hwmon: max31790: Document address and size cells
ARM: dts: aspeed: Add Balcones system
ARM: dts: aspeed: Fix max31785 fan node naming.../bindings/arm/aspeed/aspeed.yaml | 2 + .../devicetree/bindings/hwmon/max31785.txt | 22 - .../bindings/hwmon/maxim,max31790.yaml | 12 +- .../iio/pressure/infineon,dps310.yaml | 44 + .../devicetree/bindings/trivial-devices.yaml | 2 - MAINTAINERS | 1 + arch/arm/boot/dts/aspeed/Makefile | 1 + .../dts/aspeed/aspeed-bmc-ibm-balcones.dts | 609 ++++++++++++++ .../dts/aspeed/aspeed-bmc-ibm-bonnell.dts | 4 +- .../dts/aspeed/aspeed-bmc-ibm-everest.dts | 8 +- .../dts/aspeed/aspeed-bmc-ibm-rainier.dts | 12 +- .../boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts | 8 +- .../arm/boot/dts/aspeed/ibm-power11-dual.dtsi | 779 ++++++++++++++++++ .../arm/boot/dts/aspeed/ibm-power11-quad.dtsi | 769 +---------------- 14 files changed, 1465 insertions(+), 808 deletions(-) delete mode 100644 Documentation/devicetree/bindings/hwmon/max31785.txt create mode 100644 Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dts create mode 100644 arch/arm/boot/dts/aspeed/ibm-power11-dual.dtsiQuoted 5 lines
--
2.51.0My 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 --upgradeThis patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/next-20250917 (best guess, 10/11 blobs matched)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-ibm-balcones.dtb: timer (arm,armv7-timer): 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/timer/arm,arch_timer.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: /sdram@1e6e0000: failed to match any schema with compatible: ['aspeed,ast2600-sdram-edac', 'syscon']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: bus@1e600000 (aspeed,ast2600-ahbc): compatible: ['aspeed,ast2600-ahbc', 'syscon'] is too long
from schema $id: http://devicetree.org/schemas/bus/aspeed,ast2600-ahbc.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: syscon@1e6e2000 (aspeed,ast2600-scu): 'smp-memram@180' does not match any of the regexes: '^interrupt-controller@[0-9a-f]+$', '^p2a-control@[0-9a-f]+$', '^pinctrl(@[0-9a-f]+)?$', '^pinctrl-[0-9]+$', '^silicon-id@[0-9a-f]+$'
from schema $id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-0: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-1: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#
Quoted 8 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-2: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-3: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-0: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-1: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-2: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-3: failed to match any schema with compatible: ['pmbus-fan']
Sigh. Are you testing this before sending?
None of these "maxim" properties are documented nor used by any driver. I don't know what a 'pmbus-fan' is as it is not documented.
For the fan child nodes and their node names, it is quite simple. You have 2 options:
fan-[0-9]+:
- no reg property
- no #address-cells or #size-cells in the parent node
fan@[0-9a-f]:
- must have reg property
- must have #address-cells or #size-cells in the parent node
If the parent device has a concept of fan channels (perhaps pages as the driver calls them?), then you should use 'reg' to map the fan channels to child nodes. For some fan controllers, 'reg' corresponds to the PWM number or pin number. Node names are generally not considered ABI, so you shouldn't be using them at all. That means the "fan-[0-9]+" case has no mapping between the fan node and instances in the fan controller.
Rob
Rob Herring
maintainerRe: [PATCH v6 5/7] dt-bindings: hwmon: max31790: Document address and size cells
In reply to Eddie JamesQuoted 13 lines · Eddie James
Since fan properties can include reg, the fan controller should be able to specify address-cells and size-cells properties.
Signed-off-by Eddie James <[email protected]>--- Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml | 6 ++++++ 1 file changed, 6 insertions(+)Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml +0
-0
Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml properties: · line 43
Quoted 9 lines
Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml +6
-0@@ -35,6 +35,12 @@ properties: resets: maxItems: 1 + '#address-cells': + const: 1 + + '#size-cells': + const: 0 +
As I explained, this is wrong if the child nodes don't have an address and are named "fan-[0-9]" which they are.
Quoted 6 lines
Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml +0
-0"#pwm-cells": const: 1Signature · 1 line
2.51.0
Eddie James
maintainerQuoted 103 lines · Rob Herring
Quoted 94 lines · Rob Herring (Arm)
Quoted 48 lines · Eddie James
The Balcones system is similar to Bonnell but with a POWER11 processor.
Changes since v5:
- Add patch to add address and size cells to max31790 document
- Don't remove address and size cells in max31785 fixes changeChanges since v4:
- Add patch to fix max31785 warnings
- Add patch to fix missing Bonnell documentationChanges since v3:
- Add max31785 to the max31790 document instead of to trivial-devices
- Fix minor formatting in dps310 documentChanges since v2:
- Fix a couple of incorrect i2c addresses
- Document dps310 and max31785 properly
- Drop the UCD binding documentation update, it's been fixedChanges since v1:
- Add all the ucd9000 driver supported compatible strings
- Fix node ordering in Balcones device tree
- Improve commit message to explain addition ofibm-power11-dual.dtsiEddie James (7):
dt-bindings: arm: aspeed: add IBM Balcones board
dt-bindings: arm: aspeed: add IBM Bonnell board
dt-bindings: iio: Add Infineon DPS310 sensor documentation
dt-bindings: hwmon: Move max31785 compatibles to max31790 document
dt-bindings: hwmon: max31790: Document address and size cells
ARM: dts: aspeed: Add Balcones system
ARM: dts: aspeed: Fix max31785 fan node naming.../bindings/arm/aspeed/aspeed.yaml | 2 + .../devicetree/bindings/hwmon/max31785.txt | 22 - .../bindings/hwmon/maxim,max31790.yaml | 12 +- .../iio/pressure/infineon,dps310.yaml | 44 + .../devicetree/bindings/trivial-devices.yaml | 2 - MAINTAINERS | 1 + arch/arm/boot/dts/aspeed/Makefile | 1 + .../dts/aspeed/aspeed-bmc-ibm-balcones.dts | 609 ++++++++++++++ .../dts/aspeed/aspeed-bmc-ibm-bonnell.dts | 4 +- .../dts/aspeed/aspeed-bmc-ibm-everest.dts | 8 +- .../dts/aspeed/aspeed-bmc-ibm-rainier.dts | 12 +- .../boot/dts/aspeed/aspeed-bmc-opp-tacoma.dts | 8 +- .../arm/boot/dts/aspeed/ibm-power11-dual.dtsi | 779 ++++++++++++++++++ .../arm/boot/dts/aspeed/ibm-power11-quad.dtsi | 769 +---------------- 14 files changed, 1465 insertions(+), 808 deletions(-)Quoted 10 lines
delete mode 100644
Documentation/devicetree/bindings/hwmon/max31785.txtcreate mode 100644Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yamlcreate mode 100644arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtscreate mode 100644arch/arm/boot/dts/aspeed/ibm-power11-dual.dtsi--
2.51.0My 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 --upgradeThis patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/next-20250917 (best guess, 10/11 blobs matched)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-ibm-balcones.dtb: timer (arm,armv7-timer): 'clocks' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/timer/arm,arch_timer.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: /sdram@1e6e0000: failed to match any schema with compatible: ['aspeed,ast2600-sdram-edac', 'syscon']arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: bus@1e600000 (aspeed,ast2600-ahbc): compatible: ['aspeed,ast2600-ahbc', 'syscon'] is too long
from schema $id: http://devicetree.org/schemas/bus/aspeed,ast2600-ahbc.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dtb: syscon@1e6e2000 (aspeed,ast2600-scu): 'smp-memram@180' does not match any of the regexes: '^interrupt-controller@[0-9a-f]+$', '^p2a-control@[0-9a-f]+$', '^pinctrl(@[0-9a-f]+)?$', '^pinctrl-[0-9]+$', '^silicon-id@[0-9a-f]+$'
from schema $id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-0: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-1: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#Quoted 8 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-2: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: max31785@52 (maxim,max31785a): fan-3: Unevaluated properties are not allowed ('compatible', 'maxim,fan-dual-tach', 'maxim,fan-fault-pin-mon', 'maxim,fan-no-fault-ramp', 'maxim,fan-no-watchdog', 'maxim,fan-pwm-freq', 'maxim,fan-ramp', 'maxim,fan-rotor-input', 'tach-pulses' were unexpected)
from schema $id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-0: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-1: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-2: failed to match any schema with compatible: ['pmbus-fan']arch/arm/boot/dts/aspeed/aspeed-bmc-opp-tacoma.dtb: /ahb/apb/bus@1e78a000/i2c@200/max31785@52/fan-3: failed to match any schema with compatible: ['pmbus-fan']
Quoted 1 line
Sigh. Are you testing this before sending?
Yes, but I wasn't sure if this was better or worse than before! These same kind of warnings show up without my changes, but since the node names are different, they show up in your list of new warnings.
Anyway I didn't realize it was allowable to do fan@ at all; I can add a pattern property in max documentation for that. And I left the maxim properties because I'd argue it's out of the scope of this change, but I can go ahead and remove them.
Thanks, and sorry for the churn.
Eddie
Quoted 24 lines
None of these "maxim" properties are documented nor used by any driver. I don't know what a 'pmbus-fan' is as it is not documented.
For the fan child nodes and their node names, it is quite simple. You have 2 options:
fan-[0-9]+:
- no reg property
- no #address-cells or #size-cells in the parent nodefan@[0-9a-f]:
- must have reg property
- must have #address-cells or #size-cells in the parent nodeIf the parent device has a concept of fan channels (perhaps pages as the driver calls them?), then you should use 'reg' to map the fan channels to child nodes. For some fan controllers, 'reg' corresponds to the PWM number or pin number. Node names are generally not considered ABI, so you shouldn't be using them at all. That means the "fan-[0-9]+" case has no mapping between the fan node and instances in the fan controller.
Rob