From: Keguang Zhang <keguang.zhang@gmail.com>
To: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Keguang Zhang <keguang.zhang@gmail.com>
Subject: [PATCH v3 0/4] Devicetree support for Loongson-1 clock
Date: Thu, 16 Mar 2023 18:47:03 +0800 [thread overview]
Message-ID: <20230316104707.236034-1-keguang.zhang@gmail.com> (raw)
Removes the old Loongson-1 clock driver and related code
mainly because of no DT support and outdated implementation.
Then, re-implement it to solve the above issues,
along with the devicetree binding document.
Changelog
V2 -> V3: Add 'reg' property into the 'required' field
Delete the unnecessary property 'clock-names'
Use the same license as binding document for the header file.
Add MODULE_AUTHOR and MODULE_DESCRIPTION info
Add patch "MIPS: loongson32: Update the clock initialization" into this series
Add Acked-by tag from Stephen Boyd and Thomas Bogendoerfer
V1 -> V2: Change to one clock controller (suggested by Krzysztof Kozlowski)
Add clock-related dt-binding header file
Fix the warning of dt_binding_check
Split the driver removal to a separate patch
Implement one clock controller instead of single clocks
(suggested by Krzysztof Kozlowski)
Keguang Zhang (4):
dt-bindings: clock: Add Loongson-1 clock
clk: loongson1: Remove the outdated driver
clk: loongson1: Re-implement the clock driver
MIPS: loongson32: Update the clock initialization
.../bindings/clock/loongson,ls1x-clk.yaml | 45 +++
.../include/asm/mach-loongson32/platform.h | 1 -
arch/mips/loongson32/common/time.c | 3 +-
drivers/clk/Makefile | 2 +-
drivers/clk/clk-loongson1.c | 301 ++++++++++++++++++
drivers/clk/loongson1/Makefile | 4 -
drivers/clk/loongson1/clk-loongson1b.c | 118 -------
drivers/clk/loongson1/clk-loongson1c.c | 95 ------
drivers/clk/loongson1/clk.c | 41 ---
drivers/clk/loongson1/clk.h | 15 -
include/dt-bindings/clock/loongson,ls1x-clk.h | 19 ++
11 files changed, 368 insertions(+), 276 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/loongson,ls1x-clk.yaml
create mode 100644 drivers/clk/clk-loongson1.c
delete mode 100644 drivers/clk/loongson1/Makefile
delete mode 100644 drivers/clk/loongson1/clk-loongson1b.c
delete mode 100644 drivers/clk/loongson1/clk-loongson1c.c
delete mode 100644 drivers/clk/loongson1/clk.c
delete mode 100644 drivers/clk/loongson1/clk.h
create mode 100644 include/dt-bindings/clock/loongson,ls1x-clk.h
base-commit: 6f173737e1b5670c200329677e821cce1d3d755e
--
2.34.1
next reply other threads:[~2023-03-16 10:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-16 10:47 Keguang Zhang [this message]
2023-03-16 10:47 ` [PATCH v3 1/4] dt-bindings: clock: Add Loongson-1 clock Keguang Zhang
2023-03-19 12:22 ` Krzysztof Kozlowski
2023-03-16 10:47 ` [PATCH v3 2/4] clk: loongson1: Remove the outdated driver Keguang Zhang
2023-03-16 10:47 ` [PATCH v3 3/4] clk: loongson1: Re-implement the clock driver Keguang Zhang
2023-03-18 5:46 ` kernel test robot
2023-03-20 20:06 ` Stephen Boyd
2023-03-21 10:52 ` Keguang Zhang
2023-03-16 10:47 ` [PATCH v3 4/4] MIPS: loongson32: Update the clock initialization Keguang Zhang
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=20230316104707.236034-1-keguang.zhang@gmail.com \
--to=keguang.zhang@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=tsbogend@alpha.franken.de \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).