netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 00/10] DTS updates for system1 BMC
@ 2025-01-14 22:01 Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 01/10] dt-bindings: net: faraday,ftgmac100: Add phys mode Ninad Palsule
                   ` (10 more replies)
  0 siblings, 11 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Hello,

Please review the patch set version 5.

V5:
---
  - Improved IPBM device documentation.
  - Added the hog parsing in ast2400-gpio

V4:
---
  - Removed "Add RGMII support" patch as it needs some work from the
    driver side.
  - Improved IPBM device documentation.
  - There is a new warning in CHECK_DTBS which are false positive so
    ignored them.
    arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dtb: gpio@1e780000: 'hog-0', 'hog-1', 'hog-2', 'hog-3' do not match any of the regexes: 'pinctrl-[0-9]+'

V3:
---
  - Fixed dt_binding_check warnings in ipmb-dev.yaml
  - Updated title and description in ipmb-dev.yaml file.
  - Updated i2c-protocol description in ipmb-dev.yaml file.

V2:
---
  Fixed CHECK_DTBS errors by
    - Using generic node names
    - Documenting phy-mode rgmii-rxid in ftgmac100.yaml
    - Adding binding documentation for IPMB device interface

NINAD PALSULE (6):
  ARM: dts: aspeed: system1: Add IPMB device
  ARM: dts: aspeed: system1: Add GPIO line name
  ARM: dts: aspeed: system1: Reduce sgpio speed
  ARM: dts: aspeed: system1: Update LED gpio name
  ARM: dts: aspeed: system1: Remove VRs max8952
  ARM: dts: aspeed: system1: Mark GPIO line high/low

Ninad Palsule (4):
  dt-bindings: net: faraday,ftgmac100: Add phys mode
  bindings: ipmi: Add binding for IPMB device intf
  dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  ARM: dts: aspeed: system1: Disable gpio pull down

 .../bindings/gpio/aspeed,ast2400-gpio.yaml    |   6 +
 .../devicetree/bindings/ipmi/ipmb-dev.yaml    |  55 +++++++
 .../bindings/net/faraday,ftgmac100.yaml       |   3 +
 .../dts/aspeed/aspeed-bmc-ibm-system1.dts     | 139 +++++++++++-------
 4 files changed, 149 insertions(+), 54 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/ipmi/ipmb-dev.yaml

-- 
2.43.0


^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH v5 01/10] dt-bindings: net: faraday,ftgmac100: Add phys mode
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 02/10] bindings: ipmi: Add binding for IPMB device intf Ninad Palsule
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Aspeed device supports rgmii, rgmii-id, rgmii-rxid, rgmii-txid so
document them.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
index 9bcbacb6640d..55d6a8379025 100644
--- a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
+++ b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
@@ -44,6 +44,9 @@ properties:
   phy-mode:
     enum:
       - rgmii
+      - rgmii-id
+      - rgmii-rxid
+      - rgmii-txid
       - rmii
 
   phy-handle: true
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH v5 02/10] bindings: ipmi: Add binding for IPMB device intf
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 01/10] dt-bindings: net: faraday,ftgmac100: Add phys mode Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-14 23:57   ` Rob Herring (Arm)
  2025-01-14 22:01 ` [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing Ninad Palsule
                   ` (8 subsequent siblings)
  10 siblings, 1 reply; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Add device tree binding document for the IPMB device interface.
This device is already in use in both driver and .dts files.

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 .../devicetree/bindings/ipmi/ipmb-dev.yaml    | 55 +++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/ipmi/ipmb-dev.yaml

diff --git a/Documentation/devicetree/bindings/ipmi/ipmb-dev.yaml b/Documentation/devicetree/bindings/ipmi/ipmb-dev.yaml
new file mode 100644
index 000000000000..21c5aaf427d7
--- /dev/null
+++ b/Documentation/devicetree/bindings/ipmi/ipmb-dev.yaml
@@ -0,0 +1,55 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/ipmi/ipmb-dev.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: The Intelligent Platform Management Bus(IPMB) Device
+
+description: |
+  The IPMB is an I2C bus which provides interconnection between a Baseboard
+  Management Controller(BMC) and chassis electronics. The BMC sends IPMI
+  requests to intelligent controllers like Satellite Management Controller(MC)
+  devices via IPMB and the device sends responses back to the BMC.
+  This device uses an I2C slave device to send and receive IPMB messages,
+  either on a BMC or other MC. A miscellaneous device provices a user space
+  program to communicate with the kernel and the backend device. Some IPMB
+  devices only support the I2C protocol and not the SMB protocol.
+
+  IPMB communications protocol Specification V1.0
+  https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmp-spec-v1.0.pdf
+
+maintainers:
+  - Ninad Palsule <ninad@linux.ibm.com>
+
+properties:
+  compatible:
+    enum:
+      - ipmb-dev
+
+  reg:
+    maxItems: 1
+
+  i2c-protocol:
+    description:
+      Use I2C block transfer instead of SMBUS block transfer.
+    type: boolean
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        ipmb-dev@10 {
+            compatible = "ipmb-dev";
+            reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+            i2c-protocol;
+        };
+    };
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 01/10] dt-bindings: net: faraday,ftgmac100: Add phys mode Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 02/10] bindings: ipmi: Add binding for IPMB device intf Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-14 23:57   ` Rob Herring (Arm)
  2025-01-15  8:45   ` Krzysztof Kozlowski
  2025-01-14 22:01 ` [PATCH v5 04/10] ARM: dts: aspeed: system1: Add IPMB device Ninad Palsule
                   ` (7 subsequent siblings)
  10 siblings, 2 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Allow parsing GPIO controller children nodes with GPIO hogs.

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
index b9afd07a9d24..b9bc4fe4d5a6 100644
--- a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
@@ -46,6 +46,12 @@ properties:
     minimum: 12
     maximum: 232
 
