From patchwork Thu May 12 10:40:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrejs Cainikovs X-Patchwork-Id: 12847519 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 43845C433EF for ; Thu, 12 May 2022 10:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=1gEgIG4r+/LI5tV73ALI4N3eQcgtDUbXDRknk/GjRew=; b=37Ihjm1LK9Iovn Q0rE495ILg7kWT9/x6d+7Om2plE8RcCP9OFMgpLuyodwG5JO5btNhsvMEfx4qtFyZ3PsR7KwbprOZ 97GnXR1jvVV4rDqJR1t5z1OafVCK6Ypc4u39qwKBKy5MO9QbfbXIfZeL6OsBGvmpX7yqoox7txezc xKjd1PqZGvnvyoXqfzSXx9IUGmpt0OUt8wltF5i74mUlabevhVaWxhIHTC40cCPqlz0C96k1lNrS2 oDAqTNvHmJ4wGOV4Itp9zrOv0ATj5+j5q0d+SGA2RkLw/X07A9mdnW+/Y7nF8HjZsTEWeRoImdENs HBSn+O4UVxzUnB0MWM3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1np6HF-00BQ22-8D; Thu, 12 May 2022 10:42:37 +0000 Received: from de-smtp-delivery-63.mimecast.com ([194.104.109.63]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1np6HB-00BQ1L-4j for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2022 10:42:35 +0000 Received: from CHE01-ZR0-obe.outbound.protection.outlook.com (mail-zr0che01lp2109.outbound.protection.outlook.com [104.47.22.109]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-19-ON1_0Q35MvWzHiXY4HjlsA-2; Thu, 12 May 2022 12:42:24 +0200 X-MC-Unique: ON1_0Q35MvWzHiXY4HjlsA-2 Received: from GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:57::6) by GVAP278MB0406.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:37::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.13; Thu, 12 May 2022 10:42:22 +0000 Received: from GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM ([fe80::7b:8f0a:1d7:60f2]) by GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM ([fe80::7b:8f0a:1d7:60f2%5]) with mapi id 15.20.5250.014; Thu, 12 May 2022 10:42:22 +0000 From: Andrejs Cainikovs To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team CC: Marcel Ziswiler , Francesco Dolcini , Andrejs Cainikovs , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] arm64: dts: imx8mm-verdin: update CAN clock to 40MHz Date: Thu, 12 May 2022 12:40:19 +0200 Message-ID: <20220512104019.19725-1-andrejs.cainikovs@toradex.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: ZR0P278CA0154.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:41::9) 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: 8da1c0a9-fe6d-45a2-08a8-08da340418d2 X-MS-TrafficTypeDiagnostic: GVAP278MB0406:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: E0Tlj3cJSt1vfW1E7WJ0bcsHItqmqTAOiRgdFsZF6z7ExWINlWo8QlSdK4kt9pFT2YipDpEea5rWmmudOvEefJCLkYSp8XQpsVthfqopWhrYod45UqiRxZ//VB7hm159arocVYFTAb/Rxaj9vP/ggHDf14/HckvnSc9Wkz5FHBVfThpqDkr3MQX1iJsSQ+uu4chEJgMlC5SNReQSg0fdTRpBthp4XeEvt0n8qOh0nSVHn8JuNd+XccECceP4JfX4By9okcKwq7qganHJGoSXzv/ju8hgrjP2I33y2M9XRPO7Tqbe7tJYsnf0Z0wyYrAhn01r6aEbvg/UaPstjWUZAGvg9WV67nMCKqmfuKD5btWt9/8Unc/RbhH8OEpW2TaG28m+ufeJWH+m0uGqgMxUA6lvLQtpW04xAnkUPy9elrZ9aM0rUa+h8ZmloQx99kylNMyHjxzX9s39ENXJhm6GA2L69akzULj3ZXCCpjVbB0U6AQ1gDFpBIJFibj7WbbSy87DX3csaRcZHkoklIFgTeTTytvAwtFMsJGFqHdywJTDMgTyJYu/yQ4XJ88eie2viPUfX3PIkPqTGNy/hwh95eB8MIeAnSgnkmmI2sJezy2yaZ9uEjKE/y6kdDzzVamiEq91fAuUe+Ikj5Jj0my5XDglsCXJhl15/gDNK5A5+VSKxvWzwZ0WzR4p3hbKaqEJQ278kqvthEaR7v7GHHOOJOmCtJZnnOqrQebcfBTGURgA= 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:(13230001)(4636009)(396003)(346002)(39850400004)(136003)(376002)(366004)(6506007)(52116002)(6486002)(316002)(54906003)(7416002)(186003)(86362001)(36756003)(6512007)(26005)(44832011)(1076003)(38350700002)(38100700002)(83380400001)(5660300002)(508600001)(8676002)(66556008)(66476007)(6666004)(110136005)(2906002)(8936002)(66946007)(4326008)(2616005)(15650500001)(32563001); DIR:OUT; SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qaHjhBPzWD57zf70evWcK6zHURO0TSpW4t63uz54IGkLgOghKnmwfERKhxWD+gh8OiyHFOihbuSpSJqBpyvlBXupQvAc17QYU8AuiWd9Lu3m5pYSx9v9no1fYjWsVN3QBTPOYZuo4GvIAf+6P7HB4V0/RGtxAheVCOWNthxVZUjJ+/OwwFWsr4mgi3jtiSckXzSkdB+H57u4zLBG0rfHoHCp2WpdqlytKuzlw3mc5868IHwXK0aws7qvP5DXq0F4Eu+IsLIllT33O3lfoKH085WYaFHX5BExcJETkFrKAJrn8C5QVeVq79icIchVvAlXk7L1dPd9+HK8RcDh0s6kvR/IKX3PQna2oqLryBeRfyvynjq6tDLPVe6Tnn6KjnXif+1bImbaUuu/MKwW+xH+CP9BTFvgpsxEKiSfzS9H1GbYGJG67o59ltP6ATqZTqdFG2uUqzilosXPtBYq2pH6gK/Q1U+n0vn77gn9cfbgG+JKrhKElR49cazOTxYCsUGHbEJ/LQ6IOlmynDaHu2BgomN++dymGBRt967PX6vddX/fSYX/IFCH8aH8RBitz8NNGVZE173Axdr50yqlLCwAiWc1L1g4mwdfvoUCaJ9NQ6iCCu93DvZMe+HkQzRxTE8zFpE+cvm+g+gEiJODBEnSpl9smRgL+4Wb/A0w8tQOiJoI+sFaagcX7z9cQHw7DAJ9gkQ/JMC58pPPeGswm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g: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8da1c0a9-fe6d-45a2-08a8-08da340418d2 X-MS-Exchange-CrossTenant-AuthSource: GVAP278MB0929.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2022 10:42:22.8684 (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: zSVa6hcYhYzH/eg+XHjRtIQZ7Pru600D57pEDq+Io7be3XT3VJFWgc/p0TZCVvSE0sr+RXsKXX/ltNApLOr8ECCS/GOc8xP8SxUZW0x+7pI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVAP278MB0406 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220512_034233_534809_B95C0AE9 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update SPI CAN controller clock to match current hardware design. Signed-off-by: Andrejs Cainikovs Acked-by: Marcel Ziswiler --- 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 0d84d29e70f1..d309bc0ab8f6 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>;