From patchwork Mon Aug 12 08:13:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dumitru Ceclan via B4 Relay X-Patchwork-Id: 13760284 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 ED7D314D28F; Mon, 12 Aug 2024 08:13:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723450397; cv=none; b=nBuoxU2+nF0TT2ZF0m21GJMZOCmdlLxDvIhbhU6LQ8k2YE1zYjnVrOc5OqfXGGWrcW3Z+MNG4HCo2YsQfRIJ5NSl/77D7/7WTReYG25F8Jw6W0hcO73Ur2pEUoAGbNxsnIJfwL1Z1XzvNNQ9RxyvYG9Xa5M5M8xO7Jy/hS0Clv0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723450397; c=relaxed/simple; bh=o3GBS28qbFn0jxy8QFQgIR++m2QUQw+RTCHfzVUfmQk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JrO7CiHjGlmD6vaXgx6dmJOXfjZE0uM/7S0aiJvlmvVThQafxNgBYY+dSff9jNqVm3KpSwExAgjqfm/lMGjXGsnbOdnz+2j17NhYAqWJucBmBWKaTb216aWy18kg3wAwnKXCdglxdcsjwcFNYMHCv1/OI94x+FcPC33y9KI3YEA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=u6DjBsdo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="u6DjBsdo" Received: by smtp.kernel.org (Postfix) with ESMTPS id 8AAE2C4AF0C; Mon, 12 Aug 2024 08:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723450396; bh=o3GBS28qbFn0jxy8QFQgIR++m2QUQw+RTCHfzVUfmQk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=u6DjBsdozu5GZJ9Z7mlnIBNWEf26HvDNjDHxEdEDNz1y+WN6KOxw6wwS99J2FEYsH 8CvwxyZgX3NSyzVv+XJFwVWu/9Z0Q/n67SIV3ww1CIBzYmB4f2rwIGcEZKm2So0aWx 9wZHSi7XF1qJJMQ67YXsR3Ybc1T5D/chtyjqiTFQWqLbzqBDxjgIQL3AlbYMa9RaBP Zbx/4QJYpTxGsXUqCV6KpihtI7Nz2ZQ+5LrS9+swX6q58Kr5hCA71LMP9dmeLEbkZp kcWxXeCYWhs92AuNy6N9brlUZtxa14Duqk+6P8yciOhUJtr/d7BZHD6lU02+Z/Eg9a srsMVTDrjwKFQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75ED3C3DA7F; Mon, 12 Aug 2024 08:13:16 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Mon, 12 Aug 2024 11:13:14 +0300 Subject: [PATCH v3 1/3] dt-bindings: adc: ad7173: add support for ad4113 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240812-ad4113-v3-1-046e785dd253@analog.com> References: <20240812-ad4113-v3-0-046e785dd253@analog.com> In-Reply-To: <20240812-ad4113-v3-0-046e785dd253@analog.com> To: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: mitrutzceclan@gmail.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dumitru Ceclan , Conor Dooley X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1723450395; l=1781; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=oQd2U0oExOZPemV00b0JuLI68Pnb/GaMf7q4j3I0hzg=; b=fWQ8J1Ygl+Dpee0s/U+i68ylgSVleM95MbbAXIrvPqaloafhxDK6j9RKpsbtP+WyaAQ7xRIGK 5hktkofSd2BAkI8pQFprm17LIIabzJu1L02zXdu7u9lK35/LBE6akXw X-Developer-Key: i=dumitru.ceclan@analog.com; a=ed25519; pk=HdqMlVyrcazwoiai7oN6ghU+Bj1pusGUFRl30jhS7Bo= X-Endpoint-Received: by B4 Relay for dumitru.ceclan@analog.com/20240313 with auth_id=140 X-Original-From: Dumitru Ceclan Reply-To: dumitru.ceclan@analog.com From: Dumitru Ceclan This commit adds bindings support for AD4113. The AD4113 is a low power, low noise, 16-bit, Σ-Δ analog-to-digital converter (ADC) that integrates an analog front end (AFE) for four fully differential or eight single-ended inputs. Added ad4113 to the compatible list and the "avdd2-supply: false" restriction. Acked-by: Conor Dooley Signed-off-by: Dumitru Ceclan --- Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml index 17c5d39cc2c1..ad15cf9bc2ff 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml @@ -28,6 +28,7 @@ description: | Datasheets for supported chips: https://www.analog.com/media/en/technical-documentation/data-sheets/AD4111.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/AD4112.pdf + https://www.analog.com/media/en/technical-documentation/data-sheets/AD4114.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/AD4115.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/AD4116.pdf @@ -44,6 +45,7 @@ properties: enum: - adi,ad4111 - adi,ad4112 + - adi,ad4113 - adi,ad4114 - adi,ad4115 - adi,ad4116 @@ -331,6 +333,7 @@ allOf: enum: - adi,ad4111 - adi,ad4112 + - adi,ad4113 - adi,ad4114 - adi,ad4115 - adi,ad4116 From patchwork Mon Aug 12 08:13:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dumitru Ceclan via B4 Relay X-Patchwork-Id: 13760286 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 33EA2166F2D; Mon, 12 Aug 2024 08:13:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723450397; cv=none; b=crsBP01z9P5iXe3kPsz7fwjtvtq/5PaDl+lwMg1dwYfeaVMVqB7r4AkugxZtIYAvvoe+lALHw4fxAHLh0NxZAzHTCtD7oNKl8CCV9DLpoa59tcz3MCjArKp6p8Qd57GC8UcNlKSBa++XD3zhiAFutbye10iLc8hoxn3JrvhAx4U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723450397; c=relaxed/simple; bh=0gcXg4EfHyC+Rs8bX3KNCUbU2dYucTIn+0jstdGEUFM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MDD8e/NQ1l3Nmwp+/AKHmQ3AKHA1uNXt3mVR6HVjWxwJtAEsIm/5dqVv7D80FmzcMIjqp8wfV7ji72zIdAzpf2ICa41mhGJqTxmy+tZemqgp5tnI/3/d1rzky1lMasu5Bbd4xhaX/sKPUJ4RIP2mceSJJDZkAj0UdNn4G6kp06A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tzfKDYaF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tzfKDYaF" Received: by smtp.kernel.org (Postfix) with ESMTPS id 9B806C4AF0E; Mon, 12 Aug 2024 08:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723450396; bh=0gcXg4EfHyC+Rs8bX3KNCUbU2dYucTIn+0jstdGEUFM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=tzfKDYaFgvoI7/LrjpKy3/Qauq569C3xqCRoBc2fK+lGC2tsFbGBuaY28Rg/msFg3 NKU/6RmuuWjt7Dm1YtH2/0QATAR4S4ezsa0dp8hdOZLg4Ol+0yQL75l+FO7bCsyCYo hkMYBUlE+6ZQklYXFuz9KOogJZtaSq0GdSLM8w4TP9z+0JlRxTxEtxnegHfJ6huCU4 JslqJPRX2gQ4OOSaeDmcV5wz10u/jwRlO42lu6Nm0HNs91ArTJRkGrE4upfNf8pqqS a3f/N+hsUTYNmJZz0UUXmkth94/wRVbF7g9/ektzE9utEccxE5kpXObwgKfjvtJ3it ZXfx0uyDavIAA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E840C531DC; Mon, 12 Aug 2024 08:13:16 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Mon, 12 Aug 2024 11:13:15 +0300 Subject: [PATCH v3 2/3] iio: adc: ad7173: order chipID by value Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240812-ad4113-v3-2-046e785dd253@analog.com> References: <20240812-ad4113-v3-0-046e785dd253@analog.com> In-Reply-To: <20240812-ad4113-v3-0-046e785dd253@analog.com> To: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: mitrutzceclan@gmail.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dumitru Ceclan X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1723450395; l=698; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=k1tXhRvf85CI0lNgZZec7J3hSBj8X2rculRMdGUY4Mg=; b=ZaUjIQ1ZmMMYE8/2KaC+AqeSgH02Zl2dXe4SLTvI5NDQXg11U2LNB5RIR99bONIRf+36TAhhA N31IKgTLRsTD826unsuR1Fvlr9UY4G+9ll1OE92n6WBtbx/QDRClAX2 X-Developer-Key: i=dumitru.ceclan@analog.com; a=ed25519; pk=HdqMlVyrcazwoiai7oN6ghU+Bj1pusGUFRl30jhS7Bo= X-Endpoint-Received: by B4 Relay for dumitru.ceclan@analog.com/20240313 with auth_id=140 X-Original-From: Dumitru Ceclan Reply-To: dumitru.ceclan@analog.com From: Dumitru Ceclan The chipIDs defines were supposed to be ordered by value, one was out of order. Fix the order. Signed-off-by: Dumitru Ceclan --- drivers/iio/adc/ad7173.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c index a854f2d30174..a2bfc28932a5 100644 --- a/drivers/iio/adc/ad7173.c +++ b/drivers/iio/adc/ad7173.c @@ -76,8 +76,8 @@ (x) == AD7173_AIN_REF_NEG) #define AD7172_2_ID 0x00d0 -#define AD7175_ID 0x0cd0 #define AD7176_ID 0x0c90 +#define AD7175_ID 0x0cd0 #define AD7175_2_ID 0x0cd0 #define AD7172_4_ID 0x2050 #define AD7173_ID 0x30d0 From patchwork Mon Aug 12 08:13:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dumitru Ceclan via B4 Relay X-Patchwork-Id: 13760287 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 32276166F2C; Mon, 12 Aug 2024 08:13:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723450397; cv=none; b=tof1ixFCJlTyEEDtQ55tZHxvnLfq3VhKuKJ1sT6nEjqx05vaPU25u8vQw9Ix0iZ8INNEgtdBCGTdk2SqubW2qNNNUNiy8TuqdUH+YqYhXUMa5scQujWGrFKg2pYKZ9XOU1KtEupc5n4/72BKoQG6UZh/ra6MjZ+BAvVMdjK8KoY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723450397; c=relaxed/simple; bh=YGYf1W8O0Dz7g+ZsSBsaCkfYwZjzzNN55cQLfdm3lu4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RasFgtI7LbVnEOgslMY3M1xa+rKqEDxUO4gZKly1BXGX5wQGjDHDOIYMD02ekvJAV5lYcrvAsVOZkfy8DjS7FyhHEBEOOPcLrz3CMRccBmruM38cb6oaw6Q6V+YzwJAXtad/sKjGe0DcpbfaNbLyzsmOzQdMQcRJarEYYsbZwqI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Xu0gNi2j; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Xu0gNi2j" Received: by smtp.kernel.org (Postfix) with ESMTPS id B0666C4AF18; Mon, 12 Aug 2024 08:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723450396; bh=YGYf1W8O0Dz7g+ZsSBsaCkfYwZjzzNN55cQLfdm3lu4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Xu0gNi2jbI734okMRs1NMVlDMqueMGTC/t6WLDih4s6IQkwUS+NpBzyGg9eiQB95w Nr6uYkpr3WHdp1RyZ3CSrpW4oW4MFuPjLA/heBszr9FcJOC0xXELxRvUjdUGal2+pb YeUg7mZpjyv+pwhBV6evWaBR5DoKAAB7jAdnmZbp98kajY6GNobLwUJByyCDO+fsRC dPpWwUC7D6IAYcyC+PsvlUXGqIqzjBy87ndWADB1IQ1RendJqY/Ul79h3lrv7Xsnjz 9KUilGWbVmKRQ9a+DnDnVvMRbkNr7Fd+amOUYfMWZhFjyVcADt90n05jVNr3IX//Qt zXx9qaM4W7/Hg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7E1BC531DD; Mon, 12 Aug 2024 08:13:16 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Mon, 12 Aug 2024 11:13:16 +0300 Subject: [PATCH v3 3/3] iio: adc: ad7173: add support for ad4113 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240812-ad4113-v3-3-046e785dd253@analog.com> References: <20240812-ad4113-v3-0-046e785dd253@analog.com> In-Reply-To: <20240812-ad4113-v3-0-046e785dd253@analog.com> To: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: mitrutzceclan@gmail.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dumitru Ceclan , Nuno Sa X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1723450395; l=4156; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=RX843N1GVnf5gAUEU1q9KaWUodJvZ7Nk65Jbcire1XY=; b=myUWpEoPX3ZUlC+kvEO3pnAcI+E5KI2cZ55TAaUVxJ74oDpUNBtAE/yzoSc3CVsIEXvo5PHBs 3LJ2BNePZO5A5OjwD9ooGsPFR6cRwKuHXLYHr+TNmtrnI43ogBJuZFT X-Developer-Key: i=dumitru.ceclan@analog.com; a=ed25519; pk=HdqMlVyrcazwoiai7oN6ghU+Bj1pusGUFRl30jhS7Bo= X-Endpoint-Received: by B4 Relay for dumitru.ceclan@analog.com/20240313 with auth_id=140 X-Original-From: Dumitru Ceclan Reply-To: dumitru.ceclan@analog.com From: Dumitru Ceclan This commit adds support for the AD4113 ADC. The AD4113 is a low power, low noise, 16-bit, Σ-Δ analog-to-digital converter (ADC) that integrates an analog front end (AFE) for four fully differential or eight single-ended inputs. Reviewed-by: Nuno Sa Signed-off-by: Dumitru Ceclan --- drivers/iio/adc/ad7173.c | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c index a2bfc28932a5..42f040660fdd 100644 --- a/drivers/iio/adc/ad7173.c +++ b/drivers/iio/adc/ad7173.c @@ -3,7 +3,7 @@ * AD717x and AD411x family SPI ADC driver * * Supported devices: - * AD4111/AD4112/AD4114/AD4115/AD4116 + * AD4111/AD4112/AD4113/AD4114/AD4115/AD4116 * AD7172-2/AD7172-4/AD7173-8/AD7175-2 * AD7175-8/AD7176-2/AD7177-2 * @@ -84,6 +84,7 @@ #define AD4111_ID AD7173_ID #define AD4112_ID AD7173_ID #define AD4114_ID AD7173_ID +#define AD4113_ID 0x31d0 #define AD4116_ID 0x34d0 #define AD4115_ID 0x38d0 #define AD7175_8_ID 0x3cd0 @@ -170,6 +171,7 @@ struct ad7173_device_info { bool has_temp; /* ((AVDD1 − AVSS)/5) */ bool has_pow_supply_monitoring; + bool data_reg_only_16bit; bool has_input_buf; bool has_int_ref; bool has_ref2; @@ -294,6 +296,24 @@ static const struct ad7173_device_info ad4112_device_info = { .num_sinc5_data_rates = ARRAY_SIZE(ad7173_sinc5_data_rates), }; +static const struct ad7173_device_info ad4113_device_info = { + .name = "ad4113", + .id = AD4113_ID, + .num_voltage_in_div = 8, + .num_channels = 16, + .num_configs = 8, + .num_voltage_in = 8, + .num_gpios = 2, + .data_reg_only_16bit = true, + .higher_gpio_bits = true, + .has_vincom_input = true, + .has_input_buf = true, + .has_int_ref = true, + .clock = 2 * HZ_PER_MHZ, + .sinc5_data_rates = ad7173_sinc5_data_rates, + .num_sinc5_data_rates = ARRAY_SIZE(ad7173_sinc5_data_rates), +}; + static const struct ad7173_device_info ad4114_device_info = { .name = "ad4114", .id = AD4114_ID, @@ -988,6 +1008,13 @@ static const struct iio_info ad7173_info = { .update_scan_mode = ad7173_update_scan_mode, }; +static const struct iio_scan_type ad4113_scan_type = { + .sign = 'u', + .realbits = 16, + .storagebits = 16, + .endianness = IIO_BE, +}; + static const struct iio_chan_spec ad7173_channel_template = { .type = IIO_VOLTAGE, .indexed = 1, @@ -1229,6 +1256,8 @@ static int ad7173_fw_parse_channel_config(struct iio_dev *indio_dev) chan_st_priv->cfg.input_buf = st->info->has_input_buf; chan_st_priv->cfg.ref_sel = AD7173_SETUP_REF_SEL_INT_REF; st->adc_mode |= AD7173_ADC_MODE_REF_EN; + if (st->info->data_reg_only_16bit) + chan_arr[chan_index].scan_type = ad4113_scan_type; chan_index++; } @@ -1309,6 +1338,9 @@ static int ad7173_fw_parse_channel_config(struct iio_dev *indio_dev) chan_st_priv->ain = AD7173_CH_ADDRESS(ain[0], ain[1]); } + if (st->info->data_reg_only_16bit) + chan_arr[chan_index].scan_type = ad4113_scan_type; + chan_index++; } return 0; @@ -1437,6 +1469,7 @@ static int ad7173_probe(struct spi_device *spi) static const struct of_device_id ad7173_of_match[] = { { .compatible = "adi,ad4111", .data = &ad4111_device_info }, { .compatible = "adi,ad4112", .data = &ad4112_device_info }, + { .compatible = "adi,ad4113", .data = &ad4113_device_info }, { .compatible = "adi,ad4114", .data = &ad4114_device_info }, { .compatible = "adi,ad4115", .data = &ad4115_device_info }, { .compatible = "adi,ad4116", .data = &ad4116_device_info }, @@ -1454,6 +1487,7 @@ MODULE_DEVICE_TABLE(of, ad7173_of_match); static const struct spi_device_id ad7173_id_table[] = { { "ad4111", (kernel_ulong_t)&ad4111_device_info }, { "ad4112", (kernel_ulong_t)&ad4112_device_info }, + { "ad4113", (kernel_ulong_t)&ad4113_device_info }, { "ad4114", (kernel_ulong_t)&ad4114_device_info }, { "ad4115", (kernel_ulong_t)&ad4115_device_info }, { "ad4116", (kernel_ulong_t)&ad4116_device_info },