+patternProperties:
+  "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
+    type: object
+    required:
+      - gpio-hog
+
 required:
   - compatible
   - reg
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH v5 04/10] ARM: dts: aspeed: system1: Add IPMB device
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
                   ` (2 preceding siblings ...)
  2025-01-14 22:01 ` [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 05/10] ARM: dts: aspeed: system1: Add GPIO line name Ninad Palsule
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Add IPMB device sitting behind PCH module

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
index 8f77bc9e860c..0d16987cfc80 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
@@ -763,6 +763,15 @@ i2c3mux0chn7: i2c@7 {
 
 &i2c4 {
 	status = "okay";
+	multi-master;
+	bus-frequency = <1000000>;
+
+	ipmb@10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+
+		i2c-protocol;
+	};
 };
 
 &i2c5 {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH v5 05/10] ARM: dts: aspeed: system1: Add GPIO line name
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
                   ` (3 preceding siblings ...)
  2025-01-14 22:01 ` [PATCH v5 04/10] ARM: dts: aspeed: system1: Add IPMB device Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 06/10] ARM: dts: aspeed: system1: Reduce sgpio speed Ninad Palsule
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Add following GPIO line name so that userspace can control them
    - Flash write override
    - pch-reset

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
index 0d16987cfc80..973169679c8d 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
@@ -370,7 +370,7 @@ &gpio0 {
 	/*K0-K7*/	"","","","","","","","",
 	/*L0-L7*/	"","","","","","","","bmc-ready",
 	/*M0-M7*/	"","","","","","","","",
-	/*N0-N7*/	"fpga-debug-enable","","","","","","","",
+	/*N0-N7*/	"pch-reset","","","","","flash-write-override","","",
 	/*O0-O7*/	"","","","","","","","",
 	/*P0-P7*/	"","","","","","","","bmc-hb",
 	/*Q0-Q7*/	"","","","","","","pch-ready","",
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH v5 06/10] ARM: dts: aspeed: system1: Reduce sgpio speed
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
                   ` (4 preceding siblings ...)
  2025-01-14 22:01 ` [PATCH v5 05/10] ARM: dts: aspeed: system1: Add GPIO line name Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 07/10] ARM: dts: aspeed: system1: Update LED gpio name Ninad Palsule
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Reduce sgpio speed to improve stability with the current PCB layout.

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
index 973169679c8d..ca55a4fb6dff 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
@@ -401,7 +401,7 @@ &emmc {
 &sgpiom0 {
 	status = "okay";
 	ngpios = <128>;
-	bus-frequency = <1000000>;
+	bus-frequency = <500000>;
 };
 
 &ibt {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH v5 07/10] ARM: dts: aspeed: system1: Update LED gpio name
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
                   ` (5 preceding siblings ...)
  2025-01-14 22:01 ` [PATCH v5 06/10] ARM: dts: aspeed: system1: Reduce sgpio speed Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 08/10] ARM: dts: aspeed: system1: Remove VRs max8952 Ninad Palsule
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Rename LEDs with meaningful names for easier identification.

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 .../dts/aspeed/aspeed-bmc-ibm-system1.dts     | 36 +++++++++----------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
index ca55a4fb6dff..1e0b1111ea9a 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
@@ -116,63 +116,63 @@ vga_memory: region@bf000000 {
 	leds {
 		compatible = "gpio-leds";
 
-		led-0 {
+		led-bmc-ready {
 			gpios = <&gpio0 ASPEED_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
 		};
 
-		led-1 {
+		led-bmc-hb {
 			gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_HIGH>;
 		};
 
-		led-2 {
+		led-rear-enc-fault0 {
 			gpios = <&gpio0 ASPEED_GPIO(S, 6) GPIO_ACTIVE_HIGH>;
 		};
 
-		led-3 {
+		led-rear-enc-id0 {
 			gpios = <&gpio0 ASPEED_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
 		};
 
-		led-4 {
+		led-fan0-fault {
 			gpios = <&pca3 5 GPIO_ACTIVE_LOW>;
 		};
 
-		led-5 {
+		led-fan1-fault {
 			gpios = <&pca3 6 GPIO_ACTIVE_LOW>;
 		};
 
-		led-6 {
+		led-fan2-fault {
 			gpios = <&pca3 7 GPIO_ACTIVE_LOW>;
 		};
 
-		led-7 {
+		led-fan3-fault {
 			gpios = <&pca3 8 GPIO_ACTIVE_LOW>;
 		};
 
-		led-8 {
+		led-fan4-fault {
 			gpios = <&pca3 9 GPIO_ACTIVE_LOW>;
 		};
 
-		led-9 {
+		led-fan5-fault {
 			gpios = <&pca3 10 GPIO_ACTIVE_LOW>;
 		};
 
-		led-a {
+		led-fan6-fault {
 			gpios = <&pca3 11 GPIO_ACTIVE_LOW>;
 		};
 
-		led-b {
+		led-nvmed0-fault {
 			gpios = <&pca4 4 GPIO_ACTIVE_HIGH>;
 		};
 
-		led-c {
+		led-nvmed1-fault {
 			gpios = <&pca4 5 GPIO_ACTIVE_HIGH>;
 		};
 
-		led-d {
+		led-nvmed2-fault {
 			gpios = <&pca4 6 GPIO_ACTIVE_HIGH>;
 		};
 
-		led-e {
+		led-nvmed3-fault {
 			gpios = <&pca4 7 GPIO_ACTIVE_HIGH>;
 		};
 	};
@@ -368,14 +368,14 @@ &gpio0 {
 	/*I0-I7*/	"","","","","","","","",
 	/*J0-J7*/	"","","","","","","","",
 	/*K0-K7*/	"","","","","","","","",
-	/*L0-L7*/	"","","","","","","","bmc-ready",
+	/*L0-L7*/	"","","","","","","","led-bmc-ready",
 	/*M0-M7*/	"","","","","","","","",
 	/*N0-N7*/	"pch-reset","","","","","flash-write-override","","",
 	/*O0-O7*/	"","","","","","","","",
-	/*P0-P7*/	"","","","","","","","bmc-hb",
+	/*P0-P7*/	"","","","","","","","led-bmc-hb",
 	/*Q0-Q7*/	"","","","","","","pch-ready","",
 	/*R0-R7*/	"","","","","","","","",
-	/*S0-S7*/	"","","","","","","rear-enc-fault0","rear-enc-id0",
+	/*S0-S7*/	"","","","","","","led-rear-enc-fault0","led-rear-enc-id0",
 	/*T0-T7*/	"","","","","","","","",
 	/*U0-U7*/	"","","","","","","","",
 	/*V0-V7*/	"","rtc-battery-voltage-read-enable","","power-chassis-control","","","","",
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH v5 08/10] ARM: dts: aspeed: system1: Remove VRs max8952
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
                   ` (6 preceding siblings ...)
  2025-01-14 22:01 ` [PATCH v5 07/10] ARM: dts: aspeed: system1: Update LED gpio name Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 09/10] ARM: dts: aspeed: system1: Mark GPIO line high/low Ninad Palsule
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Removing voltage regulators max8952 from device tree. Those are fully
controlled by hardware and firmware should not touch them.

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 .../dts/aspeed/aspeed-bmc-ibm-system1.dts     | 34 -------------------
 1 file changed, 34 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
index 1e0b1111ea9a..089a8315753a 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
@@ -486,23 +486,6 @@ eeprom@50 {
 		compatible = "atmel,24c64";
 		reg = <0x50>;
 	};
-
-	regulator@60 {
-		compatible = "maxim,max8952";
-		reg = <0x60>;
-
-		max8952,default-mode = <0>;
-		max8952,dvs-mode-microvolt = <1250000>, <1200000>,
-						<1050000>, <950000>;
-		max8952,sync-freq = <0>;
-		max8952,ramp-speed = <0>;
-
-		regulator-name = "VR_v77_1v4";
-		regulator-min-microvolt = <770000>;
-		regulator-max-microvolt = <1400000>;
-		regulator-always-on;
-		regulator-boot-on;
-	};
 };
 
 &i2c1 {
@@ -1198,23 +1181,6 @@ eeprom@50 {
 		compatible = "atmel,24c64";
 		reg = <0x50>;
 	};
-
-	regulator@60 {
-		compatible = "maxim,max8952";
-		reg = <0x60>;
-
-		max8952,default-mode = <0>;
-		max8952,dvs-mode-microvolt = <1250000>, <1200000>,
-						<1050000>, <950000>;
-		max8952,sync-freq = <0>;
-		max8952,ramp-speed = <0>;
-
-		regulator-name = "VR_v77_1v4";
-		regulator-min-microvolt = <770000>;
-		regulator-max-microvolt = <1400000>;
-		regulator-always-on;
-		regulator-boot-on;
-	};
 };
 
 &i2c11 {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH v5 09/10] ARM: dts: aspeed: system1: Mark GPIO line high/low
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
                   ` (7 preceding siblings ...)
  2025-01-14 22:01 ` [PATCH v5 08/10] ARM: dts: aspeed: system1: Remove VRs max8952 Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-14 22:01 ` [PATCH v5 10/10] ARM: dts: aspeed: system1: Disable gpio pull down Ninad Palsule
  2025-01-15  1:40 ` [PATCH v5 00/10] DTS updates for system1 BMC Rob Herring (Arm)
  10 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

- Mark following GPIO lines as input high:
  - GPIOL4 (reset PCH registers)
  - GPIOL5 (reset portition of intel ME)
- Mark isolate errors from cpu1 gpio (GPIOO6) as active low output.
- The fan controller reset line should be active high.

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 .../dts/aspeed/aspeed-bmc-ibm-system1.dts     | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
index 089a8315753a..1f0a6247f97e 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
@@ -383,6 +383,34 @@ &gpio0 {
 	/*X0-X7*/	"fpga-pgood","power-chassis-good","pch-pgood","","","","","",
 	/*Y0-Y7*/	"","","","","","","","",
 	/*Z0-Z7*/	"","","","","","","","";
+
+	hog-0 {
+		gpio-hog;
+		gpios = <ASPEED_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
+		input;
+		line-name = "RST_RTCRST_N";
+	};
+
+	hog-1 {
+		gpio-hog;
+		gpios = <ASPEED_GPIO(L, 5) GPIO_ACTIVE_HIGH>;
+		input;
+		line-name = "RST_SRTCRST_N";
+	};
+
+	hog-2 {
+		gpio-hog;
+		gpios = <ASPEED_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
+		output-high;
+		line-name = "BMC_FAN_E3_SVC_PEX_INT_N";
+	};
+
+	hog-3 {
+		gpio-hog;
+		gpios = <ASPEED_GPIO(O, 6) GPIO_ACTIVE_LOW>;
+		output-low;
+		line-name = "isolate_errs_cpu1";
+	};
 };
 
 &emmc_controller {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH v5 10/10] ARM: dts: aspeed: system1: Disable gpio pull down
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
                   ` (8 preceding siblings ...)
  2025-01-14 22:01 ` [PATCH v5 09/10] ARM: dts: aspeed: system1: Mark GPIO line high/low Ninad Palsule
@ 2025-01-14 22:01 ` Ninad Palsule
  2025-01-15  1:40 ` [PATCH v5 00/10] DTS updates for system1 BMC Rob Herring (Arm)
  10 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-14 22:01 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: Ninad Palsule

Disable internal pull down for the following GPIO lines.
- GPIOL4 - Reset PCH registers in the rtc.
- GPIOL5 - Reset portition of Intel ME
- GPIOL6 - FM smi active
- GPIOL7 - psu all dc power good.

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
---
 .../dts/aspeed/aspeed-bmc-ibm-system1.dts     | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
index 1f0a6247f97e..723cbbbc72bf 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts
@@ -355,7 +355,35 @@ &uhci {
 	status = "okay";
 };
 
+&pinctrl {
+	pinctrl_gpiol4_unbiased: gpiol4 {
+		pins = "C15";
+		bias-disable;
+	};
+
+	pinctrl_gpiol5_unbiased: gpiol5 {
+		pins = "F15";
+		bias-disable;
+	};
+
+	pinctrl_gpiol6_unbiased: gpiol6 {
+		pins = "B14";
+		bias-disable;
+	};
+
+	pinctrl_gpiol7_unbiased: gpiol7 {
+		pins = "C14";
+		bias-disable;
+	};
+};
+
 &gpio0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_gpiol4_unbiased
+		&pinctrl_gpiol5_unbiased
+		&pinctrl_gpiol6_unbiased
+		&pinctrl_gpiol7_unbiased>;
+
 	gpio-line-names =
 	/*A0-A7*/	"","","","","","","","",
 	/*B0-B7*/	"","","","","bmc-tpm-reset","","","",
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 02/10] bindings: ipmi: Add binding for IPMB device intf
  2025-01-14 22:01 ` [PATCH v5 02/10] bindings: ipmi: Add binding for IPMB device intf Ninad Palsule
@ 2025-01-14 23:57   ` Rob Herring (Arm)
  0 siblings, 0 replies; 24+ messages in thread
From: Rob Herring (Arm) @ 2025-01-14 23:57 UTC (permalink / raw)
  To: Ninad Palsule
  Cc: kuba, netdev, andrew, davem, edumazet, openipmi-developer,
	linux-kernel, joel, linux-aspeed, devicetree, conor+dt, pabeni,
	andrew+netdev, minyard, eajames, linux-arm-kernel, krzk+dt


On Tue, 14 Jan 2025 16:01:36 -0600, Ninad Palsule wrote:
> Add device tree binding document for the IPMB device interface.
> This device is already in use in both driver and .dts files.
> 
> Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
> ---
>  .../devicetree/bindings/ipmi/ipmb-dev.yaml    | 55 +++++++++++++++++++
>  1 file changed, 55 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/ipmi/ipmb-dev.yaml
> 

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Error: Documentation/devicetree/bindings/ipmi/ipmb-dev.example.dts:24.32-33 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.dtbs:131: Documentation/devicetree/bindings/ipmi/ipmb-dev.example.dtb] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1506: dt_binding_check] Error 2
make: *** [Makefile:251: __sub-make] Error 2

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250114220147.757075-3-ninad@linux.ibm.com

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  2025-01-14 22:01 ` [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing Ninad Palsule
@ 2025-01-14 23:57   ` Rob Herring (Arm)
  2025-01-16 15:04     ` Ninad Palsule
  2025-01-15  8:45   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 24+ messages in thread
From: Rob Herring (Arm) @ 2025-01-14 23:57 UTC (permalink / raw)
  To: Ninad Palsule
  Cc: andrew+netdev, pabeni, linux-arm-kernel, edumazet, joel, krzk+dt,
	linux-kernel, andrew, devicetree, davem, kuba, openipmi-developer,
	netdev, linux-aspeed, conor+dt, eajames, minyard


On Tue, 14 Jan 2025 16:01:37 -0600, Ninad Palsule wrote:
> Allow parsing GPIO controller children nodes with GPIO hogs.
> 
> Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
> ---
>  .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml       | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:


doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250114220147.757075-4-ninad@linux.ibm.com

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 00/10] DTS updates for system1 BMC
  2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
                   ` (9 preceding siblings ...)
  2025-01-14 22:01 ` [PATCH v5 10/10] ARM: dts: aspeed: system1: Disable gpio pull down Ninad Palsule
@ 2025-01-15  1:40 ` Rob Herring (Arm)
  2025-01-16 15:15   ` Ninad Palsule
  10 siblings, 1 reply; 24+ messages in thread
From: Rob Herring (Arm) @ 2025-01-15  1:40 UTC (permalink / raw)
  To: Ninad Palsule
  Cc: linux-kernel, openipmi-developer, pabeni, krzk+dt, kuba, joel,
	linux-arm-kernel, linux-aspeed, davem, eajames, andrew,
	andrew+netdev, minyard, edumazet, conor+dt, netdev, devicetree


On Tue, 14 Jan 2025 16:01:34 -0600, Ninad Palsule wrote:
> Hello,
> 
> Please review the patch set version 5.
> 
> V5:
> ---
>   - Improved IPBM device documentation.
>   - Added the hog parsing in ast2400-gpio
> 
> V4:
> ---
>   - Removed "Add RGMII support" patch as it needs some work from the
>     driver side.
>   - Improved IPBM device documentation.
>   - There is a new warning in CHECK_DTBS which are false positive so
>     ignored them.
>     arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dtb: gpio@1e780000: 'hog-0', 'hog-1', 'hog-2', 'hog-3' do not match any of the regexes: 'pinctrl-[0-9]+'
> 
> V3:
> ---
>   - Fixed dt_binding_check warnings in ipmb-dev.yaml
>   - Updated title and description in ipmb-dev.yaml file.
>   - Updated i2c-protocol description in ipmb-dev.yaml file.
> 
> V2:
> ---
>   Fixed CHECK_DTBS errors by
>     - Using generic node names
>     - Documenting phy-mode rgmii-rxid in ftgmac100.yaml
>     - Adding binding documentation for IPMB device interface
> 
> NINAD PALSULE (6):
>   ARM: dts: aspeed: system1: Add IPMB device
>   ARM: dts: aspeed: system1: Add GPIO line name
>   ARM: dts: aspeed: system1: Reduce sgpio speed
>   ARM: dts: aspeed: system1: Update LED gpio name
>   ARM: dts: aspeed: system1: Remove VRs max8952
>   ARM: dts: aspeed: system1: Mark GPIO line high/low
> 
> Ninad Palsule (4):
>   dt-bindings: net: faraday,ftgmac100: Add phys mode
>   bindings: ipmi: Add binding for IPMB device intf
>   dt-bindings: gpio: ast2400-gpio: Add hogs parsing
>   ARM: dts: aspeed: system1: Disable gpio pull down
> 
>  .../bindings/gpio/aspeed,ast2400-gpio.yaml    |   6 +
>  .../devicetree/bindings/ipmi/ipmb-dev.yaml    |  55 +++++++
>  .../bindings/net/faraday,ftgmac100.yaml       |   3 +
>  .../dts/aspeed/aspeed-bmc-ibm-system1.dts     | 139 +++++++++++-------
>  4 files changed, 149 insertions(+), 54 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/ipmi/ipmb-dev.yaml
> 
> --
> 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


New warnings running 'make CHECK_DTBS=y for arch/arm/boot/dts/aspeed/' for 20250114220147.757075-1-ninad@linux.ibm.com:

arch/arm/boot/dts/aspeed/aspeed-bmc-opp-palmetto.dtb: gpio@1e780000: 'pin_func_mode0', 'pin_func_mode1', 'pin_func_mode2', 'pin_gpio_a0', 'pin_gpio_a1', 'pin_gpio_b1', 'pin_gpio_b2', 'pin_gpio_b7', 'pin_gpio_d1', 'pin_gpio_f1', 'pin_gpio_f4', 'pin_gpio_f5', 'pin_gpio_f7', 'pin_gpio_g3', 'pin_gpio_g4', 'pin_gpio_g5', 'pin_gpio_h0', 'pin_gpio_h1', 'pin_gpio_h2', 'pin_gpio_h7' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-delta-ahe50dc.dtb: gpio@1e780000: 'doom-guardrail' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dtb: gpio@1e780000: 'nic_func_mode0', 'nic_func_mode1', 'seq_cont' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-lanyang.dtb: gpio@1e780000: 'pin_gpio_aa6', 'pin_gpio_aa7', 'pin_gpio_ab0', 'pin_gpio_b0', 'pin_gpio_b5', 'pin_gpio_h5', 'pin_gpio_z2' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-bytedance-g220a.dtb: gpio@1e780000: 'pin_gpio_b6', 'pin_gpio_i3' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: gpio@1e780000: 'usb_power' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c246d4i.dtb: gpio@1e780000: 'bmc-ready' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: gpio@1e780000: 'i2c3_mux_oe_n', 'usb_power' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dtb: gpio@1e780000: 'bmc-ready' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: gpio@1e780000: 'i2c3_mux_oe_n', 'usb_power' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: gpio@1e780000: 'i2c3_mux_oe_n', 'usb_power' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dtb: gpio@1e780000: 'usb_power' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dtb: gpio@1e780000: 'func_mode0', 'func_mode1', 'func_mode2', 'ncsi_cfg', 'seq_cont' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-lenovo-hr855xg2.dtb: gpio@1e780000: 'pin_gpio_a1', 'pin_gpio_a3', 'pin_gpio_aa0', 'pin_gpio_aa4', 'pin_gpio_ab3', 'pin_gpio_ac6', 'pin_gpio_b5', 'pin_gpio_b7', 'pin_gpio_e0', 'pin_gpio_e2', 'pin_gpio_e5', 'pin_gpio_e6', 'pin_gpio_f0', 'pin_gpio_f1', 'pin_gpio_f2', 'pin_gpio_f3', 'pin_gpio_f4', 'pin_gpio_f6', 'pin_gpio_g7', 'pin_gpio_h6', 'pin_gpio_i3', 'pin_gpio_j1', 'pin_gpio_j2', 'pin_gpio_j3', 'pin_gpio_l0', 'pin_gpio_l1', 'pin_gpio_l4', 'pin_gpio_l5', 'pin_gpio_r6', 'pin_gpio_r7', 'pin_gpio_s1', 'pin_gpio_s2', 'pin_gpio_s6', 'pin_gpio_z3' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-lenovo-hr630.dtb: gpio@1e780000: 'pin_gpio_aa0', 'pin_gpio_aa5', 'pin_gpio_b5', 'pin_gpio_f0', 'pin_gpio_f3', 'pin_gpio_f4', 'pin_gpio_f5', 'pin_gpio_g4', 'pin_gpio_g7', 'pin_gpio_h2', 'pin_gpio_h3', 'pin_gpio_i3', 'pin_gpio_j2', 'pin_gpio_j3', 'pin_gpio_s2', 'pin_gpio_s4', 'pin_gpio_s6', 'pin_gpio_y0', 'pin_gpio_y1', 'pin_gpio_z0', 'pin_gpio_z2', 'pin_gpio_z3', 'pin_gpio_z7' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-opp-zaius.dtb: gpio@1e780000: 'line_bmc_i2c2_sw_rst_n', 'line_bmc_i2c5_sw_rst_n', 'line_iso_u146_en', 'ncsi_mux_en_n' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
arch/arm/boot/dts/aspeed/aspeed-bmc-arm-stardragon4800-rep2.dtb: gpio@1e780000: 'pin_gpio_c7', 'pin_gpio_d1' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#






^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  2025-01-14 22:01 ` [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing Ninad Palsule
  2025-01-14 23:57   ` Rob Herring (Arm)
@ 2025-01-15  8:45   ` Krzysztof Kozlowski
  2025-01-15 14:24     ` Rob Herring
  1 sibling, 1 reply; 24+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-15  8:45 UTC (permalink / raw)
  To: Ninad Palsule
  Cc: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel

On Tue, Jan 14, 2025 at 04:01:37PM -0600, Ninad Palsule wrote:
> Allow parsing GPIO controller children nodes with GPIO hogs.
> 
> Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
> ---
>  .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml       | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
> index b9afd07a9d24..b9bc4fe4d5a6 100644
> --- a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
> +++ b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
> @@ -46,6 +46,12 @@ properties:
>      minimum: 12
>      maximum: 232
>  
> +patternProperties:
> +  "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":

Choose one - suffix or prefix. More popular is suffix.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  2025-01-15  8:45   ` Krzysztof Kozlowski
@ 2025-01-15 14:24     ` Rob Herring
  2025-01-15 20:30       ` Krzysztof Kozlowski
                         ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Rob Herring @ 2025-01-15 14:24 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Ninad Palsule, minyard, krzk+dt, conor+dt, andrew+netdev, davem,
	edumazet, kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel

On Wed, Jan 15, 2025 at 09:45:50AM +0100, Krzysztof Kozlowski wrote:
> On Tue, Jan 14, 2025 at 04:01:37PM -0600, Ninad Palsule wrote:
> > Allow parsing GPIO controller children nodes with GPIO hogs.
> > 
> > Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
> > ---
> >  .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml       | 6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
> > index b9afd07a9d24..b9bc4fe4d5a6 100644
> > --- a/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
> > +++ b/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml
> > @@ -46,6 +46,12 @@ properties:
> >      minimum: 12
> >      maximum: 232
> >  
> > +patternProperties:
> > +  "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
> 
> Choose one - suffix or prefix. More popular is suffix.

I was about to say that, but this matches what gpio-hog.yaml defines. 
Why we did both, I don't remember. We could probably eliminate 
'hog-[0-9]+' as that doesn't appear to be used much.

Long term, I want to make all gpio controllers reference a gpio 
controller schema and put the hog stuff there. Then we have the node 
names defined in 1 place.

Rob

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  2025-01-15 14:24     ` Rob Herring
@ 2025-01-15 20:30       ` Krzysztof Kozlowski
       [not found]       ` <a164ab0e-1cdf-427e-bfb7-f5614be5b0fa@linux.ibm.com>
  2025-01-16 15:10       ` Ninad Palsule
  2 siblings, 0 replies; 24+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-15 20:30 UTC (permalink / raw)
  To: Rob Herring
  Cc: Ninad Palsule, minyard, krzk+dt, conor+dt, andrew+netdev, davem,
	edumazet, kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel

On 15/01/2025 15:24, Rob Herring wrote:
>>>  
>>> +patternProperties:
>>> +  "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
>>
>> Choose one - suffix or prefix. More popular is suffix.
> 
> I was about to say that, but this matches what gpio-hog.yaml defines. 
> Why we did both, I don't remember. We could probably eliminate 
> 'hog-[0-9]+' as that doesn't appear to be used much.

Only one case:
arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi:                 hog-0 {

Although there are few "hog" prefixes followed by alphanumeric, so not
matching above pattern.

> 
> Long term, I want to make all gpio controllers reference a gpio 
> controller schema and put the hog stuff there. Then we have the node 
> names defined in 1 place.



Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
       [not found]       ` <a164ab0e-1cdf-427e-bfb7-f5614be5b0fa@linux.ibm.com>
@ 2025-01-16 10:38         ` Krzysztof Kozlowski
       [not found]           ` <10c06fec-b721-4a7f-b105-c3c4c8358a47@linux.ibm.com>
  0 siblings, 1 reply; 24+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-16 10:38 UTC (permalink / raw)
  To: Ninad Palsule
  Cc: Rob Herring, minyard, krzk+dt, conor+dt, andrew+netdev, davem,
	edumazet, kuba, pabeni, openipmi-developer, netdev, joel, andrew,
	devicetree, eajames, linux-arm-kernel, linux-aspeed, linux-kernel

On Wed, Jan 15, 2025 at 03:53:38PM -0600, Ninad Palsule wrote:
> > > > +  "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
> > > Choose one - suffix or prefix. More popular is suffix.
> > I was about to say that, but this matches what gpio-hog.yaml defines.
> > Why we did both, I don't remember. We could probably eliminate
> > 'hog-[0-9]+' as that doesn't appear to be used much.
> > 
> > Long term, I want to make all gpio controllers reference a gpio
> > controller schema and put the hog stuff there. Then we have the node
> > names defined in 1 place.
> 
> Which one of the following are you suggesting?
> 
> "^(.+-hog(-[0-9]+)?)$"

This. The second part of pattern.

I'll send a patch for dtschema to drop the prefix version.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
       [not found]           ` <10c06fec-b721-4a7f-b105-c3c4c8358a47@linux.ibm.com>
@ 2025-01-16 14:48             ` Rob Herring
  0 siblings, 0 replies; 24+ messages in thread
From: Rob Herring @ 2025-01-16 14:48 UTC (permalink / raw)
  To: Ninad Palsule
  Cc: Krzysztof Kozlowski, minyard, krzk+dt, conor+dt, andrew+netdev,
	davem, edumazet, kuba, pabeni, openipmi-developer, netdev, joel,
	andrew, devicetree, eajames, linux-arm-kernel, linux-aspeed,
	linux-kernel

On Thu, Jan 16, 2025 at 08:19:25AM -0600, Ninad Palsule wrote:
>    Hi  Krzysztof,
> 
>    On 1/16/25 04:38, Krzysztof Kozlowski wrote:
> 
> On Wed, Jan 15, 2025 at 03:53:38PM -0600, Ninad Palsule wrote:
> 
> +  "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
> 
> Choose one - suffix or prefix. More popular is suffix.
> 
> I was about to say that, but this matches what gpio-hog.yaml defines.
> Why we did both, I don't remember. We could probably eliminate
> 'hog-[0-9]+' as that doesn't appear to be used much.
> 
> Long term, I want to make all gpio controllers reference a gpio
> controller schema and put the hog stuff there. Then we have the node
> names defined in 1 place.
> 
> Which one of the following are you suggesting?
> 
> "^(.+-hog(-[0-9]+)?)$"
> 
> This. The second part of pattern.
> 
> I'll send a patch for dtschema to drop the prefix version.
> 
>    Thanks. Also thanks for the other patch. It helped a lot.

Please fix your mail client to properly quote replies

Rob

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  2025-01-14 23:57   ` Rob Herring (Arm)
@ 2025-01-16 15:04     ` Ninad Palsule
  2025-01-16 19:57       ` Rob Herring
  0 siblings, 1 reply; 24+ messages in thread
From: Ninad Palsule @ 2025-01-16 15:04 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: andrew+netdev, pabeni, linux-arm-kernel, edumazet, joel, krzk+dt,
	linux-kernel, andrew, devicetree, davem, kuba, openipmi-developer,
	netdev, linux-aspeed, conor+dt, eajames, minyard

Hi Rob,

On 1/14/25 17:57, Rob Herring (Arm) wrote:
> On Tue, 14 Jan 2025 16:01:37 -0600, Ninad Palsule wrote:
>> Allow parsing GPIO controller children nodes with GPIO hogs.
>>
>> Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
>> ---
>>   .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml       | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
>
>
> doc reference errors (make refcheckdocs):

I am not seeing any error even after upgrading dtschema. Also this mail 
also doesn't show any warning. Is this false negative?

   HOSTLD  scripts/dtc/fdtoverlay
   CHKDT   ./Documentation/devicetree/bindings
   LINT    ./Documentation/devicetree/bindings
   DTEX 
Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.example.dts
   DTC [C] 
Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.example.dtb

Regards,

Ninad

>

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  2025-01-15 14:24     ` Rob Herring
  2025-01-15 20:30       ` Krzysztof Kozlowski
       [not found]       ` <a164ab0e-1cdf-427e-bfb7-f5614be5b0fa@linux.ibm.com>
@ 2025-01-16 15:10       ` Ninad Palsule
  2 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-16 15:10 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski
  Cc: minyard, krzk+dt, conor+dt, andrew+netdev, davem, edumazet, kuba,
	pabeni, openipmi-developer, netdev, joel, andrew, devicetree,
	eajames, linux-arm-kernel, linux-aspeed, linux-kernel

Hi Rob,

On 1/15/25 08:24, Rob Herring wrote:
>
> I was about to say that, but this matches what gpio-hog.yaml defines.
> Why we did both, I don't remember. We could probably eliminate
> 'hog-[0-9]+' as that doesn't appear to be used much.
>
> Long term, I want to make all gpio controllers reference a gpio
> controller schema and put the hog stuff there. Then we have the node
> names defined in 1 place.

Ok, choosing suffix.

Thanks for the review.

Regards,

Ninad



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 00/10] DTS updates for system1 BMC
  2025-01-15  1:40 ` [PATCH v5 00/10] DTS updates for system1 BMC Rob Herring (Arm)
@ 2025-01-16 15:15   ` Ninad Palsule
  0 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-16 15:15 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: linux-kernel, openipmi-developer, pabeni, krzk+dt, kuba, joel,
	linux-arm-kernel, linux-aspeed, davem, eajames, andrew,
	andrew+netdev, minyard, edumazet, conor+dt, netdev, devicetree

Hello Rob,

On 1/14/25 19:40, Rob Herring (Arm) wrote:
> make sure dt-schema is up to date:
>
>    pip3 install dtschema --upgrade
>
>
> New warnings running 'make CHECK_DTBS=y for arch/arm/boot/dts/aspeed/' for 20250114220147.757075-1-ninad@linux.ibm.com:
>
> arch/arm/boot/dts/aspeed/aspeed-bmc-opp-palmetto.dtb: gpio@1e780000: 'pin_func_mode0', 'pin_func_mode1', 'pin_func_mode2', 'pin_gpio_a0', 'pin_gpio_a1', 'pin_gpio_b1', 'pin_gpio_b2', 'pin_gpio_b7', 'pin_gpio_d1', 'pin_gpio_f1', 'pin_gpio_f4', 'pin_gpio_f5', 'pin_gpio_f7', 'pin_gpio_g3', 'pin_gpio_g4', 'pin_gpio_g5', 'pin_gpio_h0', 'pin_gpio_h1', 'pin_gpio_h2', 'pin_gpio_h7' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-delta-ahe50dc.dtb: gpio@1e780000: 'doom-guardrail' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-opp-romulus.dtb: gpio@1e780000: 'nic_func_mode0', 'nic_func_mode1', 'seq_cont' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-opp-lanyang.dtb: gpio@1e780000: 'pin_gpio_aa6', 'pin_gpio_aa7', 'pin_gpio_ab0', 'pin_gpio_b0', 'pin_gpio_b5', 'pin_gpio_h5', 'pin_gpio_z2' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-bytedance-g220a.dtb: gpio@1e780000: 'pin_gpio_b6', 'pin_gpio_i3' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dtb: gpio@1e780000: 'usb_power' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c246d4i.dtb: gpio@1e780000: 'bmc-ready' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb: gpio@1e780000: 'i2c3_mux_oe_n', 'usb_power' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dtb: gpio@1e780000: 'bmc-ready' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-1s4u.dtb: gpio@1e780000: 'i2c3_mux_oe_n', 'usb_power' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dtb: gpio@1e780000: 'i2c3_mux_oe_n', 'usb_power' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dtb: gpio@1e780000: 'usb_power' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-opp-nicole.dtb: gpio@1e780000: 'func_mode0', 'func_mode1', 'func_mode2', 'ncsi_cfg', 'seq_cont' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-lenovo-hr855xg2.dtb: gpio@1e780000: 'pin_gpio_a1', 'pin_gpio_a3', 'pin_gpio_aa0', 'pin_gpio_aa4', 'pin_gpio_ab3', 'pin_gpio_ac6', 'pin_gpio_b5', 'pin_gpio_b7', 'pin_gpio_e0', 'pin_gpio_e2', 'pin_gpio_e5', 'pin_gpio_e6', 'pin_gpio_f0', 'pin_gpio_f1', 'pin_gpio_f2', 'pin_gpio_f3', 'pin_gpio_f4', 'pin_gpio_f6', 'pin_gpio_g7', 'pin_gpio_h6', 'pin_gpio_i3', 'pin_gpio_j1', 'pin_gpio_j2', 'pin_gpio_j3', 'pin_gpio_l0', 'pin_gpio_l1', 'pin_gpio_l4', 'pin_gpio_l5', 'pin_gpio_r6', 'pin_gpio_r7', 'pin_gpio_s1', 'pin_gpio_s2', 'pin_gpio_s6', 'pin_gpio_z3' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-lenovo-hr630.dtb: gpio@1e780000: 'pin_gpio_aa0', 'pin_gpio_aa5', 'pin_gpio_b5', 'pin_gpio_f0', 'pin_gpio_f3', 'pin_gpio_f4', 'pin_gpio_f5', 'pin_gpio_g4', 'pin_gpio_g7', 'pin_gpio_h2', 'pin_gpio_h3', 'pin_gpio_i3', 'pin_gpio_j2', 'pin_gpio_j3', 'pin_gpio_s2', 'pin_gpio_s4', 'pin_gpio_s6', 'pin_gpio_y0', 'pin_gpio_y1', 'pin_gpio_z0', 'pin_gpio_z2', 'pin_gpio_z3', 'pin_gpio_z7' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-opp-zaius.dtb: gpio@1e780000: 'line_bmc_i2c2_sw_rst_n', 'line_bmc_i2c5_sw_rst_n', 'line_iso_u146_en', 'ncsi_mux_en_n' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#
> arch/arm/boot/dts/aspeed/aspeed-bmc-arm-stardragon4800-rep2.dtb: gpio@1e780000: 'pin_gpio_c7', 'pin_gpio_d1' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+'
> 	from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml#

This patchset fixes this issue. 
https://lore.kernel.org/linux-kernel/20250116090009.87338-1-krzysztof.kozlowski@linaro.org/

Thanks & Regards,

Ninad


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  2025-01-16 15:04     ` Ninad Palsule
@ 2025-01-16 19:57       ` Rob Herring
  2025-01-16 20:37         ` Ninad Palsule
  0 siblings, 1 reply; 24+ messages in thread
From: Rob Herring @ 2025-01-16 19:57 UTC (permalink / raw)
  To: Ninad Palsule
  Cc: andrew+netdev, pabeni, linux-arm-kernel, edumazet, joel, krzk+dt,
	linux-kernel, andrew, devicetree, davem, kuba, openipmi-developer,
	netdev, linux-aspeed, conor+dt, eajames, minyard

On Thu, Jan 16, 2025 at 9:04 AM Ninad Palsule <ninad@linux.ibm.com> wrote:
>
> Hi Rob,
>
> On 1/14/25 17:57, Rob Herring (Arm) wrote:
> > On Tue, 14 Jan 2025 16:01:37 -0600, Ninad Palsule wrote:
> >> Allow parsing GPIO controller children nodes with GPIO hogs.
> >>
> >> Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
> >> ---
> >>   .../devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml       | 6 ++++++
> >>   1 file changed, 6 insertions(+)
> >>
> > My bot found errors running 'make dt_binding_check' on your patch:
> >
> > yamllint warnings/errors:
> >
> > dtschema/dtc warnings/errors:
> >
> >
> > doc reference errors (make refcheckdocs):
>
> I am not seeing any error even after upgrading dtschema. Also this mail
> also doesn't show any warning. Is this false negative?

I believe this happens when a prior patch in the series has an error.

Rob

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing
  2025-01-16 19:57       ` Rob Herring
@ 2025-01-16 20:37         ` Ninad Palsule
  0 siblings, 0 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-16 20:37 UTC (permalink / raw)
  To: Rob Herring
  Cc: andrew+netdev, pabeni, linux-arm-kernel, edumazet, joel, krzk+dt,
	linux-kernel, andrew, devicetree, davem, kuba, openipmi-developer,
	netdev, linux-aspeed, conor+dt, eajames, minyard

Hi Rob,


>> I am not seeing any error even after upgrading dtschema. Also this mail
>> also doesn't show any warning. Is this false negative?
> 
> I believe this happens when a prior patch in the series has an error.

Thanks for the response. I have sent a next version.

-- 
Thanks & Regards,
Ninad


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2025-01-16 20:38 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 22:01 [PATCH v5 00/10] DTS updates for system1 BMC Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 01/10] dt-bindings: net: faraday,ftgmac100: Add phys mode Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 02/10] bindings: ipmi: Add binding for IPMB device intf Ninad Palsule
2025-01-14 23:57   ` Rob Herring (Arm)
2025-01-14 22:01 ` [PATCH v5 03/10] dt-bindings: gpio: ast2400-gpio: Add hogs parsing Ninad Palsule
2025-01-14 23:57   ` Rob Herring (Arm)
2025-01-16 15:04     ` Ninad Palsule
2025-01-16 19:57       ` Rob Herring
2025-01-16 20:37         ` Ninad Palsule
2025-01-15  8:45   ` Krzysztof Kozlowski
2025-01-15 14:24     ` Rob Herring
2025-01-15 20:30       ` Krzysztof Kozlowski
     [not found]       ` <a164ab0e-1cdf-427e-bfb7-f5614be5b0fa@linux.ibm.com>
2025-01-16 10:38         ` Krzysztof Kozlowski
     [not found]           ` <10c06fec-b721-4a7f-b105-c3c4c8358a47@linux.ibm.com>
2025-01-16 14:48             ` Rob Herring
2025-01-16 15:10       ` Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 04/10] ARM: dts: aspeed: system1: Add IPMB device Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 05/10] ARM: dts: aspeed: system1: Add GPIO line name Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 06/10] ARM: dts: aspeed: system1: Reduce sgpio speed Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 07/10] ARM: dts: aspeed: system1: Update LED gpio name Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 08/10] ARM: dts: aspeed: system1: Remove VRs max8952 Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 09/10] ARM: dts: aspeed: system1: Mark GPIO line high/low Ninad Palsule
2025-01-14 22:01 ` [PATCH v5 10/10] ARM: dts: aspeed: system1: Disable gpio pull down Ninad Palsule
2025-01-15  1:40 ` [PATCH v5 00/10] DTS updates for system1 BMC Rob Herring (Arm)
2025-01-16 15:15   ` Ninad Palsule

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).