Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp613200ybe; Mon, 2 Sep 2019 06:42:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMK0/gc5+MtZNlLJWn4aowvcY4XEzVcHBIk01jXvNhQv3NWC5MTZMQjxLm+Vf3PUbHxu1t X-Received: by 2002:a17:902:6a82:: with SMTP id n2mr28410409plk.53.1567431771301; Mon, 02 Sep 2019 06:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567431771; cv=none; d=google.com; s=arc-20160816; b=yJwbBMBaFsUMWBIoFx1I1bMOQBchoZgQE4PIjqvvcRaEM6jmDFTYvNbiPsdZU/QYbQ T/8eigoQIiZzw1SSFTFMX44aP2INDDEsn341aaP93otcrinHz0oK9AB3X4aD5CwFx1R/ YQ59rnBGKyTKfBkweI5i8uIYWPvlXoSphPUDTyEXNLXPIlb5yN0qdnFyJQQaup/Ftomt h2/89Hu/sicO0cVFlXgZs3sYS6yB3IU+Nr+51V849aAyuvhxIUMnq2UP8GYhunKXLFef CJJMcfhwioWGPlyHhL1vp1gkPjjiJo9QU9WGGxxkZ3cJeFYjpV8Xx8JsdR0ptU5SMetj KmYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=M0OACsjJM/vFX4zZJBUZMzKJ/8JnqkMV5QQXF6yqIpw=; b=tB+VS9/AWLPmGChYZwdTps4mJcWDg94zV0j6qpNGmhgvBfed0iTlY2Ddo5NRdGB1Jk HulqMGRoouYqtJvh4Nv3B36bM+fpHvdNs1Gese0vsev1vrA6wGXErYJj4LOXyWQkKPJV ELPJ7mugouWZR1bU6Op+ZhALWTmT5IX3x4DAXEJZfXP32+vIyz55opiCg/dfthv/AU4z mhm6m6wy2Ju9PC+yT88HI9DbyyQ6ml7p0hO1tmJfy9Mohq6Ud2n2F4GpmAJzwtcYHjUy bOoO4hNLIrBArW2uWNpA+B9kppDwf6r9KOK9sgrvY1Aahaj9If1yJ/BaZKne7hGDC+Zv kBRQ== 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; dmarc=fail (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 c11si11546349pga.118.2019.09.02.06.42.35; Mon, 02 Sep 2019 06:42:51 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731339AbfIBNjV (ORCPT + 99 others); Mon, 2 Sep 2019 09:39:21 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:52821 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731290AbfIBNjS (ORCPT ); Mon, 2 Sep 2019 09:39:18 -0400 Received: by mail-wm1-f67.google.com with SMTP id t17so14649036wmi.2; Mon, 02 Sep 2019 06:39:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=M0OACsjJM/vFX4zZJBUZMzKJ/8JnqkMV5QQXF6yqIpw=; b=GvJr9+ogweiL3yV6clbltN0YUs/nKQsG+nCwo0cY9aHWWqy2NrynnKtTZJ3l2CsE+4 O/LnFU6w76e0BxMVnKQBHTupQ6NH58zaPtHw1FfRi+Tz8lEirJP2a9TmVOwGP74aH2vD zyRpRO0FP2N8smLdrJiMIw/WOTrKpWn9bUxd3EYM2qZIXkdVXeK/bu+qtTPwmUlvV6Tk q1l/TTVKsN8nghyVbPvnhgytZmE1GvU/5qKihPckS/ExalmybGE/zkViK4V1vMCyKjFM GoFilllwlv16pAbyC0GkIOM3YBnraZGG2XfPNroWexhS+RNcAlyiPV8ILV/wmfcLQL7P +b0g== X-Gm-Message-State: APjAAAVGVSFLJoExbysWrR5YzSdzHjaNQVyVPTew09IURR9R4ABPcdXs tCYU1m0SN18TIimqyN8UXg== X-Received: by 2002:a1c:3d03:: with SMTP id k3mr37181683wma.138.1567431555922; Mon, 02 Sep 2019 06:39:15 -0700 (PDT) Received: from localhost ([212.187.182.166]) by smtp.gmail.com with ESMTPSA id s19sm28771567wrb.94.2019.09.02.06.39.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 06:39:15 -0700 (PDT) Date: Mon, 02 Sep 2019 14:39:14 +0100 From: Rob Herring To: Anson Huang Cc: 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, olof@lixom.net, mripard@kernel.org, arnd@arndb.de, jagan@amarulasolutions.com, bjorn.andersson@linaro.org, dinguyen@kernel.org, marcin.juszkiewicz@linaro.org, hsweeten@visionengravers.com, tglx@linutronix.de, gregkh@linuxfoundation.org, stefan@agner.ch, ronald@innovation.ch, ping.bai@nxp.com, m.felsch@pengutronix.de, andriy.shevchenko@linux.intel.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 1/5] dt-bindings: fsl: scu: add scu power key binding Message-ID: <20190902043521.GA14143@bogus> References: <1567198429-27886-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: <1567198429-27886-1-git-send-email-Anson.Huang@nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 30, 2019 at 04:53:45PM -0400, 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 > --- > .../devicetree/bindings/arm/freescale/fsl,scu.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > index c149fad..001d0b7 100644 > --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > @@ -157,6 +157,17 @@ 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 > +Optional Properties: > +- wakeup-source: See Documentation/devicetree/bindings/power/wakeup-source.txt > + > Example (imx8qxp): > ------------- > aliases { > @@ -220,6 +231,13 @@ firmware { > compatible = "fsl,imx8qxp-sc-rtc"; > }; > > + scu_pwrkey: scu-pwrkey { > + compatible = "fsl,imx8qxp-sc-pwrkey", "fsl,imx-sc-pwrkey"; > + linux,keycode = ; > + wakeup-source; wakeup-source implies an interrupt property. > + status = "disabled"; Don't should status in examples. > + }; > + > watchdog { > compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt"; > timeout-sec = <60>; > -- > 2.7.4 >