From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796385854; b=1eDro8nJWku9nR3Ei79URJ6xg7CGUSHUsdCAS1eOTNVQl+TL5DIrVAeLpQ0k/wfFr7rC HiT6m53IGFc05fFdyP2OyY2BlC5mQQqVJg3awYPqnOYRlirq3KhdujKy/RLoI+gxgBOXq Lp/FyXlR8MI3JUogDYhOY9+i9jFSmWPXrD3zSyekIjmQYYHGdPeD3qxIIPtPw36VJ+Vjw laZ9ufB2T9Bi9dVV6YEHpaxp2AA+Kkdh585HYc0s2J0wsSeT0XOdyk9v9UGfDxMSGiDxf yoM7GUPmu46/1bfa4Z5mT4bDAUeDTnhEwtbbFkC4k93V2QFFMV2u0CWi4qFJSZs0xeQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796385854; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=GJ9TxMUFSQJFxjIg+KhT0no/kaBSb+0A6yl3OFe6Z2o=; b=VJluEcUhHUC3ueXYLzQWAxQDzhZvYqymhpbcEWNCmdzdKbS+l+LC54txVLUJmls+PulS 9stQC7PiLRRukPnaTMJtRWAdY7D/DVlULdFnWTaynrLzHoBbILfs/atQxKqPocyR+rj4i x/A6gNmj5idNfo5BIZrPKiTlbhiKTR+1FYDLNKVHCqQQhbA+pJkQIxFNP8sV0MjTbOYKj 7MaYnRTTO2gL/rNgsQr54cwXLomFjYAkKBBObazLOkgGgDmdIVbowQbrSfG7WLK5Hc0Xv 0vmmPRP54WTi5VT8mYggx6w3NaeiXEGGaC5u4Ab1pPvUDSWK3eGCJLoZVq3uSru+L8g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=CoA7GFkn; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66910606A322; Fri, 4 Dec 2026 12:04:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=CoA7GFkn Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3ADF1F000C2; Fri, 4 Dec 2026 12:04:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796385854; bh=GJ9TxMUFSQJFxjIg+KhT0no/kaBSb+0A6yl3OFe6Z2o=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=CoA7GFknogE3cJqCUZy3G+gtxgD0r2t4iVNa2u5I/zxNbfpCDJuE6iHkSiGE2Fxfx 8wu2Q8qUA1e4YiG5E49XkA/bpJ7VwcaPJC8Kz42BQJh++RSiDF6N7EUnVkSECufoXn f5AJGYSEvdJLdQjDkMeRLvUbF+gM/t6XR61Xyc2g= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Krzysztof Kozlowski , Billy Tsai , Jonathan Cameron Subject: [PATCH 6.6 0679/1167] dt-bindings: iio: adc: Add syscon property for multi-SCU SoCs Date: Fri, 4 Dec 2026 19:01:46 +0900 Message-ID: <20261204100719.741983746@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100702.047403948@linuxfoundation.org> References: <20261204100702.047403948@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Billy Tsai commit 6ec0623a7c77bc2c383e9971d7b0c9df3ec988fb upstream. The ADC's reference-voltage trimming data lives in a System Control Unit (SCU) register. SoCs with a single SCU instance let the driver locate it without any additional information, but SoCs such as AST2700 that expose more than one SCU node need an explicit phandle to disambiguate which one holds the trimming data. Add an "aspeed,trim-syscon" phandle property, and require it for the AST2700 compatibles since they are the first multi-SCU SoCs supported by this driver. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Billy Tsai Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml | 17 ++++++++++ 1 file changed, 17 insertions(+) --- a/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/aspeed,ast2600-adc.yaml @@ -62,6 +62,11 @@ properties: description: Inform the driver that last channel will be used to sensor battery. + aspeed,trim-syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the SCU holding the ADC's reference-voltage trimming data. + required: - compatible - reg @@ -69,6 +74,18 @@ required: - resets - "#io-channel-cells" +allOf: + - if: + properties: + compatible: + contains: + enum: + - aspeed,ast2700-adc0 + - aspeed,ast2700-adc1 + then: + required: + - aspeed,trim-syscon + additionalProperties: false examples: