All of lore.kernel.org
 help / color / mirror / Atom feed
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 v6 1/3] MIPS: DTS: CI20: add DT node for IR sensor
Date: Fri, 06 Mar 2020 19:26:27 +0100	[thread overview]
Message-ID: <1583519187.3.0@crapouillou.net> (raw)
In-Reply-To: <0cc9510007f85a8d38d176d835d82c9baef132e4.1583515771.git.hns@goldelico.com>

Hi Nikolaus,


Le ven., mars 6, 2020 at 18:29, 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>
> ---
>  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..e6ae08c979ea 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-receiver {

According to Documentation/devicetree/bindings/media/rc.yaml, the node 
should be named just "ir".

Cheers,
-Paul

> +		compatible = "gpio-ir-receiver";
> +		gpios = <&gpe 3 GPIO_ACTIVE_LOW>;
> +	};
> +
>  	wlan0_power: fixedregulator@1 {
>  		compatible = "regulator-fixed";
>  		regulator-name = "wlan0_power";
> --
> 2.23.0
> 



  reply	other threads:[~2020-03-06 18:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06 17:29 [PATCH v6 0/3] MIPS: Fixes and improvements for CI20 board (JZ4780) H. Nikolaus Schaller
2020-03-06 17:29 ` [PATCH v6 1/3] MIPS: DTS: CI20: add DT node for IR sensor H. Nikolaus Schaller
2020-03-06 18:26   ` Paul Cercueil [this message]
2020-03-06 17:29 ` [PATCH v6 2/3] MIPS: DTS: CI20: multiple DTS improvements H. Nikolaus Schaller
2020-03-06 17:29 ` [PATCH v6 3/3] MIPS: CI20: defconfig: multiple improvements H. Nikolaus Schaller

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=1583519187.3.0@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.