[PATCH v3 0/2] Add support for general system clock on ST AMD platform

From: Akshu Agrawal
Date: Wed May 09 2018 - 06:01:35 EST


AMD ST/CZ platform provides a general system clock which can be used
by any driver. Registration of this clock will done in clk-st driver.
While the ACPI misc device will create the required MMIO mappings
and pass the same to the clk-st driver. The clk-st driver will
use the address to enable/disable and set frequency.

Changelog:
v2:
clk: x86: Add ST oscout platform clock: v3->v4 unregister clk_hw
ACPI: APD: Add AMD misc clock handler support: No change (v2)
v3:
clk: x86: Add ST oscout platform clock:
v4->v5 use static array, change license
ACPI: APD: Add AMD misc clock handler support:
v2->v3 use devm_ioremap, fix warning

Akshu Agrawal (2):
clk: x86: Add ST oscout platform clock
ACPI: APD: Add AMD misc clock handler support

drivers/acpi/acpi_apd.c | 50 ++++++++++++++++++++
drivers/clk/x86/Makefile | 1 +
drivers/clk/x86/clk-st.c | 88 ++++++++++++++++++++++++++++++++++++
include/linux/platform_data/clk-st.h | 35 ++++++++++++++
4 files changed, 174 insertions(+)
create mode 100644 drivers/clk/x86/clk-st.c
create mode 100644 include/linux/platform_data/clk-st.h

--
1.9.1