[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1645427180.git.edwinchiu0505tw@gmail.com>
Date: Mon, 21 Feb 2022 15:26:17 +0800
From: Edwin Chiu <edwinchiu0505tw@...il.com>
To: edwin.chiu@...plus.com, robh+dt@...nel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
rafael@...nel.org, daniel.lezcano@...aro.org,
linux-pm@...r.kernel.org
Cc: Edwin Chiu <edwinchiu0505tw@...il.com>
Subject: [PATCH v5] Add cpuidle driver for Sunplus SP7021
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
Powered by blists - more mailing lists