From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.95 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796218704; b=O0ZeRJGbsiHEEZpEp/NMnQEyWIyG37Bcu/RaIvd3psQowmQ5/pzFjCnVwdJG8aPpZdp2 s7oVaa5Z8LFNJSSfdyQ0E+KBpoFfZvQC63YimgqpaVnU+QOmHK8sDtSi+PSgNZodgIL6o ZdBoPo0AKbkwRt+okZU7vjz34eMhw3Sw5ATVHpuJTzXzq7DW6ryd8l3ZROagNgrMnFhhF igsbHMpqGcLHt9waZTZzpm4M+qKIYucFiWSBdEQ7RBp0tI4ACLBlmSK64iJrRjdqmVr3z 86HAimUN2z6Ix6HGr/B00zhQxm2Pah2ubWFIT4malQU46/WYQoquJNkf6zQwvrCW9Xg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796218704; 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=jNmlI1x9Dro5bAEy5yBNhamkQF7BBlGQnfa94Bl7r+yo6W3Ym6DaoIbGua6fYC9c5ZuQ RF1wNUd+cUE4TE9jlvneGbwZm77bHhwwGCaIndr9A4qxtSocF7GnSDGyzcJIcHxpvtNB4 gxCC9Z1NdL8w5McwSkWt+jr3Z03ztRoQDQiC3so5aSuwN0VmdOTxon2PhIF9rpIXgWy/O gCiaW+8iPaNiFjzcc6vgBkB70BUc46T/DNezbILwyaoT59vnRNNc6M2XhSgHher7G9/u/ UuV+MZjXn7L5dATGyZ4UGs2j1PWmm5giuzx3R7nFvQ1RncBU3ZE/EoR5PR7fudoW3IA== 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=91.218.175.95 Received: from mta0.migadu.com (out-95.mta0.migadu.com [91.218.175.95]) (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 94CB5606A325 for ; Wed, 2 Dec 2026 13:38:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 94CB5606A325 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: devicetree@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: devicetree@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: devicetree@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--