From patchwork Wed Jan 22 15:01:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Wallner X-Patchwork-Id: 239933 List-Id: U-Boot discussion From: wolfgang.wallner at br-automation.com (Wolfgang Wallner) Date: Wed, 22 Jan 2020 16:01:43 +0100 Subject: [RFC PATCH 0/4] x86: Move ITSS from Apollo Lake to a more generic location Message-ID: <20200122150147.25709-1-wolfgang.wallner@br-automation.com> The Interrupt Timer Subsystem (ITSS) is not specific to Apollo Lake, so move it to a more generic location. Additionally, the series adds the term "Interrupt Timer Subsystem" for ITSS in the file descriptions. Moving the ITSS implementation out of the Apllo Lake-specific folders not only allows to use this driver on other platforms, it is also useful for Apollo Lake when U-Boot is chain-loaded via coreboot (in which case the files within arch/x86/cpu/apollolake would not be compiled and the include/asm/arch-symlink points to arch-coreboot instead of arch-apollolake). Wolfgang Wallner (4): x86: apl: Add the term "Interrupt Timer Subsystem" to ITSS files x86: Move itss.h from Apollo Lake to the generic x86 include directory x86: Move itss.c from Apollo Lake to a more generic location x86: itss: Remove apl-prefix arch/x86/cpu/apollolake/Makefile | 1 - arch/x86/cpu/intel_common/Makefile | 1 + .../cpu/{apollolake => intel_common}/itss.c | 60 +++++++++---------- arch/x86/dts/chromebook_coral.dts | 2 +- .../include/asm/{arch-apollolake => }/itss.h | 2 + drivers/pinctrl/intel/pinctrl.c | 2 +- 6 files changed, 35 insertions(+), 33 deletions(-) rename arch/x86/cpu/{apollolake => intel_common}/itss.c (73%) rename arch/x86/include/asm/{arch-apollolake => }/itss.h (97%)