Message ID | 20221020095934.1659449-8-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp10947wrr; Thu, 20 Oct 2022 03:04:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM50DbjVd2NDv/fWu3Vxmm6s4Nixbyv8dkaf5oi11fo6MoIthbBu2h+Fw66vVVLVdzVOkKGb X-Received: by 2002:a05:6402:e9d:b0:443:7833:3d7b with SMTP id h29-20020a0564020e9d00b0044378333d7bmr11079402eda.151.1666260247106; Thu, 20 Oct 2022 03:04:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666260247; cv=pass; d=google.com; s=arc-20160816; b=F2c0hsT7A7SZAJ+a1UC9zyhSMO/yO5WtgCrMNCxPjHoFPgxJmenthk6mJHYjCmQt75 aGnWCoGUUer4jKK915spGbIXBfSBejvKbNJIfp7p3TKAVhtlL7JLJXR9GUt4OnCzDjGF 97bc+mSAz9mBI8TQ3szamO5ggvjOxFpNpLSjwkxZ51VndCuZ5AWdyBJNhJW4wkEM1XEM GK8ZF+K6U7Oz/Sn7cysPnYeT9apB+e7qsDVfd0Mp7+c4v0oPIQ/DJzqrZRoIdsSY/CQE lKwuwwSVrvmKzAId8+IOrYpubO9fFqp2Vdbden3z19jjDf3yD7HnFi67+cJx2r5mzTCR UvMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HjyyWpjNKMZ8ECRPOYXHOwcwncemsUDhOkkBQGpoU/c=; b=aVQw+D1tU+q40oWXtXtkTo8oAel7cpn8gQ0wtmHgIK21C2wHw1GrZipuWGrA8Z8axL /ivG5dPoIKKQJmcrSPXhovrEiOsDtKjiyEHm+2L0DS66j+pBpquEy14jLx4Jgc6UKDOa yhDLmzjx3x27k2a9Nuonrqcr2J6jG8rwkpge5XWcRktck/YewXbn1/wKRq6hn3ozb4Oj OvxrNguPbiS/1lMbGo/6+aF6FkYHh7Vvyfztj/cd2V+AWrTPhvmr7jwiBWplfKWXVh8w 8aV2m2AztQaS1kwuiOtNeXeZrM5dp2m/EQBef6mGQTsUG6Gu/IO1EbZq//WR/yGwOu4n H8lA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=mEjipQOI; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a056402084d00b0045c98bb5359si20602289edz.590.2022.10.20.03.03.41; Thu, 20 Oct 2022 03:04:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=mEjipQOI; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229962AbiJTJ71 (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Thu, 20 Oct 2022 05:59:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230202AbiJTJ7L (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Oct 2022 05:59:11 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80081.outbound.protection.outlook.com [40.107.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2EB51CFF38; Thu, 20 Oct 2022 02:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ViOQkT/1mg69fM5aBVcHv2AR4ngd5vd0V81xI9I8YSb74OQyaeEypw8NmTxCBaTvGpc+uZDuEm/o1RVhj5rmj7z4sGfZkIQa93YTQarZ8kShXaRxLPwXMXLofbouaT90htzvmmr1LpX+KQp47ao8USvScjuSeTjlCjzOLe6N7+M9wSelLIzwYBbTpkdD12+SSr5GHDGyX32pfGqKpaQMGt24vt0yzxdTNC81F6p7ikS7kQBlKxjt3WyoBH3gal0d8zjOhIiGySz0vTVmroK152f4txkNJ/tA9lJC6YOpo9mpKoojuCPOOfhsbxQGoEb5eM7D24wVVOYrLVP08bBNpA== 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=HjyyWpjNKMZ8ECRPOYXHOwcwncemsUDhOkkBQGpoU/c=; b=WXcwmXIBeIuE6Fujq0tIT6RRXEi/NN8By9YScaa8LiV0ACPXm/LbUUl3KU0FhEOq0QGDjtgKDNBPOyZZsvYW5Xv4NE5cuUlGbT/9q4/JklvuPwFN8EzUEh9Cg7y7zwZxPxcUAlZx+UDF043HDaGZ/i6htKl1SJCeIrIjCIkyoCPDFw3cMkMUnxVPY6BgX9yk38EHF2fV0lfyHoXoy3lunkNqu9smZrHw2Qx1cnvVHZt6jWHU0NxDm8a3dkN8+kNoA3ysc4KCUMTzD7AYXaZccGcFhyeFWrpkNk3ylxwDiPjip6OvYs4XMzRDNKKZavuMr2IRgQm7Lb92JIAmsX5v1w== 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=HjyyWpjNKMZ8ECRPOYXHOwcwncemsUDhOkkBQGpoU/c=; b=mEjipQOIo5SrQ1Cs1Bmmwu5nBQjFWCKhFHfcYeqvwbmKTphr1LeFOy+QyNXNEynTSB7S/EVwvUFW/NbAkt1DjXpkg9CDNONfUUH10XIKHJrxV9KcP4EQjxPXZGlLp/jrKf680vXk3acusiIA3LjLi9GnYqbf0hRMA/cytTnL3P8= 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 AS8PR04MB8039.eurprd04.prod.outlook.com (2603:10a6:20b:2a2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Thu, 20 Oct 2022 09:58:41 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a5ff:3d28:4bbc:e1ed]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::a5ff:3d28:4bbc:e1ed%6]) with mapi id 15.20.5723.032; Thu, 20 Oct 2022 09:58:41 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com> Subject: [PATCH 07/15] arm64: dts: imx8mp-evk: enable I2C2 node Date: Thu, 20 Oct 2022 17:59:26 +0800 Message-Id: <20221020095934.1659449-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221020095934.1659449-1-peng.fan@oss.nxp.com> References: <20221020095934.1659449-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR04CA0008.apcprd04.prod.outlook.com (2603:1096:4:197::20) 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-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AS8PR04MB8039:EE_ X-MS-Office365-Filtering-Correlation-Id: a745d186-fe34-4beb-0737-08dab281aada 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: DmTertx4RlqzXD4zcxHICdMyLxjG3HLkZs3/43h90pFiLByf23Lc6BDgXZ4nnZZZZjbekU9ZdtCtMTGfMAiqch9XeuikXzI/qOSgLpsinpI7AQfD+GV6qg4OgNYYNkSEU7sUBVfEqaPQ7MOFR7MtSgCs1+K68pW2vn4t8hVUmG8xpZMVVuDNSrMBMUn8sEMA4dMmcuieXxXlZUd7b7v6gwaFRWb1WjFhaYkcf/D/dfzrf1Oc7ynEwqGH5cEEuQYjdAxvH3TV6BeD7tMdTqLn7bpVChrqpOfUN3LbmcsfMQGsXmjn8CymqqbOMdiWW/fNVJm0vfQ89eEl1/BFYjeTqtmOUiYaskTZ6elT1GeSnXca+mN0eSMjOdrgybzGJmclFeQZRansiUgRcM2/79WcIeAADW0RqpfLI8TQh6sMBFogGcDWzlE+m6dr1jiMh4OyUAypQtFXvppp1zeKfkQo6cRYK/fJHzozL0s58HfzOj11OLY54K+ROSwpplYL2DaBNJkDCBb9Ah/6BHRgEejCXcO8oPpRsrEr2wYIobBlNhbvz92jkzyo/ZVAnvtvalXdLLVjB7uoxzePRRtPK/septwNWJI1fytdE9ktkglY2I+Nu6Hjf2c3uRMTARxVTyd8Oa9hu8/OoCaM3N0KylVS7sA/l1grgVQ+wHHBMA9xZEaiblliCOkBexBvS63N3plngkbPy+RFZ1fBR5epMPaiGey5BHk97gSWSr/13a9HA5Cfhbt2wMbTMy49G+85fxNMTuLx2UNE8SUf/QDuW55N8gp13+OTSg+K2aH0gr1bISM= 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:(13230022)(4636009)(376002)(346002)(39860400002)(366004)(136003)(396003)(451199015)(6486002)(83380400001)(478600001)(86362001)(66946007)(66556008)(6666004)(26005)(41300700001)(6512007)(4326008)(8676002)(8936002)(66476007)(38100700002)(2616005)(2906002)(38350700002)(1076003)(186003)(5660300002)(6506007)(52116002)(4744005)(316002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Nfw62cOhxUaPTLRZGlmOYIluVxqTfjBKNtkIk6vW6oE9E/XUJlUPdHMbAQ7rNM7VGH9mF6NEE6dMsF+/Zbr0jadstdc9gRDXKaAeFLNw1QTDro03vt62vh82WCZkBX/pqDt9zMVyC+6AYrRQyCk8OYPwBJTzDEcX//IhoP9sLkXq9TMlZABUzJ9RMSQh5gbKDxIkpKt0A+uwbeDP4u89MYAwoC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WM19Z1i1ZrN+/aTzhq1FqvlfjuoPDFe48kkkgtRUibclmSBkei18UifQq8IeUywYp8y1iBSKGG1MPqW7xcRsgLZdYQKNqn9kXnH+RpeC+gRwFVIqufb7D9iZaNeCU7uqpjqYSf5XfQKZ6945qTLGVjUHDBTDOo1P7AthqC/X4/eQkzub9a7v8Z4EsOOkKi6DwVE1domz0ahRoYTMNrZYzzvxoqaUygy37LTVE/WeL4ZyCHmOsFJId0DbU4LDRJH7wAem8CtIkLFHtIeK1UMkk6SecOY6bXUp1SEBl3csJMRTN2CJG7t X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a745d186-fe34-4beb-0737-08dab281aada X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2022 09:58:41.6255 (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: frBjcwg4mfh6076FEERNgh/O1HzOXIIAm8+IGl5a0xwnu5205s9FJW+LVN5GXlPM1xdqycmDm2fSIdmnK/WwCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8039 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747200504984493805?= X-GMAIL-MSGID: =?utf-8?q?1747200504984493805?= |
Series |
arm64: dts: imx8m-evk: misc dts update
|
|
Commit Message
Peng Fan (OSS)
Oct. 20, 2022, 9:59 a.m. UTC
From: Peng Fan <peng.fan@nxp.com> Enable I2C node for i.MX8MP-EVK Signed-off-by: Peng Fan <peng.fan@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Comments
Hi Peng, On 22-10-20, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > Enable I2C node for i.MX8MP-EVK > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > index f36033b9cebb..d4d52ac25d1e 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > @@ -367,6 +367,13 @@ LDO5 { > }; > }; > > +&i2c2 { > + clock-frequency = <100000>; Can we please set it to 400000? The driver already supports handling the erratum ERR007805. Regards, Marco > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_i2c2>; > + status = "okay"; > +}; > + > &i2c3 { > clock-frequency = <400000>; > pinctrl-names = "default"; > @@ -625,6 +632,13 @@ MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c2 > >; > }; > > + pinctrl_i2c2: i2c2grp { > + fsl,pins = < > + MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c2 > + MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c2 > + >; > + }; > + > pinctrl_i2c3: i2c3grp { > fsl,pins = < > MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c2 > -- > 2.37.1 > > >
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index f36033b9cebb..d4d52ac25d1e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -367,6 +367,13 @@ LDO5 { }; }; +&i2c2 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + &i2c3 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -625,6 +632,13 @@ MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c2 >; }; + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c2 + MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c2 + >; + }; + pinctrl_i2c3: i2c3grp { fsl,pins = < MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c2