Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3331735ybg; Mon, 28 Oct 2019 11:08:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLAdisbkIPIo1+YzN2oKi6NZJzamz9+PQbpNOavLU5+sdr5q60zegTTneSt7DYsoHBGgNm X-Received: by 2002:a17:906:4bd7:: with SMTP id x23mr4197956ejv.320.1572286117789; Mon, 28 Oct 2019 11:08:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572286117; cv=none; d=google.com; s=arc-20160816; b=eYg38EkjYXSwZMI0B0GE1A5tsGJt3EdWEHWDpNr1Ol3C2vbeowGsWW0PNzgWpPEwGo om/skAjGMFqdc3YZgaamVmQlXkfl1RWGbsf0s632hFDxgGaCIhA25/c+ftB9ee5EWmcZ 1l8wStCBKmwrSzOeh0fopsuTziDyk32+4GNzbfrLKqTy5482N5vuvhBC0mmGEf5I91TK 1zu5cFHpJ/ETXqzpuhWN6e4r6By2gS/SMKTUPfzZr7HCtRYP5a0yeRkjmUXJYgHiRoM/ 6BrjTQEcqB/rO2SpbP8CwVOXhQ7y4pKRhoYyfU+1ul4qkRR86ww1aNzuoDIwQ9cZQvlW qqyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fRA+25V3IoqJx20QQTIjMUKCnotoo2JWDg29Xkiy0Kk=; b=Ved1Q7EvXISJBzCCYjagoAlkHNgPeTa3SnDkOZBwELBUR8oTkFmaPFsDWRKdOLnTWb DdP3jnz1S3GWV50WMfQlnGC5ADirVWmKp73cGlXMFvqTLXDB1qmTckhL3jOh1JYK2yLT JJlPqRjjhOsG95aaaGT482P+YYcf3Ar2DItNzJKblSHpBgs+wn2eR918DNGAmD2jcmoC 6j5dXGejwLv0CfYAgLhkL1WKvQ70i1z1ng/E2sNLZ1YLcaSrhUxwWtrRqd/L4hZaJW+k XOq/+OkbtrZQBcTpUcZzZHcL9YsokJKouHx3AFu8yB+YGu+2pyKjcL25F64pTHrHSRtv IiZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Gx3AXM/i"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f29si6770184ejj.110.2019.10.28.11.08.14; Mon, 28 Oct 2019 11:08:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Gx3AXM/i"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733086AbfJ1H5E (ORCPT + 99 others); Mon, 28 Oct 2019 03:57:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:43886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733079AbfJ1H5D (ORCPT ); Mon, 28 Oct 2019 03:57:03 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0A96620650; Mon, 28 Oct 2019 07:56:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572249423; bh=7WSAwIvIMmCnPFbnYVFD8qYwityLxzs0vjC/ubdcMoA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Gx3AXM/ir5pciLBeAaR22OBYiMfLES8rhG0Iv3VHtB96zQoTXZS3w1aCpbsvSN8e5 ky/KDRl2xKeD+GUeARJYhc5rbRRRlQqhTDfskXucyXRD/4nBjXhB1w1ETnyBRYz8XK w+YvPKXqQnWo2HIIsMdnRQ2zoAYX1HEbk5uxsoYc= Date: Mon, 28 Oct 2019 15:56:40 +0800 From: Shawn Guo To: Rogerio Pimentel da Silva Cc: Rob Herring , Mark Rutland , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , Carlo Caione , Abel Vesa , Anson Huang , Daniel Baluta , Baruch Siach , Andrey Smirnov , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: imx8mq-evk: Add remote control Message-ID: <20191028075638.GS16985@dragon> References: <20191022192038.30094-1-rpimentel.silva@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191022192038.30094-1-rpimentel.silva@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 22, 2019 at 04:20:34PM -0300, Rogerio Pimentel da Silva wrote: > Add remote control to i.MX8M EVK device tree. > > The rc protocol must be selected by writing to: > /sys/devices/platform/ir-receiver/rc/rc0/protocols > > On my tests, I used "nec" rc protocol: > echo nec > protocols > > Tested using evetest: > evtest /dev/input/event0 > > Output log for each key pressed: > Event: > time 1568122608.267845, -------------- SYN_REPORT ------------ > Event: > time 1568122610.503835, type 4 (EV_MSC), code 4 (MSC_SCAN), value 440 > > Signed-off-by: Rogerio Pimentel da Silva Applied, thanks.