Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp218899pxb; Wed, 18 Aug 2021 20:36:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoFZoDyT2ktD9Q8mfatJGn08CVn1XIbB8cDbrzQs/8qpz3X6L/I4aBN61Colbn9xLCoMUV X-Received: by 2002:a17:907:7da5:: with SMTP id oz37mr12932449ejc.396.1629344189859; Wed, 18 Aug 2021 20:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629344189; cv=none; d=google.com; s=arc-20160816; b=YkMIhOOsULOG2mf69/ZEtrHowdcCxPvamI6ZBApQHw/FgFhRwCrm23Z5y2X/QwRPLZ dheSKLTOv1VrZdE0WW8BFMX2ouWzGerl6GeKqX5fJFe9cB6E+g+FCNtteF4oK0xDlm+W ClIzRw4eMJ/TRdYxgILkjSobtt7v1aZ4ISWwzSnd4P3UkFv8OKe6mSMdQWXI/vkZNUgk BVBQAqfIEytPMmMEmPOy/OOv0gZYZgbOHL1Y1CBcwXsHY2hiFSLdgfyeBZxDN2t/Dj8N NuVoFo8LnWpcWOivFsojU6xWgLZIssPuglUn5QcqPqUi+vms1NTyI/Bc/KrjoT8U4q1Y ZbxQ== 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=XBIEaEway9kTJ4RwRV1rdT73jhwAYB+6tkle26vierg=; b=XIBD6PP5e48Zi42vcO2fDpRVFyrAqQm82YfQGBCiaap+rPTxn/Pq3hV5ApLDI3Sx/A P66V5uZg7u4YdR01FgGlYV6opfq0vr/+FhCKBFXPbewcEX5/+LG8/Zpnmb+XYvVEPOze S4ebGttGjUAVHRGikhvZJ8fbcP36L0sfAY5mvJipGOYiVATfIk9tEdNzL7ORK1vNbHQA eBJHmZ4zVAsLGKiGSDk5FH4l9ETJZaBiTQ83n6TB2S0PzKU39XdUb/lk7n6i7ufZvHHN rjsp6Qf2MzOYW5uHtG9bGVq/82tYKbmMBm6cVIcWXU3qI0Jx3h/zPmTlVhlAcuRy/zUd KVvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J4p22O+M; 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 u1si1889937ejb.723.2021.08.18.20.36.07; Wed, 18 Aug 2021 20:36:29 -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=J4p22O+M; 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 S236741AbhHSDcr (ORCPT + 99 others); Wed, 18 Aug 2021 23:32:47 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:21271 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236194AbhHSDcm (ORCPT ); Wed, 18 Aug 2021 23:32:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629343926; 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=XBIEaEway9kTJ4RwRV1rdT73jhwAYB+6tkle26vierg=; b=J4p22O+MvkrOfm1GseZLuCM8IWVQ7r2ifhxq00wEDEygSdji6EEsHt4Xz5ka5GWRr/kVc9 DzwYo0MFHqdTgBa6jOLjKIfROfA81qL0Q8rxnRnLmvOnG/gm2uZhYj/yghjqvOw/zpwZ7W vXHIabgPASgr9e5np6+8q5K+6ymoU00= 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-225-pfCBHivrNPqx79cM-o9gpA-1; Wed, 18 Aug 2021 23:32:04 -0400 X-MC-Unique: pfCBHivrNPqx79cM-o9gpA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E73F91008064; Thu, 19 Aug 2021 03:32:02 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.64.242.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id D444619C87; Thu, 19 Aug 2021 03:31:59 +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 v3 17/20] platform/x86: intel_oaktrail: Move to intel sub-directory Date: Thu, 19 Aug 2021 11:29:58 +0800 Message-Id: <20210819033001.20136-18-hpa@redhat.com> In-Reply-To: <20210819033001.20136-1-hpa@redhat.com> References: <20210819033001.20136-1-hpa@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move intel_oaktrail 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 90eb653131ab..6ed05e5faac1 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -667,16 +667,6 @@ config THINKPAD_LMI source "drivers/platform/x86/intel/Kconfig" -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 1bbcc2900a84..afeea9ce34b8 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -72,7 +72,6 @@ obj-$(CONFIG_THINKPAD_LMI) += think-lmi.o # Intel obj-$(CONFIG_X86_PLATFORM_DRIVERS_INTEL) += intel/ -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 fe9f84357eaf..5ca3c36ac187 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 f52288b3edc2..da238e2e352d 100644 --- a/drivers/platform/x86/intel/Makefile +++ b/drivers/platform/x86/intel/Makefile @@ -13,6 +13,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