From: Paul Cercueil <paul@crapouillou.net>
To: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Kees Cook <keescook@chromium.org>,
"Eric W. Biederman" <ebiederm@xmission.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
devicetree@vger.kernel.org, linux-mips@vger.kernel.org,
linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org,
Alex Smith <alex.smith@imgtec.com>
Subject: Re: [PATCH v7 1/3] MIPS: DTS: CI20: add DT node for IR sensor
Date: Fri, 06 Mar 2020 23:09:32 +0100 [thread overview]
Message-ID: <1583532572.3.1@crapouillou.net> (raw)
In-Reply-To: <4bc5f062ca9d51457dec245cf8e11850c67207a9.1583528793.git.hns@goldelico.com>
Hi Nikolaus,
Le ven., mars 6, 2020 at 22:06, H. Nikolaus Schaller
<hns@goldelico.com> a écrit :
> From: Alex Smith <alex.smith@imgtec.com>
>
> The infrared sensor on the CI20 board is connected to a GPIO and can
> be operated by using the gpio-ir-recv driver. Add a DT node for the
> sensor to allow that driver to be used.
>
> Signed-off-by: Alex Smith <alex.smith@imgtec.com>
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Cheers,
-Paul
> ---
> arch/mips/boot/dts/ingenic/ci20.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/mips/boot/dts/ingenic/ci20.dts
> b/arch/mips/boot/dts/ingenic/ci20.dts
> index c340f947baa0..fc4e64200c3d 100644
> --- a/arch/mips/boot/dts/ingenic/ci20.dts
> +++ b/arch/mips/boot/dts/ingenic/ci20.dts
> @@ -62,6 +62,11 @@
> enable-active-high;
> };
>
> + ir: ir {
> + compatible = "gpio-ir-receiver";
> + gpios = <&gpe 3 GPIO_ACTIVE_LOW>;
> + };
> +
> wlan0_power: fixedregulator@1 {
> compatible = "regulator-fixed";
> regulator-name = "wlan0_power";
> --
> 2.23.0
>
next prev parent reply other threads:[~2020-03-06 22:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-06 21:06 [PATCH v7 0/3] MIPS: Fixes and improvements for CI20 board (JZ4780) H. Nikolaus Schaller
2020-03-06 21:06 ` [PATCH v7 1/3] MIPS: DTS: CI20: add DT node for IR sensor H. Nikolaus Schaller
2020-03-06 22:09 ` Paul Cercueil [this message]
2020-03-06 21:06 ` [PATCH v7 2/3] MIPS: DTS: CI20: multiple DTS improvements H. Nikolaus Schaller
2020-03-06 21:06 ` [PATCH v7 3/3] MIPS: CI20: defconfig: multiple improvements H. Nikolaus Schaller
2020-03-23 14:46 ` [PATCH v7 0/3] MIPS: Fixes and improvements for CI20 board (JZ4780) Thomas Bogendoerfer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1583532572.3.1@crapouillou.net \
--to=paul@crapouillou.net \
--cc=alex.smith@imgtec.com \
--cc=devicetree@vger.kernel.org \
--cc=ebiederm@xmission.com \
--cc=geert+renesas@glider.be \
--cc=hns@goldelico.com \
--cc=keescook@chromium.org \
--cc=letux-kernel@openphoenux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=miquel.raynal@bootlin.com \
--cc=robh+dt@kernel.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).