lkml.org 
[lkml]   [2023]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 11/11] dt-bindings: iio: remove QCOM ADC files from iio folder
From
Hi Krzysztof,

On 7/9/2023 10:58 PM, Krzysztof Kozlowski wrote:
> 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@quicinc.com>
>> ---
> 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.


I'll try to do the changes in one or two patchsets, based on my replies
for the previous few patchsets (8, 9, 10), hope this can work.


>
> ...
>
>> -/* 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.


Right, I'll avoid this and add the ADC5 Gen3 macros in the
dt-bindings/iio/adc/ folder in the next patchset, irrespective of what
happens with updating the file paths, hope there won't be any issues.

Thanks,

Jishnu


>
> Best regards,
> Krzysztof
>

\
 
 \ /
  Last update: 2023-10-23 08:21    [W:0.081 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site