Drivers/CLK: support clkspmi function for hikey970.
Fix CLKspmi code in kernel to support clkspmi for hikey970. Signed-off-by: mwx533604 <mwx533604@notesmail.huawei.com>
This commit is contained in:
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
-1
@@ -383,7 +383,6 @@ CONFIG_SPI_QUP=y
|
||||
CONFIG_SPI_S3C64XX=y
|
||||
CONFIG_SPI_SPIDEV=m
|
||||
CONFIG_SPMI=y
|
||||
CONFIG_HISI_SPMI=y
|
||||
CONFIG_HISI_PMIC_PMU_SPMI=y
|
||||
CONFIG_HISI_REGULATOR_SPMI=y
|
||||
CONFIG_PINCTRL_SINGLE=y
|
||||
|
||||
@@ -13,6 +13,13 @@ config COMMON_CLK_HI3660
|
||||
help
|
||||
Build the clock driver for hi3660.
|
||||
|
||||
config COMMON_CLK_KIRIN970
|
||||
bool "Kirin970 Clock Driver"
|
||||
depends on ARCH_HISI || COMPILE_TEST
|
||||
default ARCH_HISI
|
||||
help
|
||||
Build the clock driver for kirin970.
|
||||
|
||||
config COMMON_CLK_HI6220
|
||||
bool "Hi6220 Clock Driver"
|
||||
depends on ARCH_HISI || COMPILE_TEST
|
||||
|
||||
@@ -9,6 +9,7 @@ obj-$(CONFIG_ARCH_HIP04) += clk-hip04.o
|
||||
obj-$(CONFIG_ARCH_HIX5HD2) += clk-hix5hd2.o
|
||||
obj-$(CONFIG_COMMON_CLK_HI3519) += clk-hi3519.o
|
||||
obj-$(CONFIG_COMMON_CLK_HI3660) += clk-hi3660.o
|
||||
obj-$(CONFIG_COMMON_CLK_KIRIN970) += clk-kirin970.o
|
||||
obj-$(CONFIG_COMMON_CLK_HI6220) += clk-hi6220.o
|
||||
obj-$(CONFIG_RESET_HISI) += reset.o
|
||||
obj-$(CONFIG_STUB_CLK_HI6220) += clk-hi6220-stub.o
|
||||
|
||||
Executable → Regular
-1
@@ -361,7 +361,6 @@ config MFD_HI655X_PMIC
|
||||
config HISI_PMIC_PMU_SPMI
|
||||
tristate "HiSilicon PMU/Codec IC and use spmi passageway"
|
||||
depends on OF
|
||||
depends on HISI_SPMI
|
||||
help
|
||||
This driver supports HiSilicon Hisi power management and codec IC,
|
||||
including regulators, codec, ADCs, Coulomb counter, etc. Memory
|
||||
|
||||
Executable → Regular
@@ -4,3 +4,5 @@
|
||||
obj-$(CONFIG_SPMI) += spmi.o
|
||||
|
||||
obj-$(CONFIG_SPMI_MSM_PMIC_ARB) += spmi-pmic-arb.o
|
||||
|
||||
obj-$(CONFIG_SPMI) += hisi-spmi-controller.o
|
||||
Executable → Regular
-1
@@ -10,7 +10,6 @@
|
||||
#include <linux/module.h>
|
||||
#include <linux/seq_file.h>
|
||||
#include <linux/spmi.h>
|
||||
#include <linux/spmi.h>
|
||||
|
||||
#define SPMI_CONTROLLER_NAME "spmi_controller"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user