Message ID | 1479822737-8170-1-git-send-email-pandy.gao@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-spi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1A648605EE for <patchwork-linux-spi@patchwork.kernel.org>; Tue, 22 Nov 2016 20:25:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E6D71FE95 for <patchwork-linux-spi@patchwork.kernel.org>; Tue, 22 Nov 2016 20:25:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0330320499; Tue, 22 Nov 2016 20:25:39 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham 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 4317D204BF for <patchwork-linux-spi@patchwork.kernel.org>; Tue, 22 Nov 2016 20:25:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755897AbcKVUZe (ORCPT <rfc822;patchwork-linux-spi@patchwork.kernel.org>); Tue, 22 Nov 2016 15:25:34 -0500 Received: from mail-db5eur01on0054.outbound.protection.outlook.com ([104.47.2.54]:44800 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756809AbcKVUZb (ORCPT <rfc822;linux-spi@vger.kernel.org>); Tue, 22 Nov 2016 15:25:31 -0500 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; bh=jwiqtZ+ZiuHPoRkXBCa25TsnT0Dn2uJsgf0jG0DW41U=; b=ISlcbHojAnl/tee7T680IfOH34NzBhj6ByIeaVQ/NSipqo3TVr3XrZKm4JkYdFM4eaKnuSm2I36SrEEmaWQVIaVXMvEHn/J1ItAFM9tP21XBLi1lfh+9eEUHfR1Lj7SX5PueAZeHvkPLI0md79KhgB7VmtUH8rMn8eQExEPF10U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pandy.gao@nxp.com; Received: from b54642-OptiPlex-3020.ap.freescale.net (199.59.225.131) by DB5PR0401MB1784.eurprd04.prod.outlook.com (10.165.5.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8; Tue, 22 Nov 2016 13:53:30 +0000 From: Gao Pan <pandy.gao@nxp.com> To: <broonie@kernel.org>, <robh@kernel.org> CC: <linux-spi@vger.kernel.org>, <pandy.gao@nxp.com>, <frank.li@nxp.com>, <fugang.duan@nxp.com> Subject: [Patch V3 1/2] spi: imx: add devicetree binding for lpspi Date: Tue, 22 Nov 2016 21:52:16 +0800 Message-ID: <1479822737-8170-1-git-send-email-pandy.gao@nxp.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [199.59.225.131] X-ClientProxiedBy: KL1PR06CA0009.apcprd06.prod.outlook.com (10.165.15.147) To DB5PR0401MB1784.eurprd04.prod.outlook.com (10.165.5.150) X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 2:Voc4YeWS/IyHHsytKRlcO6Nba4l1CDZb6g4aV47MNg+lc3InW+xHwynfNUXY4luSPVoxSAA0jIfmd1FD5v2eflKg37mG21yqp2vLRRZOkVRGCJJFChnDhVdRWrK2c7tlwi4XEzwP6d+VzoP0LZLJXSmCIAt8BCZYHQBeg0lozzk=; 3:EsaRaziYK+9dpMVg0D5Jhza6qb8svcVPdRSuoVpon93gRgIYzNTm7rbsTnnJG/dT0vjSNL31IPGP0YFmIad55JqbfzXxOzGb5y3+LBqu/+vi/GMubcveMQ2zjcXZ/Qq/SBH2ccraz4YU8A2/8x/4tdndzSC6IrRh6qTq5Dkz1xA= X-MS-Office365-Filtering-Correlation-Id: 145e6bd8-fdc0-44d5-4352-08d412def43c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB5PR0401MB1784; X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 25:GM/PsrH4eb4sMYje307Fyfitme8V9MvnRYPHvXK0Ny395DeGomM5ER4o9HPUOzMw43qN/WTozMIS3aDy8pOFhvL+TOEDa2KJVR5hKPIxBJT89PKej7FppSazus9pz5XaEP/9NpKU8Kq6vnfPOy8ZemssEa82qkYjYJFfvejZtTV6WV4lMKs72VYmNq3Or1FURKLKr8LdJ544VGGRfunEFnoYGimPWVDUfr6B0slPUIO7hJk6VZtRKD0GCR7k370rreAcra5Fl2JdON4l94gJYlxH1tBwAYBhIo3APCHd5+kq1M1Mei7pYp905p5oBin1YnYdc8zk7R5UkJ0GoH+iTCqPN0DFA2i7rCoxtlj5oE9WCMU8gZvznSwgEyk8InODWOPWLv4sHQss2FkNX1h8go/O31g7VMDAH4+my9v95MAFlDnHfm+PKSQzW9jmQvNdmaluSeaDqT2Rl9PJOLs8S6LfvborZ1W9cflZ4lyXmGkMP30xIEeiRpXO3q5H7yi/EbYpe6Cdsr0P/jurYciwHxv/Q8zVUdw+90qaenG0j9Z06hM7x0ToJttm+vNHXqCzX7nUQ4SHObZAQssznwu4KUm6IQ+kP+fpZTvrnIbTV3MTYZVhzAZ9wlMO9qfIYQQxP2LR736aldDRff6stKDg8h8dPXy0hCw3Vz2PWb+V1aAvoyayBGeqx0GYEbut+o/wXC2V8FjMvpGkTCcqILedCf2+RSBrromQUIkRC9VMo2bksDkbSUXEYUwfQO43qNiQ X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 31:3ApUNBk6gjhypQ11ASvWXMRp8KHIDebeqmwtSb0kcY2GBFnGhTnYex74jg/aR/odFLtQmZH8qd8OdNya+INNiNMuvFCYEpoGZNvlLkcDVY9+B72R0cgTrQiqauZVZ6Pb71kDRemmDewgJV9b7wQpuN7B48cVlMHuSoFT7ehiIOAWSQjQ5PEeXKSwp4chW+fxROhzRbTU5B+FSk4dgglh0pacmmsaAbQ8kGJILj3FcUUUJyTICojz553qA7RogHVQ; 20:DS3lfRyZK1MYkIar/72dxK+sTOcVcrs3v7nzMQ81Ginu64vW80CzihKiqtN4PCygyYZPUKvhW4tR9H7Lyopz9ODUAq1BwTkfyF9S7CzZFpDLEr4lVLQ/S7USVrMiu5yBkGVAvD6QsNrg7L3iHsL+LAJAvJ+nvCHJA8REJ2SYjSZgy7ooHA372Arsn3rtRdscCMkRVe56F3q3+i9ILtUZ4cl56mbvaAdg8yH+sKO/K7XqcXZT5WpW+/wVRIZ9ETP/PXB9OR3uaHaaCLSTpqnvdhrwWZEPm5A6vy5ez36MDNzXCp+2LX41dMGFA8UHgV4m2yRP+PtIjeTtCUZ2oGsSvmuJDZts9Jf4RKlr2O+SUcdQc56QMF5sSBNpMEnSK2JvEiq/xlPgC7t42NtXFhwemhQ+KYEeN4AGovSBJ32zxgieH0q6O9zwk9ifFaTwhbwkWxGTQwW2rsvuToI7PngX5+HaySLHBh7Y+gjtsXJm9U6209uW8xRYPL41hn1aV19f X-Microsoft-Antispam-PRVS: <DB5PR0401MB178468621319A17DBC1E70B5F6B40@DB5PR0401MB1784.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6060326)(6040307)(6045199)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6061324)(6041248)(6046074); SRVR:DB5PR0401MB1784; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0401MB1784; X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 4:JOCl5hSA5MREDIpmQB1uAojNCxiIovhu6OnI1Sq0nRcFjKJiY5X1qHXhQw65QqpVwNMKk5eChoVmKHL7Xfdhx37dJJx1QH6jGYpJonoaEus13AEdjtX6k5tilvYlIu9ljgZb74W9YqgrPkNJKg7OXAq6tMdMhZ/9hUhT3Tlnp4oRRw8wmmuC5unqzqpdCjNAhva0VnWHCNocoXJR2sja56eodbYJgOAEzvpueRhH4wzXzve2Vj4KoaG27kSSXbUmbU5CvvPrPsRcaGony4KYWWKNG5I2aq4iecET3dVCA5mz0+hmijuuEC3UO3bnEkLgCs1XTN2HEfBx/YhiSKWCHh59hqoB1/CO596KYHF550sHHvUYaOn/wBOwY6zoaOrjd+JuMbE7d1mzdwOXfsXQphHWEfANf7sHvFVD6qKUelJsi2AgKdZXYw2ReL2Zw3b2S4h6y1wYkMZP0bdJBzBVcvChMVex9NXyRVkEFXE9iiQeMCNuHGZDc2085AX7sgkhJvOwaoSTkl0ybpqRH99xGhdnM4lc+AL2BIScSCYo/2W+C1d5paEJyHFoZAvO6tZn X-Forefront-PRVS: 0134AD334F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(305945005)(7846002)(7736002)(189998001)(5003940100001)(6116002)(3846002)(92566002)(5001770100001)(97736004)(38730400001)(77096005)(81156014)(68736007)(50466002)(33646002)(48376002)(101416001)(81166006)(42186005)(6666003)(50986999)(47776003)(36756003)(50226002)(66066001)(106356001)(105586002)(4326007)(5660300001)(86362001)(2906002)(8676002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR0401MB1784; H:b54642-OptiPlex-3020.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB5PR0401MB1784; 23:tNyqWNGD8VEAqXrQT3yeggidx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+KYZrpoFHs2YprnGbeHhvwS93mA2Dk9eKmLUd68Vn5/dG?= =?us-ascii?Q?Dcu5abuHwAGkarSH3J04ijKjAdTNMuW0JFBBXfoe9KZGUDUiYZfwyQ3AGIwQ?= =?us-ascii?Q?/BaD9LOAw2GfphUH4KgBz1bJG?= X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 6:gEUKoVWvumaSOKk0BwKh2zMkB0L+/vT/sZgdtn14430HtuPAaeseI1z+W/kdIEH87+ZEgPscnwb/QJzW9X6MUP2p2LADuUx2qjX+SwMMGc2NZUDFnRllvUfnDFltkLbIp/QfeYhuz2btFZTtyHGpr7zFBEfxRqkYkTZ1cHwECST22SjO7hGDjbBTDQyYgoATqus0MCEHVKf3LUliynI6yTaZVGs6pUaiXOnDgiu3rgpf6EQA6UBI/RnEcGUVN4u2PsbChUfBHPRj2flz3N9hF1hs3vqI3zsg5SGXqGIsSCmCSIsP/bEIQw+m60OVm4kcW0QQpj/dkrDv6F128HyQsijU4pzId9gRxPNlLR6WP6pLs8BNcozGT5/StuO6wOX1; 5:CuI2FphDwUTZJyAJUCZLQ7KBV19GUxYw2OOTeATSzPUDVmj6CgMuqsYZPcddUVct3JrS8lc/rnYNEyXyR+beA2jcH9QIHLCASPwIyHyTemp9PmbDvPkUUTtERcskzd2VFoBCB5xCBmDpOvylmZcXsQ==; 24:bhCGQJI6tD4iVLacnq3iyk/dSIUgUavYk7RT0lg4N8XDRNiHtVZjoPFcbMtOvo0VW2tRHLDd7uvveUO7oBUJv1WpXtf8wmqiDzQ3i3VCwlo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 7:b0ZlmmVGf8kiNLBW3KXb52LZCdckRKr84j8MCoWo+rkhtAjDD+03IlLVbBkUV7hFeX5R9dmQlODVfxt1cuhCHJk14RzCd8usKwY3Zclqz5p2KLdWoLV0CZJ1iLSypRqAFBaj/z6b4G8O/O41pbhqkaiYejof25q9sJSBp/jiKKUk/XGxG8hFQZ7ut5XQ6kN/Mz+FqL7I29pXkXIRLynvOA800kbqY4raRaN0pX0u9sWuFsxhJx/YHK2Caqo7/qwLBSPcBEGTjzl4w+/q996JsX3d1CIOby7hoCwHEoRgDFcUsgEtVuO8WUYo/0reJYhXR2bVA+ElGsy7O0iW4qV74BB3RV3HtydSZ7LPKWTyIJk= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2016 13:53:30.8924 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0401MB1784 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-spi.vger.kernel.org> X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt new file mode 100644 index 0000000..225ace1 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt @@ -0,0 +1,19 @@ +* Freescale Low Power SPI (LPSPI) for i.MX + +Required properties: +- compatible : + - "fsl,imx7ulp-spi" for LPSPI compatible with the one integrated on i.MX7ULP soc +- reg : address and length of the lpspi master registers +- interrupt-parent : core interrupt controller +- interrupts : lpspi interrupt +- clocks : lpspi clock specifier + +Examples: + +lpspi2: lpspi@40290000 { + compatible = "fsl,imx7ulp-spi"; + reg = <0x40290000 0x10000>; + interrupt-parent = <&intc>; + interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX7ULP_CLK_LPSPI2>; +};
Add a binding document for lpspi driver Signed-off-by: Gao Pan <pandy.gao@nxp.com> --- .../devicetree/bindings/spi/spi-fsl-lpspi.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)