Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp372907rwd; Tue, 16 May 2023 02:11:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7KiPR4cy3R9oto5QZ8xEmG+IbLHJQlf8xA1NxxWC2FQO1Gvu1lsnbxdi5xTrSYWtvKviVj X-Received: by 2002:a17:90b:4b11:b0:250:d12d:1a1 with SMTP id lx17-20020a17090b4b1100b00250d12d01a1mr24892856pjb.12.1684228266033; Tue, 16 May 2023 02:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684228266; cv=none; d=google.com; s=arc-20160816; b=RnWLPLivAPsgF07iXJV2Kc+c8fYoEGRa+mf8jbma90UBmOP0zK3MO7kh7+mFVJdvmg MwxQ2CtiNUC8twYXj/9LeQMl4ckiDuplJl0P4kKgzIJqGijFkUnF+VT1szQbpYjGORlb zfi3MKd70L4kqQ79byXN6Jvmt51HhWQd1H4RAQ7CPNTdPz0BU++rtaz/E3uGGMTStAgo s2PCjvsEPvPAJIr+t9vjmTS0+OYorAyNJgvDfYxd0lc71SD6mVTsBz/V9/zzFYwLs214 lPaajGPKVHJQgpjfYPsbVbRKvFRH05AkjeAZJeBiJM/hjnZm5oBIY1iRvkL+vZSZyFq4 BjbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=3Fsp/r/3X/nR5Dw9Y1Zsp/W7/PyEi0YNOAlMQBXhdvU=; b=wJOzMs2eJpIhNAgv8706JcZRZ70KADzntQqUVYgJgk6zWNft6iWsPK95Ts9bHbxoTi HQoER9RlxkKByXQGmUIzJw4nNoEQ1GdfAtM+s/Y2S7SVXavrFpZcDscJFERBGzfB0RF5 AenDI8yHJhd5MRx+zU5ajhmNbbF+V8ged9zTq2+ihR+JCrwtIyENnUhjOhnIUOck1iIp O/ijpqYYzC79WAZEH/3hyt0Egr4hWpvuK6G90iTuy2FJLrFeRTj0vPojQ1w5GXXST/Mt vpzgcJpNCJcjQGcPoqDETgT5fdCY1VBBj9ELBbkH+YFsQi6mUZJxAQDf4VeBE5HTiMo8 zcHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IpHvYlsd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fu21-20020a17090ad19500b0024681cc291csi1372076pjb.88.2023.05.16.02.10.52; Tue, 16 May 2023 02:11:06 -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=@amarulasolutions.com header.s=google header.b=IpHvYlsd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231710AbjEPIwy (ORCPT + 99 others); Tue, 16 May 2023 04:52:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231594AbjEPIwm (ORCPT ); Tue, 16 May 2023 04:52:42 -0400 Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAA114C0E for ; Tue, 16 May 2023 01:52:28 -0700 (PDT) Received: by mail-qk1-x729.google.com with SMTP id af79cd13be357-7577ef2fa31so179230385a.0 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=HNZi12v75oBzYyMO2dA3av6HnU81wPOL6Evy4GEaUd9LDhKfUBulO66+tOEFPmRhhg 5qVpLkTzxJmQ/Ob8/aMCSLUYgOiqa6YvwlCZy2xF+tsxAig3hPFEIknr+eib0+UO5OE7 cbcyvcw6LQXXcA1sQpCB5bOiONzeV4IqBtBCXbNC9hGeLQgNCGkVu4eK1PndWd7xsQOQ Qpu2qFbpiH71HJQw2qmi48/ZOUe3KXnycEdUpfDdfL9QvMEaN5CJUVh+y5m7tpbHkQ2I uepPbXBnJC5TuYqU4yQwuDP5oKo5fRsxGLMlOWCG/hSdN9W9tHxSZ8dEFac19ceWsblY vfJA== X-Gm-Message-State: AC+VfDyq6PSlnu7OyOhRzcF5DQbwrQz0Z9m5SA+5b6a0TFi0CVPC/xZr LJQeZ1CUD2mw5nNYUh360u9/2SFHJH0EE3/x6RMVPg== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.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"; }; -- 2.32.0