Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp198120lqn; Thu, 11 Apr 2024 20:23:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVR7b06BhT+SYQNRuyYYTn3TzbAvmQt1VtXKErfgNsWH4kj4hYz12QIGcA+qKzQEWGrqr9+e9cth/TorrJB5Kgstb5SIyMau3Y7MSKqGw== X-Google-Smtp-Source: AGHT+IGimOcavqsUU4tJzWmg6YPFRlya4iv0xTzBnvWfnWmAkWeneWgRdEbalbFCkA7MzWpsgMW+ X-Received: by 2002:a05:6a20:72a2:b0:1a7:8115:d0c6 with SMTP id o34-20020a056a2072a200b001a78115d0c6mr5859915pzk.11.1712892182509; Thu, 11 Apr 2024 20:23:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712892182; cv=pass; d=google.com; s=arc-20160816; b=0+arYMz23Bvo5K+XP+6S9qHyIuGIKKw0iV1GsNXW6gxAkzrviLmUvI/r6vDbxvf3ix FBn/yNtlE7p2dgVRt/cnCmdEQVqopqE8tfang9xnMLMiU8sP3x5rLlqdsOTfTk9Dkov0 UfmLjnl/UwifQfjCE4qztVabn+JAtgCfR3n//KOkCwKgJ6zAYQLwXKfnA6J8JRuZNT1I 6Qcm9El7+SSFTZScEhwTJg2kGEKdDCko+hxktNFdLqv0iY3ec90mEkJuOUqFLIfiCijp z8LdzDgdoHNiqxdDTQKUw+VS11OwZ3DfrAaxTvPGeQshT0+qTZ8vKd7msvSrnmM4iKS8 ZkfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=YcFyLivoUu4Y2ck+EIRcC6nVLwmCQ2o31tgZ4TY8kus=; fh=myGVfEwUXe4IqYMBpjWtGHgIdOo+vtJdWKcwNMiT7DA=; b=r3vfgLgBD4quUdFWVMm58gkktZL+5ksWb/L7Dos+p9f7X5pxmKJjUIJRycHMztrGAV Qg948VISP+dmH7UcePXSUHFz05kWQ4jg7mbpRSbxXA7WmuaidFk/MhbMuAvDF/AO2KhB IhYW/5einhjGbvICOFXMSmqzUShvbj2YNr0fEYQc8I9IRvXSuHmmy07Z73uhsYla2Ast U7bG2j/w8g2tE2rHdqHEqnEx8o/S0VNZi6xAuSJ0tDXt3surKrPVW1zZwv4Bg2iZW1wM PMrjazXCG4ytIK4oI+hFIAPCQA1TxGg0YP14zh641cqU/hIhCd/9a3s+3ji0wy38TkLg lWig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@analog.com header.s=DKIM header.b=LopAmj1U; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel+bounces-141855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 76-20020a63024f000000b005dc50605acfsi2410510pgc.519.2024.04.11.20.23.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 20:23:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@analog.com header.s=DKIM header.b=LopAmj1U; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel+bounces-141855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 72F7D282962 for ; Fri, 12 Apr 2024 03:21:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 859B4175A7; Fri, 12 Apr 2024 03:21:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b="LopAmj1U" Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) (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 2BC9716426; Fri, 12 Apr 2024 03:21:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.135.77 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712892103; cv=none; b=tr8xwXQwpmlUvsTyPBmDZcWF36REoKSv63JKqe7g3V/BAtbCnnNn31G777OXFcBlqfuMvfr6eYQLWbZulVGyfpKEI0Za9HvWBRcOr9pdz1Wxi9XkoG1Ejiv1deGxBAhwG+CIp4jK9IByi9aSu1dKfjLWYbIj2ctVr9uRWIJ9qTU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712892103; c=relaxed/simple; bh=k9QBzxKZzxtZuk28uNHFvqqSgtLDW1PHZOzO/qPeL20=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=QSlYsgdX5N5bPOqUINGkkSGqUVfzaSIVbX3Ajxx/38jIjufzKkvN3zFliwpa6zTunuXovwhDCsSQOS+ZgMYD/e6KLlDmDbuWSXrvGmEIFsVV0WCx1n+RQmbBIWUZcMQ3Chmba14mZTZRvsjjNeINezfkMMFyiaQSkTy27c5KAbs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com; spf=pass smtp.mailfrom=analog.com; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b=LopAmj1U; arc=none smtp.client-ip=148.163.135.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=analog.com Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43C2ekPr017703; Thu, 11 Apr 2024 23:21:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=DKIM; bh=YcFyLivoUu4Y 2ck+EIRcC6nVLwmCQ2o31tgZ4TY8kus=; b=LopAmj1UOKJrALf5KgEcfPB85GCW tbY5Sj1BRN19IeiKpaxZZcH/hYbcANgfJAZgDiRiM26OvX9TGOOfahQ/cZxfHq1q 8RDOdvfBcEQUrkvW71EqoKLmXq+K8NWxLUPIDpSKickI/8Bi58qdjq3k8BeNZ8Q6 Q7Bpi5xJxRGrVPfOA9vivSz31sZvmJ6FL5bwJbHIqsLSRvdEPzYs9p1W9QorBZGt 1IYSSXIRUeV5YAvepoJzj14V67s8W8IvUiSgs2De4g+hxhEBcYOchczVSY+RIusr iT2fmWu+6iqc3mFkxrqQYIjztsHNnYbKWYMNTNmxnZ7YKdoQkTh6jMqiLQ== Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3xek1fa877-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 23:21:24 -0400 (EDT) Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 43C3LNr0021560 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Apr 2024 23:21:23 -0400 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Thu, 11 Apr 2024 23:21:22 -0400 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBCASHYB5.ad.analog.com (10.64.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Thu, 11 Apr 2024 23:21:22 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Thu, 11 Apr 2024 23:21:22 -0400 Received: from kim-VirtualBox.ad.analog.com (KPALLER2-L03.ad.analog.com [10.117.220.36]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 43C3L8pe021230; Thu, 11 Apr 2024 23:21:10 -0400 From: Kim Seer Paller To: , , CC: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Liam Girdwood" , Mark Brown , "David Lechner" , Michael Hennerich Subject: [PATCH 0/4] Add driver for LTC2664 and LTC2672 Date: Fri, 12 Apr 2024 11:20:58 +0800 Message-ID: <20240412032102.136071-1-kimseer.paller@analog.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: WEB6zb_F89hJGGM2ixbTgTcALdoN4nCN X-Proofpoint-ORIG-GUID: WEB6zb_F89hJGGM2ixbTgTcALdoN4nCN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-11_14,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 malwarescore=0 phishscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 clxscore=1011 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404120023 The LTC2664 is a 4 Channel, Voltage Output SoftSpan DAC while LTC2672 is a 5 channel, Current Output Softspan DAC. The ABI defined for the driver: LTC2664 - toggle mode channels: * out_voltageY_toggle_en * out_voltageY_raw0 * out_voltageY_raw1 * out_voltageY_symbol LTC2672 - toggle mode channels: * out_currentY_toggle_en * out_currentY_raw0 * out_currentY_raw1 * out_currentY_symbol Default channels won't have any of the above ABIs. Kim Seer Paller (4): dt-bindings: iio: dac: Add adi,ltc2664.yaml iio: ABI: add ABI file for the LTC2664 DAC iio: ABI: add ABI file for the LTC2672 DAC iio: dac: ltc2664: Add driver for LTC2664 and LTC2672 .../ABI/testing/sysfs-bus-iio-dac-ltc2664 | 30 + .../ABI/testing/sysfs-bus-iio-dac-ltc2672 | 30 + .../bindings/iio/dac/adi,ltc2664.yaml | 230 +++++ MAINTAINERS | 11 + drivers/iio/dac/Kconfig | 11 + drivers/iio/dac/Makefile | 1 + drivers/iio/dac/ltc2664.c | 785 ++++++++++++++++++ 7 files changed, 1098 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-dac-ltc2664 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-dac-ltc2672 create mode 100644 Documentation/devicetree/bindings/iio/dac/adi,ltc2664.yaml create mode 100644 drivers/iio/dac/ltc2664.c base-commit: 27eea4778db8268cd6dc80a5b853c599bd3099f1 -- 2.34.1