Message ID | 20210406113306.2633595-17-xiaoning.wang@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=1rdH=JD=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D94BC43460 for <linux-arm-kernel@archiver.kernel.org>; Tue, 6 Apr 2021 11:44:21 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A33C613B7 for <linux-arm-kernel@archiver.kernel.org>; Tue, 6 Apr 2021 11:44:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A33C613B7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=i+UVcXNPhh0Xg/uWt6c5kEsoKPVkEjJAY8Ddw9vh+64=; b=JwCs92miU1y2O11Q1yhDHO8uH qtwl7dzMx75DjEssMQVAk4D6CBudK9dAXODH3tys1RpxEJNgsHnFpA1o7CStMT4jIL+vYR3TsyLyr QGKPUkVWaRylIzPWqExfSHUP5hg0+AlfCwpXrjnZwT+N2mjE23YBczkmayjpnqlyaL+Gab/RV1gV6 SkagqJC/u8gSFMpqwZOCQZ/NvBq0rqGWJHITQDavH1XpkvfJVFk0s5iLiP9kcvlQrO1J1J6aewzVt f0x1VX2QhaBdKLcAA2fo59hxnKK9wRlXEkG/FOeLIA/Nfg2lVzYxiWSA9BBcse0qJlJuojAPIQlH/ voIKYrrHQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lTk5Q-002PHJ-Jc; Tue, 06 Apr 2021 11:41:37 +0000 Received: from mail-vi1eur05on2079.outbound.protection.outlook.com ([40.107.21.79] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lTjy2-002L3K-Kk for linux-arm-kernel@lists.infradead.org; Tue, 06 Apr 2021 11:34:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=baJT+MsGQd+eHq6VPgh8qXM/krMS6LlntswvlDDLjaCwzDKi9jW9HydH+vHmGHXDWmnuvtnQCdmEkrwHpnlsY2xprBsaxV5nJDXCq0tuNKwCJVYrNjuVb3iHH36b0VkYqCc2gDLwZ3/JMs9phhECRyqzQxzma/fRgff+KnEMtU65DMmF5tJi6ZiaY5iLkCbMIwZt/x0WD/pA1C6CHmqxmCFOHeHdv/3w6y7O83kx431epr4nw1Y/qZvb5E4NZG/rfqEI19kuEh8Pldj8iUf3Sw7cjFlunzRHGAbVTrW4OgNwCYGuh+DbVXiYKFqFZcQK8tCFR1VoKjjBFjLwdQNzoQ== 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-SenderADCheck; bh=0IhdC5K9KRswvsw0bEREtNYb2zNFz2R22TVQ/JhFVvQ=; b=LMhfZrHU2iLH6kEcYOtoaKgdsZed9lgNPFZaOdB85irxy/z2gb5y1kDzcjPj5rk2LwG0EbyJtucDWBZ84ZWhGBJ9oCg0eEB3j7nnGM488hPj/pX6B7KdWFYKN6gHSzT7I15H2PO2GeXDW9Bp4BIg0FdQ41fvzbDXSxei+FykhRo/vgLtj99djN3xBABIC6hEr/PmJnLzro3YT0juhibBRhsI8iQb/RUcx3f1nKlAFGuzEsgD6V7oKrQe5vpiXH2T+m6i9UvJKIFo5WqzoKaz7NXsyXYE5/rsl+gU67mGYrX7boQ/1K5q8jZ3ntVGDvAUy+0EfTqc/4jGgPeFJR+kEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0IhdC5K9KRswvsw0bEREtNYb2zNFz2R22TVQ/JhFVvQ=; b=Qt70oEpvC8VWjY5CT3dHEu/0Agk5fqzypKVO3voyL3tI0cNxZugiXg9qnTE54s7tNvaDLrpVa1x2TulDl6KZaWNIApVp85iZ/d5WQeBOIm5xHgIVGj2luN0SR4ggWw9/OoTCu6Xu3kYORb/+29B7Y9U7rzuc0fIh1TVuNHH60ik= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB5623.eurprd04.prod.outlook.com (2603:10a6:20b:a9::13) by AS8PR04MB8359.eurprd04.prod.outlook.com (2603:10a6:20b:3b3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27; Tue, 6 Apr 2021 11:33:55 +0000 Received: from AM6PR04MB5623.eurprd04.prod.outlook.com ([fe80::5cd9:3da7:144f:36f9]) by AM6PR04MB5623.eurprd04.prod.outlook.com ([fe80::5cd9:3da7:144f:36f9%3]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 11:33:55 +0000 From: Clark Wang <xiaoning.wang@nxp.com> To: aisheng.dong@nxp.com, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com Cc: kernel@pengutronix.de, linux-imx@nxp.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 16/18] ARM: dts: imx7ulp: add dma configurations for lpi2c Date: Tue, 6 Apr 2021 19:33:04 +0800 Message-Id: <20210406113306.2633595-17-xiaoning.wang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210406113306.2633595-1-xiaoning.wang@nxp.com> References: <20210406113306.2633595-1-xiaoning.wang@nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR0401CA0010.apcprd04.prod.outlook.com (2603:1096:202:2::20) To AM6PR04MB5623.eurprd04.prod.outlook.com (2603:10a6:20b:a9::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by HK2PR0401CA0010.apcprd04.prod.outlook.com (2603:1096:202:2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27 via Frontend Transport; Tue, 6 Apr 2021 11:33:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3f2eaab2-a24e-4ec9-67c9-08d8f8efdc3f X-MS-TrafficTypeDiagnostic: AS8PR04MB8359: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <AS8PR04MB8359681F90FE253EAFFCB3B0F3769@AS8PR04MB8359.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:1079; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 54jdds3LhWW7caCOoJrQCtWDxC6JzoCGQKIYsVLtwOWCGd0RKZztOvSvjqJALKiHWA4C1vYSxyQwPHr5Th++ZMa7tQspemfjcynhtnle3raoI9oIxzJDK0Qer3CKotHI3BfghdGMvPT02Osh19yCMda5OiPt1p2RydDrcbSQSlQUdCLq3WuYfPRAMfuvvWoWF74K/2PZlTfMN9W6u3PM/VbbutmY9nUZxfVufkNDnRb5LvIKWgrN63x2Ui63k5kf1Gu/0/LdKTBcZML5zD1PFnr4Kh6b0lYBBP5kVh5/1JZZ9YnDKCJo6NaVI3wqEA2JYenQReny6dI9ggiwDNpnVVyivv/qV4U+LFMHyEsb/eynur5Lckqz17CaSo1nB1YVB1/SXolkxF97LNIi8v49ARFasGYFS6CTEPxX/3vkEwZrPTVNfXM8hv7XIIChUvIqCO3MqlTy2OCp6L7p71DO5aDJEQvLVRNICvXavcE1SA3aGenU7ES4cMkH22TgkdNzb2KawFKxqnxJ0lt/q0sTaFi9VbbeoYE3Ebqz2jjhWkzcozjedmC/j+tPig/5A0A5ek7IUkvC0iLe8tvY+p77W7vpPXOFAmnaY3Rdwd2j3aQAHAXKgXYXVaSD+jHnU5PSrvFr/WjoCBOB6x+9ZH9K8brq8Gywb9zWtZuSWgbc19YVvO032KkVwzCnNbWBS4Eytwth+SEOVnyWxSXha3BdNw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB5623.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6486002)(5660300002)(8676002)(16526019)(86362001)(4326008)(8936002)(6506007)(52116002)(26005)(38350700001)(69590400012)(6666004)(186003)(83380400001)(2906002)(38100700001)(956004)(2616005)(36756003)(66476007)(6512007)(66946007)(66556008)(1076003)(498600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: hEvTdSNWDuceGA7B5hK0CHpr11eiVBSwJ+v7ZmZP9rW0xACMrZszEI11H8VT12bCKOvyBByc4g0YV0+uRB4xeI+eP+QgFmukS4UAnbUu96mG4MXA037xoLUpwUKCiZcZghBrfXGgkADwRQbK0kDdzr7s7KtQcXEzzfatWOFTWXk0A5z/c6Ef+dQdJocMBzZ7Vfq4jNFORX+eMYkF0bBG8g5ZMvoqXYhivld1TN8dIwQcZUG1o3gemtlSGGFNXGab0gSD00iogLc8GsSu7qPF0lfqeq9Q7ueg3sAokzWKTWJgBfPWa+b4wCjCnwElUQznSuFF03GPEQ65qPMRzZBwtuJ+pnTrkiXdxoMFc9+aIwZdLp8NXlqYCarw2RUCbkVj2SFXHDbBXA8nJAXNE8cDzGcb90gep111ct3dx3E8fXpPFNYpg3a34gNUubUm9DBn87qIVQEta6hp0BylbNj35voBkYcD2l7P7KSxmeB7H4AjcGizdfcnMTTqJ/jPEqej+Ye+4G5fCWLdCGXJMNG6AWF1nHbiyWJCbX29ZnR+aocvDbor0N218fy1ahV7yaa06Aiuubi3uxzflMxvhj7ue6qopfMVHUID/+1BgSbPQ9goWNI5QbrWlburZdccGdR0J9n5gpXUx/qOROUGm4hXNJoi0G/qEheXUF3KPM63Zqr631UXFEb934USNiyEMaPj1N8fKaR0nqchrg6sr+lxUmcBBViPinhgGrax0AZAHAZSp5T0uRyVLTJMCUCjnj1+FW6RjAOf05JCYybnlx6vZ2HvuQhkQWSO4csGJw5TtoW+NgIuC6MbyOH+U/UrAZf/8zAXn2Wxx1DbV6iSgGphghuvxdkI/dhrIsVZiC6xiNE0XYGLBl7DxeL/NWubZHYa+lJZOUwt1dWAij15+eV/SCTzYHB+FBadUI0Mh0JoYm+3vXknNdLYlOZGvQsh8t44vAtC8+PXFXqnzNd8UKrzqle8HCpSSkvVpXHO5joYTLT3NhHRLIZpuLEUgdEEug9RgLYXXzfF0EsVxpkGI+vjdDcFLJp0tX2UA4bKU7wNImqqaPaM+eXGaBRHx1Ik08UOqG5C+rIe5eJ5LX2GTZF6/aukJRxcz675x3w8dcwWmLJu4bKE3Q/sJtYYbFM/wyjbFRFd3t4AYNS70UmsPrUNf3kR76F2/Xpr0aJ5d77Io+zMwIJsAlXhWKlDXcs/PpBCG4jChcfwaKBlzuvRYw3bTLVwV+El9tpa2PLzITFNx8LVBCAveFs2YSFOrGpgWXXnmsfd//QVQtJKWqmrQlU33Pc3ZkVrY2+BdvNY/Mc2LTYmFn2y7e8SeChNisD2ruGh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f2eaab2-a24e-4ec9-67c9-08d8f8efdc3f X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB5623.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 11:33:55.0799 (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: g+K3AUYmFYjAFRsDhrXwnxWhPJwDjPXEEScaF9tLoszufxJY8RUpqJ6StwBksvQHm5R72qmRcXmReQ80qUmNSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8359 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210406_123400_472924_B508EDEE X-CRM114-Status: GOOD ( 10.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
i2c: imx-lpi2c: New features and bug fixes
|
expand
|
diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi index 0c51fa79c0bc..a6681836ca05 100644 --- a/arch/arm/boot/dts/imx7ulp.dtsi +++ b/arch/arm/boot/dts/imx7ulp.dtsi @@ -157,6 +157,8 @@ lpi2c4: lpi2c4@402b0000 { assigned-clocks = <&pcc2 IMX7ULP_CLK_LPI2C4>; assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; assigned-clock-rates = <48000000>; + dmas = <&edma1 0 10>, <&edma1 0 9>; + dma-names = "tx","rx"; status = "disabled"; }; @@ -170,6 +172,8 @@ lpi2c5: lpi2c5@402c0000 { assigned-clocks = <&pcc2 IMX7ULP_CLK_LPI2C5>; assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; assigned-clock-rates = <48000000>; + dmas = <&edma1 0 12>, <&edma1 0 11>; + dma-names = "tx","rx"; }; lpuart4: serial@402d0000 { @@ -361,6 +365,8 @@ lpi2c6: i2c@40a40000 { assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>; assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; assigned-clock-rates = <48000000>; + dmas = <&edma1 0 14>, <&edma1 0 13>; + dma-names = "tx","rx"; status = "disabled"; }; @@ -374,6 +380,8 @@ lpi2c7: i2c@40a50000 { assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>; assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; assigned-clock-rates = <48000000>; + dmas = <&edma1 0 16>, <&edma1 0 15>; + dma-names = "tx","rx"; status = "disabled"; };
Enable dma support for all lpi2c nodes. Signed-off-by: Clark Wang <xiaoning.wang@nxp.com> --- V2 changes: - New patch added in V2 --- arch/arm/boot/dts/imx7ulp.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)