Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp214338pxb; Mon, 16 Aug 2021 03:57:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIBHQfjhd2hoeWK+/s1OGQDJBWSE6bBiije2YDyb7mXlRdIjWnnYXBNApMHc4xccMGg6FD X-Received: by 2002:a17:906:d20a:: with SMTP id w10mr15842595ejz.426.1629111447701; Mon, 16 Aug 2021 03:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629111447; cv=none; d=google.com; s=arc-20160816; b=XPpRerx5L9WzsIUZwg+oJQL8WdR2lhzvElCZRzHZLEyCcgCUqD00h/1UYj9wBisec+ yDdzKIdNt/Y2IO+ADvZSoEMaM8MbSkm9vEtyoVkB3wJvz8lcsWuxLXqFGnapDsQdPzdN NIBDELJKJE3Rl/AidACw9onT/pPiUP/z6PZS3vRvVsrhzBL+yqOtU9WtZfIxIUlkaMsG TuDmrXQjMrDEVkcTukXpKpAm0LWnRzLgKodSKp4LVFe0LMkdK3o44PARMDYOjiOOuGAy oI4R2fWUXCTLSfQmHMDnHPftGHBjXzr5Dr2upafkhlWrx954GrX+UPuc8YU7NtGnCyyd mZWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sqAn7gvb0cQPTv8K840FtP8+cfzZB+z3+8LwrgK9oxg=; b=bQBT2FCm6EEvOI8GwMQL4GGBxrOdCiaUE1byfy1TiDlIa2r86UsNK2QUD78GoKiSmj vNqSxOoiev61bTY1pXGxm/UhxsNsGy6ldIsOTZwto/pcqmqQF/pDacfp1Nrrhcme5ZVq YUx9SnD12nTEBtghBbDbpO5JZgrJ2W77c1va1WeMVKfbbQJvUoDWJR8TcRUdYSyFKvRE uP7PzcWWgMTxczWIC6o/nPr8taXyqF1l4v1tYvjIRCqzf4G5BwTJMdIosw5vQgx5IZ0K dKxbi1J+itGDSFm7pNfRzfFquEbhOfBwaaJ87iSHzZiQAmMd/psRqBtf7UFiMZSdnMEA DJfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Q0Il+5WN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si8736589ejd.15.2021.08.16.03.57.04; Mon, 16 Aug 2021 03:57:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Q0Il+5WN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236593AbhHPKza (ORCPT + 99 others); Mon, 16 Aug 2021 06:55:30 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:34597 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236407AbhHPKzW (ORCPT ); Mon, 16 Aug 2021 06:55:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629111290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sqAn7gvb0cQPTv8K840FtP8+cfzZB+z3+8LwrgK9oxg=; b=Q0Il+5WNEgUDEBHvO/dUkKbjC2+5MWXVMghFXc3Wb+R/EVDydkmGXc19oy22tUZf4lFvGD w6nXVM24uHHUac5CdxXLZfztNJ0et+1TclgD6ZhvqimLhS8VfgC+BwNgEfYfunthGJ9K/Y AEyB2LgpMuAeiZvLzRJSaG6oB2Gb+os= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-160-JkV31icWNCGO3SNikE2vaA-1; Mon, 16 Aug 2021 06:54:47 -0400 X-MC-Unique: JkV31icWNCGO3SNikE2vaA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 84B68EC1A2; Mon, 16 Aug 2021 10:54:45 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.64.242.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 389F85FC25; Mon, 16 Aug 2021 10:54:42 +0000 (UTC) From: Kate Hsuan To: Alex Hung , Hans de Goede , Mark Gross , Srinivas Pandruvada , AceLan Kao , Jithu Joseph , Maurice Ma , Sujith Thomas , Rajneesh Bhardwaj , Zha Qipeng , Mika Westerberg , "David E . Box" , linux-kernel@vger.kernel.org, Dell.Client.Kernel@dell.com Cc: platform-driver-x86@vger.kernel.org, Kate Hsuan Subject: [PATCH v2 17/20] platform/x86: intel_oaktrail.c: Move to intel sub-directory Date: Mon, 16 Aug 2021 18:51:16 +0800 Message-Id: <20210816105119.704302-18-hpa@redhat.com> In-Reply-To: <20210816105119.704302-1-hpa@redhat.com> References: <20210816105119.704302-1-hpa@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move intel_oaktrail.c to intel sub-directory to improve readability. Signed-off-by: Kate Hsuan --- drivers/platform/x86/Kconfig | 10 ---------- drivers/platform/x86/Makefile | 1 - drivers/platform/x86/intel/Kconfig | 10 ++++++++++ drivers/platform/x86/intel/Makefile | 2 ++ .../x86/{intel_oaktrail.c => intel/oaktrail.c} | 0 5 files changed, 12 insertions(+), 11 deletions(-) rename drivers/platform/x86/{intel_oaktrail.c => intel/oaktrail.c} (100%) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 7274b586170d..3d1cb7f03309 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -677,16 +677,6 @@ config INTEL_MENLOW If unsure, say N. -config INTEL_OAKTRAIL - tristate "Intel Oaktrail Platform Extras" - depends on ACPI - depends on ACPI_VIDEO || ACPI_VIDEO = n - depends on RFKILL && BACKLIGHT_CLASS_DEVICE && ACPI - help - Intel Oaktrail platform need this driver to provide interfaces to - enable/disable the Camera, WiFi, BT etc. devices. If in doubt, say Y - here; it will only load on supported platforms. - config INTEL_VBTN tristate "INTEL VIRTUAL BUTTON" depends on ACPI diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index 4c9a47936e65..63e78ed69fb2 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -72,7 +72,6 @@ obj-$(CONFIG_THINKPAD_LMI) += think-lmi.o obj-$(CONFIG_X86_PLATFORM_DRIVERS_INTEL) += intel/ obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o -obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o # MSI diff --git a/drivers/platform/x86/intel/Kconfig b/drivers/platform/x86/intel/Kconfig index cf56a1c4474b..6df6e43d1061 100644 --- a/drivers/platform/x86/intel/Kconfig +++ b/drivers/platform/x86/intel/Kconfig @@ -53,6 +53,16 @@ config INTEL_INT0002_VGPIO To compile this driver as a module, choose M here: the module will be called intel_int0002_vgpio. +config INTEL_OAKTRAIL + tristate "Intel Oaktrail Platform Extras" + depends on ACPI + depends on ACPI_VIDEO || ACPI_VIDEO = n + depends on RFKILL && BACKLIGHT_CLASS_DEVICE && ACPI + help + Intel Oaktrail platform need this driver to provide interfaces to + enable/disable the Camera, WiFi, BT etc. devices. If in doubt, say Y + here; it will only load on supported platforms. + config INTEL_BXTWC_PMIC_TMU tristate "Intel BXT Whiskey Cove TMU Driver" depends on REGMAP diff --git a/drivers/platform/x86/intel/Makefile b/drivers/platform/x86/intel/Makefile index 23503798b533..291219f63b04 100644 --- a/drivers/platform/x86/intel/Makefile +++ b/drivers/platform/x86/intel/Makefile @@ -14,6 +14,8 @@ intel-hid-y := hid.o obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o intel_int0002_vgpio-y := int0002_vgpio.o obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o +intel_oaktrail-y := oaktrail.o +obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o # Intel PMIC / PMC / P-Unit devices intel_bxtwc_tmu-y := bxtwc_tmu.o diff --git a/drivers/platform/x86/intel_oaktrail.c b/drivers/platform/x86/intel/oaktrail.c similarity index 100% rename from drivers/platform/x86/intel_oaktrail.c rename to drivers/platform/x86/intel/oaktrail.c -- 2.31.1