From: Michael Walle <michael@walle.cc> To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Guo <shawnguo@kernel.org>, Li Yang <leoyang.li@nxp.com>, Rob Herring <robh+dt@kernel.org>, Michael Walle <michael@walle.cc> Subject: [PATCH 0/7] arm64: dts: fsl: use the new clockgen constants Date: Tue, 29 Dec 2020 12:47:33 +0100 [thread overview] Message-ID: <20201229114740.7936-1-michael@walle.cc> (raw) 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(-) -- 2.20.1
WARNING: multiple messages have this Message-ID (diff)
From: Michael Walle <michael@walle.cc> To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Michael Walle <michael@walle.cc>, Rob Herring <robh+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Li Yang <leoyang.li@nxp.com> Subject: [PATCH 0/7] arm64: dts: fsl: use the new clockgen constants Date: Tue, 29 Dec 2020 12:47:33 +0100 [thread overview] Message-ID: <20201229114740.7936-1-michael@walle.cc> (raw) 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(-) -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2020-12-29 11:48 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-29 11:47 Michael Walle [this message] 2020-12-29 11:47 ` [PATCH 0/7] arm64: dts: fsl: use the new clockgen constants Michael Walle 2020-12-29 11:47 ` [PATCH 1/7] arm64: dts: ls1012a: use constants in the clockgen phandle Michael Walle 2020-12-29 11:47 ` Michael Walle 2020-12-29 11:47 ` [PATCH 2/7] arm64: dts: ls1028a: " Michael Walle 2020-12-29 11:47 ` Michael Walle 2020-12-29 11:47 ` [PATCH 3/7] arm64: dts: ls1043a: " Michael Walle 2020-12-29 11:47 ` Michael Walle 2020-12-29 11:47 ` [PATCH 4/7] arm64: dts: ls1046a: " Michael Walle 2020-12-29 11:47 ` Michael Walle 2020-12-29 11:47 ` [PATCH 5/7] arm64: dts: ls1088a: " Michael Walle 2020-12-29 11:47 ` Michael Walle 2020-12-29 11:47 ` [PATCH 6/7] arm64: dts: ls208xa: " Michael Walle 2020-12-29 11:47 ` Michael Walle 2020-12-29 11:47 ` [PATCH 7/7] arm64: dts: lx2160a: " Michael Walle 2020-12-29 11:47 ` Michael Walle 2021-01-11 1:20 ` [PATCH 0/7] arm64: dts: fsl: use the new clockgen constants Shawn Guo 2021-01-11 1:20 ` Shawn Guo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20201229114740.7936-1-michael@walle.cc \ --to=michael@walle.cc \ --cc=devicetree@vger.kernel.org \ --cc=leoyang.li@nxp.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=robh+dt@kernel.org \ --cc=shawnguo@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.