From patchwork Tue May 16 08:52:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13242799 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 8418FC77B75 for ; Tue, 16 May 2023 08:53:00 +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=zk0i3837DJCHAku9qFv348b+LKL7tXlhTqCMkC0uOh8=; b=TlBDt3XCzBcowg N1zA4WZ5wE1euQzBHOcdMfv7fU83hSBftSQbBITYI71iFh+GpJ5mUlFqgJwopz/D5dZd3YKlLvRwS DkTFJFZI1ZGeAutjd3Nigc9IW2GJyeY2AtLfaOgFKsoZoFwyFnOK3Wr2CGoqUvGOl/EYSKnqmzF0o CzsXWX3pACqES/kbhzdfqNvLZBY+h09lb1USKU5jvPJuy4MO4xQ7l8nVHANGfoZzxnNXjDGc6TGIh tXbKsJp/1qVfbuFSIHfQpURyUXyPAjhoLKFo3IsqOdoqttNmkpF6p9LfFDXRP0ozHY8UT5W3huVm9 +2c9mIeMJM8lxN9BxFlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyqQ6-004w1A-16; Tue, 16 May 2023 08:52:34 +0000 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyqQ2-004w02-0a for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 08:52:32 +0000 Received: by mail-qk1-x730.google.com with SMTP id af79cd13be357-759413d99afso172333385a.1 for ; Tue, 16 May 2023 01:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1684227148; x=1686819148; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3Fsp/r/3X/nR5Dw9Y1Zsp/W7/PyEi0YNOAlMQBXhdvU=; b=IpHvYlsdGHRVrxdSldGKJOZaCDHvYa3054Jl2mOcEZkIz44x3oKuYk+VAZ+abkVCHZ ryThXyKnU22y2lO87uWBgHjsmA7Y4yXjB1rq8PBl1o688QRwuYjGDJhG83VlUfZpCZxG 1X3Wv34o5BGtgOQW3TLfRUXLewQFbYKu23RfA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684227148; x=1686819148; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3Fsp/r/3X/nR5Dw9Y1Zsp/W7/PyEi0YNOAlMQBXhdvU=; b=i2jcx1qKZsU8BN9KkW8c5SSDSM04A0ksCjnRPZkgGe+sNu6X9Tda1aIpHECuRgHHRo ujy8/DtI8TywJZ5zVWeRApG09J/hj+sHpbGa5OzYJtI5qgMIYJzZQ1RpHLGKfwE7qnW1 Hop9oQjuKQdI5EPXlCZJI3oAWcIVvauMgx5WiLEzh/CNiTm7Cb6CYrThmrues48GADpx xQ7+OglVLzzfuGfujodeEic4TGpBNm1ehLjL39X2Om/NqaPF3x71jTIHk76InULsPMp2 lfnMeiKdltoEOxlvGJl/lDpjEGP90/g6TN9F6Ll+2VjYxyvYETjELXjuv5n5GheC60zv ZVaA== X-Gm-Message-State: AC+VfDy104Fzwyc+q8iynlJ07VweA+D0OoDvapPGC+S0bNaQ0yKWpztj PmS7lZ8h1dDCOA6MLxD0L9VNow== X-Google-Smtp-Source: ACHHUZ58ENGBVYW2227e7XYFPh3fQ4T1J9FrMj5V0IlG55RxHnBgxuqmrqQC6uWuWy8Rx9ld0qpIlA== X-Received: by 2002:a05:6214:29c7:b0:56e:c066:3cd2 with SMTP id gh7-20020a05621429c700b0056ec0663cd2mr58463378qvb.2.1684227147882; Tue, 16 May 2023 01:52:27 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (mob-5-90-62-17.net.vodafone.it. [5.90.62.17]) by smtp.gmail.com with ESMTPSA id d10-20020a0ce44a000000b005ef54657ea0sm5480337qvm.126.2023.05.16.01.52.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 01:52:27 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH] ARM: dts: stm32: use RCC macro for CRC node on stm32f746 Date: Tue, 16 May 2023 10:52:19 +0200 Message-Id: <20230516085219.3797677-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_015230_244726_7474850D X-CRM114-Status: GOOD ( 12.62 ) 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 The patch replaces the number 12 with the appropriate numerical constant already defined in the file stm32f7-rcc.h. Signed-off-by: Dario Binacchi --- arch/arm/boot/dts/stm32f746.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index dc868e6da40e..e3564b74a779 100644 --- a/arch/arm/boot/dts/stm32f746.dtsi +++ b/arch/arm/boot/dts/stm32f746.dtsi @@ -515,7 +515,7 @@ pwrcfg: power-config@40007000 { crc: crc@40023000 { compatible = "st,stm32f7-crc"; reg = <0x40023000 0x400>; - clocks = <&rcc 0 12>; + clocks = <&rcc 0 STM32F7_AHB1_CLOCK(CRC)>; status = "disabled"; };