From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68881C10DCE for ; Fri, 6 Mar 2020 22:09:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E2FD206CC for ; Fri, 6 Mar 2020 22:09:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="qypNlRm8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726251AbgCFWJn (ORCPT ); Fri, 6 Mar 2020 17:09:43 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:58044 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgCFWJn (ORCPT ); Fri, 6 Mar 2020 17:09:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1583532580; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MMmOMthfmaTLoy5x8fyf5EdtfTA8yuMaFLOQ15FDDY4=; b=qypNlRm8fMDA6fFYr+CClsn3AGvFF7If9KBKm4r9D3r2J+PrrqN3VzVCBR2Z9HtO77lyIy LD4BMO9Wulx8l6SQER3zfL/mtcLeYsc+/UzIn/mui4G4s7zrMVA9EIZzBsOIVRwPvjnM/M ouZXY0G/cRIeALX1vZJoG6DgOor5OH0= Date: Fri, 06 Mar 2020 23:09:32 +0100 From: Paul Cercueil Subject: Re: [PATCH v7 1/3] MIPS: DTS: CI20: add DT node for IR sensor To: "H. Nikolaus Schaller" Cc: Rob Herring , Mark Rutland , Thomas Bogendoerfer , Geert Uytterhoeven , Kees Cook , "Eric W. Biederman" , Miquel Raynal , devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, Alex Smith Message-Id: <1583532572.3.1@crapouillou.net> In-Reply-To: <4bc5f062ca9d51457dec245cf8e11850c67207a9.1583528793.git.hns@goldelico.com> References: <4bc5f062ca9d51457dec245cf8e11850c67207a9.1583528793.git.hns@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Nikolaus, Le ven., mars 6, 2020 at 22:06, H. Nikolaus Schaller=20 a =E9crit : > From: Alex Smith >=20 > 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. >=20 > Signed-off-by: Alex Smith > Signed-off-by: H. Nikolaus Schaller Reviewed-by: Paul Cercueil Cheers, -Paul > --- > arch/mips/boot/dts/ingenic/ci20.dts | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/arch/mips/boot/dts/ingenic/ci20.dts=20 > 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; > }; >=20 > + ir: ir { > + compatible =3D "gpio-ir-receiver"; > + gpios =3D <&gpe 3 GPIO_ACTIVE_LOW>; > + }; > + > wlan0_power: fixedregulator@1 { > compatible =3D "regulator-fixed"; > regulator-name =3D "wlan0_power"; > -- > 2.23.0 >=20 =