From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f46.google.com (mail-oo1-f46.google.com [209.85.161.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED677283FCE for ; Sun, 2 Aug 2026 16:19:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785687570; cv=none; b=WNp2JlGhlvPVZHCNkAdOn27OBGiN2gYTzVsr3DE/G89BkK0e8HTvimJdtVnW0L5H0KJc08LPZI8YQZwQKBR53yuorQpgkxCsO+YGEjcf+wuTyf/4EVryWuxxPQgFpPDQt8otTRfWVLsCReXzj3k+tXEmW0s3iC4DFnvGuxXSQ7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785687570; c=relaxed/simple; bh=KxHPKoiDCurUCtsWQ6ggtOoQgw/61uc4/tX7qUf9nEk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EmMIKWf1FV63JA40q5YyTMr6lPZMJgLUCMlaEhFEFHDdUOgeyWud1Jy8LO4KG8k7MdK3n4xwI0neC0Sb5ywBm8y1kWjFnQr0bwes46TSDNFS5DcyQp6JybQebWjq6GW7mSoWA7pXmWD+PqufFl+0kCKMVorTlU7hsIlholHc8P8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=WUykbia9; arc=none smtp.client-ip=209.85.161.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="WUykbia9" Received: by mail-oo1-f46.google.com with SMTP id 006d021491bc7-6acabd2c8bdso1442127eaf.2 for ; Sun, 02 Aug 2026 09:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1785687566; x=1786292366; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=KfhxQUwsFgYF3mH3fJ4GDJgiou41ziE3NPkuGjACN5Q=; b=WUykbia98RhxPYI9X2HerLBNqFPJdf1Zc8R/EfcrZZzg6KxEdQMC7R9N1xxMX4uGm7 OHhmds1mdlqpbPfYWL0e7qzuaHk+BxDhFylOMy5ybEq/mHYw1WzAEfR3k29m+dRYvPU4 mjUNTjh3s91lciiP/Mw2eo7rxRQaBmWPBrESOSGLh3Z1103NPP1lBOZH22C+yMaIRfOE YUobl9q0cgKEVzQRejTbyezag20G7EpHJboo0GsCVtT9/uRupsPk4wfZzznK2dse1BRF uTR/v/cJxKgmmzoJkDwXsa++uxXLcpd/UZ6qYzNnmoU88/97WsrVVX4ZKTp0RArD3ZHv 1Nig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785687566; x=1786292366; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=KfhxQUwsFgYF3mH3fJ4GDJgiou41ziE3NPkuGjACN5Q=; b=jp22tSHW2cATm4IYdajG535pxrStkb5Bo9/7x14FatikHPErQaE0Ts7L+JqhYgIjea LE1NdVDYxpOqUUjt2n74pNI7QIhlSz3YDDZnfXD8oMYpjMC3YHTUl/Qf4UrEDTmQ6M7u oor0TGSlvdR+w92Rw+S1kCgpuxebu5FgALXITxyQ4qMMS0x45hFU20kfyf4jojXxMo3o yhvhSdIcCOfdbbnR3/nBO75RirgdC0yG8jYJuAqWDXztJuPNl7rN1gpIB2VXLkxbxjHt rWipf5rKKC07K6hjbrAYSwS3EANPBtKPyIvJYUOKTt05PPAUkkAe84qRoyMknSVo5Ji6 a5cQ== X-Gm-Message-State: AOJu0Yy5LPVxZ14tUx+jn951uWmOlAj9QjW3Pp/GUzi/m8Swwgdu1O0i SZRBNfzOadpcNa/g3enpBXWA7iwTk9sy4Tze1QRjfegVmg8ZM0PqYZVIhopyn1fc0VY= X-Gm-Gg: AR+sD10vNc5JKEyM87OyrT4xTHvMKYGpjBPBuXMBJiwi4hlQuWLvOLyFyu96LHByt4e /ah7z11iHhBLZb7OA6fa5dhwYr5+jcJiIY9SpsQcC1I0tYCbkREqpmcVqyPZka6ydhGymwBuahB CCo40zPuFhfHXCm4Sybx6ichbHCo3irp50Gc0SJbxGlqCFxEBDHboivkacrP/diIbNTpI048mf9 w8YxFEqkNQ1jurMPwbmEYv0GZqYRhdi1EQ6SvF4Tcg1H8YwfWRiBY0YeXpDDKCcWaRHCCV5aKyw LInz2q9Xmwcy0GUW60eZla8Utc4NIhFDSLFRIOm5Wib6Sapr7VW1JM9WzuZr330HsqD+AeA6LEk 614hUcXG7A7StxQjzfhD8aXSMXWfi3etniTMNZdnS5R2UPS4OipoXI362SairBc5ReBClu41C/U 3Tx70My3zEFDSSMUmrVjetMPji81YVsKfc6ueVEI4WuRxvrJYwb4cw615cWR0QjP15wDnvlLMTo Q8ifao/06njTGZbUFvF/l9/lHELfKH36lJQcQcs X-Received: by 2002:a05:6820:88f:b0:6a3:8b32:3ecf with SMTP id 006d021491bc7-6ae43217e3dmr12146792eaf.12.1785687565710; Sun, 02 Aug 2026 09:19:25 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:500:5487:2b6e:1057:d3d3? ([2600:8803:e7e4:500:5487:2b6e:1057:d3d3]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-6ae3a0c724fsm4864613eaf.9.2026.08.02.09.19.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Aug 2026 09:19:24 -0700 (PDT) Message-ID: Date: Sun, 2 Aug 2026 11:19:22 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] dt-bindings: iio: dac: Add DAC8163 To: Lukas Metz , Jonathan Cameron , Siratul Islam , =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org References: <20260802-dac8163-work-v3-0-3ecc7bc66d0d@gmx.net> <20260802-dac8163-work-v3-1-3ecc7bc66d0d@gmx.net> Content-Language: en-US From: David Lechner In-Reply-To: <20260802-dac8163-work-v3-1-3ecc7bc66d0d@gmx.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 8/2/26 11:07 AM, Lukas Metz wrote: > Add device tree binding for the Texas Instruments DAC8163 family > including the DAC7562, DAC7563, DAC8162, DAC8163, DAC8562 and DAC8563. > > Signed-off-by: Lukas Metz > --- > .../devicetree/bindings/iio/dac/ti,dac8163.yaml | 87 ++++++++++++++++++++++ > MAINTAINERS | 6 ++ > 2 files changed, 93 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac8163.yaml b/Documentation/devicetree/bindings/iio/dac/ti,dac8163.yaml > new file mode 100644 > index 000000000000..ba4099c78e06 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac8163.yaml > @@ -0,0 +1,87 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/dac/ti,dac8163.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Texas Instruments DAC8163 family of DACs > + > +description: > + The DAC756x, DAC816x, and DAC856x devices are low-power, voltage-output, > + dual-channel, 12-, 14-, and 16-bit digital-to-analog converters (DACs), > + respectively. These devices include a 2.5-V, 4-ppm/°C internal > + reference, giving a full-scale output voltage range of 2.5 V or 5 V. > + None of these devices are fallback compatible because they differ in either > + resolution or output register values after reset. The sync pin on the device > + acts as chip-select pin. > + > +maintainers: > + - Lukas Metz > + > +properties: > + compatible: > + enum: > + - ti,dac7562 > + - ti,dac7563 > + - ti,dac8162 > + - ti,dac8163 > + - ti,dac8562 > + - ti,dac8563 > + > + spi-rx-bus-width: > + items: > + - const: 0 > + > + spi-max-frequency: > + maximum: 50000000 > + > + spi-cpha: true > + > + reg: > + maxItems: 1 > + > + avdd-supply: true > + > + clear-gpios: > + description: > + When asserted, the device output registers are reset to their default > + values (zero for dacxxx2 and mid-scale for dacxxx3 devices). > + maxItems: 1 > + > + ldac-gpios: > + description: > + Pin needs to be asserted permanently when updating the DAC synchronously. > + maxItems: 1 > + > + vrefin-supply: > + description: > + External reference voltage supply for scaling. When no vrefin-supply > + is present the internal voltage reference is used. > + > +required: > + - compatible > + - reg > + - spi-cpha > + - avdd-supply > + > +allOf: > + - $ref: /schemas/spi/spi-peripheral-props.yaml# > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + dac@1 { > + compatible = "ti,dac8163"; > + reg = <0x1>; /* CS1 */ Comment isn't really needed. The bindings already define that this is the chip select. And I would just use 1 instead of 0x1. This isn't a memory address. > + spi-cpha; Missing spi-max-frequency and spi-rx-bus-width. > + ldac-gpios = <&gpiog 8 GPIO_ACTIVE_LOW>; > + avdd-supply = <&avdd_3v3>; > + }; > + }; > +... > diff --git a/MAINTAINERS b/MAINTAINERS > index d238590a31f2..314f235332f5 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -26394,6 +26394,12 @@ S: Odd Fixes > F: drivers/clk/ti/ > F: include/linux/clk/ti.h > > +TI DAC8163 DAC DRIVER > +M: Lukas Metz > +L: linux-iio@vger.kernel.org > +S: Maintained > +F: Documentation/devicetree/bindings/iio/dac/ti,dac8163.yaml > + > TI DATA TRANSFORM AND HASHING ENGINE (DTHE) V2 CRYPTO DRIVER > M: T Pratham > L: linux-crypto@vger.kernel.org >