Re: [PATCH] ARM: dts: n900: switch accelerometer to iio driver

From: Krzysztof Kozlowski
Date: Wed Dec 28 2022 - 05:33:21 EST


On 28/12/2022 11:28, Sicelo wrote:
> Thank you for the review.
>
>>> + lis302dl: lis302dl@1d {
>>
>> That's not really explained in commit msg and does not look related to
>> your goal. If changing - in separate patch - make the node name generic.
>> https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
>
> Now I understand that it should just be `accelerometer@1d`. To be clear,
> are you saying this change should have a separate patch, i.e. not part
> of the switch to iio driver?

Yes, such cleanup is not related to changing compatible.

>
>>> - Vdd-supply = <&vaux1>;
>>> - Vdd_IO-supply = <&vio>;
>>> + vdd-supply = <&vaux1>;
>>> + vddio-supply = <&vio>;
>>
>> Does not look related/explained in commit msg.
>
> This is from Documentation/devicetree/bindings/iio/st,st-sensors.yaml,
> i.e. lowercase. I will look for a way to explain it in v2.

Ah, ok, then maybe mention in commit msg that you are changing
properties to match bindings of new compatible.

Best regards,
Krzysztof