From patchwork Mon Aug 20 16:08:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10570535 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 29EC1112E for ; Mon, 20 Aug 2018 16:12:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AFEF296F2 for ; Mon, 20 Aug 2018 16:12:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EE0029701; Mon, 20 Aug 2018 16:12:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5418C296F2 for ; Mon, 20 Aug 2018 16:12:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726547AbeHTT2Q (ORCPT ); Mon, 20 Aug 2018 15:28:16 -0400 Received: from mail-eopbgr80041.outbound.protection.outlook.com ([40.107.8.41]:47378 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726229AbeHTT2P (ORCPT ); Mon, 20 Aug 2018 15:28:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z5uvCLWkvrJEX87RBTYIX/wiJXoA6DsrVG4hwYygs2k=; b=bN9hLw9NmXCIIof78gS27X8+t0QjMG7PLgwME0ASQ5oEyHrmeq18sOZZuUhrq0jH+5lb27p/84Jm2hvpRoLSiwuKQOE1N+OwdTlBjSCNtbTBoDP20pM3VWufLtGWtn5bnJjxG9h6PV6kjVafgpLj8+YWTg8oA03lIvwhckZMq9o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; Received: from b29396-OptiPlex-7040.ap.freescale.net (119.31.174.66) by AM6PR04MB4215.eurprd04.prod.outlook.com (2603:10a6:209:4f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1059.20; Mon, 20 Aug 2018 16:11:50 +0000 From: Dong Aisheng To: linux-arm-kernel@lists.infradead.org Cc: dongas86@gmail.com, kernel@pengutronix.de, shawnguo@kernel.org, fabio.estevam@nxp.com, linux-imx@nxp.com, Dong Aisheng , Rob Herring , Mark Rutland , Jassi Brar , Linus Walleij , Stephen Boyd , "Rafael J. Wysocki" , Ulf Hansson , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH V5 1/5] dt-bindings: arm: fsl: add scu binding doc Date: Tue, 21 Aug 2018 00:08:21 +0800 Message-Id: <1534781305-4770-2-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534781305-4770-1-git-send-email-aisheng.dong@nxp.com> References: <1534781305-4770-1-git-send-email-aisheng.dong@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0PR04CA0001.apcprd04.prod.outlook.com (2603:1096:203:36::13) To AM6PR04MB4215.eurprd04.prod.outlook.com (2603:10a6:209:4f::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 693f0040-afc5-438b-9a9b-08d606b7a63b X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR04MB4215; X-Microsoft-Exchange-Diagnostics: 1;AM6PR04MB4215;3:bSIlaLB5anv2lxlBF3mcdSw/PdF3VebYOO8zLupie+qdToa4tyD7HPiubCzHai/3SUXICguTj2DEwKLP3hjBOk2tej2yeN8LGuPoJNiMgSBdfdOUKbb4BVDmltZy9BchJDMZv3HwNmsMEtPDnue/D399hXGa3QfbV+Mh5lLriFGrhmY+uscyjmNo3ON0RUMuO2y4ypYcPqlN217xrHDBb1DE16VuYnTUdZfp0RLcqJZWnxiBRcigxbborZaSxaCz;25:ecobzcsz+1E6LWw15vQqne9adccQs8nDSDIh0HRW1HNe5/GiM7jxK0pY69N5Pf+aPXomAo8BqsTjMBEGQG9G/lxw1CDvk7po/e772nKleth7oYSKvg1YRrgC6lt4dPhZxvLHv9E86NSFYPBC3+JRTdVQsclBymePXw58hpK884ZfNOwUpgJYhCoGhGwPbwtMkXOgfJywt4w62AbjM8Wd4ZRAKh2rCtNQltY8rfDUaIdqvxHNJQ+PCDfedjEmyKp3ZK8n32N01kZg3XI6sGyb/pMLMTFJHUvr+uXGItLayKI0w1RnumtYQFGkFb5XIebqzUnUZARJpS+uyrCH/klQUg==;31:wvP0YcA0X2tMHSEQTtEOWLcMg9d1of5oySFZ/xHeVd5fXl3h0ODYnmWyhMACH47UcvQgvFM3FO6SInr2VW20Ubqts7ZHRvRHCoEn/2jmvQCJdp2LbJfuDHqEfBxQqUhN2GL7mZuSlUnYRt7Jv1Fx38JZP0nk4Z0iyhqUw/Fx95q+xfOogH5BdWDm6r4117sGCgFdH87/mY4FhW2VvPlZdt7eDG7TNxti8Ui3VqP7J7Q= X-MS-TrafficTypeDiagnostic: AM6PR04MB4215: X-Microsoft-Exchange-Diagnostics: 1;AM6PR04MB4215;20:FHTToSM/f0kthyC4qif9USEz5KWph5AGOOKsZ90TdlXoIRnaZxSA7Kw0yXOcEjVyEaPoNjbYTmNqyWMQJutrwwdBIoVoFGW2doWxr4R7z3jvBXnrvp8yazNmYEpnwkvQJiQjgcHXyYHR97oOTgxRbuBiXJh41DV/1TgEDdcPhdNbYTNzmhBxQQoH+5IjLNOodaqacnk/9G6zO3uan7oLB2CdP/CFxlxUfgdk4N9NJQKqOUw6j8kUF9A38hofW5SbscpDOILmgjC2GEoxHkVNSfJ1e46zzg8JZ29Ooeiq3hf7jZn9kV1IKvkZfTHHISyM7N+lBYWvK4G3tbrK1NMjrabqD5KuuabvMqgDc01zFlbfzo7j/aAYHUFsmN7pkLVStAm/hzYmodPHKgqFsPGjNYrsV3KV8MDVsm/iT8rZE4rcFgolcyYH/kIn5kDMj0u0Hu/77x/JDT6PJ92wQx3KmhotTbvVnXFy4Wp7L4d21vIPq26MoUq+Or0zAMFQsGgQ;4:r8UWOp/A4UJaBWyhBxqo4jf1DYs4FmdpVpvZ0JVWC5ag3WZKcrosXd50ydLZRnKVgDpkGDuvyS3QaaRxgSc6TdhZnQCGdqz67SDhaqcm2RJ/GF0zqZk8OtgQXGJVmxwNh7WLHQmmJWOQzOxfkovBZRMz5cbUtqlOPvI4GPodOTboia5d2AAEKwv+bsuTDkcDKzRi5ruqutC9Y2/f2hhWDVeu8HKiurJTqPBkdR/DqqOjBSjCklZnGiePzJ8aLu5matHLBw07ujGv48HxmzPZ7idbZo8g/m5v6SK1FjK0DfFIhWYN+rjqjF5CGcRWOYWKFuzWj5t995D49fkleeVU6JAfWCfleGc4QTRkBlAsgjSZIPrvV0ahGergg4CpON03smNZRzWJVw7ng+ZT+WzpbWYQJLNH5GWGdnGoqG 6pmdY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(9452136761055)(185117386973197)(85827821059158); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(3231311)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201708071742011)(7699016);SRVR:AM6PR04MB4215;BCL:0;PCL:0;RULEID:;SRVR:AM6PR04MB4215; X-Forefront-PRVS: 0770F75EA9 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(366004)(136003)(346002)(39860400002)(396003)(376002)(199004)(189003)(476003)(6512007)(956004)(6506007)(2616005)(3846002)(486006)(6116002)(81166006)(66066001)(81156014)(6486002)(8676002)(47776003)(14444005)(53936002)(16526019)(478600001)(186003)(386003)(5660300001)(11346002)(446003)(68736007)(7416002)(26005)(8936002)(36756003)(50226002)(97736004)(39060400002)(25786009)(52116002)(2906002)(51416003)(76176011)(6916009)(16586007)(48376002)(2351001)(2361001)(7736002)(86362001)(305945005)(105586002)(4326008)(316002)(6666003)(54906003)(106356001)(575784001)(50466002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4215;H:b29396-OptiPlex-7040.ap.freescale.net;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;AM6PR04MB4215;23:e+qGhvg+OJpUj5DLs2wHOkt8QKFX3OjzxWmZyiHph9dKUtTa9TNdOp8Q1t7r+2HzP57tpqCtEg5F4g6VYkROcJU9KY62q1Jz9jsgo6BuOH2UTk7wPIBW99jfqv+WpzOeHXzQj+4zeoqYNlQq7U4fSSAcplrc2PEC+0abwm/dHg2TRJhCh6vQYqiAoMJQL0wSni7Rd/megDbaefuXJ/A+sW1mtHRXQdX9IZ2pugoHZlveIu+ym1bc2nsPz//5LQ8C8wbpvOxSdg4s+1tKrI11OlytgKDik8eS7PCmWVL/r4B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gHRvOGJD34EHM5t3XBHRfiZ5xCgbPKMEuM0lfE+SRPg3SjqPqOL8QGKDo02UrAMNPavRPF316HCJ8R7kaKYdSzWRcRE5EZsYUd0XpDAS1aNz9jLoW+iUnaqqtuguDVmLIIjdnODXeFjWx3B9xHKpXzxjs5e/XVVAAQETXomFA8faB/Z+JtazP5CfIHMnFJo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Aug 2018 16:11:50.7283 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 693f0040-afc5-438b-9a9b-08d606b7a63b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4215 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The System Controller Firmware (SCFW) is a low-level system function which runs on a dedicated Cortex-M core to provide power, clock, and resource management. It exists on some i.MX8 processors. e.g. i.MX8QM (QM, QP), and i.MX8QX (QXP, DX). Cc: Rob Herring Cc: Mark Rutland Cc: Sascha Hauer Cc: Jassi Brar Cc: Linus Walleij Cc: Stephen Boyd Cc: "Rafael J. Wysocki" Cc: Ulf Hansson Cc: Shawn Guo Cc: Fabio Estevam Cc: devicetree@vger.kernel.org Cc: linux-clk@vger.kernel.org Cc: linux-gpio@vger.kernel.org Cc: linux-pm@vger.kernel.org Signed-off-by: Dong Aisheng --- v4->v5: * scu node should be under firmware node * add pd/clk/pinctrl binding as well according to Rob's suggestion * switch to new generic MU binding Use 8 separate mu channels in one MU instance for SCU communication v3->v4: * fully change to mailbox binding * add child node description v2->v3: * update a bit to mailbox binding v1->v2: * remove status * changed to mu1 --- .../devicetree/bindings/arm/freescale/fsl,scu.txt | 179 +++++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt new file mode 100644 index 0000000..2cd7e4a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -0,0 +1,179 @@ +NXP i.MX System Controller Firmware (SCFW) -------------------------------------------------------------------- + +The System Controller Firmware (SCFW) is a low-level system function +which runs on a dedicated Cortex-M core to provide power, clock, and +resource management. It exists on some i.MX8 processors. e.g. i.MX8QM +(QM, QP), and i.MX8QX (QXP, DX). + +The AP communicates with the SC using a multi-ported MU module found +in the LSIO subsystem. The current definition of this MU module provides +5 remote AP connections to the SC to support up to 5 execution environments +(TZ, HV, standard Linux, etc.). The SC side of this MU module interfaces +with the LSIO DSC IP bus. The SC firmware will communicate with this MU +using the MSI bus. + +System Controller Device Node: +============================================================ + +The scu node with the following properties shall be under the /firmware/ node. + +Required properties: +------------------- +- compatible: should be "fsl,imx-scu". +- mbox-names: should include "tx0", "tx1", "tx2", "tx3", + "rx0", "rx1", "rx2", "rx3". +- mboxes: List of phandle of 4 MU channels for tx and 4 MU channels + for rx. All 8 MU channels must be in the same MU instance. + Cross instances are not allowed. The MU instance can only + be one of LSIO MU0~M4 for imx8qxp and imx8qm. Users need + to make sure use the one which is not conflict with other + execution environments. e.g. ATF. + Note: + Channel 0 must be "tx0" or "rx0". + Channel 1 must be "tx1" or "rx1". + Channel 2 must be "tx2" or "rx2". + Channel 3 must be "tx3" or "rx3". + e.g. + mboxes = <&lsio_mu1 0 0 + &lsio_mu1 0 1 + &lsio_mu1 0 2 + &lsio_mu1 0 3 + &lsio_mu1 1 0 + &lsio_mu1 1 1 + &lsio_mu1 1 2 + &lsio_mu1 1 3>; + See Documentation/devicetree/bindings/mailbox/fsl,mu.txt + for detailed mailbox binding. + +i.MX SCU Client Device Node: +============================================================ + +Client nodes are maintained as children of the relevant IMX-SCU device node. + +Power domain bindings based on SCU Message Protocol +------------------------------------------------------------ + +This binding for the SCU power domain providers uses the generic power +domain binding[2]. + +Required properties: +- compatible: Should be "fsl,scu-pd". +- #address-cells: Should be 1. +- #size-cells: Should be 0. + +Required properties for power domain sub nodes: +- #power-domain-cells: Must be 0. + +Optional Properties: +- reg: Resource ID of this power domain. + No exist means uncontrollable by user. + See detailed Resource ID list from: + include/dt-bindings/power/imx-rsrc.h +- power-domains: phandle pointing to the parent power domain. + +Clock bindings based on SCU Message Protocol +------------------------------------------------------------ + +This binding uses the common clock binding[1]. + +Required properties: +- compatible: Should be "fsl,imx8qxp-clock". +- #clock-cells: Should be 1. Contains the Clock ID value. + +The clock consumer should specify the desired clock by having the clock +ID in its "clocks" phandle cell. + +See the full list of clock IDs from: +include/dt-bindings/clock/imx8qxp-clock.h + +Pinctrl bindings based on SCU Message Protocol +------------------------------------------------------------ + +This binding uses the i.MX common pinctrl binding[3]. + +Required properties: +- compatible: Should be "fsl,imx8qxp-iomuxc". + +Required properties for Pinctrl sub nodes: +- fsl,pins: Each entry consists of 3 integers which represents + the mux and config setting for one pin. The first 2 + integers are specified using a + PIN_FUNC_ID macro, which can be found in + . + The last integer CONFIG is the pad setting value like + pull-up on this pin. + + Please refer to i.MX8QXP Reference Manual for detailed + CONFIG settings. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt +[2] Documentation/devicetree/bindings/power/power_domain.txt +[3] Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt + +Example (imx8qxp): +------------- +lsio_mu1: mailbox@5d1c0000 { + ... + #mbox-cells = <2>; +}; + +firmware { + scu { + compatible = "fsl,imx-scu"; + mbox-names = "tx0", "tx1", "tx2", "tx3", + "rx0", "rx1", "rx2", "rx3"; + mboxes = <&lsio_mu1 0 0 + &lsio_mu1 0 1 + &lsio_mu1 0 2 + &lsio_mu1 0 3 + &lsio_mu1 1 0 + &lsio_mu1 1 1 + &lsio_mu1 1 2 + &lsio_mu1 1 3>; + + clk: clk { + compatible = "fsl,imx8qxp-clk"; + #clock-cells = <1>; + }; + + iomuxc { + compatible = "fsl,imx8qxp-iomuxc"; + + pinctrl_lpuart0: lpuart0grp { + fsl,pins = < + SC_P_UART0_RX_ADMA_UART0_RX 0x06000020 + SC_P_UART0_TX_ADMA_UART0_TX 0x06000020 + >; + }; + ... + }; + + imx8qx-pm { + compatible = "fsl,scu-pd"; + #address-cells = <1>; + #size-cells = <0>; + + pd_dma: dma-power-domain { + #power-domain-cells = <0>; + + pd_dma_lpuart0: dma-lpuart0@57 { + reg = ; + #power-domain-cells = <0>; + power-domains = <&pd_dma>; + }; + ... + }; + ... + }; + }; +}; + +serial@5a060000 { + ... + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart0>; + clocks = <&clk IMX8QXP_UART0_CLK>, + <&clk IMX8QXP_UART0_IPG_CLK>; + clock-names = "per", "ipg"; + power-domains = <&pd_dma_lpuart0>; +};