Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp216722pxb; Wed, 18 Aug 2021 20:32:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVb6UFoFS4dn85EqU3LAci/gC0Ypq94sJb9ngybU2E9p/g0OF2Ycz+minZFabQgNuMyLFT X-Received: by 2002:a05:6402:2554:: with SMTP id l20mr13850489edb.252.1629343950264; Wed, 18 Aug 2021 20:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629343950; cv=none; d=google.com; s=arc-20160816; b=NK3f6/DLqMe6aksp9ZWv0NdKvqQCJM+7yo5r9hRN3NYkudpKLr0Vc4gs4TsVuNwrZ5 KdeksE+2T/Qo5lSoVj5DNdXL5JydX5W+WwgPshiaiO4bd/WSrrU12GcDqO+mViCqaLyZ KPb3uBxVQyFhpzYU8h10Da9Pr+26Wsz00H3ynZSdI3162xEPuSMZ0zd35xRw+8jEf2Ma daa2lykecxl8bxvQQYYT621F+yLJQemU3CyMLiqnYYH7XWLqNNQz7TLQU0rcQS9dMU9U YQeq9+8yCq7eyBsxwcZsrSKhAbQQh0L6CbmNMq/REAyzDs9JQ6Lhx8gJ42/t0h7rdWpD pmoA== 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=m1ON41i56MbUuf46T+z6bYU3inlGbZA0BII7m7LLzLw=; b=tg8sbENsI8iYIUPLg5XQfH8lBxXYJXdMaAqNU3TrhFbpMpPY7y4y1GTlR/q0/LXhT8 okKFk42EkOYQnmv8ADX5TBrhuqgbls4pUVnrtAZ8vI6k9FRjBIdin51xdVw6fGQ3SrWV OeM1JdEr26sXpZOFxJmIJixlIpjA7QxctFS0RaMzXCFfpI0/60Az80LCU/gC19sqVyJN cqx9XshTgE3mdonQihGHjGqCpFplaPwLfiYnC7B6a4DxuIJvQQgU4yVGw7YKmrh7pr5j BR408fXgAVugc+fcwAQIZuYfoxuKT/VO2uBgLrDhMt7EwhGXl6yb7mDG8D/G+3KAzqmw DmpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Csm2Dk21; 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 nd15si2173644ejc.463.2021.08.18.20.32.07; Wed, 18 Aug 2021 20:32:30 -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=Csm2Dk21; 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 S236207AbhHSDbR (ORCPT + 99 others); Wed, 18 Aug 2021 23:31:17 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:51519 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236181AbhHSDbQ (ORCPT ); Wed, 18 Aug 2021 23:31:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629343840; 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=m1ON41i56MbUuf46T+z6bYU3inlGbZA0BII7m7LLzLw=; b=Csm2Dk21nzk5A6lOPensxOgoSUpod5JXS3tdm+LeADW576XMzkm/lomoNZk4kSx0H+WMjo hL3DtuzIPJOnp1NLrQLUKFYHT3KlT674hRAJiYjDmpumFiX2k701iCSpl8Qac5MU1rfvHW E/WTNg9BwFYiShiKuJq6YNMRx8+iN2U= 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-274-ZSiSFyr8O2u5MPuzicGykA-1; Wed, 18 Aug 2021 23:30:39 -0400 X-MC-Unique: ZSiSFyr8O2u5MPuzicGykA-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 B5EB8C73A5; Thu, 19 Aug 2021 03:30:37 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.64.242.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8D9542C175; Thu, 19 Aug 2021 03:30:21 +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 01/20] platform/x86: intel_bxtwc_tmu: Move to intel sub-directory Date: Thu, 19 Aug 2021 11:29:42 +0800 Message-Id: <20210819033001.20136-2-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_bxtwc_tmu 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 | 4 ++++ .../x86/{intel_bxtwc_tmu.c => intel/bxtwc_tmu.c} | 0 5 files changed, 14 insertions(+), 11 deletions(-) rename drivers/platform/x86/{intel_bxtwc_tmu.c => intel/bxtwc_tmu.c} (100%) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index a87a4960256d..4e164e564d2f 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -1158,16 +1158,6 @@ config INTEL_UNCORE_FREQ_CONTROL To compile this driver as a module, choose M here: the module will be called intel-uncore-frequency. -config INTEL_BXTWC_PMIC_TMU - tristate "Intel BXT Whiskey Cove TMU Driver" - depends on REGMAP - depends on MFD_INTEL_PMC_BXT - depends on INTEL_SOC_PMIC_BXTWC - help - Select this driver to use Intel BXT Whiskey Cove PMIC TMU feature. - This driver enables the alarm wakeup functionality in the TMU unit - of Whiskey Cove PMIC. - config INTEL_CHTDC_TI_PWRBTN tristate "Intel Cherry Trail Dollar Cove TI power button driver" depends on INTEL_SOC_PMIC_CHTDC_TI diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index 03a1fc20bba5..bcdd75a48a80 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -127,7 +127,6 @@ obj-$(CONFIG_INTEL_TURBO_MAX_3) += intel_turbo_max_3.o obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o # Intel PMIC / PMC / P-Unit devices -obj-$(CONFIG_INTEL_BXTWC_PMIC_TMU) += intel_bxtwc_tmu.o obj-$(CONFIG_INTEL_CHTDC_TI_PWRBTN) += intel_chtdc_ti_pwrbtn.o obj-$(CONFIG_INTEL_MRFLD_PWRBTN) += intel_mrfld_pwrbtn.o obj-$(CONFIG_INTEL_PMC_CORE) += intel_pmc_core.o intel_pmc_core_pltdrv.o diff --git a/drivers/platform/x86/intel/Kconfig b/drivers/platform/x86/intel/Kconfig index 6eec084d9bf9..b274ff4192b2 100644 --- a/drivers/platform/x86/intel/Kconfig +++ b/drivers/platform/x86/intel/Kconfig @@ -20,4 +20,14 @@ source "drivers/platform/x86/intel/int33fe/Kconfig" source "drivers/platform/x86/intel/int3472/Kconfig" source "drivers/platform/x86/intel/pmt/Kconfig" +config INTEL_BXTWC_PMIC_TMU + tristate "Intel BXT Whiskey Cove TMU Driver" + depends on REGMAP + depends on MFD_INTEL_PMC_BXT + depends on INTEL_SOC_PMIC_BXTWC + help + Select this driver to use Intel BXT Whiskey Cove PMIC TMU feature. + This driver enables the alarm wakeup functionality in the TMU unit + of Whiskey Cove PMIC. + endif # X86_PLATFORM_DRIVERS_INTEL diff --git a/drivers/platform/x86/intel/Makefile b/drivers/platform/x86/intel/Makefile index ca0ec2c85b05..22f669192d56 100644 --- a/drivers/platform/x86/intel/Makefile +++ b/drivers/platform/x86/intel/Makefile @@ -7,3 +7,7 @@ obj-$(CONFIG_INTEL_CHT_INT33FE) += int33fe/ obj-$(CONFIG_INTEL_SKL_INT3472) += int3472/ obj-$(CONFIG_INTEL_PMT_CLASS) += pmt/ + +# Intel PMIC / PMC / P-Unit devices +intel_bxtwc_tmu-y := bxtwc_tmu.o +obj-$(CONFIG_INTEL_BXTWC_PMIC_TMU) += intel_bxtwc_tmu.o diff --git a/drivers/platform/x86/intel_bxtwc_tmu.c b/drivers/platform/x86/intel/bxtwc_tmu.c similarity index 100% rename from drivers/platform/x86/intel_bxtwc_tmu.c rename to drivers/platform/x86/intel/bxtwc_tmu.c -- 2.31.1