From patchwork Fri Aug 12 07:34:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12941969 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1E17C00140 for ; Fri, 12 Aug 2022 07:33:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235588AbiHLHdR (ORCPT ); Fri, 12 Aug 2022 03:33:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231848AbiHLHdQ (ORCPT ); Fri, 12 Aug 2022 03:33:16 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2045.outbound.protection.outlook.com [40.107.21.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47B0BA598E; Fri, 12 Aug 2022 00:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d+xF4KUgih2zXe2NP77XcA2Yz1aW+fJsGo1on1flv8p0kQtEcsQun069PocH2vLL4rLrLdDDQNh941Dffp3fIiuAh4xHDEmzJQO49X7R80eKgJcze4gpXEGRfPQ0l01v8pKmWU0QBkMEM/sCrzvZ9Mm9FIx1XMXpNgwICR30SGoe63lOq3ZHL/U1f0mhQqZhLJURjGd5sO62O9sB9nGcxM3nz/isANG9eeDbwMGWU62iKHMbjHjL+4uz8E2zwHLUug0S7k4kapNXm/DOzDfQlLiqaVdhYIwR2hlgV2UiUmHUXM64nU/MJvjbgXlW4YiCzwmAsFp3nVctTpvLzvJaTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Wk4VjtvDCF0QsEnhM2S/wHwXAEPyy6C7bFQYJf8uwOM=; b=Mdv+ULcsSrMQD0BaEPAgHdo1lmu4TUrf8HKTCT5ci/GbsBP1oqUhCCvyl6wI/vF051KZ8xp623eW1kmocPi17030pVznm1WGgwqXOJDt7YasT138BFfItPGN9S8Dje/ih+NjgL8RTGjzwpR8aOAUCU6HFcQersPwRXf4X+O+tgqfVH575pnm3Aj6qMkp4L4TLcOr/TEVpMYxkRBWE15mU5/AJFgY2ea240pG3p71x0OU4ZaeNSnn7qRIbh10aJvo/X5iDwxytQTRX7FvuiuTJfjy/uYO37emLX4asyJSjUoFpUCE+lm8Uf8aW7ht5UZn+oHE58ERmKJdJCy2Z+J/rQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Wk4VjtvDCF0QsEnhM2S/wHwXAEPyy6C7bFQYJf8uwOM=; b=d7YWnRhSiRfmh+E//ckgqmQEEtL8ZLx0a3ClyY41/nyoORcG+vddjDIuwKAqwVCJGqs9jetaEY824mur8MxtUikHwn7aH9X7rzh3BD3WgAaa7LDt8BungxBa05k1dtsRS3QHIMj4uz9q1KOc1js1dtd719cWE+v4vV02+ZcEtVI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM7PR04MB6984.eurprd04.prod.outlook.com (2603:10a6:20b:de::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.10; Fri, 12 Aug 2022 07:33:12 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442%4]) with mapi id 15.20.5525.011; Fri, 12 Aug 2022 07:33:12 +0000 From: "Peng Fan (OSS)" To: broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: xiaoning.wang@nxp.com, Peng Fan Subject: [PATCH 1/2] dt-bindings: lpspi: add dmas property Date: Fri, 12 Aug 2022 15:34:51 +0800 Message-Id: <20220812073452.45763-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SI2PR02CA0029.apcprd02.prod.outlook.com (2603:1096:4:195::6) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 12f84868-930c-4ed4-e32b-08da7c34e903 X-MS-TrafficTypeDiagnostic: AM7PR04MB6984:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /djXMZ41hiqv6Sy80BCJD+/OPp3bKIDoDiWUqFeCmufbJ04YVpK5044XzzPKIAVOz7Bs3dixiNbuus+BxzSdifHGFYWeJv1plWVEndIuGYhSUFqxAg2epc+FL59XF1Mi5dPhl2W/L0A2tTayCdY797EB7Wm9024B0j8FWQWtgjBQ4KoyDJyuE1s/QZU46uYGQjU3FsMzLi/Nwcx/OeTmMLujkx8Ns+J4amIM4Jm9KBi/XWHn5Q1uf+lRRQwvR1vr0cJ2czgKzWbh8ZRCOuUOIRUaQHOAYz3Oq8ncXb0z96BXiv50BV2ZhoxbGQMnooVw3J7jRMh8Eu1RtaBLfGSMe4dWd1wL/Ux13bXdZwsvBYSPzWlGGhSHtwBF4FT+9aZTE5MFlZjFw5Qe7Pw9R85h9saqwUVvakQKZ87HDCyHyEBp5OT2WhCcrxJuUAjsa1j80qNT7BbaMepW6qCjsQBqxUJH0afmybDGG8RHb6QXs+apkY8E/QTWoABK8hVTjGZGqPDUmKcMDsoc9csrXD6LfGcHDgZp8mf9AFB/8R7t067haGeeVCYTz4TjDg6KQ7eY7uGYxFzor6DX3A1lGDb8jCsan/y2fkAJfnFXtGcVDbKE+PJhXDKsO68Kbg0j/5KzOYYkH0xdjMAw+BkQz7hYFviP3RBVodhKuSiKBRDp1pAjwx98Me86QX/NVhmLqEiwEj7MSTOypBeOfEah0NR9fmAv81qomBLxHENxuDskh5et2Gtd8l+/JJE0hTPkGQp7AcwhlkUfQJnSzq2SiaOt/66nWE51RZ+ePCRs3OqbQrQTlZ0MIln8dq7IqDI7dAwE X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(136003)(346002)(39860400002)(366004)(376002)(396003)(41300700001)(2616005)(52116002)(6512007)(26005)(1076003)(6666004)(6506007)(316002)(86362001)(6486002)(186003)(38100700002)(38350700002)(478600001)(5660300002)(8936002)(66556008)(66476007)(66946007)(8676002)(4326008)(4744005)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qHv9IozQdg+ngyY+pVdm+34X5dSoe+Pui3okmPzOne2O9Rhz7BgutzkCQjiYoBiUw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ZZxRbPgmcZ4N+NNNYnpBHwoDvLpQA2c66HshJ5LTI8mnqNl1m5IF+Fartrryxe7l8/HN88h/HsHCS6UDtHK6qrzQvAZJQPaH+aJZGNuTJ9yyZiE87F2ysfDhmxj+ABaX5C18xAsDXTBRwa60VnbrhDKX6Kw6VSxo2zNA6d9dSlOtPw0mDHeEcBe/RNCEnAnHXWJ2Wy43sdY9/6KKeweCW66PHg8VTRaExC3ajFbrTLeXNhqGjUCLpRNHJpXmFo5Kih5mNtrLKozcb8WxL3tCrI9uyQkrO0169bQ+yCRBoFZ1RCOa7AgoH69BRGeZwwRh0QdMWYmYX8v1VkXSuqKpo8RLOR+qqUcKVs5+iqvXPUCAbmgBmu4YVgulqGaf6end7nfzCSozVZIdEN+1cz0O9f+0bZoB8X5BWYCrbZ3vpcAUtAGWLVvrf0Xtqrk1nmYu4j5iTJWxhwdhim X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12f84868-930c-4ed4-e32b-08da7c34e903 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2022 07:33:11.9897 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xC2rrAPstbqSRJpXcR2ACVATKK8GZ9jXOPXs1u+x0xXGKDAmL3nJe034XhswvI+iq7LKuKsMiS3/FrooHYLXJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6984 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org From: Peng Fan The LPSPI has dma capability, so add dma property. Signed-off-by: Peng Fan Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/spi/spi-fsl-lpspi.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml index 1d46877fe46a..f60b24a9a32d 100644 --- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml +++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml @@ -37,6 +37,16 @@ properties: - const: per - const: ipg + dmas: + items: + - description: TX DMA Channel + - description: RX DMA Channel + + dma-names: + items: + - const: tx + - const: rx + fsl,spi-only-use-cs1-sel: description: spi common code does not support use of CS signals discontinuously.