Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp3023565ybj; Mon, 23 Sep 2019 13:24:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlaTKDbZW9IqtVl10BzG1Xj7SXX7crAaj6lHQOBSV9gWxRAEOPiChHp9v6qGV3S6ut8Gcq X-Received: by 2002:a17:907:2042:: with SMTP id pg2mr1446819ejb.97.1569270257763; Mon, 23 Sep 2019 13:24:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569270257; cv=none; d=google.com; s=arc-20160816; b=ei+BoIOMu5Y2BF+D38BqP8Sogc5hJPmug/VoKMjweif5a9ECPjOwQdhQEoUpRY6VHQ eJmPiBHPZ0vZ/yxReFQKkEV+rMFGGWXscadR7TH1gGbWTZ/WWcj/3t9frfkPUyeCDH9A Q5AFEzARVDIs60mu5Qu76Wp/rUSDn7UZ04blhh8hnASeH/mRiIHMmOgRQTq4Vz4PUeu8 oJHsvFh+s8vaUzQxe6Q/vL5yfW7KeCfPZI03Yn2F4gAYDHFlS28HhI3GhIUa/s0vLr1Z Pvopk4GZg6NLmpb2PeSdRnRezpaVQrG9P2qJFwfxYopetbZvE2kSC/hnIVaTFm0RvyDW DE7Q== 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; bh=Dam8mqvu34lxVlWp5j0+dtwF+IDyVAPBk9A+gCtwOLY=; b=hcRemz54MxW7/HUArAMjPnauPpkq/P15QTw157nICljBpEz2tkarjixi5Ouespw6MZ NIBYZHvb5elOCOZ82WHDYex4UFGlZmdXvJJj9bgSFl8+UNWteBYAHC5OSeM2u4lbELBv gZH0k0FtRc/zRmC0MbW4FyiS6QgxsQ8oO0wOjqXK/cUNFvvJ5xpmAC83hyj7GvOpYSxj z94bSeltZJ+F/Hl4zk2qW9483KVTbPFt96pdcM2lUjA6Nc4SxJgTbyQ/BA2m+vs07nF5 cce577Tw2ArCSZtynl1G8wv1xDgWgV7AnzCbqVALBqnMtWcCALSfWPijIlWcEOBT8zDq G47g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ck2si5639675ejb.346.2019.09.23.13.23.54; Mon, 23 Sep 2019 13:24:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387699AbfIVQOY (ORCPT + 99 others); Sun, 22 Sep 2019 12:14:24 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:46787 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387471AbfIVQOY (ORCPT ); Sun, 22 Sep 2019 12:14:24 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 4A95580362; Sun, 22 Sep 2019 18:14:07 +0200 (CEST) Date: Sun, 22 Sep 2019 18:14:15 +0200 From: Pavel Machek To: Anson Huang Cc: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, dmitry.torokhov@gmail.com, aisheng.dong@nxp.com, ulf.hansson@linaro.org, fugang.duan@nxp.com, peng.fan@nxp.com, daniel.baluta@nxp.com, leonard.crestez@nxp.com, mripard@kernel.org, olof@lixom.net, arnd@arndb.de, jagan@amarulasolutions.com, bjorn.andersson@linaro.org, dinguyen@kernel.org, marcin.juszkiewicz@linaro.org, stefan@agner.ch, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, yuehaibing@huawei.com, tglx@linutronix.de, ronald@innovation.ch, m.felsch@pengutronix.de, ping.bai@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH V2 1/5] dt-bindings: fsl: scu: add scu power key binding Message-ID: <20190922161415.GD1999@bug> References: <1567519424-32271-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1567519424-32271-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2019-09-03 10:03:40, Anson Huang wrote: > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as > system controller, the system controller is in charge of system > power, clock and power key event etc. management, Linux kernel > has to communicate with system controller via MU (message unit) > IPC to get power key event, add binding doc for i.MX system > controller power key driver. > > Signed-off-by: Anson Huang > --- > Changes since V1: > - remove "wakeup-source" property, as it is NOT needed for SCU interrupt; > - remove "status" in example. > --- > .../devicetree/bindings/arm/freescale/fsl,scu.txt | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > index c149fad..f93e2e4 100644 > --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > @@ -157,6 +157,15 @@ Required properties: > Optional properties: > - timeout-sec: contains the watchdog timeout in seconds. > > +Power key bindings based on SCU Message Protocol > +------------------------------------------------------------ > + > +Required properties: > +- compatible: should be: > + "fsl,imx8qxp-sc-pwrkey" > + followed by "fsl,imx-sc-pwrkey"; > +- linux,keycodes: See Documentation/devicetree/bindings/input/keys.txt Note you have keycode_s_ here, but keycode in the example and in the dts patch. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html