Re: [PATCH 6/7] arm64: dts: qcom: msm8916-samsung-fortuna: Add accelerometer/magnetometer

From: Krzysztof Kozlowski
Date: Thu Jun 22 2023 - 11:18:13 EST


On 22/06/2023 02:05, Lin, Meng-Bo wrote:
> From: Joe Mason <buddyjojo06@xxxxxxxxxxx>
>
> gprimeltecan and grandprimelte use a Bosch BMC150, and fortuna3g has
> ST LSM303C accelerometer/magnetometer combo.
> fortunaltezt and rossa have only ST LIS2HH12 accelerometer.
>
> Add support for them.
>
> Signed-off-by: Joe Mason <buddyjojo06@xxxxxxxxxxx>
> [Add LSM303C]
> Signed-off-by: Siddharth Manthan <siddharth.manthan@xxxxxxxxx>
> [Move sensors to fortuna.dtsi. Disable them by default]
> Signed-off-by: Stephan Gerhold <stephan@xxxxxxxxxxx>
> [Enable on grandprimelte. Add LIS2HH12]
> Signed-off-by: Lin, Meng-Bo <linmengbo0689@xxxxxxxxxxxxxx>
> ---
> .../dts/qcom/msm8216-samsung-fortuna3g.dts | 8 ++
> .../qcom/msm8916-samsung-fortuna-common.dtsi | 80 +++++++++++++++++++
> .../dts/qcom/msm8916-samsung-fortunaltezt.dts | 8 ++
> .../dts/qcom/msm8916-samsung-gprimeltecan.dts | 8 ++
> .../qcom/msm8916-samsung-grandprimelte.dts | 8 ++
> .../qcom/msm8916-samsung-rossa-common.dtsi | 8 ++

Your split of patches is difficult to follow and understand. You bring
now, within your first submission, few boards. Then adding one feature
to this board is not a separate commit. Commit, so a logical change, is
adding a board. Please organize your patchset so it will be easier to
review. Now with such changes touching multiple files, seems not
organized correctly. Your previous patch added multiple boards in one
commit - also not easy to review.

One commit for the binding, one commit for each board. Optionally common
file could be a separate commit.

Best regards,
Krzysztof