Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3756936ybe; Mon, 16 Sep 2019 00:12:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxY5KtfB4yv+aLpBPrBVMEp+l3uvNeLzErw/HLw2nLhMPyvZ0lOTVpTPWDijjPSKvhdW/YJ X-Received: by 2002:a50:c3c7:: with SMTP id i7mr5266934edf.138.1568617940493; Mon, 16 Sep 2019 00:12:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568617940; cv=none; d=google.com; s=arc-20160816; b=TvP3XVZPkcSaYMZ37aGxxZi1nv82J90fq4gVXhLfLEI6lvopJTGQfSiKHScugL7FaU vi+8QLEkwhBjjZnlKZ6huzMo3C79ged2Tb2J+bxMD/UsYSQujTuxADV6RJ8ymhEH+9Yc nrWtjkstF70GvbN+Yk0P85ER1zlpcJPowBUvpfzmgzLPdV/vG6bsz9jMI5dsGrFvVPxL 3KRVsgs1cfK3PMHhJE/MSOr+oIqMay4A7R1FyJgwsW1Gyt/tkXbg5lgZFVRqlJJOvt1U Pkb3xvspx++rnli2L0VE8Qigw3L5UzL+QU9hxmQ8JIWFOPI3okdYiIxRQ2Z1blMvXOFO 7FvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=/pWBM/AxS1qcNaLdy7iHnk6PkVbURA5ljB1/B0cHBJg=; b=odeiKJOVn9PNq/oYh+f64c7q/soHmayZCb603DOEndLByKxunT0NsJbtfTtMfkbPny tIrqp+LNqmYsgQEmQ1jFetFJJilRQUtYE3erio8agoCXkGrx8v/WhS/sSkMfsygYZ3JZ y6GIgZZp1qovixRN+vFztVY9zL/qEIFcAxzJkYUVntSP/aItIjldz55bZO8MZhKzAeUp JsHx2ihcyYwTZJHJHKoVFDCY6Xu3A3hhRHDNzKcDTTSwKO9FWDJVYfG5DE2RZe8EKpnD 4hdvsdikBIn7h2QlwJgVlnrAEDp54a96MAD482gbZeBMhvycnqajuKlSg+MXjbykfpFp OxCA== 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w25si21080673eds.357.2019.09.16.00.11.57; Mon, 16 Sep 2019 00:12:20 -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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727801AbfIPCya (ORCPT + 99 others); Sun, 15 Sep 2019 22:54:30 -0400 Received: from inva020.nxp.com ([92.121.34.13]:49648 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727510AbfIPCya (ORCPT ); Sun, 15 Sep 2019 22:54:30 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id ADBBB1A04FF; Mon, 16 Sep 2019 04:54:27 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 5ACFC1A01E2; Mon, 16 Sep 2019 04:54:09 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id B8AA5402B7; Mon, 16 Sep 2019 10:53:54 +0800 (SGT) From: Anson Huang To: 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, leonard.crestez@nxp.com, daniel.baluta@nxp.com, olof@lixom.net, mripard@kernel.org, arnd@arndb.de, jagan@amarulasolutions.com, dinguyen@kernel.org, bjorn.andersson@linaro.org, marcin.juszkiewicz@linaro.org, andriy.shevchenko@linux.intel.com, yuehaibing@huawei.com, cw00.choi@samsung.com, enric.balletbo@collabora.com, m.felsch@pengutronix.de, ping.bai@nxp.com, ronald@innovation.ch, stefan@agner.ch, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V4 1/5] dt-bindings: fsl: scu: add scu key binding Date: Mon, 16 Sep 2019 10:52:49 +0800 Message-Id: <1568602373-14164-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 scu key event etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get scu key event, add binding doc for i.MX system controller key driver. Signed-off-by: Anson Huang --- No changes. --- .../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..5eab7d0 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. +SCU key bindings based on SCU Message Protocol +------------------------------------------------------------ + +Required properties: +- compatible: should be: + "fsl,imx8qxp-sc-key" + followed by "fsl,imx-sc-key"; +- linux,keycodes: See Documentation/devicetree/bindings/input/keys.txt + Example (imx8qxp): ------------- aliases { @@ -220,6 +229,11 @@ firmware { compatible = "fsl,imx8qxp-sc-rtc"; }; + scu_key: scu-key { + compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key"; + linux,keycode = ; + }; + watchdog { compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt"; timeout-sec = <60>; -- 2.7.4