Re: [PATCH 11/11] dt-bindings: iio: remove QCOM ADC files from iio folder
From: Krzysztof Kozlowski
Date: Sun Jul 09 2023 - 13:29:00 EST
On 08/07/2023 09:28, Jishnu Prakash wrote:
> Now that the ADC dt-binding paths have been updated everywhere
> to use the files copied to the 'iio/adc' folder, remove them
> from the 'iio' folder.
>
> Signed-off-by: Jishnu Prakash <quic_jprakash@xxxxxxxxxxx>
> ---
Nothing this was explained in previous patches... We should not have to
read patchset from the end to understand what is happening here. Anyway,
your commits lack rationale why this is done. Without it, this is pure
churn which breaks users. ABI breaks need to be explained in the commit
msg and come with some reason.
...
> -/* 400k pull-up3 */
> -#define ADC5_GEN3_AMUX1_THM_400K_PU 0x64
> -#define ADC5_GEN3_AMUX2_THM_400K_PU 0x65
> -#define ADC5_GEN3_AMUX3_THM_400K_PU 0x66
> -#define ADC5_GEN3_AMUX4_THM_400K_PU 0x67
> -#define ADC5_GEN3_AMUX5_THM_400K_PU 0x68
> -#define ADC5_GEN3_AMUX6_THM_400K_PU 0x69
> -#define ADC5_GEN3_AMUX1_GPIO_400K_PU 0x6a
> -#define ADC5_GEN3_AMUX2_GPIO_400K_PU 0x6b
> -#define ADC5_GEN3_AMUX3_GPIO_400K_PU 0x6c
> -#define ADC5_GEN3_AMUX4_GPIO_400K_PU 0x6d
> -
> -/* 1/3 Divider */
> -#define ADC5_GEN3_AMUX1_GPIO_DIV3 0x8a
> -#define ADC5_GEN3_AMUX2_GPIO_DIV3 0x8b
> -#define ADC5_GEN3_AMUX3_GPIO_DIV3 0x8c
You just added these defines in previous patches. Don't add them to
incorrect places just to fix it second later.
Best regards,
Krzysztof