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=ham 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 7D96BC10DCE for ; Fri, 6 Mar 2020 18:26:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5500E20684 for ; Fri, 6 Mar 2020 18:26:44 +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="f7Sn8oQm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726635AbgCFS0o (ORCPT ); Fri, 6 Mar 2020 13:26:44 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:39500 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbgCFS0n (ORCPT ); Fri, 6 Mar 2020 13:26:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1583519195; 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=w0Sw5r13qZtFbM6wbZ7n32ZvjgsB3yBveQBetF3qtgo=; b=f7Sn8oQmJxS+G3Tn7MO8G0eO/9F+d61byqMREI145B6C9t4+9rTRlfqnwHZXHTPWqZ5JCT P7fAYNt4UgWkR4llf3xoTkoadzCG2r/mjBj4dCPTVxTLAEYP26wqzssEytctC2jEagVGhJ 7K7S/JSi25L63Y+kbmv1+q4MyJOiREo= Date: Fri, 06 Mar 2020 19:26:27 +0100 From: Paul Cercueil Subject: Re: [PATCH v6 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: <1583519187.3.0@crapouillou.net> In-Reply-To: <0cc9510007f85a8d38d176d835d82c9baef132e4.1583515771.git.hns@goldelico.com> References: <0cc9510007f85a8d38d176d835d82c9baef132e4.1583515771.git.hns@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Hi Nikolaus, Le ven., mars 6, 2020 at 18:29, 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 > --- > 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..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; > }; >=20 > + ir: ir-receiver { According to Documentation/devicetree/bindings/media/rc.yaml, the node=20 should be named just "ir". Cheers, -Paul > + 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 =