From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Chauveau Subject: Re: Re: [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox Date: Tue, 09 Feb 2016 11:45:08 +0100 Message-ID: <56B9C334.2070002@gmail.com> References: <1454897859-7601-1-git-send-email-afaerber@suse.de> <1454897859-7601-7-git-send-email-afaerber@suse.de> <56B95827.7060204@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <56B95827.7060204-l3A5Bk7waGM@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: =?windows-1252?Q?Andreas_F=E4rber?= , linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Heiko Stuebner Cc: Mark Rutland , DT , Pawel Moll , Ian Campbell , Catalin Marinas , Will Deacon , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , Kumar Gala , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Le 09/02/2016 04:08, Andreas F=E4rber a =E9crit : > Am 08.02.2016 um 03:17 schrieb Andreas F=E4rber: >> Signed-off-by: Andreas F=E4rber >> --- >> v2: New >> =20 >> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++ >> 1 file changed, 13 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/= arm64/boot/dts/rockchip/rk3368-geekbox.dts >> index e4523a74050f..e84383fd6f10 100644 >> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts >> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts >> @@ -63,6 +63,13 @@ >> #clock-cells =3D <0>; >> }; >> =20 >> + ir: ir-receiver { >> + compatible =3D "gpio-ir-receiver"; >> + gpios =3D <&gpio3 30 GPIO_ACTIVE_LOW>; >> + pinctrl-names =3D "default"; >> + pinctrl-0 =3D <&ir_int>; > status =3D "disabled"; > > Should only be enabled in the new Landingship config. Will fix. > > Andreas Actually there's two IR receivers: - one on the geekbox module (on the bottom side) - and another one on the landingship. Both are connected to the same GPIO pin, so you can keep it enabled in=20 the main geekbox dts. About the pinctrl, same remark as for gpio-keys: there's already=20 external pull-up resistors on this pin, so it should be better to use=20 pcfg_pull_none instead of pcfg_pull_up. Julien > > P.S. See Heiko, two bugs in the new nodes already, glad I have them > separate. :) > >> + }; >> + >> leds: gpio-leds { >> compatible =3D "gpio-leds"; >> =20 > [snip] > -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html