From: Edwin Chiu <edwinchiu0505tw@gmail.com>
To: edwin.chiu@sunplus.com, robh+dt@kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
rafael@kernel.org, daniel.lezcano@linaro.org,
linux-pm@vger.kernel.org
Cc: Edwin Chiu <edwinchiu0505tw@gmail.com>
Subject: [PATCH v5] Add cpuidle driver for Sunplus SP7021
Date: Mon, 21 Feb 2022 15:26:17 +0800 [thread overview]
Message-ID: <cover.1645427180.git.edwinchiu0505tw@gmail.com> (raw)
This is a patch series for cpuidle driver for Sunplus SP7021 SoC.
Sunplus SP7021 is an ARM Cortex A7 (4 cores) based SoC. It integrates
many peripherals (ex: UART, I2C, SPI, SDIO, eMMC, USB, SD card and
etc.) into a single chip. It is designed for industrial control.
Refer to:
https://sunplus-tibbo.atlassian.net/wiki/spaces/doc/overview
https://tibbo.com/store/plus1.html
Changes in v3
- Rearrangement #include sequence
- Change remark style to /*~*/
- Align author email address to same as sob
- Optimal code
Changes in v4
- According Rob Herringrobh's comment
There is no need for this binding.
Just wanting a different driver is not a reason
for a duplicate schema.
So remove yaml file and submit driver again.
Changes in v5
- According Krzysztof's comment
You either use appropriate compatible in DT
or add your compatible to cpuidle-arm.
Even if this did not work, then the solution is to
use common parts, not to duplicate entire driver.
According Sudeep's comment
In short NACK for any dedicated driver for this platform,
use the generic cpuidle-arm driver with appropriate platform hooks
Create cpuidle-sunplus.c in arch/arm/mach-sunplus/
for hook generic cpuidle-arm driver
Edwin Chiu (1):
cpuidle: sunplus: Create cpuidle driver for sunplus sp7021
MAINTAINERS | 6 ++
arch/arm/mach-sunplus/cpuidle-sunplus.c | 88 +++++++++++++++++
include/linux/platform_data/cpuidle-sunplus.h | 12 ++++
3 files changed, 106 insertions(+)
create mode 100644 arch/arm/mach-sunplus/cpuidle-sunplus.c
create mode 100644 include/linux/platform_data/cpuidle-sunplus.h
--
2.7.4
next reply other threads:[~2022-02-21 7:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 7:26 Edwin Chiu [this message]
2022-02-21 7:26 ` [PATCH v5] cpuidle: sunplus: Create cpuidle driver for sunplus sp7021 Edwin Chiu
2022-02-21 10:51 ` Sudeep Holla
2022-03-01 9:18 ` Edwin Chiu 邱垂峰
2022-03-01 12:23 ` Sudeep Holla
2022-02-21 16:47 ` Krzysztof Kozlowski
2022-03-01 9:30 ` Edwin Chiu 邱垂峰
2022-03-01 11:33 ` Krzysztof Kozlowski
2022-03-03 9:01 ` Edwin Chiu 邱垂峰
2022-03-03 9:34 ` Krzysztof Kozlowski
2022-03-03 10:02 ` Sudeep Holla
2022-03-04 11:24 ` Edwin Chiu 邱垂峰
2022-03-04 14:37 ` Sudeep Holla
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=cover.1645427180.git.edwinchiu0505tw@gmail.com \
--to=edwinchiu0505tw@gmail.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=edwin.chiu@sunplus.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=robh+dt@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: 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).