From patchwork Tue Dec 29 11:47:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 11992221 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 850B6C433E6 for ; Tue, 29 Dec 2020 11:49:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A6C9206DC for ; Tue, 29 Dec 2020 11:49:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A6C9206DC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=hkMcrbkPwLiLLAsCATa5RHQ+kNs/artqfeX5fQJuOMg=; b=f6oY0dXdjwC9NAHjAzzzgGkAzN qwBwuEdNXek2QQDpuds0i8jJhY6TjZVQGHQHTPuUqDyFx1UfMYiKsl8NOukVaOYwqW4pcMk5Zg27T b4DEJ4zKeBVnfsLDYsdHk5Hx5Sd/YWJIRA+aaClRuZm5olLUvVuZ2P0BdUCzOaUkaIRHFpWnw/WcF f0Sgw5cVwMgXefeSrDTAtGRILKLh4Dk1e3guxVpShkNXzedABF3NzbU4yjGmGGABqiauzG5/tx031 Xs9sLytunW5SikCzzztg3/T/8yhUn7RtEZiIkIJNaKy9qK9sw6kMk4H6k020/xgDUQIGrzybcr1u7 1T2iNl5Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuDTy-00033v-0b; Tue, 29 Dec 2020 11:48:06 +0000 Received: from ssl.serverraum.org ([176.9.125.105]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuDTt-00030L-6q for linux-arm-kernel@lists.infradead.org; Tue, 29 Dec 2020 11:48:03 +0000 Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 5CDD722EE4; Tue, 29 Dec 2020 12:47:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1609242466; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VrXbXLZtCoumKFxMp1+LesYeK4uPvY4I2rBFNv+DLVw=; b=fN3wAdzqZxlMqIoLQDqHH46ENIluyavZ/Hezwr0Yf0c9v9B09V7DpfEUuwE5O7+BS0NboT UmSHdpHtE36Gd4hEPZ/B3wWttudTdBKjp4Ke4mIhqiO/9AXPHK3W67OGFkHlqJuFfal30q cOqxKWPTtfQr6Pl1YaHz9jTil1UM8Jw= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] arm64: dts: fsl: use the new clockgen constants Date: Tue, 29 Dec 2020 12:47:33 +0100 Message-Id: <20201229114740.7936-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Spam: Yes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201229_064801_422996_0649CE21 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Walle , Rob Herring , Shawn Guo , Li Yang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since commit 4cb15934ba05 ("clk: qoriq: provide constants for the type") there are constants for better readabilty. This series will use them for all arm64 device trees. This is just a mechanical change. The change was done with the following script: $ sed -e 's/<&clockgen 0 \([0-9]\)>/<\&clockgen QORIQ_CLK_SYSCLK \1>/g' \ -e 's/<&clockgen 1 \([0-9]\)>/<\&clockgen QORIQ_CLK_CMUX \1>/g' \ -e 's/<&clockgen 2 \([0-9]\)>/<\&clockgen QORIQ_CLK_HWACCEL \1>/g' \ -e 's/<&clockgen 3 \([0-9]\)>/<\&clockgen QORIQ_CLK_FMAN \1>/g' \ -e 's/<&clockgen 4 0>/<\&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(1)>/g' \ -e 's/<&clockgen 4 1>/<\&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(2)>/g' \ -e 's/<&clockgen 4 3>/<\&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(4)>/g' \ -e 's/<&clockgen 4 7>/<\&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(8)>/g' \ -e 's/<&clockgen 4 15>/<\&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(16)>/g' \ -i \ arm64/boot/dts/freescale/fsl-ls1012a.dtsi \ arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts \ arm64/boot/dts/freescale/fsl-ls1028a.dtsi \ arm64/boot/dts/freescale/fsl-ls1043a.dtsi \ arm64/boot/dts/freescale/fsl-ls1046a.dtsi \ arm64/boot/dts/freescale/fsl-ls1088a.dtsi \ arm64/boot/dts/freescale/fsl-ls2080a.dtsi \ arm64/boot/dts/freescale/fsl-ls2088a.dtsi \ arm64/boot/dts/freescale/fsl-ls208xa.dtsi \ arm64/boot/dts/freescale/fsl-lx2160a.dtsi \ boot/dts/freescale/qoriq-fman3-0.dtsi Afterwards the changes were manually clean-up for proper indendation, the include file was added and split into individual commits per SoC. Michael Walle (7): arm64: dts: ls1012a: use constants in the clockgen phandle arm64: dts: ls1028a: use constants in the clockgen phandle arm64: dts: ls1043a: use constants in the clockgen phandle arm64: dts: ls1046a: use constants in the clockgen phandle arm64: dts: ls1088a: use constants in the clockgen phandle arm64: dts: ls208xa: use constants in the clockgen phandle arm64: dts: lx2160a: use constants in the clockgen phandle .../arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 60 +++++-- .../fsl-ls1028a-kontron-sl28-var3-ads2.dts | 5 +- .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 162 +++++++++++++----- .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 73 +++++--- .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 73 +++++--- .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 91 +++++++--- .../arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 17 +- .../arm64/boot/dts/freescale/fsl-ls2088a.dtsi | 17 +- .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 85 ++++++--- .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 92 ++++++---- .../boot/dts/freescale/qoriq-fman3-0.dtsi | 6 +- 11 files changed, 465 insertions(+), 216 deletions(-)