Re: [PATCH] iio: adc: rtq6056: Fix the manual device instantiation via sysfs

From: ChiYuan Huang

Date: Mon Apr 20 2026 - 21:56:42 EST


On Tue, Apr 21, 2026 at 09:41:17AM +0800, cy_huang@xxxxxxxxxxx wrote:
> From: Kevin Tung <kevin.tung.openbmc@xxxxxxxxx>
>
> Add i2c_device_id to support sysfs manual device instantiation.
>
> Fixes: 89a1034cd841 ("iio: adc: rtq6056: Add support for the whole RTQ6056 family")
> Signed-off-by: Kevin Tung <kevin.tung.openbmc@xxxxxxxxx>
> Signed-off-by: ChiYuan Huang <cy_huang@xxxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> ---
> Hi, Jonathan:
>
> For some BSP limit, still some user instantiate rtq6056 deivce via sysfs.
> Therefore, add old style i2c id to make it compatible for this kind of usage.
>
> BR,
> ChiYuan.
Hi,

Please ignore this patch. I have seen Kevin submit the patch in the
following link.
https://lore.kernel.org/lkml/20260420-rtq6056_support_sysfs_instantiation-v1-1-483ccee27b63@xxxxxxxxx/
> ---
> drivers/iio/adc/rtq6056.c | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
> --
> 2.34.1
>