From: Simon Glass Date: Thu, 6 Feb 2020 16:54:54 +0000 (-0700) Subject: x86: apl: Use the clock driver X-Git-Tag: v2020.10~370^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=659252e7def2be650cc947df850184a3f8fcab3c;p=platform%2Fkernel%2Fu-boot.git x86: apl: Use the clock driver Enable the Intel clock driver and modify coral's device tree to use it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/arch/x86/cpu/apollolake/Kconfig b/arch/x86/cpu/apollolake/Kconfig index 145b8cb..8a74815 100644 --- a/arch/x86/cpu/apollolake/Kconfig +++ b/arch/x86/cpu/apollolake/Kconfig @@ -41,6 +41,9 @@ config INTEL_APOLLOLAKE imply SMP imply HAVE_ITSS imply HAVE_P2SB + imply CLK + imply CMD_CLK + imply CLK_INTEL if INTEL_APOLLOLAKE diff --git a/arch/x86/dts/chromebook_coral.dts b/arch/x86/dts/chromebook_coral.dts index a1820fa..a4a9e94 100644 --- a/arch/x86/dts/chromebook_coral.dts +++ b/arch/x86/dts/chromebook_coral.dts @@ -39,6 +39,11 @@ stdout-path = &serial; }; + clk: clock { + compatible = "intel,apl-clk"; + #clock-cells = <1>; + }; + cpus { u-boot,dm-pre-reloc; #address-cells = <1>;