From: Dileep Kumar Nagavarapu <dileepkumar.nagavarapu@amd.com>
To: "Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Michal Simek" <michal.simek@amd.com>,
"Conall O'Griofa" <conall.ogriofa@amd.com>
Cc: <linux-iio@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <git@amd.com>,
Dileep Kumar Nagavarapu <dileepkumar.nagavarapu@amd.com>,
Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Subject: [PATCH v6 16/16] iio: adc: xilinx-xadc: Add I2C interface support
Date: Wed, 25 Nov 2026 22:40:30 +0530 [thread overview]
Message-ID: <20261125171045.1246381-17-dileepkumar.nagavarapu@amd.com> (raw)
In-Reply-To: <20261125171045.1246381-1-dileepkumar.nagavarapu@amd.com>
Add I2C interface support for Xilinx System Management Wizard IP along
with the existing AXI memory-mapped interface. This support enables
monitoring the voltage and temperature on UltraScale+ devices where the
System Management Wizard is connected via I2C.
I2C path supports only the internal System Monitor channels. These
are converted continuously according to the System Management Wizard
hardware configuration, so the driver does not program the channel
sequencer, and VAUX channels and the external mux are not supported.
Key changes:
- Implement 32-bit DRP (Dynamic Reconfiguration Port) packet format
as per Xilinx PG185 specification.
- Add separate I2C probe with xadc_i2c_of_match_table to handle same
compatible string ("xlnx,system-management-wiz-1.3") on I2C bus.
- Add NULL checks for get_dclk_rate callback function in sampling rate
functions to support interfaces without clock control
- Create separate iio_info structure(xadc_i2c_info) without event
callbacks for I2C devices
- Add xadc_i2c_transaction() function to handle I2C read/write operations
- Add XADC_TYPE_US_I2C type to distinguish I2C interface from AXI
- Defer XADC hardware initialization until first device access, since the
I2C path reaches the PL SysMon indirectly through a platform controller
DRP bridge that may not yet be operational at probe() time. Initializing
on first read/write instead avoids probe failures caused by transient
unavailability of that downstream path.
Co-developed-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Signed-off-by: Dileep Kumar Nagavarapu <dileepkumar.nagavarapu@amd.com>
---
drivers/iio/adc/Kconfig | 15 ++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/xilinx-xadc-core.c | 50 +++++-
drivers/iio/adc/xilinx-xadc-i2c.c | 235 +++++++++++++++++++++++++
drivers/iio/adc/xilinx-xadc-platform.c | 16 +-
drivers/iio/adc/xilinx-xadc.h | 10 +-
6 files changed, 315 insertions(+), 12 deletions(-)
create mode 100644 drivers/iio/adc/xilinx-xadc-i2c.c
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 864d3cd928c1..0be6ce94c66c 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -2180,6 +2180,21 @@ config XILINX_XADC
The driver can also be build as a module. If so, the module will be called
xilinx-xadc.
+config XILINX_XADC_I2C
+ tristate "Xilinx System Management Wizard I2C Interface support"
+ depends on I2C
+ select XILINX_XADC_CORE
+ help
+ Say yes here to allow accessing the System Management
+ Wizard on UltraScale+ devices via I2C.
+
+ This provides voltage and temperature monitoring capabilities
+ through the same IIO sysfs interface, but using I2C communication
+ protocol.
+
+ The driver can also be built as a module. If so, the module
+ will be called xilinx-xadc-i2c.
+
config XILINX_AMS
tristate "Xilinx AMS driver"
depends on ARCH_ZYNQMP || COMPILE_TEST
diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile
index 97aed4a40135..90adb0f5026d 100644
--- a/drivers/iio/adc/Makefile
+++ b/drivers/iio/adc/Makefile
@@ -186,3 +186,4 @@ obj-$(CONFIG_XILINX_AMS) += xilinx-ams.o
xilinx-xadc-common-y := xilinx-xadc-core.o xilinx-xadc-events.o
obj-$(CONFIG_XILINX_XADC_CORE) += xilinx-xadc-common.o
obj-$(CONFIG_XILINX_XADC) += xilinx-xadc-platform.o
+obj-$(CONFIG_XILINX_XADC_I2C) += xilinx-xadc-i2c.o
diff --git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c
index 8989c752e57b..aca326ddafcd 100644
--- a/drivers/iio/adc/xilinx-xadc-core.c
+++ b/drivers/iio/adc/xilinx-xadc-core.c
@@ -220,7 +220,7 @@ static int xadc_power_adc_b(struct xadc *xadc, unsigned int seq_mode)
* non-existing ADC-B powers down the main ADC, so just return and don't
* do anything.
*/
- if (xadc->ops->type == XADC_TYPE_US)
+ if (!xadc->ops->has_adc_b)
return 0;
/* Powerdown the ADC-B when it is not needed. */
@@ -243,7 +243,7 @@ static int xadc_get_seq_mode(struct xadc *xadc, unsigned long scan_mode)
unsigned int aux_scan_mode = scan_mode >> 16;
/* UltraScale has only one ADC and supports only continuous mode */
- if (xadc->ops->type == XADC_TYPE_US)
+ if (!xadc->ops->has_adc_b)
return XADC_CONF1_SEQ_CONTINUOUS;
if (xadc->external_mux_mode == XADC_EXTERNAL_MUX_DUAL)
@@ -350,6 +350,9 @@ int xadc_read_samplerate(struct xadc *xadc)
u16 val16;
int ret;
+ if (!xadc->ops->get_dclk_rate)
+ return -EOPNOTSUPP;
+
ret = xadc_read_adc_reg(xadc, XADC_REG_CONF2, &val16);
if (ret)
return ret;
@@ -460,9 +463,13 @@ EXPORT_SYMBOL_NS_GPL(xadc_setup_buffer_and_triggers, "IIO_XADC");
int xadc_write_samplerate(struct xadc *xadc, int val)
{
- unsigned long clk_rate = xadc_get_dclk_rate(xadc);
+ unsigned long clk_rate;
unsigned int div;
+ if (!xadc->ops->get_dclk_rate)
+ return -EOPNOTSUPP;
+
+ clk_rate = xadc->ops->get_dclk_rate(xadc);
if (!clk_rate)
return -EINVAL;
@@ -646,7 +653,7 @@ static const struct iio_chan_spec xadc_us_channels[] = {
XADC_US_CHAN_VOLTAGE(24, 31, XADC_REG_VAUX(15), NULL, false),
};
-static const struct iio_info xadc_info = {
+const struct iio_info xadc_info = {
.read_raw = &xadc_read_raw,
.write_raw = &xadc_write_raw,
.read_event_config = &xadc_read_event_config,
@@ -655,6 +662,13 @@ static const struct iio_info xadc_info = {
.write_event_value = &xadc_write_event_value,
.update_scan_mode = &xadc_update_scan_mode,
};
+EXPORT_SYMBOL_NS_GPL(xadc_info, "IIO_XADC");
+
+const struct iio_info xadc_i2c_info = {
+ .read_raw = &xadc_read_raw,
+ .write_raw = &xadc_write_raw,
+};
+EXPORT_SYMBOL_NS_GPL(xadc_i2c_info, "IIO_XADC");
int xadc_parse_dt(struct iio_dev *indio_dev, unsigned int *conf, int irq)
{
@@ -753,6 +767,11 @@ int xadc_parse_dt(struct iio_dev *indio_dev, unsigned int *conf, int irq)
}
}
+ if (!xadc->ops->get_dclk_rate) {
+ for (i = 0; i < num_channels; i++)
+ channels[i].info_mask_shared_by_all &= ~BIT(IIO_CHAN_INFO_SAMP_FREQ);
+ }
+
indio_dev->num_channels = num_channels;
indio_dev->channels = devm_krealloc_array(dev, channels, num_channels,
sizeof(*channels), GFP_KERNEL);
@@ -767,9 +786,10 @@ EXPORT_SYMBOL_NS_GPL(xadc_parse_dt, "IIO_XADC");
static const char *const xadc_type_names[] = {
[XADC_TYPE_S7] = "xadc",
[XADC_TYPE_US] = "xilinx-system-monitor",
+ [XADC_TYPE_US_I2C] = "xilinx-system-monitor",
};
-struct iio_dev *xadc_device_setup(struct device *dev, int size, enum xadc_type type)
+struct iio_dev *xadc_device_setup(struct device *dev, int size, const struct xadc_ops *ops)
{
struct iio_dev *indio_dev;
@@ -777,8 +797,8 @@ struct iio_dev *xadc_device_setup(struct device *dev, int size, enum xadc_type t
if (!indio_dev)
return ERR_PTR(-ENOMEM);
- indio_dev->name = xadc_type_names[type];
- indio_dev->info = &xadc_info;
+ indio_dev->name = xadc_type_names[ops->type];
+ indio_dev->info = ops->info;
indio_dev->modes = INDIO_DIRECT_MODE;
return indio_dev;
@@ -805,6 +825,22 @@ int xadc_device_configure(struct iio_dev *indio_dev, int irq,
}
EXPORT_SYMBOL_NS_GPL(xadc_device_configure, "IIO_XADC");
+int xadc_common_init(struct device *dev, struct xadc *xadc, const struct xadc_ops *ops)
+{
+ int ret;
+
+ xadc->ops = ops;
+
+ ret = devm_mutex_init(dev, &xadc->mutex);
+ if (ret)
+ return ret;
+
+ spin_lock_init(&xadc->lock);
+
+ return 0;
+}
+EXPORT_SYMBOL_NS_GPL(xadc_common_init, "IIO_XADC");
+
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
MODULE_DESCRIPTION("Xilinx XADC IIO core driver");
diff --git a/drivers/iio/adc/xilinx-xadc-i2c.c b/drivers/iio/adc/xilinx-xadc-i2c.c
new file mode 100644
index 000000000000..9609426c0116
--- /dev/null
+++ b/drivers/iio/adc/xilinx-xadc-i2c.c
@@ -0,0 +1,235 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Xilinx XADC I2C Interface Driver
+ *
+ * Copyright (C) 2026 Advanced Micro Devices, Inc.
+ *
+ * This driver implements I2C interface support for Xilinx System Management
+ * Wizard IP on UltraScale+ devices. It uses the 32-bit DRP (Dynamic
+ * Reconfiguration Port) packet format as per Xilinx PG185 specification.
+ */
+
+#include <linux/bits.h>
+#include <linux/bitfield.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/i2c.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
+#include <linux/property.h>
+#include <linux/unaligned.h>
+
+#include <linux/iio/iio.h>
+
+#include "xilinx-xadc.h"
+
+#define XADC_I2C_READ_DATA_SIZE 2
+#define XADC_I2C_INSTR_READ BIT(2)
+#define XADC_I2C_INSTR_WRITE BIT(3)
+
+/* Byte offsets within the 32-bit DRP packet, per Xilinx PG185 */
+enum xadc_i2c_drp_packet {
+ XADC_I2C_DRP_DATA_LOW,
+ XADC_I2C_DRP_DATA_HIGH,
+ XADC_I2C_DRP_ADDR,
+ XADC_I2C_DRP_INSTR,
+ XADC_I2C_WRITE_DATA_SIZE,
+};
+
+#define XADC_INPUT_MODE_BITS 16
+
+struct xadc_i2c {
+ struct xadc xadc;
+ struct i2c_client *client;
+ unsigned int conf0;
+ unsigned int bipolar_mask;
+ bool hw_initialized;
+};
+
+static int xadc_i2c_read_transaction(struct xadc *xadc, unsigned int reg, u16 *val)
+{
+ struct xadc_i2c *xadc_i2c = container_of(xadc, struct xadc_i2c, xadc);
+ struct i2c_client *client = xadc_i2c->client;
+ u8 read_buffer[XADC_I2C_READ_DATA_SIZE];
+ u8 write_buffer[XADC_I2C_WRITE_DATA_SIZE] = {
+ [XADC_I2C_DRP_ADDR] = reg,
+ [XADC_I2C_DRP_INSTR] = XADC_I2C_INSTR_READ,
+ };
+ int ret;
+
+ ret = i2c_master_send(client, write_buffer, XADC_I2C_WRITE_DATA_SIZE);
+ if (ret < 0)
+ return ret;
+ if (ret != XADC_I2C_WRITE_DATA_SIZE)
+ return -EIO;
+
+ ret = i2c_master_recv(client, read_buffer, XADC_I2C_READ_DATA_SIZE);
+ if (ret < 0)
+ return ret;
+ if (ret != XADC_I2C_READ_DATA_SIZE)
+ return -EIO;
+
+ *val = get_unaligned_le16(&read_buffer[XADC_I2C_DRP_DATA_LOW]);
+
+ return 0;
+}
+
+static int xadc_i2c_write_transaction(struct xadc *xadc, unsigned int reg, u16 val)
+{
+ struct xadc_i2c *xadc_i2c = container_of(xadc, struct xadc_i2c, xadc);
+ struct i2c_client *client = xadc_i2c->client;
+ u8 write_buffer[XADC_I2C_WRITE_DATA_SIZE] = {
+ [XADC_I2C_DRP_ADDR] = reg,
+ [XADC_I2C_DRP_INSTR] = XADC_I2C_INSTR_WRITE,
+ };
+ int ret;
+
+ put_unaligned_le16(val, &write_buffer[XADC_I2C_DRP_DATA_LOW]);
+
+ ret = i2c_master_send(client, write_buffer, XADC_I2C_WRITE_DATA_SIZE);
+ if (ret < 0)
+ return ret;
+ if (ret != XADC_I2C_WRITE_DATA_SIZE)
+ return -EIO;
+
+ return 0;
+}
+
+static int xadc_hardware_init(struct xadc *xadc)
+{
+ struct xadc_i2c *xadc_i2c = container_of(xadc, struct xadc_i2c, xadc);
+ int ret;
+
+ ret = xadc_i2c_write_transaction(xadc, XADC_REG_CONF0, xadc_i2c->conf0);
+ if (ret)
+ return ret;
+
+ ret = xadc_i2c_write_transaction(xadc, XADC_REG_INPUT_MODE(0), xadc_i2c->bipolar_mask);
+ if (ret)
+ return ret;
+
+ ret = xadc_i2c_write_transaction(xadc, XADC_REG_INPUT_MODE(1),
+ xadc_i2c->bipolar_mask >> XADC_INPUT_MODE_BITS);
+ if (ret)
+ return ret;
+
+ xadc_i2c->hw_initialized = true;
+
+ return 0;
+}
+
+static int xadc_i2c_read_reg(struct xadc *xadc, unsigned int reg, u16 *val)
+{
+ struct xadc_i2c *xadc_i2c = container_of(xadc, struct xadc_i2c, xadc);
+
+ /*
+ * Deferring initialization to the first real read/write means it
+ * only runs once the device is actually being used, at which point
+ * the full path down to the PL SysMon is expected to be up. This
+ * avoids spurious probe failures caused by transient unavailability
+ * of hardware outside this driver's control.
+ */
+ if (!xadc_i2c->hw_initialized) {
+ int ret;
+
+ ret = xadc_hardware_init(xadc);
+ if (ret)
+ return ret;
+ }
+
+ return xadc_i2c_read_transaction(xadc, reg, val);
+}
+
+static int xadc_i2c_write_reg(struct xadc *xadc, unsigned int reg, u16 val)
+{
+ struct xadc_i2c *xadc_i2c = container_of(xadc, struct xadc_i2c, xadc);
+
+ /*
+ * Deferring initialization to the first real read/write means it
+ * only runs once the device is actually being used, at which point
+ * the full path down to the PL SysMon is expected to be up. This
+ * avoids spurious probe failures caused by transient unavailability
+ * of hardware outside this driver's control.
+ */
+ if (!xadc_i2c->hw_initialized) {
+ int ret;
+
+ ret = xadc_hardware_init(xadc);
+ if (ret)
+ return ret;
+ }
+
+ return xadc_i2c_write_transaction(xadc, reg, val);
+}
+
+static const struct xadc_ops xadc_system_mgmt_wiz_i2c_ops = {
+ .read = xadc_i2c_read_reg,
+ .write = xadc_i2c_write_reg,
+ .setup_channels = xadc_parse_dt,
+ .type = XADC_TYPE_US_I2C,
+ .info = &xadc_i2c_info,
+ .has_adc_b = false,
+ .temp_scale = 509314,
+ .temp_offset = 280231,
+};
+
+static int xadc_i2c_probe(struct i2c_client *client)
+{
+ struct device *dev = &client->dev;
+ unsigned int conf0, bipolar_mask;
+ const struct xadc_ops *ops;
+ struct iio_dev *indio_dev;
+ struct xadc_i2c *xadc_i2c;
+ struct xadc *xadc;
+ int ret;
+
+ ops = device_get_match_data(dev);
+ if (!ops)
+ return -ENODATA;
+
+ indio_dev = xadc_device_setup(dev, sizeof(*xadc_i2c), ops);
+ if (IS_ERR(indio_dev))
+ return PTR_ERR(indio_dev);
+
+ xadc_i2c = iio_priv(indio_dev);
+ xadc_i2c->client = client;
+ xadc = &xadc_i2c->xadc;
+
+ ret = xadc_common_init(dev, xadc, ops);
+ if (ret)
+ return ret;
+
+ ret = xadc_device_configure(indio_dev, 0, &conf0, &bipolar_mask);
+ if (ret)
+ return dev_err_probe(dev, ret, "Failed to setup the device\n");
+
+ xadc_i2c->conf0 = conf0;
+ xadc_i2c->bipolar_mask = bipolar_mask;
+ xadc_i2c->hw_initialized = false;
+
+ return devm_iio_device_register(dev, indio_dev);
+}
+
+static const struct of_device_id xadc_i2c_of_match_table[] = {
+ {
+ .compatible = "xlnx,system-management-wiz-1.3",
+ .data = &xadc_system_mgmt_wiz_i2c_ops,
+ },
+ { }
+};
+MODULE_DEVICE_TABLE(of, xadc_i2c_of_match_table);
+
+static struct i2c_driver xadc_i2c_driver = {
+ .probe = xadc_i2c_probe,
+ .driver = {
+ .name = "xadc-i2c",
+ .of_match_table = xadc_i2c_of_match_table,
+ },
+};
+module_i2c_driver(xadc_i2c_driver);
+
+MODULE_IMPORT_NS("IIO_XADC");
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>");
+MODULE_AUTHOR("Dileep Kumar Nagavarapu <dileepkumar.nagavarapu@amd.com>");
+MODULE_DESCRIPTION("Xilinx XADC I2C Interface Driver");
diff --git a/drivers/iio/adc/xilinx-xadc-platform.c b/drivers/iio/adc/xilinx-xadc-platform.c
index 8d3b5cdbd969..3b214366cb1b 100644
--- a/drivers/iio/adc/xilinx-xadc-platform.c
+++ b/drivers/iio/adc/xilinx-xadc-platform.c
@@ -409,6 +409,8 @@ static const struct xadc_ops xadc_zynq_ops = {
.update_alarm = xadc_zynq_update_alarm,
.setup_channels = xadc_parse_dt,
.type = XADC_TYPE_S7,
+ .info = &xadc_info,
+ .has_adc_b = true,
/* Temp in C = (val * 503.975) / 2**bits - 273.15 */
.temp_scale = 503975,
.temp_offset = 273150,
@@ -515,6 +517,8 @@ static const struct xadc_ops xadc_7s_axi_ops = {
.setup_channels = xadc_parse_dt,
.flags = XADC_FLAGS_BUFFERED | XADC_FLAGS_IRQ_OPTIONAL,
.type = XADC_TYPE_S7,
+ .info = &xadc_info,
+ .has_adc_b = true,
/* Temp in C = (val * 503.975) / 2**bits - 273.15 */
.temp_scale = 503975,
.temp_offset = 273150,
@@ -530,6 +534,8 @@ static const struct xadc_ops xadc_us_axi_ops = {
.setup_channels = xadc_parse_dt,
.flags = XADC_FLAGS_BUFFERED | XADC_FLAGS_IRQ_OPTIONAL,
.type = XADC_TYPE_US,
+ .info = &xadc_info,
+ .has_adc_b = false,
/**
* Values below are for UltraScale+ (SYSMONE4) using internal reference.
* See https://docs.xilinx.com/v/u/en-US/ug580-ultrascale-sysmon
@@ -576,7 +582,7 @@ static int xadc_probe(struct platform_device *pdev)
if (!ops)
return -ENODEV;
- indio_dev = xadc_device_setup(dev, sizeof(*xadc), ops->type);
+ indio_dev = xadc_device_setup(dev, sizeof(*xadc), ops);
if (IS_ERR(indio_dev))
return PTR_ERR(indio_dev);
@@ -589,10 +595,12 @@ static int xadc_probe(struct platform_device *pdev)
return irq;
xadc = iio_priv(indio_dev);
- xadc->ops = ops;
init_completion(&xadc->completion);
- mutex_init(&xadc->mutex);
- spin_lock_init(&xadc->lock);
+
+ ret = xadc_common_init(dev, xadc, ops);
+ if (ret)
+ return ret;
+
INIT_DELAYED_WORK(&xadc->zynq_unmask_work, xadc_zynq_unmask_worker);
xadc->base = devm_platform_ioremap_resource(pdev, 0);
diff --git a/drivers/iio/adc/xilinx-xadc.h b/drivers/iio/adc/xilinx-xadc.h
index fa214b2f2328..45f681f21ed2 100644
--- a/drivers/iio/adc/xilinx-xadc.h
+++ b/drivers/iio/adc/xilinx-xadc.h
@@ -18,6 +18,7 @@
struct iio_dev;
struct clk;
+struct iio_info;
struct xadc_ops;
struct platform_device;
@@ -72,6 +73,7 @@ struct xadc {
enum xadc_type {
XADC_TYPE_S7, /* Series 7 */
XADC_TYPE_US, /* UltraScale and UltraScale+ */
+ XADC_TYPE_US_I2C, /* UltraScale+ I2C interface */
};
struct xadc_ops {
@@ -85,6 +87,8 @@ struct xadc_ops {
unsigned int flags;
enum xadc_type type;
+ const struct iio_info *info;
+ bool has_adc_b;
int temp_scale;
int temp_offset;
};
@@ -219,9 +223,12 @@ static inline int xadc_write_adc_reg(struct xadc *xadc, unsigned int reg, u16 va
#define XADC_AXI_REG_IPIER 0x68
#define XADC_AXI_INT_EOS BIT(4)
+extern const struct iio_info xadc_info;
+extern const struct iio_info xadc_i2c_info;
+
void xadc_write_reg(struct xadc *xadc, unsigned int reg, u32 val);
void xadc_read_reg(struct xadc *xadc, unsigned int reg, u32 *val);
-struct iio_dev *xadc_device_setup(struct device *dev, int size, enum xadc_type type);
+struct iio_dev *xadc_device_setup(struct device *dev, int size, const struct xadc_ops *ops);
int xadc_parse_dt(struct iio_dev *indio_dev, unsigned int *conf, int irq);
int xadc_device_configure(struct iio_dev *indio_dev,
int irq, unsigned int *conf0, unsigned int *bipolar_mask);
@@ -229,5 +236,6 @@ int xadc_read_samplerate(struct xadc *xadc);
int xadc_write_samplerate(struct xadc *xadc, int val);
int xadc_setup_buffer_and_triggers(struct iio_dev *indio_dev, int irq);
int xadc_postdisable(struct iio_dev *indio_dev);
+int xadc_common_init(struct device *dev, struct xadc *xadc, const struct xadc_ops *ops);
#endif
--
2.34.1
prev parent reply other threads:[~2026-11-25 17:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 17:10 [PATCH v6 00/16] iio: adc: xilinx-xadc: Add I2C interface support for System Management Wizard Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 01/16] iio: adc: xilinx-xadc: Correct write edge in CFG Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 02/16] iio: adc: xilinx-xadc: Refine Zynq read/write error handling on timeout/interrupt Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 03/16] iio: adc: xilinx-xadc: Fix coding style issues Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 04/16] iio: adc: xilinx-xadc: Use kernel integer types Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 05/16] iio: adc: xilinx-xadc: Drop unnecessary masking and dead code Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 06/16] iio: adc: xilinx-xadc: Use bitfield helpers and bit macros Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 07/16] iio: adc: xilinx-xadc: Use guard()/scoped_guard() for spinlock locking Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 08/16] iio: adc: xilinx-xadc: Use guard() for mutex locking Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 09/16] iio: adc: xilinx-xadc: Simplify common coding patterns Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 10/16] iio: adc: xilinx-xadc: Add unit suffixes to macro names Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 11/16] iio: adc: xilinx-xadc: Include appropriate header files Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 12/16] iio: adc: xilinx-xadc: Add clarifying comments Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 13/16] iio: adc: xilinx-xadc: Add helper functions for the device setup Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 14/16] iio: adc: xilinx-xadc: Split driver into core and platform files Dileep Kumar Nagavarapu
2026-11-25 17:10 ` [PATCH v6 15/16] iio: adc: xilinx-xadc: Add .setup_channels() to struct xadc_ops Dileep Kumar Nagavarapu
2026-11-25 17:10 ` Dileep Kumar Nagavarapu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125171045.1246381-17-dileepkumar.nagavarapu@amd.com \
--to=dileepkumar.nagavarapu@amd.com \
--cc=andy@kernel.org \
--cc=conall.ogriofa@amd.com \
--cc=dlechner@baylibre.com \
--cc=git@amd.com \
--cc=jic23@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=nuno.sa@analog.com \
--cc=sai.krishna.potthuri@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®