Re: [PATCH 05/11] iio: adc: qcom-spmi-adc5: remove support for ADC7 compatible string

From: Jishnu Prakash
Date: Mon Oct 23 2023 - 02:12:39 EST


Hi Jonathan,

On 7/8/2023 8:30 PM, Jonathan Cameron wrote:
On Sat, 8 Jul 2023 12:58:29 +0530
Jishnu Prakash <quic_jprakash@xxxxxxxxxxx> wrote:

Now that usage of "ADC7" name has been replaced with usage of "ADC5
Gen2" name everywhere, remove the "qcom,spmi-adc7" compatible string.

Signed-off-by: Jishnu Prakash <quic_jprakash@xxxxxxxxxxx>
Nope. Unless all your dts files are distributed with the kernel, dropping
this breaks anyone who upgrades the kernel against an older firmware...

So even after the rename, you need to keep the deprecated naming around for
the binding side of things.

Jonathan

---

Yes, I'll drop this patch, will just mark the older name as deprecated.

Thanks,

Jishnu