From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.235 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796218703; b=kWOJtWjMYstERqj3fq18bEgsprbIj0/IENrgcOJ9EgoklXn1mTEw2jZEaBPE7+zoUIQk BLIX0dlUVHCiSY0+PLKhjw4aG2qVSnQSVLm137jdxgHesxiZs4n2Q3dR701e8S9SP0LcI KxFhLsVI2QuXdSXwQNUn/xamGy7T/Ht4c2bQb6frH3rxMIV21C7dCgCPUvgH/tw6jx/Nk bLWLUrmJVJH6FbYXLwrnhFujUcjUJKgauVhy6iAgDYKaZWZL3ShvRq8Lxnkp3e8gOPjMQ jvH9mKHv8pet8/qiSpq30lZAvXx+9b/bRuGesSyzwayQSAGwAq2i6q/DmzNiCnG8SNQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796218703; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:Subject:Message-ID: Reply-To:MIME-Version:Content-Type:Content-Disposition; bh=ePfQfS8Vgp7GaDEB75NPanS0uVBFCqbU+ns1iUlr/cE=; b=fD2Ucv9UonragoGyllaXf8KIXaTFcbL2Egp5Be7PMPCJh60T6NCeC4eODIZHZ1USk1wp uPS3OxpYkfCwVAt2Z0TZ26O150u8dLZuW5+J1HMeyxqF+Hqq/y2gQdxUDlhar6otPa5RR W6PumGqhPvrOTcO2fE7wsCZxpiwhI0HCFAFAfJjXD7dBrMWVOth/z4XofeVXObcKLhA2f xuvjKrg5N3HHVw5Rvqez4kmNGQ5dq+5O99MyfS/9phs7a4N5uR9lcfmGvwrOYksHtmyB3 Y+0lj8/SiXcNBvvbCZfQgut+yKp7X6X6bNbCp+eZ7Rl0zLdZKKWvgkCfse6jB159Kig== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=xHdzrwI0; arc=none smtp.remote-ip=95.215.58.235 Received: from mta1.migadu.com (out-235.mta1.migadu.com [95.215.58.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 420B5606A31A for ; Wed, 2 Dec 2026 13:38:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 420B5606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=xHdzrwI0 X-Envelope-To: linux-iio@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=REwyXYqpoeiDGMwloCBOThKYxxo0VbtRogZ192WypyY=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796218701; v=1; x=1796823501; b=xHdzrwI0/JuECdLKmrAPHsdWeZvvYzw/1cidJR8n7YOJH3ylxFIW2PJrT4YTZrtnyWqqHHJK JhWaAdSzX9V/TZQsE6BpnBlX28IG+BrK53xc+3eZDCJfaalLpzkFnxFFgoHTM8YkWLfffecB50X OgAsCsdh9jN9S88kGwkehq14= X-Envelope-To: linux-iio@vger.kernel.org Received: by mta12.migadu.com with ESMTPS id c9a1e75402d3093e; Wed, 02 Dec 2026 13:38:21 +0000 X-Mizu-Trace-ID: c9a1e75402d3093e X-Migadu-Flow: FLOW_OUT Date: Wed, 2 Dec 2026 15:38:13 +0200 From: Matti Vaittinen To: Matti Vaittinen , Matti Vaittinen , Matti Vaittinen Cc: Jonathan Cameron , David Lechner , Nuno =?iso-8859-1?Q?S=E1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matti Vaittinen , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] Support ROHM BD7971x family of DACs Message-ID: Reply-To: Matti Vaittinen X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cAGiKw7eNwrZxLpp" Content-Disposition: inline --cAGiKw7eNwrZxLpp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Support ROHM BD7971x family of DACs (and fix existing binding doc) The ROHM BD7971[0-3] are 10-bit DACs which have similar SPI command logic, channel numbering, and VCC / VFS pin logic with the 8-bit ROHM BD7970[0-3] family DACs. Both families use 16-bit SPI transactions where the channel which DAC word is being set, can be specified by the SPI command. The SPI command resides in the first half of the transaction, and DAC word to be set follows. The of the SPI command and the DAC word differ, (as does the length of the DAC word). While adding the support for the new family of DACs, I noticed I had misread the existing BD7970x family of DACs data-sheet. As a result, the information about VFS pin usage on BD79702 and BD79703 is incorrect. First patch in the series is a fix to the documentation. Rest of the patches add support to the BD7971x family of the DACs to the existing BD7970x driver. The series is based on the v7.4-rc1 + driver VFS fix, which is identical to the one in the IIO tree's 'fixes-togreg' -branch: 7b9c4d1c895f ("iio: dac: rohm-bd79703: Fix full-scale voltages") The driver-fix patch shouldn't be needed for the binding part as I forgot to fix the bindings at the same time, hence missing it from the base shouldn't conflict (what comes to the code). I can do rebasing / split the series as (if) needed. Matti Vaittinen (4): dt-bindings: iio: bd79703: Fix VFS explanation dt-bindings: iio: dac: Add ROHM BD7971x iio: dac: rohm-bd79703: Avoid copying chip-data bd79703: Support ROHM BD7971x DACs .../bindings/iio/dac/rohm,bd79703.yaml | 34 ++++-- drivers/iio/dac/rohm-bd79703.c | 108 ++++++++++++++++-- 2 files changed, 120 insertions(+), 22 deletions(-) base-commit: 0723d51fa973f0204e1c436c08a784b7b1cca795 --=20 2.56.1 --cAGiKw7eNwrZxLpp Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEIx+f8wZb28fLKEhTeFA3/03aocUFAmsQHz8ACgkQeFA3/03a ocU7pwf/Z1Z/07mdbPXLk++54SYLnzGR7K9TJScnTy12wZiNX1r1XhXg3EhJxiJG q2YHwo4qhLFEcTl4+/TDNIScp/GgOw7iusais0MFDeUtIZJ15yFoqy74BnFaPYKd ioqfcBjvoDfIl7SzrU491lGkPlEReqxXhX+74Udm4hDDJB1uor5iS7e/LjGp6BCf EAcHgFh/M86qXs2OdDdoT2nNQnGiWgsr5BCiLeCHr5Y5sDLj9/Oh40jwTNCGLcFx tdlb+EYb9mqBNY4UK9Ox0xc+UtuXUU52kqZDeaO/3vE8ZIyHUT/XFdJEQHDoYIbK gKRuTRFYnMlcq0idSo9FMD6cK3wTcQ== =RLQk -----END PGP SIGNATURE----- --cAGiKw7eNwrZxLpp--