From patchwork Mon Nov 14 05:22:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gao Pan X-Patchwork-Id: 9426521 Return-Path: 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 AB5A560233 for ; Mon, 14 Nov 2016 05:57:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FB2F288F1 for ; Mon, 14 Nov 2016 05:57:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82834288F4; Mon, 14 Nov 2016 05:57:05 +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 F3C05288F1 for ; Mon, 14 Nov 2016 05:57:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753558AbcKNF5E (ORCPT ); Mon, 14 Nov 2016 00:57:04 -0500 Received: from mail-db5eur01on0080.outbound.protection.outlook.com ([104.47.2.80]:5280 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752071AbcKNF5D (ORCPT ); Mon, 14 Nov 2016 00:57:03 -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=KFJOkUY7TN1dAoYxMLVBkOwMSbZE/svj4Bawldv0zOP7A5TlcLNa2KMicbZI9MLFAlbLpPbBiOWHoWXI/yHh/bkVXPtdQpUmFJPcvcrTa/bvdux31SelvjCcCWLT3zPID4kFy1cMnx0NQmPlZM2/SzP+7HsJ6d9Wd1DgAXKtfi8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pandy.gao@nxp.com; Received: from b54642-OptiPlex-3020.ap.freescale.net (192.158.241.86) 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.707.6; Mon, 14 Nov 2016 05:23:51 +0000 From: Gao Pan To: CC: , , , Subject: [Patch v1 2/2] spi: imx: add devicetree binding for lpspi Date: Mon, 14 Nov 2016 13:22:47 +0800 Message-ID: <1479100967-1894-2-git-send-email-pandy.gao@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479100967-1894-1-git-send-email-pandy.gao@nxp.com> References: <1479100967-1894-1-git-send-email-pandy.gao@nxp.com> MIME-Version: 1.0 X-Originating-IP: [192.158.241.86] X-ClientProxiedBy: SG2PR04CA0112.apcprd04.prod.outlook.com (10.165.169.166) To DB5PR0401MB1784.eurprd04.prod.outlook.com (10.165.5.150) X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 2:yQH3xG6yQt9U+nnXngNGFwc4uG0s1KK8M89o9zi2SOFz1FGFWMkdnnZCXJbvK8lh19cwJFzz75os+ps9s4vZwa3jBmsqG6B7hVyiVhOkYLXWnYGdeFLdEpm0bfbLPb/xndx+Dv9DTfFA62bfE9rljeJsv7MLds+SNGs/UNv8kZU=; 3:NsQW8nR3wcbcKu/7yS9k88sUnc7lZCYmvqM3UTTfblYswBwWvU4928wfXSBYXdaMCtwQboNez/rkVn/gp24T/mjIqfkRJTcVJK2sZss9SerTm0qIeoCXIXpU+OXycpOeLCZJmR5bJTnEB5hLu0YDh1FuQZJxhjpjfg89DQ2Lt1w=; 25:ok7xKp0lQY9VVQ66ghMoTC0Dxj3DCXJUI+YPz8f+NiVjcM+1b5W62J3Y/VtOYlqZ87SgBESLpRO9P8EFS0aASnTME05ZzOJXlBHLl/mQRsRUA2jgPpiZGZiflCEIYbnwmU489HrSHEm0lrBSiruCFlHnHEvybLt+kXBG1IGw+OpDN0lx95LrNq7OufY6fw8calCETeiqucBTUqxH2Irz+qJrRSthSfqWawKbdV+AbgbG7D/8FIQJKWny/vy+aIHiBQVwL7crDkUvr+AZMRehqzjEFn6ima08r6fvpGwgrHX+8a4dIiU/Ej2L7TYKEZ16rAc23wFTADPZ5btmYVMCbevKLJR9WoNMrJ6r/M5WOGsrBSAl1YMihh11EonOW7oxW6scKUgoNCH1MKdC0ofqJhM+3amLc5rZcZQ68Gf35cYY5KwZSG1ICWkqE/Ogm08k X-MS-Office365-Filtering-Correlation-Id: 50f07fa5-89fc-43a5-6c2c-08d40c4e6cbd X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB5PR0401MB1784; X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 31:bWXIUVn1VrwSnfuNDQc/R1J2PkwTaip/j1+lh/YrcNJZnG9Z+BH7tKAki5YVJwBnLInQ2rrVsO5K+Sh7xzWpAYDNgebe5fciHAScYd7E3sFROxR+aF4gPPVMr229UZs2aMV2yzJtuKmtU9+tNkCnNIB5iVYSEsUl7w24JANosTZSgCpEV59nx7QAtYggwGpGWVrBj34GI6TjuhXK/o5c5r66MU6hQTzawA1TL+T0qB/ZBhqlSzvhgZRNqeJgkSBt4fawSPe1K6IsAmq8Rwyvcg==; 20:dupPLexe9uhj3GWI3NtuwY1FlMRTxdQdTPCvFcHR7z2NMHFotCSEhmKnaCoLJ6yjVeDCL0S8Rsr95Vs/kVSCphwte0CIGPBZ9IFFB1bnp70459EquV32vZJ7OFaF6LwVJRxCj8lHiLFLZadi7xhiOSPWCyx6m2IPtYDq6sdw/+pVXkTsdwC6BYhaPOhl2tGieShVTsJG58fGvb1nCAnloZEvXlT4RHd2Jr3uVrJ1wPYZsDD9S8NMKrPMf2ECKcGxlBRDa0jfHfzXnmHMGjk7kp3vbOeZo36LUF2Cl/Y9PxCSrg4RZQPLpRdCCb+DQT966sZylGVUgoBhU3chJ7Aev8AyOiRpsHUrHG7RCGpP/QTHR3XT591UD1SS2bZpLt9X55k77Kp8D/vZImABOsmmrJ3dsBgMSRsUsLOp4CjWgT0zrVbC/EHVL8XtINjTCVMgJ20mMSnBfX4N2WEyjMpDBBZQG+bFhEWP/e5Ps+wrzsx2ZZtgzeEWWEA8XP2CCXoD X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6045074)(6060320)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6046074)(6061315); SRVR:DB5PR0401MB1784; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0401MB1784; X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 4:KDO0XtbSfsIzSdNEd7TKnN7mwZ1ILgBBJKwHcjWVYq6rLM4HcGK3nkT5iRye780ryE0TWT4rM+u9wXDkPCIIZUnUJC/H41TULuiBb4zsG1P0JgkPPsWpzU3AA4HScrPau1YN79bdKZOhuT7GJytgK85e1jI/WtQi4Az8yIjMa7WrqhB6+ioHOJ2d3kjgCMARHXAYWez+LKceybDzSTfMCsC1tjP/q+QgCC/zijW2iW1XoZ1COFO8BudT6XjUVhsAH7an2NTUMdxpF34gm5YMi+Eoak38+wemPE7gsSvxNBkNfEQJxtS6Ddfzwk3mQdZuSFbOwenecvebCcupNpyJU7ryTp3SR5qCKCk/q5lTIqXmrTAYm0/7Kn3RuPE0MhUX0Wb380uqDiE/h+AjkZ/QFy+TwlO3LypEtk6MEls3BhArSHUCPHY7OTmEQAS3tzP61T3KPGNRkYeQASnwN7EKkigEtGl1AeJtA+sPOF7YC3BGfCavELptEboy2KSO7oCx/pTdC0Nm90L34RQ/tbUScA== X-Forefront-PRVS: 0126A32F74 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(189002)(199003)(3846002)(6116002)(7846002)(305945005)(7736002)(105586002)(106356001)(5660300001)(2351001)(42186005)(6916009)(2950100002)(47776003)(586003)(6666003)(110136003)(66066001)(81166006)(97736004)(36756003)(81156014)(8676002)(50226002)(92566002)(5003940100001)(68736007)(101416001)(77096005)(4326007)(86362001)(189998001)(48376002)(50466002)(50986999)(2906002)(33646002)(76176999)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR0401MB1784; H:b54642-OptiPlex-3020.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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:gxc9K6wTa3SzGfKtOZURMy+C0bOUHoEr/liWRR8?= =?us-ascii?Q?0bu05IRieXH7L1hK4QDnmFOaHtwV/ShSVtC8d/BRFBpYAuzL6o/zPeeL0bLp?= =?us-ascii?Q?gguVmSYQ7vs75lZMf+NhiO9RLDKzYdP1KLnm4n2cWAUmB0N0wG9u+FsHl8i9?= =?us-ascii?Q?aw6bcVbz1yugR9ikRkbUAzV1V73bIHd0IXJSvdtV3AsRiybhok/Md+iS7gXU?= =?us-ascii?Q?2f3m007fY9C05/ockTVeSssy7WNrkZXWf1xIaIl37yrmI6ZFGJLHtLEQ0+Gt?= =?us-ascii?Q?UoJUPQWdmd6sXNjnFIA77Zb4MvFTGpAv2JtlAzBEv6/ByhUlhkyoyT6gCV+f?= =?us-ascii?Q?mdODi4nWg7elLqJ49iuVBWHyNL8D7kFhUEfxvz6qpjYDca2r8njtGFwAGjVz?= =?us-ascii?Q?GZJaX4AA75bs7FeFr94+32F8ipLWgPkhEhQBOXgQzzc5pkwl2oJl3ipepUzL?= =?us-ascii?Q?pjj5v9e/sFuk09UIQr6jOIVjcFXp/19QVGZO8TqpwfytFqDE/U+NPSLkThjf?= =?us-ascii?Q?zenWhmxn0hxgLrwHO516BxaFGqPMqqZBv09T010zdZeA1QRuRNStFOAoli31?= =?us-ascii?Q?l7Z/XBV9X6o+po5W7P6dV17oq4AkRTK5VAxnDaUJsJfRGSggrBZCp5whpSNt?= =?us-ascii?Q?SiOzmuAQ6J2distN4mw0gAy+deR8nH93b7gQjEnQ+2UfQo08t+hsvTCQa7R0?= =?us-ascii?Q?aN7xsSXCtfTI4nsaeexMIIR5tS/MW2hkWeQPekpUEgZJKdr4NI+js0LI0MRC?= =?us-ascii?Q?mw/P38xn1u/ls9UMGPAQT+3PLDVwbQ/EGGQUbKjuDcB8NOn7eskmkE6x8xYO?= =?us-ascii?Q?SUM9VyTNb9LW+YjeCzirgW5DFADbhN5huY+uUntfMVZDkymiZGREjpFGQn8S?= =?us-ascii?Q?wR5hMVA4JKBB3rBDbOmUH1DHEdI8gBlQgRzVpIFy4gB7+E62OIyjmAH5B/9h?= =?us-ascii?Q?lstRA4gjsz+rFF0M9eurkSy0b1yQ0PKOs6UHwONrEOdJS5brvjwEEug/4GwU?= =?us-ascii?Q?DFJrgTFitHUZwJa62/ZLBKoE8WqOgPFmU5v+QHbywVAmih9yN2rcFVkj8QYI?= =?us-ascii?Q?YTrBXglNLybV1BjU8YckUgRDnl//K?= X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 6:jeRYV62FUfHxQ/vyVyRrZXJ/KIrEXKlxky6lrx4CefyDV2MzvYPchcBhirFaFGXveo+1V052TQEwOhj8dnDJZ9Zo+g8sDpRecHlaLScb9oFb5/nEFO4h/8WfCTPx+Wq5FZZl/POF7KIdJihvtx0MRPgCHug+PpJW4evRD+glWGIdyelQsYuBAfHsJvZhw7WZv6Zad9y7xvyaPkTTvK7VV2RfnKEaWOPbQeUDSpc7tcOHu4K8rbu6ulDl0OkrLy2KcmTbzh5n5OqgHf5rVK9Kq7Uwk7K9EB0EtmNS+a6DZsjzLjvyzndl4lwvpjegRjkbkBzXMxjmfA6zMoKWRYteo4Km/6ZXn34dTmShmGb0Bb+ddEmyR+eHNqkz97mNZp1j; 5:s7oQqfa1yR1KrNPz5RVo9ShXF9U0TpMb1tymtYCrKXw08Q+fmQm50IZ6jY/2ggGkiLThlblj4QYxsrAOpBXaDtMJ82B9a7QtuPxmumwN/3YPlY89rHIiR/mZrXlpAwdQ5TLyfyhVKbEGH9qu33OFgQ==; 24:lcVo3Am8Oc79efQPEn5MLs4DSFS69TpQlIo2OZ7Pwg8LZ9UnRPN4RH9kEpHuvU5C62N9h3Qt4bBTYAC9MyNZR9DwHHVJAxtVQlA29byv4+c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1784; 7:IFTMvKgJ2zNhu3PKVeeI9sskBDQI4M4p5W0fz2kIo8+SE64kNrTeCpx9mHMBC8HE7MpFY4ZHvOIP1PsJRH/VkveoElMie0NnIsEo6LmMDDz+H3DNgOKJbAVP/J93x9SfpflZQAiDLMe59+Zqg27vOqYgLmIREaMLVZKuXNKiI6IYmJQaYg6wtqHEPktQU6CHnI4oKBpqRt5JxilzLYTc3E/CzTNimmPRmhVeb27f+379MqBBmTemsHKWZou5hnrJ6IbEkKVJvGADzyd2DhuJvMPzM91D7rOWJ/5yl/T/ssnQJVlvbR7FRqJLxQOhwJSplUtfUuNvxbE+B5Af+NhwopV/yKcDQzyWgEbrO5F4Cs8= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2016 05:23:51.5450 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0401MB1784 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a binding document for lpspi driver Signed-off-by: Gao Pan --- .../devicetree/bindings/spi/spi-fsl-lpspi.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 = ; + clocks = <&clks IMX7ULP_CLK_LPSPI2>; +};