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.
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