[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdVidg7fQkq2gFE+cvxkvBOXYRRvj-yCGmsJfjANBny=4w@mail.gmail.com>
Date: Wed, 26 Jan 2022 16:04:53 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Nikita Yushchenko <nikita.yoush@...entembedded.com>
Cc: Magnus Damm <magnus.damm@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Linux-Renesas <linux-renesas-soc@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arm64: dts: renesas: ulcb-kf: add 9-asix sensor device
Hi Nikita,
On Wed, Jan 12, 2022 at 9:52 PM Nikita Yushchenko
<nikita.yoush@...entembedded.com> wrote:
> This adds nodes for lsm9ds0 sensor installed on the KF board.
>
> With this patch, the sensor data becomes available over iio sysfs
> interface.
>
> Interrupt definition is not added yet, because the interrupt lines of
> lsm9ds0 are pulled to VCC on the board, which implies need for
> active-low configuration. But st_sensors drivers currently can't work
> with active-low interrupts on this chip.
>
> Signed-off-by: Nikita Yushchenko <nikita.yoush@...entembedded.com>
Forgot something...
> --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> @@ -66,6 +66,13 @@ hdmi_3v3: regulator-hdmi-3v3 {
> regulator-max-microvolt = <3300000>;
> };
>
> + accel_3v3: regulator-acc-3v3 {
Please move up, to preserve sort order.
> + compatible = "regulator-fixed";
> + regulator-name = "accel-3v3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + };
> +
> hdmi1-out {
> compatible = "hdmi-connector";
> type = "a";
> @@ -208,6 +215,22 @@ pcm3168a_endpoint_c: endpoint {
> };
> };
> };
> +
> + lsm9ds0_acc_mag@1d {
Please move up, to preserve sort order.
> + compatible = "st,lsm9ds0-imu";
> + reg = <0x1d>;
> +
> + vdd-supply = <&accel_3v3>;
> + vddio-supply = <&accel_3v3>;
> + };
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists