From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44EF130149B; Thu, 11 Dec 2025 08:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765443116; cv=none; b=UptOsBP10k/TSl4K0PNfxXA7QkQOvXY12RiizPFfamzjpWO4LfUeafJviG9XhX1xeC6J8e+TYJIsyoEfZ61CWWsjNa9GoFahRTblZmDmC5WiStKKFeE6mBRDMKdk96a7/lS/aKE6t/6X/fKdfvKgRJ8481+DpOTgr9lIytGH2XE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765443116; c=relaxed/simple; bh=OxPuteaCP0UivXt7YWwJh7PEa83KNpyRJOhrPNuN8CU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TCl069XvPqgH7j894Kjv9QyBOP//TCxyr6BBpZyeMwD4zX1VJQ7gyeRtuCHAUqZUBmV5SUg4oqhm9yhwi8QgDqaebtsrmPNTcElq2MDZg3Y4OQkiU+y8jTc9G4su3Wt5Z+dkyo+eg3QaTm89k80g0yt6akjS0mJAKDPkaZMXas0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=mh71Hco2; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="mh71Hco2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442791; bh=RWuMTwybbkZcREm+V+X/6EP+nTE/N/jdJSHIMtDYtnE=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=mh71Hco25hibo/l0UO3QYRXGQbADPdJGzJsRR/tj3w4AiJ+azFWUbtzBEC5NDqXaB ThAx6Jks1X+4EOQwIj/6rhjjJCeEkC9I4qu3Fprqmjw0yrk2Q9Za5q2BuPr9huGo4f UhlrfURae093F4CWUvsNhGKn/Rk3hJKX0AXtPTxVAgT7Bm2PKoB9/PzvI1PH06rvDX eGQXY3YkS4PNJOawJcJWCsVcq+npZ52m+JFnlNGRtk8ykIzqmuxV4JY6lg83xsFlrK ftx+6j5c9ltnVbp3nUj0azovvToi6uwFAQaG3Kw5Mta1cR0dreqJWf+37/v9EogZlB HJbs6cmQFJj5A== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 5E2147CADE; Thu, 11 Dec 2025 16:46:26 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:43 +0900 Subject: [PATCH RFC 01/16] dt-bindings: hwmon: Convert aspeed,ast2400-pwm-tacho to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-1-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 From: "Rob Herring (Arm)" Convert the ASpeed fan controller binding to DT schema format. The '#cooling-cells' value used is 1 rather than 2. '#size-cells' is 0 rather 1. Some users define more that 8 fan nodes where 2 fans share a PWM. The driver seems to let the 2nd fan just overwrite the 1st one. That also creates some addressing errors in the DT (duplicate addresses and wrong unit-addresses). Signed-off-by: Rob Herring (Arm) Signed-off-by: Andrew Jeffery Acked-by: Guenter Roeck --- .../bindings/hwmon/aspeed,ast2400-pwm-tacho.yaml | 106 +++++++++++++++++= ++++ .../devicetree/bindings/hwmon/aspeed-pwm-tacho.txt | 73 -------------- 2 files changed, 106 insertions(+), 73 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/aspeed,ast2400-pwm-tac= ho.yaml b/Documentation/devicetree/bindings/hwmon/aspeed,ast2400-pwm-tacho.= yaml new file mode 100644 index 000000000000..21f18e9d0dd4 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/aspeed,ast2400-pwm-tacho.yaml @@ -0,0 +1,106 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/aspeed,ast2400-pwm-tacho.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASPEED AST2400/AST2500 PWM and Fan Tacho controller + +maintainers: + - Joel Stanley + - Andrew Jeffery + +description: > + The ASPEED PWM controller can support up to 8 PWM outputs. The ASPEED Fan + Tacho controller can support up to 16 Fan tachometer inputs. + + There can be up to 8 fans supported. Each fan can have 1 PWM output and + 1-2 Fan tach inputs. + +properties: + compatible: + enum: + - aspeed,ast2400-pwm-tacho + - aspeed,ast2500-pwm-tacho + + reg: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + '#cooling-cells': + const: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +patternProperties: + '^fan@[0-7]$': + description: Fan subnode + type: object + additionalProperties: false + + properties: + reg: + description: PWM source port index (0 =3D PWM A, ..., 7 =3D PWM H) + maximum: 7 + + cooling-levels: + description: PWM duty cycle values for cooling states + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 1 + maxItems: 16 # Should be enough + + aspeed,fan-tach-ch: + description: Fan tachometer input channel + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 1 + maxItems: 2 + items: + maximum: 15 + + required: + - reg + - aspeed,fan-tach-ch + +required: + - compatible + - reg + - '#address-cells' + - '#size-cells' + - clocks + - resets + +additionalProperties: false + +examples: + - | + #include + + fan-controller@1e786000 { + compatible =3D "aspeed,ast2500-pwm-tacho"; + reg =3D <0x1e786000 0x1000>; + #address-cells =3D <1>; + #size-cells =3D <0>; + #cooling-cells =3D <1>; + clocks =3D <&syscon ASPEED_CLK_APB>; + resets =3D <&syscon ASPEED_RESET_PWM>; + + fan@0 { + reg =3D <0x00>; + cooling-levels =3D /bits/ 8 <125 151 177 203 229 255>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x00>; + }; + + fan@1 { + reg =3D <0x01>; + aspeed,fan-tach-ch =3D /bits/ 8 <0x01 0x02>; + }; + }; diff --git a/Documentation/devicetree/bindings/hwmon/aspeed-pwm-tacho.txt b= /Documentation/devicetree/bindings/hwmon/aspeed-pwm-tacho.txt deleted file mode 100644 index 8645cd3b867a..000000000000 --- a/Documentation/devicetree/bindings/hwmon/aspeed-pwm-tacho.txt +++ /dev/null @@ -1,73 +0,0 @@ -ASPEED AST2400/AST2500 PWM and Fan Tacho controller device driver - -The ASPEED PWM controller can support upto 8 PWM outputs. The ASPEED Fan T= acho -controller can support upto 16 Fan tachometer inputs. - -There can be upto 8 fans supported. Each fan can have one PWM output and -one/two Fan tach inputs. - -Required properties for pwm-tacho node: -- #address-cells : should be 1. - -- #size-cells : should be 1. - -- #cooling-cells: should be 2. - -- reg : address and length of the register set for the device. - -- pinctrl-names : a pinctrl state named "default" must be defined. - -- pinctrl-0 : phandle referencing pin configuration of the PWM ports. - -- compatible : should be "aspeed,ast2400-pwm-tacho" for AST2400 and - "aspeed,ast2500-pwm-tacho" for AST2500. - -- clocks : phandle to clock provider with the clock number in the second c= ell - -- resets : phandle to reset controller with the reset number in the second= cell - -fan subnode format: -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -Under fan subnode there can upto 8 child nodes, with each child node -representing a fan. If there are 8 fans each fan can have one PWM port and -one/two Fan tach inputs. -For PWM port can be configured cooling-levels to create cooling device. -Cooling device could be bound to a thermal zone for the thermal control. - -Required properties for each child node: -- reg : should specify PWM source port. - integer value in the range 0 to 7 with 0 indicating PWM port A and - 7 indicating PWM port H. - -- cooling-levels: PWM duty cycle values in a range from 0 to 255 - which correspond to thermal cooling states. - -- aspeed,fan-tach-ch : should specify the Fan tach input channel. - integer value in the range 0 through 15, with 0 indicating - Fan tach channel 0 and 15 indicating Fan tach channel 15. - At least one Fan tach input channel is required. - -Examples: - -pwm_tacho: pwmtachocontroller@1e786000 { - #address-cells =3D <1>; - #size-cells =3D <1>; - #cooling-cells =3D <2>; - reg =3D <0x1E786000 0x1000>; - compatible =3D "aspeed,ast2500-pwm-tacho"; - clocks =3D <&syscon ASPEED_CLK_APB>; - resets =3D <&syscon ASPEED_RESET_PWM>; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&pinctrl_pwm0_default &pinctrl_pwm1_default>; - - fan@0 { - reg =3D <0x00>; - cooling-levels =3D /bits/ 8 <125 151 177 203 229 255>; - aspeed,fan-tach-ch =3D /bits/ 8 <0x00>; - }; - - fan@1 { - reg =3D <0x01>; - aspeed,fan-tach-ch =3D /bits/ 8 <0x01 0x02>; - }; -}; --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1F531E2606; Thu, 11 Dec 2025 08:46:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442803; cv=none; b=EABYQhJC4dcbIxMsJwqHTEjwc3IMF+pOx+d8dTyb9vz9ogbkIn19ZOUqfyWrqr0U2ATjl0swxIstErmegZrrHtsK7I3Q9F4Vxhy2vTxykSf3wdCLIh9l+l35ZTFQVKc/DX1JsPjYJCrzz1ZFhgTBD1Gvllmm2UTL8xZQbtZeNeI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442803; c=relaxed/simple; bh=JnkTmw4C1Jgs0//VWSnP0/eoZvp3SMN6HA2NVa3qSwE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hHVUEYXSuz6wpR6p4aVXAw4oDX1eu9nBguEdfIGUHE+5DL84p6TxWoBtck1wYyGzbjAKKQwdZUdjn0fYhXXLC/90lTFt2tsH1bpOYAdFtS/eWlDtcL3NU3JrKK6pTy7W1YDt1TOaRchc/Lwi7yNolMev4zqo4RzlQEpSDZH+cBQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=Mm0oV692; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="Mm0oV692" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442796; bh=OktlR9bq9mtEJ084n35uOYN2zYX8CCRfSb1l9l6A6kk=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=Mm0oV6927NtwXJE3mZ5NmG0zvn3PLYLkzuH2SuFBs0ZLXJGI6nAlarUCDa4g3xQnK kt3dxwj0rntoJLRQiItErW2OtnnEgXTXgbd8I9EwVeckhHKjStFY2OKQ72oa0603xf ysq6gJFwro2BzOitoUv/fcH77fmag4NGvMSMI4/2a3RdTPyWAmSp/MOgleNxfrstqN mNxmn93DegF3TrrLKt6hYW8isRz367469Xx5DYNwqZacGzZsgGwCDzcJSfy38wgFXH AF8EwEXPZJ4/XWy/VSfTbcp/Y6TdJg2ExjtCJCuMd5Eo17JeoMIwk6XG9zn79e0urP sltPCG4O5FxbQ== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id C64A97D6B0; Thu, 11 Dec 2025 16:46:31 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:44 +0900 Subject: [PATCH RFC 02/16] pinctrl: aspeed: g5: Constrain LPC binding revision workaround to AST2500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-2-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 Discovering a phandle to an AST2400 or AST2600 LPC node indicates an error for the purpose of the AST2500 pinctrl driver. Signed-off-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c b/drivers/pinctrl/a= speed/pinctrl-aspeed-g5.c index 792089628362..d4c364d19d64 100644 --- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c @@ -2654,9 +2654,7 @@ static struct regmap *aspeed_g5_acquire_regmap(struct= aspeed_pinmux_data *ctx, np =3D of_parse_phandle(ctx->dev->of_node, "aspeed,external-nodes", 1); if (np) { - if (!of_device_is_compatible(np->parent, "aspeed,ast2400-lpc-v2") && - !of_device_is_compatible(np->parent, "aspeed,ast2500-lpc-v2") && - !of_device_is_compatible(np->parent, "aspeed,ast2600-lpc-v2")) + if (!of_device_is_compatible(np->parent, "aspeed,ast2500-lpc-v2")) return ERR_PTR(-ENODEV); =20 map =3D syscon_node_to_regmap(np->parent); --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 713532F12D3; Thu, 11 Dec 2025 08:46:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442806; cv=none; b=GTVZ9rivIfJ/1Y1Bb9IXQuQGVaYVEefMYDF0aVtL8+GfR+Vihwv4Gkrq7404lT+Koamw5G7I9W/uaVywOXcmu9bEHpmAioxhPIzIgCWHSj3qsk9vqya4KG0wZuV3FGNO/UhinEyA6SCiXETBC15OXUJVpulQ71+CB5QLYeGDAbU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442806; c=relaxed/simple; bh=g9KiP5YmfkIXRTFevBWBXT9Ni7Um26tLmaL5270MxGQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Bb/u9MQXqUS82cMDePDa3uColW+UUswx01xWfPk4mI3t0UY+5D4YsZ7sSSsEZpLrXjU+nfxCypVha1NK4afba5nPQaSSjOD0YgxEPPCIcWyThGL+/mu9fd6uafOge8Ag7ICE9QojRMIgxg0qu328ybE0E+UaANsjpTl1aeJPWbM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=TWkruskj; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="TWkruskj" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442802; bh=ZaCIgDIvXKFxlEh06PZUH9olbYn5peflfwgiHUXeKWQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=TWkruskjvN7xj+MwWy10jjXI8sxa0fzMzbL6LBnv2B523ZUUvxFbWBWM2wCe00jbH o0KiKfbCRlC7MsTUEs8PDWIINz5BZLriBTcb/D/OkEsNERjaYzeRe+2WUBSk6xWYyh 15LKTC2e3qhOlvQRf2dW+enVMbnkcKG8uRHJ605jPyOFgZmOlQ2SCZEeuqpdtodBt0 LUg6OJUfKZtSsb6Gx8lfRjOJqPtN4vmTtGLuHK4zjxooP/iZZZF/lJmbWmBXBSfdr6 CuGz5H4GA3zJoZJGURJgXXG1iLW9ozmv7i6cgoMeKsnP5iYw2w0TOvnLCtBQupmAc3 1BnOvhaK7Q7nw== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 85BCA7D6BB; Thu, 11 Dec 2025 16:46:37 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:45 +0900 Subject: [PATCH RFC 03/16] pinctrl: aspeed: g5: Allow use of LPC node instead of LPC host controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-3-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 There's currently a wart where the Aspeed LPC host controller has no binding specified, but the pinctrl binding depends on referencing its node. Allow specification of a phandle to the parent LPC controller instead. Fall back to testing for a compatible parent node if the provided phandle doesn't directly resolve to the LPC controller node. Signed-off-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c | 30 ++++++++++++++++++++------= ---- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c b/drivers/pinctrl/a= speed/pinctrl-aspeed-g5.c index d4c364d19d64..7d818b4da1e3 100644 --- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c @@ -2648,24 +2648,34 @@ static struct regmap *aspeed_g5_acquire_regmap(stru= ct aspeed_pinmux_data *ctx, } =20 if (ip =3D=3D ASPEED_IP_LPC) { - struct device_node *np; + struct device_node *np, *rnp; struct regmap *map; =20 np =3D of_parse_phandle(ctx->dev->of_node, "aspeed,external-nodes", 1); - if (np) { - if (!of_device_is_compatible(np->parent, "aspeed,ast2500-lpc-v2")) - return ERR_PTR(-ENODEV); - - map =3D syscon_node_to_regmap(np->parent); - of_node_put(np); - if (IS_ERR(map)) - return map; - } else + if (!np) return ERR_PTR(-ENODEV); =20 + if (of_device_is_compatible(np, "aspeed,ast2500-lpc-v2")) { + rnp =3D np; + } else if (of_device_is_compatible(np->parent, "aspeed,ast2500-lpc-v2"))= { + /* Maintain compatibility with old aspeed,ast2500-lhc node */ + rnp =3D np->parent; + } else { + map =3D ERR_PTR(-ENODEV); + goto put_external_node; + } + + map =3D syscon_node_to_regmap(rnp); + if (IS_ERR(map)) + goto put_external_node; + ctx->maps[ASPEED_IP_LPC] =3D map; dev_dbg(ctx->dev, "Acquired LPC regmap"); + +put_external_node: + of_node_put(np); + return map; } =20 --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A82E2F12D3; Thu, 11 Dec 2025 08:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442811; cv=none; b=PbJ6Q/wU6ZdkrwVStc1rgcs5MQwQnai/jGPhxpzElcc5m+Onf6PQ/Vais16pcagDDezu8m5VDvQ132c2AtDoeTA1juFsWmWOZoga3KeoMM6rklyggfxCEkn7If4gSJsBB+ouHYHLs6H6Vnv2Ieb8zqrHH7JULw3Iguz429TEtmw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442811; c=relaxed/simple; bh=/WlEc6U8pyS/3j8HZHZ66ZlBF5zag4AvRyo+osavLtw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=C87RaqwXJ4tNk9HxuCQl5asKv25ETSAE3g7u7GA2UujzYfW90yUxWxuS9rRqzPJULwki26i2EuanoYhW7TZl41k150XJLs4sGeCdwXBvdlH/m3dNgxLx1PWVoSdEPdXhntgO6MA1M10C4a3aFx2hHkQeAG7FfRbGx/1YoU6uXzw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=NOPKQ5h5; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="NOPKQ5h5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442807; bh=64vyUWdNJftGuOm7IF2XaSwKPBkVJqodvt65O40/0gY=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=NOPKQ5h57DpM3vqHy81icDlrF63oyfNJcef/hUzn3NKElWk3qOLQggAftbYFRRIZp nr93F74IYe1LigaTyenaCOjJPFMHRIGWWSv4VsDY81q5pIHdcEHSMq6aN0JqM7k73B ayIoYa+pA5hSNsFS7mWVQnmhI+gjiFu2XXBvrhbupO7QRXeON5QsLIvOdwKy7pTR/t zaaVcXEz5HkF/uoSOYHqGVJylkJ4G8bXmMz5wni4RDF6CdfjUIOk+FH6YfaqQRt23i 9ui0jkpD4X4IjsxSkQtsE3CBE2lhHehLuiNk4qsC79QHXFKITRqp6/IW6mwu4rWgbS xrZborwCkR4JQ== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id DE9BE7D6BF; Thu, 11 Dec 2025 16:46:42 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:46 +0900 Subject: [PATCH RFC 04/16] ARM: dts: aspeed: g5: Use LPC phandle for pinctrl aspeed,external-nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-4-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 The LPC host controller has no binding specified, and the pinctrl driver can now determine whether its been provided a phandle to the LPC host controller or the parent LPC controller. Switch to using the LPC node phandle to avoid specifying a binding for the LPC host controller for the moment. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed/aspeed-g5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi b/arch/arm/boot/dts/as= peed/aspeed-g5.dtsi index 39500bdb4747..1456f04c2139 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi @@ -251,7 +251,7 @@ silicon-id@7c { pinctrl: pinctrl@80 { compatible =3D "aspeed,ast2500-pinctrl"; reg =3D <0x80 0x18>, <0xa0 0x10>; - aspeed,external-nodes =3D <&gfx>, <&lhc>; + aspeed,external-nodes =3D <&gfx>, <&lpc>; }; }; =20 --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 18FBA2F1FED; Thu, 11 Dec 2025 08:46:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442816; cv=none; b=JuY7+jNVMzGgTOAI88Jsim7L61cNFCZgputZdfdF+U0G+ZgnUSxFQdL2l4YHR9HfXPrdyuzEmfCWImv/VWZCR81x0ZZpAOFeB9Hd0IAyhfGFaTigTXEBe/jR3mLeUNTDXnixncyU50hwVM83/gpZj9qosFjnA8Bm4t/pNJQYWkQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442816; c=relaxed/simple; bh=fcgaBLB9fioj91IsjeD5fJqpuEXGdT+eruOQZdSaLGM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sCS4y5pfAnbQn2oDUe8CjyQ3GqvIqBRH06sw+L+VrsWiEj2qibW8gWRpwl2y93AmyTSAmJGqA0PTkSrGzu0TpWVGDZB2skZ22QATpizbvCRK2ot886HtsJq9iFIudo1waCvqpGTK1FOj8yNJ2pKF8nbEOgF/PLKZ2KZn06/6lRI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=duP9PMvK; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="duP9PMvK" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442813; bh=tp+xzlgYB5DRkmyHW/VuZG10lptnHgB70xDH+2/3gdY=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=duP9PMvK5GwXWyss9okc3SXr+1TPANiqlHeKr1pIcDNebI76EnIRJoe1HinIal1sI 7qjvvNw/7Amqs0F2nXOEfHVXufshRdqFWffjz8KfKSGPPfYr6xjiLJnLxcOS/uRrWq suwou0ffSYhYm+9pkLElVuzPCBcuIAmVaBO7j+vCKgTPmlBjMZYhDDHlV9GxgdK69c LW+LfzvrgNnazyvAtd0vJBGxdouZj1sImF0bg0/LVRh2dlVt/wqheIZfPhwNWBD7SX a3G1Z0IP1XspE4UlxZw6EBVtECvtAfCtFc5frTpqgeyZojhjYHKQjBDV+U/krni48E kGJNsTsn5N3dw== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 018157D6B0; Thu, 11 Dec 2025 16:46:47 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:47 +0900 Subject: [PATCH RFC 05/16] ARM: dts: aspeed: Remove unspecified LPC host controller node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-5-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 For the AST2500 the node was used for pinctrl purposes, and while the hardware capability is also present in the AST2400 and AST2600, the their pinctrl no relationship to it. Further, there's no corresponding binding, remove the node for now to eliminate the warnings. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed/aspeed-g4.dtsi | 5 ----- arch/arm/boot/dts/aspeed/aspeed-g5.dtsi | 6 ------ arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 5 ----- 3 files changed, 16 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-g4.dtsi b/arch/arm/boot/dts/as= peed/aspeed-g4.dtsi index c3d4d916c69b..c0a4057fa53f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g4.dtsi @@ -376,11 +376,6 @@ lpc_snoop: lpc-snoop@90 { status =3D "disabled"; }; =20 - lhc: lhc@a0 { - compatible =3D "aspeed,ast2400-lhc"; - reg =3D <0xa0 0x24 0xc8 0x8>; - }; - lpc_reset: reset-controller@98 { compatible =3D "aspeed,ast2400-lpc-reset"; reg =3D <0x98 0x4>; diff --git a/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi b/arch/arm/boot/dts/as= peed/aspeed-g5.dtsi index 1456f04c2139..086c40fd12b8 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g5.dtsi @@ -504,12 +504,6 @@ uart_routing: uart-routing@9c { status =3D "disabled"; }; =20 - lhc: lhc@a0 { - compatible =3D "aspeed,ast2500-lhc"; - reg =3D <0xa0 0x24 0xc8 0x8>; - }; - - ibt: ibt@140 { compatible =3D "aspeed,ast2500-ibt-bmc"; reg =3D <0x140 0x18>; diff --git a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi b/arch/arm/boot/dts/as= peed/aspeed-g6.dtsi index f8662c8ac089..1ae816087f6b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi @@ -624,11 +624,6 @@ lpc_snoop: lpc-snoop@80 { status =3D "disabled"; }; =20 - lhc: lhc@a0 { - compatible =3D "aspeed,ast2600-lhc"; - reg =3D <0xa0 0x24 0xc8 0x8>; - }; - lpc_reset: reset-controller@98 { compatible =3D "aspeed,ast2600-lpc-reset"; reg =3D <0x98 0x4>; --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31FDF29BDBA; Thu, 11 Dec 2025 08:47:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442824; cv=none; b=hWE0nDCuef46iHjkOPx6fGWHOafZJStRzINu6Y+70YPokDHnuLL5qVuSz74xSdN+7+y6qDgG7NV6ikdL/ESM0usSyyRy/iYOKhsLymE0j+i2lk/F+56WHFEGgSRvEMchxE7ThSFc337RhPgZH/AHUnDdQ4FWM2MTtLWspXTWDW0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442824; c=relaxed/simple; bh=5c/EtVOwEFrZpuLYD48rxEyL1ambe2YWVVgA5y5GtMc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aMP+E58WUMEEBDAVQ9tBTXR4+3j0ilrTU+LVnI71GyVizZ4PA5+FucHDqH+0B7LgsJWMqzlAfm2rB+Y47V0o8WhPaN4ldzSu3LT5mHdl9t0eaxcuOWAFxJPnJjnFSRBIAMqqEzH7Kga954DKKtnRatxJ1DvlyfeCWfygVplVr2g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=LBexYCu5; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="LBexYCu5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442818; bh=xzi4Fz/8qdzZMUIpWOM8hn8WXDg65D2r48ph45pVRFM=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=LBexYCu5FLXa70UuDT+IeSRE9494xvFnAQ5B1VicNIsbUW/qZG3jj6tGJ59lFFv0I R46vEDyKtZxOXwmamOgLKTDcuGERt+/frBHXX6bUkc69HCtm3sg+06255Mp4KZ2dxb stTMwTcVtHS/42CGKOwJLJVKUU9oFQ43SFhZtRmkpOsnn/lPqpi+y0kxyagQv+DqSG H4axat0DbeF83B/6ycx3p61xRxKqi2PeoKRDTFjs+PBJOsLyADQGkNcalLG6gLIEvv Cv6cuNW6EQuYeXPn9nrSIxWREXM2hmAl7sseCtAKg8d+Db5a7WdhH8NvUyOJKvGirY zTGENCcHCgpMw== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 7F8D67D6BB; Thu, 11 Dec 2025 16:46:53 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:48 +0900 Subject: [PATCH RFC 06/16] dt-bindings: mmc: Switch ref to sdhci-common.yaml Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-6-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 Enable use of common SDHCI-related properties such as sdhci-caps-mask as found in the AST2600 EVB DTS. Signed-off-by: Andrew Jeffery --- Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml b/Docu= mentation/devicetree/bindings/mmc/aspeed,sdhci.yaml index 9fce8cd7b0b6..d24950ccea95 100644 --- a/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml +++ b/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml @@ -41,7 +41,7 @@ properties: patternProperties: "^sdhci@[0-9a-f]+$": type: object - $ref: mmc-controller.yaml + $ref: sdhci-common.yaml unevaluatedProperties: false =20 properties: --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDA8B41C71; Thu, 11 Dec 2025 08:47:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442828; cv=none; b=OFFWzrrGSqSjtmLqOxIE8gLRoO5YTz//5CZ0doD+IhTotUh7wbnZ7U6/ePkbQP8hD0MhUDHmJ1DE9cjHTSPkxF6KYEeEWhNoRrUroPGy8qsLi5SqWUVt2lsm2oQDg4wAv0/hw/6zt9SteWlJUB3VIK46Rme0zzjj12nvI1gfrks= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442828; c=relaxed/simple; bh=IO32uN08wSLVBaTvAz1jQdyNr+G1ASvU88TQ4UeRBYA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BBJ7Y+axR7MdgNbNJpa1IEfwvyUh+W0ziEDgC1OAo19NkdAAWfBfjuvYtvNfwUGeYUXoWTyq9g7FoYQQserlPIYHE+1PKS4/PaT1onRuFfRbj6iKDrAb5/rw13jUdI7K1NDIUCH8oqJdOSFD7GZLELo44o01qOBlOzwpEYom0N0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=B8t9I1BI; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="B8t9I1BI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442824; bh=wKc2i0CrPvuU1yF1mbUmVahRwUdSF7nDlBOZD6lUOdk=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=B8t9I1BIs5UeAK2qrj6W0cam9GDEz9JQEsllJCfUXrNppjnaHgcRHhW/9sQOYq5Y5 Ebhpy5xshRlM30oEfH8+BHfvFLG19aZ98PEloPYo/q9BIbt/YWuDd9UNbUOPY3Ufgf RQs4vTNHdEr+XKoqQF/5SZLFQA36B3Gy8a89R2AhJoXirgahN0C0IjoanRa8wV50pq +Gj9Oy36Q+S4+jRIcknK8OtPGfypeQxD1dBkbHZ2oKjrsey6rUGHSa+OHLwggUKLYG //JetDhyHkm+nCznnAMj+skz8xW533V6aGKRFJQzrd4OmBEiN6NBWEXIdfGYSA5WAq Jw4xesDSSU43g== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 7081A7D6B0; Thu, 11 Dec 2025 16:46:59 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:49 +0900 Subject: [PATCH RFC 07/16] ARM: dts: aspeed: Remove sdhci-drive-type property from AST2600 EVB Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-7-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 The property isn't specified in the bindings and is not used by the corresponding driver, so drop it. Signed-off-by: Andrew Jeffery Reviewed-by: Ulf Hansson --- arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts b/arch/arm/boo= t/dts/aspeed/aspeed-ast2600-evb.dts index de83c0eb1d6e..3eba676e57f1 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts @@ -314,7 +314,6 @@ &sdhci0 { status =3D "okay"; bus-width =3D <4>; max-frequency =3D <100000000>; - sdhci-drive-type =3D /bits/ 8 <3>; sdhci-caps-mask =3D <0x7 0x0>; sdhci,wp-inverted; vmmc-supply =3D <&vcc_sdhci0>; @@ -326,7 +325,6 @@ &sdhci1 { status =3D "okay"; bus-width =3D <4>; max-frequency =3D <100000000>; - sdhci-drive-type =3D /bits/ 8 <3>; sdhci-caps-mask =3D <0x7 0x0>; sdhci,wp-inverted; vmmc-supply =3D <&vcc_sdhci1>; --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FB0A41C71; Thu, 11 Dec 2025 08:47:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442833; cv=none; b=RL+fDf1SVMRRt2j3Rq9qg1ta8SJJj8/qijRYiVVTU8oveyRaE+8iCMM9SDiccDs1nO0XMtWKQvyxZd0R0Uuv7UYRv6hTSD2juvrXc6FU+K2zZqnwn5X1zcwQbtZL9G08Nnn9R9Sb6fOg+gMzk0dIO3gJbAvPg7/iPc72irn43sE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442833; c=relaxed/simple; bh=vG9hw4pzhJRjKhVwl0njoq1CA9BI/WgcTLRv+Xivpd0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KJp1+jZEXz+8mgSkc41qnKVERbdqaT7tmnbohQ4cGSQIawr5fcHYQ4aUr+6C9wOrLsQ1/UqAWdZdScgUStyhCosCcvsmIZwz1OmPMACZ1lh6OMC2GraIqJjC0MuVEcASU/Lkw/NtNkKjyAvd/ikoW0qE1xBOoKk6LY5wDvZbWm0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=ORolPD+l; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="ORolPD+l" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442830; bh=QgrHDw2+1vxkomBSkN6qpychebIEg4g+gGr8/vvCI1Y=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=ORolPD+lNijN6SbxVyOiH5cJlcepdpMKA94aBXhai5xR8KzOe/a5aWs+SSlO+UGt5 JQnbglvjce0z3jI770cy0oO4Q+YU2ze1O9MBqJW8+6g8FPAec1Jx8Akd0feqREU0xj 8Yu3HJSBSh+mDPELPzwBjO2xEZrngqzCpDmiETlkVxZxAHRW+X3VFPXxicFf0GnBYX zfc5NMRh7pxU+wfdrDymAVGM4OVnd6GVcJee+tqmxAW8Qlmlv/qB2YKdfH8NRpNVP4 1rkMu4ZfsFzZZPNl4eQvexVUNemUemdoJrIxCrBXF2f0NT7wqzf3HC/FUuZEpXMVbu iyiDKfemDBe1g== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 1669D7D6BB; Thu, 11 Dec 2025 16:47:04 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:50 +0900 Subject: [PATCH RFC 08/16] ARM: dts: aspeed: Use specified wp-inverted property for AST2600 EVB Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-8-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 While sdhci-pltfm supports sdhci,wp-inverted, it also supports the un-prefixed and specified wp-inverted property. Switch the EVB devicetree to use the specified property to remove warnings when checking the DTB. Signed-off-by: Andrew Jeffery Reviewed-by: Ulf Hansson --- arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts b/arch/arm/boo= t/dts/aspeed/aspeed-ast2600-evb.dts index 3eba676e57f1..c51977dcb56b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts @@ -315,7 +315,7 @@ &sdhci0 { bus-width =3D <4>; max-frequency =3D <100000000>; sdhci-caps-mask =3D <0x7 0x0>; - sdhci,wp-inverted; + wp-inverted; vmmc-supply =3D <&vcc_sdhci0>; vqmmc-supply =3D <&vccq_sdhci0>; clk-phase-sd-hs =3D <7>, <200>; @@ -326,7 +326,7 @@ &sdhci1 { bus-width =3D <4>; max-frequency =3D <100000000>; sdhci-caps-mask =3D <0x7 0x0>; - sdhci,wp-inverted; + wp-inverted; vmmc-supply =3D <&vcc_sdhci1>; vqmmc-supply =3D <&vccq_sdhci1>; clk-phase-sd-hs =3D <7>, <200>; --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 912602F2608; Thu, 11 Dec 2025 08:47:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442840; cv=none; b=nobrrgACySlqqnIB1E6s1n4HjAmktMhob+vEh58wTITgHPfv3x6Fe1lk3lCsXnD7b7JuHw9WVRcmJ/9ig1hejta7EA+VwaihTbY66kXd8Z53fgXFgzJPZDfmuURxSJ2IyepV0/wrhvPr+xKPrvOdmSVqh+MY09V1LRaYVTlJSGc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442840; c=relaxed/simple; bh=B7lVpiheo19PhrqE7VPUHtCnXxi0uZw3VPB+UVgJ90Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BGug9uDFvVhAx/1sa4i18o8CRFc06I+0C+IXhQR0XR+Vbk9eEZBMMI8FoM6t8mtUQq2U4gsTt9udX1xpQkqIYO89DfVB6a0VCXS6nz+K2x6ItMQ9IVajSno3gMIuGESKP7O2Ul8NRlg/Z8CgKTLrVfZLG345awkIFPAPqFSXJcU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=R43nVcAK; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="R43nVcAK" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442835; bh=rj6Ys4VgfF3wMgOB5TKYV5h47MurR6kyE683c2NwUxE=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=R43nVcAKmIKmxxY1afGyp9269WBa1/8ZZKA+sg0CL2QCovXOLQQNNbE9YrcjlFRI8 B9pl3odOOTH1Uj0p5s9Xl8amMl4qDAiIdyw29hJ3y7b+G9guO5eBvwcgnhL1Xnufku AYVFDK/A1c/U/b183kKSt7OiPuAs40vEX31hd+s2J5U6kIpKBnJEd0pvNL1FwGwxt0 Z52kjXnDZ/iYjw9OXeIDtR2It23x0ZpOxg5eXo6rUbkhybScMIxffFvF27TsmkUTEz xNceCv2Q66+QhHI4Wt30EEKTQ2ly8bvqJeCtdeWZ2QXophArnQLbSX2+v0li5m/+PW ujK2cRoGriX/A== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 839517D6B0; Thu, 11 Dec 2025 16:47:10 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:51 +0900 Subject: [PATCH RFC 09/16] dt-bindings: bus: aspeed: Require syscon for AST2600 AHB controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-9-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 The AST2600's ACRY (eliptic curve and RSA crypto engine) requires access to configuration exposed by the AHB controller. The devicetree already describes the AHB controller node as a syscon, so require this in the binding to satisfy the ACRY relationship. Signed-off-by: Andrew Jeffery --- Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml= b/Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml index 2894256c976d..77e60b32d52e 100644 --- a/Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml +++ b/Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml @@ -17,8 +17,10 @@ description: | =20 properties: compatible: - enum: - - aspeed,ast2600-ahbc + items: + - enum: + - aspeed,ast2600-ahbc + - const: syscon =20 reg: maxItems: 1 @@ -32,6 +34,6 @@ additionalProperties: false examples: - | ahbc@1e600000 { - compatible =3D "aspeed,ast2600-ahbc"; + compatible =3D "aspeed,ast2600-ahbc", "syscon"; reg =3D <0x1e600000 0x100>; }; --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F14E92F6565; Thu, 11 Dec 2025 08:47:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442844; cv=none; b=jAwzZB9e7dNlqImV1GmyKQ+3FVHkgzrODDWvwkEUNN7R+LKF9OzG5K6s0LDl+rVPmmD+/eIxK79dlm5le1hbxt8nPCT1nLHWSZtSCDgjwfIrsknJfv3YIYHYWDyCR27kHBwqmzEJIH1+VkxgcxwW0FuTPuJkDn2SiEheNoqGPmM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442844; c=relaxed/simple; bh=+qeTkNETZAheKHqQ9CkMNA/qkCbR+xWVYuZ8Ok+UECQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NuYQVnnuplfTZ99JFJ2js4gkz1teoWk29TJrLxvQ2hLzV+jM1EY37Uf5YvY3hH74Iyp4Qb1hlnhKb/BoYEUMJ0cHupOLKFisKM5X2AmqV2mYooxOLcR+fqG2JE30Za9m3N1Nbq4gcZ1YSlpKJcdidxXZIQPzMhlagy8Q3Gw4EJs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=Kbl6jMAR; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="Kbl6jMAR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442840; bh=scUXHBA8U36RhFOiHgBOHOnbtB8kt5qA5NvPIcX39Ts=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=Kbl6jMARUYr9p3EhuRIx7DFr993blzu2iTSvxCBzC3fcoeeUKB+9dEEGIjvFgrC0o 699wvbd4O/UbmujPS7oflU1iFRhNWEToKfk+Vp1mY6yY6s5tL5XTf61LjTW49Imt0d /e7f2n+Si4v0YguWCG1wYgpyRyFqcsGg5Dn/1LI1qMteB5gDQn5X9mZUpno7EACIu2 gd5EueGuo8iBbwcEkaEjWHim/XQb9BiSKFABt992wnwtnry/uL81BXUNwibzSeVP9s jGZvAtr7yYywK4Yy+6GvHqtljVdtsLA/M/Xcd+M1mKP2OtgSBYKPCGP25M89RjZotV Zz+JFpjGUR8kg== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 24FF57D6BB; Thu, 11 Dec 2025 16:47:15 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:52 +0900 Subject: [PATCH RFC 10/16] dt-bindings: crypto: Document aspeed,ahbc property for Aspeed ACRY Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-10-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 The g6 DTSI already provides the property and the driver errors out if the AHB controller's syscon can't be located, so define the property and mark it as required. Signed-off-by: Andrew Jeffery --- Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.yaml | 7 ++++= +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.y= aml b/Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.yaml index b18f178aac06..0dac6ee5043e 100644 --- a/Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.yaml +++ b/Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.yaml @@ -30,11 +30,17 @@ properties: interrupts: maxItems: 1 =20 + aspeed,ahbc: + $ref: /schemas/types.yaml#/definitions/phandle + description: + A phandle to the AHB controller node, which must be a syscon + required: - compatible - reg - clocks - interrupts + - aspeed,ahbc =20 additionalProperties: false =20 @@ -46,4 +52,5 @@ examples: reg =3D <0x1e6fa000 0x400>, <0x1e710000 0x1800>; interrupts =3D <160>; clocks =3D <&syscon ASPEED_CLK_GATE_RSACLK>; + aspeed,ahbc =3D <&ahbc>; }; --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 841BD2F692B; Thu, 11 Dec 2025 08:47:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442850; cv=none; b=m/yZ72FJPVHRvI9nXuf4yhAbbofjOawrMSPxLIRP21bMU4diQ5gVf8oM1R5G+0Riq6ZBM1Zd+FrVZfI/K6kV+ilY40XYfK+WRukhvQF1HKcAeUl8vlmWiQ+QmD2o0Hf33ROrxGR5lDGQSpUkYL9uMCd5L9GGC3Pq9c2alVNXT7Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442850; c=relaxed/simple; bh=3kcFabu8GXEfWlrX8jwKhX5xY13q0r714TQsnUPKank=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GImy2brVn1Pb0ILZ9dtJuWA+ilyRw3Hs/sDF54vBTO9SIyI0c/3BnyYAFSh2Giru4Q8O1D7DK2nQZ3EU6bzkTC7dg6FQsPxo3jW47Jd2I+/P/+JfyTjZ1NgKAuFL0YHL/x1IUyWQRAp8B5gIuIZhmx/ymzeRgfJXxfBEgOxJhUI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=RJemCfSd; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="RJemCfSd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442846; bh=DfE7RBxeKysNsLYVJ2cwyFMHF548EzarJueuQZE4RQY=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=RJemCfSdq0JXdxkb7HL2R50Lv5PpvyLoZ8fHKRLKyk8aD/UfEDsVm0BfbxMYHJ1Q7 UiZAw1YI0JCxH8fMqCfxXFJhqnt0SwO/YNM6bnuH2g+hHRaT86bD9nd4TuhBK5dSBA uYn9mX0CnuoMj7+jtMKJl8Q10shUS6xqmz/1+ULToRO8+7GJtOIupkMCMfoU7hgrVW ZjFPKIIeWlwdMtbMP7D0u6w/zWKS/AgRfVXwuAXJp6w9xF+ugiHBgm1l7at3LMNqG7 2o9gNHEPDJO0vII0adr4LWdlc1kI/Xwqru00aTS1k2TZfCxUizynayTdIX3YLJaJ/0 6pqGngsMgpuVg== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 8D6A87D6B0; Thu, 11 Dec 2025 16:47:21 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:53 +0900 Subject: [PATCH RFC 11/16] ARM: dts: aspeed: Drop syscon compatible from EDAC in g6 dtsi Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-11-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 Its presence is not required by the binding, its addition was not discussed in commit aac82707fa45 ("ARM: dts: aspeed: Add AST2600 EDAC into common devicetree"), and its inconsistent with the g4 and g5 dtsis. Further, the corresponding driver instantiates its own regmap rather than fetching the syscon regmap, in theory breaking any users of the syscon, but of which there appear to be none in-tree. Drop it for now, and we can add it back with the necessary rework if it's ever required. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi b/arch/arm/boot/dts/as= peed/aspeed-g6.dtsi index 1ae816087f6b..86b30e38fa25 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi @@ -74,7 +74,7 @@ timer { }; =20 edac: sdram@1e6e0000 { - compatible =3D "aspeed,ast2600-sdram-edac", "syscon"; + compatible =3D "aspeed,ast2600-sdram-edac"; reg =3D <0x1e6e0000 0x174>; interrupts =3D ; }; --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B739F2F83B0; Thu, 11 Dec 2025 08:47:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442857; cv=none; b=TaEK+dKyo7An+6MiG2Wfb56W+p8Im2MZIzvO2Khi6ShJ2fgVyi4MdBMeDmYjeLlN6643Z0hiCe1yVpaU8xD594JCnIi7NvrEXlPZmqNWlmTC6GKkHauZyFKHnlqbLoEpmxLBCGEfWk5SWP1BIKa1+n3yrNhrSB0JYGbdSPs6mpQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442857; c=relaxed/simple; bh=78TR9hdY/Uh7eEb0DnckkNlF4+u8x8y/ed/0XSY1mik=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RPZZgIjc+iNQZd6MK/3LFHsnU48HbnC0UcXogMMZDxctQAPlIEpjgfItO3sAKDWCrFKAKgJvj/oeTUdilZRE36GbE1clPBVO+uLM4dx+BgnZIWl9KAsQGRg3aF9kkGS17iRu65DQLOKwoTXbYPOObJgc21/gW7koVV40mSwnOEk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=CkaARP7q; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="CkaARP7q" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442852; bh=8PfQPChFD52EYAoiUYy2MTDPMEeHwuPds4q02w/3Uek=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=CkaARP7q2FmBiS7MCWrjA+CSe0QJl56qQarhnVOQmEXNG5vcqit2PYUaIBPtvFfR6 ITOJR4pCktJRSIlEmgryphRbHnb2xYBJTxcTNsLb9j5fuI5deRF1y6sfSO7LGuewoq L6196eAJAaLbsmoF0t7LGKbmUtfT/h7j3eS6pR0oDP61d7l4NBgKZoAfwZq/4XSrg3 F34Sj+1lOGUEyduANOL8lIOucie7DQJLjzjIGhGyAkdqIf12Wz+jDJQ0JFl0TVQ5fo Xm5env2vkbKE0/3XTSrzBj9GckURcubpBEHdejk/F7aN6RAHt5GNJ0opZwB4ycjrzW u1n1ylv7thhkA== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 1AA457D6BB; Thu, 11 Dec 2025 16:47:26 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:54 +0900 Subject: [PATCH RFC 12/16] ARM: dts: aspeed: g6: Drop unspecified aspeed,ast2600-udma node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-12-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 There's neither a binding defined nor a driver that matches on the compatible, so drop it from the devicetree until someone is motivated to solve the problems. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts | 4 ---- arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 9 --------- 2 files changed, 13 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts b/ar= ch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts index ea1bf6f402bd..2aff21442f11 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts @@ -1293,10 +1293,6 @@ &mac3 { use-ncsi; }; =20 -&udma { - status =3D "okay"; -}; - &uart1 { status =3D "okay"; }; diff --git a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi b/arch/arm/boot/dts/as= peed/aspeed-g6.dtsi index 86b30e38fa25..4583c68748c2 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi @@ -861,15 +861,6 @@ fsim1: fsi@1e79b100 { interrupt-controller; status =3D "disabled"; }; - - udma: dma-controller@1e79e000 { - compatible =3D "aspeed,ast2600-udma"; - reg =3D <0x1e79e000 0x1000>; - interrupts =3D ; - dma-channels =3D <28>; - #dma-cells =3D <1>; - status =3D "disabled"; - }; }; }; }; --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 915122F99A8; Thu, 11 Dec 2025 08:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442861; cv=none; b=hGDIrNdoLXHee4ziuy4BMo765LSVa0hX9ovX8zn0QnTXZFdN5r6YGKl7rWQOC7pADzuer1rX+gyN+VtfsTEsC6VPOjKELlfmY0eHPOPj4F0WDNyDDPbKumSoRc+02HpRwIY/v+sqozHDrc7t1PT9D28KuneEnT/Bhne7N6iwbbM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442861; c=relaxed/simple; bh=3E0U1888CNiG0hMbqtJXyoQs/PvdX6OIhDZML47p3YI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=C7HTJpXcnzO31BLWRaVjUuLrFMP2+FET2zi9yssSQmzr2yQHttMKy6IbzTk7aBZ3TOycCjkg0TdjN3FVncEfWHQNAm6lcTLd+nPxTtevALKpBD7/4YuRvmKldLQ0gQB+Ds7Shrs1vvWTbFGnhwpb1PV8ucXKPzsWxKzjWUuEboc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=mPJU9qQD; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="mPJU9qQD" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442857; bh=rpT9+i/Mb1SzFndodK6pjHk1FnR6Em20V+C0liaihVU=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=mPJU9qQDNoqh6NyKrVyLU5d/zHaZ3HmrsgYxTaXWxGDJqrLl9XCO5Kyym/D44eTwb kw3QVLMOGJo0VhETRgFYBiU0uaQUx/4B831bSKtILSHUHMLX+9NU2qc8owG/48faS6 VfbuLxJRbGLUJmhfw01dlr+OJrYK1h2k8VVY2ycPQoJ2PKNEt0i/Kwu4GcaJ7cWDly XJuikW9rtL/XPJF8nFDxgHeOM2duqxRRlLO0KUMuRt19FeCfqi0gKNNF7nhS7kCgoi GgnaR3/gCJhRcVhSrYyWsnBQTrJxgkhKzdlt5wthe8DSysaNhnzafs8KSTLLOmIGop ZgjwksnDNe0Tg== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id B49F87D6B0; Thu, 11 Dec 2025 16:47:32 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:55 +0900 Subject: [PATCH RFC 13/16] ARM: dts: aspeed: ast2600-evb: Tidy up A0 work-around for UART5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-13-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 Changing the compatible changes the properties allowed - snps,dw-apb-uart doesn't specify no-loopback-test, so remove it. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts b/arch/arm/boo= t/dts/aspeed/aspeed-ast2600-evb.dts index c51977dcb56b..3f2ca9da0be2 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb.dts @@ -205,6 +205,7 @@ flash@0 { &uart5 { // Workaround for A0 compatible =3D "snps,dw-apb-uart"; + /delete-property/ no-loopback-test; }; =20 &i2c0 { --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 109722FAC12; Thu, 11 Dec 2025 08:47:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442866; cv=none; b=TG/XlUqsDSdVW6goTN5qGyLES9C6WrXiwO1umoWamz4ohC7pbBoZhaQJIE0KUj3K5fhpJXXZbsN+wRabPjcmX02N6UioXe01Y3ipWiJAPn5ddigZAo20RO03ZQHTW622ZC+MhQ/X8hL6H4rpLOd3lsOdmZ1+S2dHSfWdXGQSbkI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442866; c=relaxed/simple; bh=/LULOcnqq7YfCJ3+GZ+GGEf0N6F2nMNlE9wT7DTQI+k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QCRL7PbVxXmkT7C9jbBaG+x0r5ZLKnfUs/ouBQAVKumLwO+0vSuFQmOyu5OxgumpdcvzTdC6/76hOVsN/WmQkUXFR+ukrepWfn8gS9cQftu/XDWInQyhTyogyVxXtJK7yOTE+NFDeGhiDfAenhutXpQ+cs9h74QYjiZRQutzV1o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=N0E4UmYM; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="N0E4UmYM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442862; bh=QA5RNQcEfirms9HgWj8AssmGCc/5FNo1GGf/ysp2RSE=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=N0E4UmYMR2ijnu8okYEs3ej0qTmDYPSsnolgBDBHQXQUyBeklOSMTxvmwqiB1XfUU kN3ZpVQfS67dqTf19F28O4LUE8MSV38xyX7ibzXktLyUNi69uS23ZIJyY28lE5N+df VBeUUNrZlX9i0MzdEEuxqoysSM/GgXD6esgTzWtH5H6Tcyoev2EhySg4EOCEDJk8XJ GIa23Q/YY58ZvlrfHve5yA73oxn2+tA8rBnZhDPbz5bfvIEBVDYSuHX8w25wP0uPqw /wg5SoDm2WGhjTpspHP7NTxW6ekroF7I+DLH+mP2eSdQELxc/1fLg0vNh+4Qd/zpZ5 kJ/XRzBv/LSKw== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 29A0C7D6BB; Thu, 11 Dec 2025 16:47:37 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:56 +0900 Subject: [PATCH RFC 14/16] dt-bindings: iio: adc: Allow interrupts property for AST2600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-14-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 The device has interrupts allocated according to the datasheet, and the devicetree already defines the interrupt property. Address existing warnings by allowing the property. Signed-off-by: Andrew Jeffery Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.y= aml b/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml index 509bfb1007c4..249101b55cf4 100644 --- a/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml @@ -44,6 +44,9 @@ properties: Input clock used to derive the sample clock. Expected to be the SoC's APB clock. =20 + interrupts: + maxItems: 1 + resets: maxItems: 1 =20 --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64C842FAC12; Thu, 11 Dec 2025 08:47:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442871; cv=none; b=GLSj5rF2EWV+JMrQ3geRDA5jCVR+/vdYceZZhT7Le8m/BhzuUrNbSI1luXhES3WnmjRF17Q8bUXjy7M7XPLtw1ERll71lVK+HBtM961dDw/qgtOQxRt31z/CV4wYYQWscsQYIZlsVSavY9eWa1x8YqXYDKlrG+FkmBUlr1EycAs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442871; c=relaxed/simple; bh=wgy6FrHD/mf3NNyvp14WVY6WRZF3rkBrj7Hr5S3cllQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dXvTzNx5ImZldntjN02UoA+BmjjHSWy2dXH9kM5I1J4L2weUNFkug0sOuiFIhbob4CHBNCU3VKj+vyg4nJMTLbzY6cFWDtmmxn21foHn7hiVDx3s39OhfwrjluDS3HqPkaE3Jj9s6NeZTeDVSD3MQGAYaTxYcwjXMQIJpowaNGc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=N1eYzek2; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="N1eYzek2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442868; bh=Iu4TPpF+5DGJ5DsE0F1CuqneX0MF156KpXyPhzX8E5g=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=N1eYzek21eihrgNsj8tfP6CntNClLcV40Yb1a51mjY7eg0yL/BrWQNrdx9pLiWhkv +KxqQcpc4uO2vTRr/CDKxIwJwUjVZbciI+mbbY+fuaKUhBEiQunPivRGTgFDjHYjoz bDogU7VIRPjZxrkyzdG5rS5D5rZxxK2TGpgixjqSB/a/Ku8N5+ldco7oaUunkhI54r KRVQAhnFYyF7m451J7ZK4fYDvovtQiUXGyyJN74EYUbVUfaZqHFh0C0dgJUoL66Xih kRsciCepHt/QvVh7vnqTDAq9u4nXM1s3XLB3cGb1OQaKIbnQA63Tez0mwQsFWmRO2I Xd39AR6ftlHPg== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 60BD77D6B0; Thu, 11 Dec 2025 16:47:43 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:57 +0900 Subject: [PATCH RFC 15/16] ARM: dts: aspeed: g6: Drop clocks property from arm,armv7-timer Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-15-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 The property is not specified by the binding, nor used by the driver. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi b/arch/arm/boot/dts/as= peed/aspeed-g6.dtsi index 4583c68748c2..567f8040eb8f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed/aspeed-g6.dtsi @@ -68,7 +68,6 @@ timer { , , ; - clocks =3D <&syscon ASPEED_CLK_HPLL>; arm,cpu-registers-not-fw-configured; always-on; }; --=20 2.47.3 From nobody Tue Dec 16 16:35:15 2025 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C06D82FBE10; Thu, 11 Dec 2025 08:47:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442877; cv=none; b=t12FktvSTTrqwflOAH54l3VZFAr19cIehb/7Ojoc0M9qmGAoQ2QTcrTMgP4sdyNkyEvVFtXGLTdvzzQp1ZvmonMrgPmZP46v1oLa5+JxanT5VFXviYUtiw8sbhNavagxtigN9CdUidIwHmKd1Zd7aCPCi6DmMv3GqjsCrCqbK2E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765442877; c=relaxed/simple; bh=3uzMfys7REjFcw5rJ8WnoE2DXjU5x0qD9qatsnWhg6s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H/tdSHZBMq71rgkt3kpnlgINCTSqDgLRZAqeKXvLDr/ClryiF4vL9jLPPCrAPFe13JOhsoWqBHzXBPrSifnm001X3KCMI6Qs6QC2uJjhU40b9xnd/RHYa9dY89D+frcc6U1UlTI5K1OuRQkev7aokmNRjD45Dddb2YKJW16yPgk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=DtLZgl/p; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="DtLZgl/p" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1765442873; bh=4YuQt/ViTsd3OTZlMf2fjHbcSpDjnD7vrDHlgaLMC7Q=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=DtLZgl/pzLlAKfeYBIFJAGq+mv8J6I5TrFfyrELEqhyHJG09MbGTKdzaI0m92ywHx 2MQRN0ioXDZBYRrhbN/rfR6CIR+I47pP4z+Lkvli+gD3eYeV3xdvkokIhn6fZCYShX /L6U0sF/Ht/XcG4wFFgWZVLd3Bzsuwt9SqbdM5VV1leb0cZVX+WWNd/GNHx6Y5hhTu Rjp2LmxLo83y96h8HPz6nVv2bNjBzSpIZgYi48iW0I7y/eETOqkoWOBQOj2Gd2WE4j 11CxHJJ9ct6uQO1CIWocS6QRvCseG26HsU4KGYFGemSoCE3BLGBJpCYPr00sOiwKyy R6QQN/Jr1usPA== Received: from [127.0.1.1] (fs98a57d9c.tkyc007.ap.nuro.jp [152.165.125.156]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 05A557D6BB; Thu, 11 Dec 2025 16:47:48 +0800 (AWST) From: Andrew Jeffery Date: Thu, 11 Dec 2025 17:45:58 +0900 Subject: [PATCH RFC 16/16] dt-bindings: mfd: Document smp-memram node for AST2600 SCU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251211-dev-dt-warnings-all-v1-16-21b18b9ada77@codeconstruct.com.au> References: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> In-Reply-To: <20251211-dev-dt-warnings-all-v1-0-21b18b9ada77@codeconstruct.com.au> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Joel Stanley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-iio@vger.kernel.org, Andrew Jeffery X-Mailer: b4 0.14.3 The platform initialisation code for the AST2600 implements the custom SMP bringup protocol, and searches for the relevant compatible. As a consequence, define the requisite node and the compatible string, which in-turn tidies up the dtb check results. Signed-off-by: Andrew Jeffery --- .../devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml | 18 ++++++++++++++= ++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml = b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml index da1887d7a8fe..3406b98c4d0b 100644 --- a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml +++ b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml @@ -130,6 +130,24 @@ patternProperties: - description: silicon id information registers - description: unique chip id registers =20 + '^smp-memram@[0-9a-f]+$': + description: Memory region used for the AST2600's custom SMP bringup p= rotocol + type: object + additionalProperties: false + + properties: + compatible: + const: "aspeed,ast2600-smpmem" + + reg: + description: + The SMP memory region + maxItems: 1 + + required: + - compatible + - reg + required: - compatible - reg --=20 2.47.3