From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 901E3C54E58 for ; Tue, 26 Mar 2024 09:01:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:References:Message-Id:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9Uyg9Bq4g1f4VGya9zKjqpmLVuZoAlihl8dchbOc6NU=; b=ifR2KuhV/yl44c 5kgRJNIYoeOiGqAPFrCH/9YdJMK8p0qOWEjA9xlinkU3/iYRZrC6RVG38E0jG5pGlzhQWhx61jlbd H+fcR7uhfnzrAs/G6WtCZbjRHF8D0vEtSWC+TF0xegozibicKpbtRMPvdHkvD01DeJYG1u9o0xJa+ tcwRZc3XhjhlLueIPfPo1asJJQGupsg3EDLsJ3isAd31eKAq87EIt8CcE6/uvmXiylDrzmuTKa06O K3qRZnyal3D299xzJ6hCVE53TsthMfA4EouVTniif1x34hRlN2lgBir3ZFcnR5lg4XazKH9Vruhnn VZyMJZGWScN88Gdt72jg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp2gI-00000003iIE-3Rj2; Tue, 26 Mar 2024 09:01:18 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp2fe-00000003i5m-0NZS for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 09:00:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID; bh=/djGL67+NWnDPrRkxvM0aNHvT6Zkhfa6nfqpOBGeR24=; b=ZQAP6Bev1yFZGV2AwattLpzK2wPyLfqoq+y8JfWprenE+s1ZPdXI/HTAOqnTku7ATM8ohBDYTmm 9x5JylHhVzP/q5QwThubQxd8YqQLqhx8/32X/uoxyd9HaqMauNoOD2fzXDNyNpP2HK1DiOGdnVxFS mAzWqN4cpioxTgcytwZUgc01VQt6njjVf3C1pSeJK4J5oq/jK5+mnLKEtoJSeDHHCqOgLPqNmxhwP OVHTm5OSk2arh3hV94z2ttrkxlxz5VCYjDFWRF8CB8683IUuRoG2xtIThfDPLqyTzytl7IUmrmGYU 1y7y1/pJGKtRhHtrenE8n25bLvn06ypdJltQ==; Received: from sslproxy07.your-server.de ([78.47.199.104]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rp2fM-0009TD-IP; Tue, 26 Mar 2024 10:00:20 +0100 Received: from [185.17.218.86] (helo=smtpclient.apple) by sslproxy07.your-server.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rp2fL-000DcW-2w; Tue, 26 Mar 2024 10:00:19 +0100 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: [PATCH 2/5] iio: dac: ti-dac5571: Add DAC081C081 support From: Sean Nyekjaer In-Reply-To: <20240325203245.31660-3-laurent.pinchart@ideasonboard.com> Date: Tue, 26 Mar 2024 10:00:09 +0100 Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Trevor Zaharichuk , Greg Lytle , Jonathan Cameron , Lars-Peter Clausen , linux-iio@vger.kernel.org Message-Id: <0261441D-46A9-4513-B598-B1204FD86B30@geanix.com> References: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> <20240325203245.31660-3-laurent.pinchart@ideasonboard.com> To: Laurent Pinchart X-Mailer: Apple Mail (2.3774.400.31) X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27225/Mon Mar 25 09:30:27 2024) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_020038_681919_93110738 X-CRM114-Status: GOOD ( 16.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > On 25 Mar 2024, at 21.32, Laurent Pinchart wrote: > > The DAC081C081 is a TI DAC whose software interface is compatible with > the DAC5571. It is the 8-bit version of the DAC121C081, already > supported by the DAC5571 driver. Extends the driver to support this > chip. > > Signed-off-by: Laurent Pinchart Reviewed-by: Sean Nyekjaer > > --- > drivers/iio/dac/ti-dac5571.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c > index efb1269a77c1..c5162b72951a 100644 > --- a/drivers/iio/dac/ti-dac5571.c > +++ b/drivers/iio/dac/ti-dac5571.c > @@ -13,6 +13,7 @@ > * https://www.ti.com/lit/ds/symlink/dac5573.pdf > * https://www.ti.com/lit/ds/symlink/dac6573.pdf > * https://www.ti.com/lit/ds/symlink/dac7573.pdf > + * https://www.ti.com/lit/ds/symlink/dac081c081.pdf > * https://www.ti.com/lit/ds/symlink/dac121c081.pdf > */ > > @@ -386,6 +387,7 @@ static void dac5571_remove(struct i2c_client *i2c) > } > > static const struct of_device_id dac5571_of_id[] = { > + {.compatible = "ti,dac081c081", .data = &dac5571_spec[single_8bit] }, > {.compatible = "ti,dac121c081", .data = &dac5571_spec[single_12bit] }, > {.compatible = "ti,dac5571", .data = &dac5571_spec[single_8bit] }, > {.compatible = "ti,dac6571", .data = &dac5571_spec[single_10bit] }, > @@ -401,6 +403,7 @@ static const struct of_device_id dac5571_of_id[] = { > MODULE_DEVICE_TABLE(of, dac5571_of_id); > > static const struct i2c_device_id dac5571_id[] = { > + {"dac081c081", (kernel_ulong_t)&dac5571_spec[single_8bit] }, > {"dac121c081", (kernel_ulong_t)&dac5571_spec[single_12bit] }, > {"dac5571", (kernel_ulong_t)&dac5571_spec[single_8bit] }, > {"dac6571", (kernel_ulong_t)&dac5571_spec[single_10bit] }, > -- > Regards, > > Laurent Pinchart > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel