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=1796388530; b=vo+oXoC/l0AgDm8KYX4OORcLUl50EDuHZXK2bOKwRp+eqjQ6s/knim2o+UtlW4GbTGMA iv/XnsuZuznAuS4OFb2dbXuNDFm2JDR9FE4zQ0y79YzsCQngWRya/w96syalTgsBywgYu yGcVrQpfs9lLur5X29D0X4T8Qy9R9J6njIulN3HOzwAnJjTXOyBGyGhVDcY+6E3S1TygQ 4XO74Mn1Ids6RaF2nwTmzO7Lh1x1FWXQqxXuEPQUFSW4dq/kfemI7Ov2IYMt4hr3Yiiy4 M1kOLmKhlcD7NcP6GOU2PnVeZaGgbUNbouVZacQlulLcyM7hGK+ZU7JOCtnDXX0sGzA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796388530; 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=MMiEh3IVMeMKNC+zzrfpHR/YYPpByJjmNnvK7+MGLwk=; b=WtdZKnTLmsU0lni+tNgQTd2eKjXD3IVutSobPoA2ZZ5QD/bzXtkdcFIMqD7kdSQQT68S A8EH0Ji+/OBruPH5xXab8kYQZAKQk8Q0T4VX6A/OVcYcsCYLNE/lLL2MTwBzV/1ruiSNG XWIs9pd8Vq3LtpwvQtn64WbMF06ILU0Y/NhiDb8cUl1ZSGco6qYgLV5yCNwDrFAuruphz Z+ATcsSrfjQPxfB/0Xyy7MJXe2uIOb4wqvZc+urJA52JkSRcmxYnJf/KRCClOVR0Vn6qW AXCLTqlzptjMWciTiA75rB2iZL/8AVo+/LQnQpGmUCaf7RirVamfykxj1ZsDINgAbuw== 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=JPI8V45E; 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 DBC1E606A322; Fri, 4 Dec 2026 12:48:50 +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=JPI8V45E Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E0371F000CE; Fri, 4 Dec 2026 12:48:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796388530; bh=MMiEh3IVMeMKNC+zzrfpHR/YYPpByJjmNnvK7+MGLwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JPI8V45E/0Lq2DriXew3wslzTQR/s2stn/tsf+9bEWWoG/KLyorZb62cpQtQtxiRB JwQ/Dfp1pjqCdrQKBEXDyt8EqTJj3gryPGwM0fIzF/gSEMIL7qtXECPRV069ElDfbt U6eUocMTWDfM8Iv4gziJifEu1QQVg4bfKZyKmHeA= 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.1 0626/1059] dt-bindings: iio: adc: Add syscon property for multi-SCU SoCs Date: Fri, 4 Dec 2026 19:02:37 +0900 Message-ID: <20261204100700.311383945@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100643.980430235@linuxfoundation.org> References: <20261204100643.980430235@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.1-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: