Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp2756220ybj; Mon, 23 Sep 2019 08:55:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkzZOTpHQOEr/B+jAxJn1qsJgX0KJGnTxfp+yzj8QXwbpWWxtQmBDh8qZKtEfmkYkM/HS5 X-Received: by 2002:a17:906:1248:: with SMTP id u8mr538520eja.172.1569254134011; Mon, 23 Sep 2019 08:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569254134; cv=none; d=google.com; s=arc-20160816; b=IvMg9Lt9SQZ8GuIFZT1Wqxb6oqRNLQF8oboijP5A9tvjYSMpKXBDw8tZcZ+PzDQ3rj UHJa+AhD2IRpXJalFU9caTS5jYzdgUvbS+7lYlzMxjUZhSj/8up3zr+f/Nd7hLB4uHuC fEhaXtmH9Uy5MvKe7h+bEJd76ug6pieQSYynzp4w1ICEZhPhQSCXsqXcg4kpstOZD/+V 9QlXdI9IW5cfwbSeQSt2BhzyCpD6qTDe23nxHR8KGco4abVTFFLTXB0xM0jN1Z3qiqoc xQTUdnYsITCsI/hfEipPljV7El+F9MQkWFAWzgmn0WNBR9kEl+R3Siz2WiuIDvee8txw ruPg== 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=PMUFLmNKxjLYcLqBpWmQqSDZfbev+f/wjMxbPesrJD8=; b=oybyVApIiHOFBFOGoeWeH04KUl8DUboIKs7G3tEA2sdakdlugdpY3dFZF/6g+aeEgM sjQ8AZngoGbyYa2vRZYzkpyds5Y/fK6l4ook9hkkxR1WFfSwpCsRMADnowgs3FhefU9j RzlJ6sfj4ddY78F1vjZQppBf/MvGZfffttREfJhQJ+zQPZ2RB5fgB5V0a2b9wyyEHlhG l7RZBzYvAisa8qApcyrK+AvJ9v8yBxP93vvIvrDGXlO7pa+pp/hLAS1o7U2fV2O4Y7jM iYMoiuGyyFf1XEQ2tl17dZSdjfB9U/4B1tlF2gGxVu3+y95DtFFuvtGnYqGuxB3IqBcI tumg== 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 gh3si5115263ejb.306.2019.09.23.08.55.10; Mon, 23 Sep 2019 08:55:33 -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 S2387650AbfIVQN4 (ORCPT + 99 others); Sun, 22 Sep 2019 12:13:56 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:46614 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387471AbfIVQN4 (ORCPT ); Sun, 22 Sep 2019 12:13:56 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 98F198031F; Sun, 22 Sep 2019 18:13:39 +0200 (CEST) Date: Sun, 22 Sep 2019 18:13:47 +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: <20190922161347.GB1999@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 Hi! > 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 > +++ 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 Actually there's no reason for having "linux,keycodes" property when it is always a power button. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html