From patchwork Fri Jul 8 12:42:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrejs Cainikovs X-Patchwork-Id: 588667 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 3E9B3CCA480 for ; Fri, 8 Jul 2022 12:44:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238395AbiGHMoF convert rfc822-to-8bit (ORCPT ); Fri, 8 Jul 2022 08:44:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238322AbiGHMoE (ORCPT ); Fri, 8 Jul 2022 08:44:04 -0400 Received: from de-smtp-delivery-113.mimecast.com (de-smtp-delivery-113.mimecast.com [194.104.111.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 647742E6A6 for ; Fri, 8 Jul 2022 05:44:02 -0700 (PDT) Received: from CHE01-ZR0-obe.outbound.protection.outlook.com (mail-zr0che01lp2104.outbound.protection.outlook.com [104.47.22.104]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-39-VF_sHnICOP-Bni6T6PwiGQ-3; Fri, 08 Jul 2022 14:42:37 +0200 X-MC-Unique: VF_sHnICOP-Bni6T6PwiGQ-3 Received: from GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:57::6) by GV0P278MB0353.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Fri, 8 Jul 2022 12:42:29 +0000 Received: from GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM ([fe80::60ab:6866:72d4:904a]) by GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM ([fe80::60ab:6866:72d4:904a%7]) with mapi id 15.20.5417.016; Fri, 8 Jul 2022 12:42:29 +0000 From: Andrejs Cainikovs To: Marc Kleine-Budde , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team CC: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini , Marcel Ziswiler , Andrejs Cainikovs Subject: [PATCH v1 1/2] arm64: dts: imx8mm-verdin: update CAN clock to 40MHz Date: Fri, 8 Jul 2022 14:42:04 +0200 Message-ID: <20220708124205.59564-2-andrejs.cainikovs@toradex.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220708124205.59564-1-andrejs.cainikovs@toradex.com> References: <20220708124205.59564-1-andrejs.cainikovs@toradex.com> X-ClientProxiedBy: ZR0P278CA0033.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:1c::20) To GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:57::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ca966cf5-4b02-46ae-fe1f-08da60df51ba X-MS-TrafficTypeDiagnostic: GV0P278MB0353:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: UN4TrC51Bc0E5+ko0olgY9dUevSQusbN6fcXcZjF8XQnv2zzN+2DRCTbl/JNR1opnv31cK5CHRU2mYAhO9XAQZykTy6g2Ushkq3hTXWd/SDismHkgH80mjG+iYreU+Bucaj9A1onisvVzGIDAu0frwF5dH3f2za1NfH/nCgEhlm0ygwfl3098DF9R6T0WAiCtjvI9jW97do8HN2jmv3z0XTsaQsJs6ii7o8iZHtYBAf24t6n1FUy6NWVYi2KXL3u6kZER4/+OQ2Kd7fApvWs7DgNmUZIMlSyk5edsaienOESS+HZMnkihgxwV6NuQEFgkS2PAc/xEM6Z6QLbe/JFxkKDfo+5sN2E6UkevhgbTnv34DIFKbRrNT1tT7c+wy6r0hc5SLSE78zfoQMN2H+UuksDCOMPaW+DuE3jv2t6gKXainW5YZbY6WjpLYYzMaRlSMooI0frrFua4ouF/oUdp/fTmgmb5qJQeol4gwsTjv8KL8qo1YjJRqMXMbpjQtIRoeCZ4mo5/7PhrD8WCYfqHymX1x2x4AfcXuDKhKtazM4AgxccNnCpJcrb/ynhuaKkR+ncGYwYFismF4gG+ZuSNfq8uK8eFC63XdpMtjykOjYXLwTTZxk2qygJRGuaWRlY8lqE2fs0E0klI2Dz5IZSqbfqfKE+sWoDiEYfruj6je7/NPbNSF4q03K+HaenQSbX/5Slqv9SFo+0mvtBv7BdqBeeQwJCaT252w+7fGWtlkjbIigDVb9AxmJuzza6LB/chhtMa6lgoMQshAAwiyl7xF7Po2xVWG9Rf5Q4Zd5subKdiV50pRAtVkBpmtmaGuL8gRoYCIglwEW3OWtZ4Jqq5A== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(346002)(136003)(376002)(39850400004)(396003)(186003)(83380400001)(38100700002)(316002)(110136005)(54906003)(6666004)(44832011)(478600001)(8936002)(86362001)(7416002)(66946007)(107886003)(8676002)(6512007)(2906002)(2616005)(5660300002)(66556008)(1076003)(66476007)(6486002)(26005)(15650500001)(4326008)(52116002)(6506007)(36756003)(41300700001)(38350700002)(32563001); DIR:OUT; SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: RFDtSzS10tznYur+efY74WQYGecKvhRZmFW7iyn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/S4Vbg2fZ8IXcyna2mxY1toTZ7fQ7XzymUe6qGdJ/YN18aEBcRc3d58sWlVYS7EWOqGh4S761JMZruKaxUboDFZNZ21f12ScZSO70ELXUz1oT7olBvexMt67Z1r2l/NTsEgY/4m7O/+ydso5rRhapyHYJ0AdhHB2cjzhrHPkbAqyEhLgeRwVob9QO50PlyJk7oO5Gm8gnp2wxJ1EAmAW9uMdVqvSJZB0mQFdYDgXzqYZ/aNAlqPnQATxZgYAvl1KAKjrAJKWGH9+qoPWOXwkEqAfgLsirHDQ0HIoXVovOm5WPuSDyG25PuSAroN/mUXDYXux5d1UU9383BGXnPRoI1m3L4EHkcHkkv6Pr9u7IUYTOrgQ/dSnn3JTtGQrUaGfU8jwZhyELxFtCv4Pb4thxkpa5IAO5oRqjyAWOYCwO/lVIDqcZKqgkqL8vW3v+oDCNOTIjoXyOYWHoWiGP2iA3mJfMHpYee5Kba8lXCntmMdWOpA== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca966cf5-4b02-46ae-fe1f-08da60df51ba X-MS-Exchange-CrossTenant-AuthSource: GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2022 12:42:29.2935 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9oJdbExc/+xg0cDGeYDANMv1uNNSUGObja8yVyiEvm4OflGo3cKtTaEtn+RixBZMN9LP4hN0ERIWIOQoufjdMeM2YrJUa/8NHrm+YQLsHh8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV0P278MB0353 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CDE13A77 smtp.mailfrom=andrejs.cainikovs@toradex.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: toradex.com Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Update SPI CAN controller clock to match current hardware design. Signed-off-by: Andrejs Cainikovs --- arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi index eafa88d980b3..2841c6bfe3a9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi @@ -32,10 +32,10 @@ backlight: backlight { }; /* Fixed clock dedicated to SPI CAN controller */ - clk20m: oscillator { + clk40m: oscillator { compatible = "fixed-clock"; #clock-cells = <0>; - clock-frequency = <20000000>; + clock-frequency = <40000000>; }; gpio-keys { @@ -194,7 +194,7 @@ &ecspi3 { can1: can@0 { compatible = "microchip,mcp251xfd"; - clocks = <&clk20m>; + clocks = <&clk40m>; interrupts-extended = <&gpio1 6 IRQ_TYPE_EDGE_FALLING>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_can1_int>;