mbox series

[0/3] KX022-1020 accel support + inertial sensors on msm8226-microsoft

Message ID 20240714173431.54332-1-rayyan@ansari.sh
Headers show
Series KX022-1020 accel support + inertial sensors on msm8226-microsoft | expand

Message

Rayyan Ansari July 14, 2024, 5:33 p.m. UTC
Hi,
The following patches:
- Add support for the Kionix KX022-1020 accelerometer
- Add the KX022-1020 accelerometer and AK09911 magnetometer to msm8x26
  Lumia devices

Thanks,
Rayyan

Rayyan Ansari (3):
  dt-bindings: iio: kionix,kxcjk1013: Document KX022-1020
  iio: accel: kxcjk-1013: Add support for KX022-1020
  ARM: dts: qcom: msm8226-microsoft-common: Add inertial sensors

 .../bindings/iio/accel/kionix,kxcjk1013.yaml  |  1 +
 .../qcom/qcom-msm8226-microsoft-common.dtsi   | 26 +++++++++++++++++++
 .../qcom-msm8226-microsoft-moneypenny.dts     |  3 +++
 .../dts/qcom/qcom-msm8926-microsoft-tesla.dts |  3 +++
 drivers/iio/accel/kxcjk-1013.c                |  8 ++++--
 5 files changed, 39 insertions(+), 2 deletions(-)

Comments

Konrad Dybcio July 15, 2024, 8:29 a.m. UTC | #1
On 14.07.2024 7:33 PM, Rayyan Ansari wrote:
> Add nodes for the Asahi Kasei AK09911 magnetometer and the Kionix
> KX022-1020 accelerometer, both of which are connected over i2c2, in the
> common device tree for msm8x26 Lumias.
> 
> Moneypenny (Lumia 630) does not have a magnetometer, and so the node is
> deleted.
> Tesla's (Lumia 830's) magnetometer is currently unknown.
> 
> Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
Krzysztof Kozlowski July 15, 2024, 8:59 a.m. UTC | #2
On 14/07/2024 19:33, Rayyan Ansari wrote:
> Document the KX022-1020 accelerometer, which has the same register
> layout as the KX023-1025 and so can use the same driver.
> 
> Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Jonathan Cameron July 20, 2024, 1:12 p.m. UTC | #3
On Sun, 14 Jul 2024 18:33:02 +0100
Rayyan Ansari <rayyan@ansari.sh> wrote:

> Hi,
> The following patches:
> - Add support for the Kionix KX022-1020 accelerometer
> - Add the KX022-1020 accelerometer and AK09911 magnetometer to msm8x26
>   Lumia devices
Applied patches 1 and 2 to the iio.git tree testing branch.
That will be rebased on rc1, once available, and then be pushed out as
togreg which is the branch that linux-next etc pick up.

Thanks,

Jonathan

> 
> Thanks,
> Rayyan
> 
> Rayyan Ansari (3):
>   dt-bindings: iio: kionix,kxcjk1013: Document KX022-1020
>   iio: accel: kxcjk-1013: Add support for KX022-1020
>   ARM: dts: qcom: msm8226-microsoft-common: Add inertial sensors
> 
>  .../bindings/iio/accel/kionix,kxcjk1013.yaml  |  1 +
>  .../qcom/qcom-msm8226-microsoft-common.dtsi   | 26 +++++++++++++++++++
>  .../qcom-msm8226-microsoft-moneypenny.dts     |  3 +++
>  .../dts/qcom/qcom-msm8926-microsoft-tesla.dts |  3 +++
>  drivers/iio/accel/kxcjk-1013.c                |  8 ++++--
>  5 files changed, 39 insertions(+), 2 deletions(-)
>
Bjorn Andersson Aug. 15, 2024, 8:40 p.m. UTC | #4
On Sun, 14 Jul 2024 18:33:02 +0100, Rayyan Ansari wrote:
> The following patches:
> - Add support for the Kionix KX022-1020 accelerometer
> - Add the KX022-1020 accelerometer and AK09911 magnetometer to msm8x26
>   Lumia devices
> 
> Thanks,
> Rayyan
> 
> [...]

Applied, thanks!

[3/3] ARM: dts: qcom: msm8226-microsoft-common: Add inertial sensors
      commit: 18042ad9dfd01d247407bb0721c6338eb8a9a2ac

Best regards,