Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2668257ybp; Sat, 5 Oct 2019 17:35:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQ+ktio26kgjitpLDxMAxWTdUAk4ItQaxzitjO5W03VqX5w6Tgu626VZ3RLHI9LkXwSKe7 X-Received: by 2002:a17:906:1991:: with SMTP id g17mr17869183ejd.220.1570322159687; Sat, 05 Oct 2019 17:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570322159; cv=none; d=google.com; s=arc-20160816; b=qU11fkcM/96gIoeWplWVpXtCqe7i0si+EjVTWhCfQqoXkb9fGTqj/rIYNXi+v6zMTK c/exvF9skL83ENZigHfq1Mo2r1+T3OnYL19RPD9ngo8Bel+/N5wCPXxbOH1vi4t85NCX 703t0oaFLbPGULMLMOf9KcXJKrWG2RWczOqEOQ/PeT5RL85N4ayhdsOpKuoZgeHTdr5E byooqQdcqbrVjnRucDMseb71oOPbt8ZmUgOtngsn+6unMNo4qVCuZmjWYCjdXzXFGaio uvctJjv+U0QnFhR0oU49hfLDCeWWjrixF4SRLEQ6gnGIA6Hxf/TBH18wdqnZeYL72L9D tGyg== 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=OKVkV/L/8DyA6pnWKFx+OUHg7z4Q3cHmnyyY60d9rPQ=; b=Lsp0nCYcNMvXT/0uYowRKsUkq8bDzXMtExepxyNrXtwVeJnTGqkmOCCALgyN5pECXV iLi6HRs3V6RWVLAQqAZSpu+yyWpq+BM80i7d5nhgCD3zZJ8kh3CGb280DqNWGE5JMrlW M5DLfeyiyMsCDockd++vhw/czl3wDir+nZU1y0GMUMJ6cSmOrfXp5YecQwkThynXnEym EifNy0kN2Wi4D4AJhWNZKdm0kgqa3eQQNBFkqdf0QkNWLx/iozkLWbIf5y66VArzmfNj xTEiAuNN7tU0y7/hSo4vw9oQyE3GUoNjOqbdMVVbTJ8VxFRZVDr+J2NRWXSmbln4ZHaE 6jHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=D6LxZ1Qu; 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 w5si6380919edf.283.2019.10.05.17.35.35; Sat, 05 Oct 2019 17:35:59 -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=D6LxZ1Qu; 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 S1726925AbfJFAcx (ORCPT + 99 others); Sat, 5 Oct 2019 20:32:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:45084 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726863AbfJFAcx (ORCPT ); Sat, 5 Oct 2019 20:32:53 -0400 Received: from dragon (li937-157.members.linode.com [45.56.119.157]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3A0FD222BE; Sun, 6 Oct 2019 00:32:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570321971; bh=yVSCUoI+lseGFR4IYqnIN8StTXuL1oZ1vQrmfXipRHY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=D6LxZ1QuFoDIl516K2GCTZjZv4BnFdsxk8Jr9cmMguCqq9nIc8ryLQiLOhy36x0jN KTPJ1AP5u5xqnbnHmec2+YhpaeZ+PD2x2/BFKC/Q3/sudiUIkJ9IGGUiSuqIVXuoP5 B0gOzu0wn+PcBb+I+UZrNS6/EFatxXtZ3hK81bmo= Date: Sun, 6 Oct 2019 08:32:27 +0800 From: Shawn Guo To: Anson Huang Cc: Pavel Machek , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "catalin.marinas@arm.com" , "will@kernel.org" , "dmitry.torokhov@gmail.com" , Aisheng Dong , "ulf.hansson@linaro.org" , Andy Duan , Peng Fan , Daniel Baluta , Leonard Crestez , "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" , Jacky Bai , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-input@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH V2 1/5] dt-bindings: fsl: scu: add scu power key binding Message-ID: <20191006003225.GD7150@dragon> References: <1567519424-32271-1-git-send-email-Anson.Huang@nxp.com> <20190922161415.GD1999@bug> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Mon, Sep 23, 2019 at 02:34:07AM +0000, Anson Huang wrote: > Hi, Pavel > > > Subject: Re: [PATCH V2 1/5] dt-bindings: fsl: scu: add scu power key binding > > > > 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. > > NOT quite understand your point, could you please provide more details? The property being used in driver, DTS, and DT example in the bindings are all 'linux,keycode' rather than 'linux,keycodes'. Shawn