From nobody Tue Feb 10 07:21:34 2026 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 5606532C957 for ; Mon, 19 Jan 2026 18:24:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768847076; cv=none; b=K544c4reidvpNk5oS/FAINUF1i+/WV+TqtRKliH8CWgXvuXONHH5UTZ/mRdLZkcA4GllN/HSL7XdPuRiTduwK+C/aOhMtAFRr7GdUz8n+nmX/4bFtydeHqC3raZTpL+f/6f6Z5N8xsd4WuqJalpidOzWq5lvOgSYcsbxzt4ZC7A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768847076; c=relaxed/simple; bh=hAEvEHpjltGseJiJJMnfe33kIokUzk+wFFOghd/Au8E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NSMXQogeWZiT6E1Q5Iemn8ZGT3QtLcWBof1DAlebLn3LQTr7k6ArfH60wNIjcDSatDGmGT7ocxuezqYoQ3jTD4GrPYNSpua+vbSL+9cZCD6IUEhFj69PNollaZUKiPOOI6IXXabTekvpPc0gUQYjCleU/rkQqdIS6KyRgVGNM4g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vhtvO-0004SM-7b; Mon, 19 Jan 2026 19:24:26 +0100 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac] helo=dude04) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vhtvO-001SUf-10; Mon, 19 Jan 2026 19:24:25 +0100 Received: from ore by dude04 with local (Exim 4.98.2) (envelope-from ) id 1vhtvN-00000006y1e-2OA6; Mon, 19 Jan 2026 19:24:25 +0100 From: Oleksij Rempel To: Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Andy Shevchenko , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , David Jander Subject: [PATCH v1 2/8] dt-bindings: iio: dac: maxim,ds4424: add maxim,rfs-ohms property Date: Mon, 19 Jan 2026 19:24:18 +0100 Message-ID: <20260119182424.1660601-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260119182424.1660601-1-o.rempel@pengutronix.de> References: <20260119182424.1660601-1-o.rempel@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Introduce the 'maxim,rfs-ohms' property. The full-scale output current of these DACs is determined by external resistors (Rfs) connected to the FS pins. The driver requires the physical resistance values to calculate the correct current scale (Amps per step) for the IIO subsystem. Keep it optional to avoid forcing updates of existing DTs; without it the driver cannot derive a correct IIO scale. Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/iio/dac/maxim,ds4424.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml b/= Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml index efe63e6cb55d..b7af8464a4fc 100644 --- a/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml +++ b/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml @@ -27,6 +27,17 @@ properties: =20 vcc-supply: true =20 + maxim,rfs-ohms: + description: | + Array of resistance values in Ohms for the external Rfs resistors + connected to the FS pins. + - For DS44x2 (2 channels): 2 values required. + - For DS44x4 (4 channels): 4 values required. + Typical values range from 40000 (40 kOhm) to 160000 (160 kOhm). + minItems: 2 + maxItems: 4 + $ref: /schemas/types.yaml#/definitions/uint32-array + required: - compatible - reg --=20 2.47.3