Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp217832pxb; Wed, 18 Aug 2021 20:34:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQy2SIA+yqlpR88ow8Rpl/3A+GXUazyVQGtkUotuMILd723XM/4cFRnMRj6OXgqElT3foa X-Received: by 2002:aa7:cb8a:: with SMTP id r10mr14122257edt.237.1629344078512; Wed, 18 Aug 2021 20:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629344078; cv=none; d=google.com; s=arc-20160816; b=Va7/htLv/Fv2LuNo593O3gale11LlC6LuQTkguRSSUMiYdXzFTCTyIEsuTnl0Awjj7 hOV9I7y2SgwD6YRSZ6JS4acnSn4R/D8mhWHNMsiQBsAeMlaf17e0ZOYI4xVBmtKz9uYH +sAKUnh1pAlMgggML8WXvrvbkUvCfyrNm/YiXHKCe5Gl8ECisGGYZnatnJ2IbVTG+73G ZJklz+I7ZK1FaVDGXKGINIJxqoX4AMOAkzgoNLe4tvw0iNyKjqCP19M/jrILadJmuo17 QXmJ8t5yBVHcBTIX/YFL0dA8L7I3eHlbdv4yfJ3036QC5kCSiVS9sHooGg4GReKaMM90 e98g== 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=FEID18sRGZYuwsAtq1ZHT1wI8GT3uTzB4xqvLWTK1Zo=; b=EnNiubd4Hg8y5oGfnD8rB0WN2Ec24zy4f5JPb9bsULOl5MkaROm49MJz/D+ykvyelW ZtR8WysywezVtEQV6JE5zmdKUqkD4HN2vCkXbW8FkLXRgdu7pZYdtH6t39+krxnXHgWy xx27wNZH4Uec0ojapoIP/Qb+pWdoJJchmCttiLwQ1CExEsUDYolsNOzQAGaforsSRDe+ DZB5VtTocThlgn4rRFsXDSZ0Qpz5uh8j7CrtkCXHk5hDg7jQBtkS/0OFFHLUsyvG+M5l a+W2nHwI9Y4N4LOsm30USX1LxImblHOAt0VANzfX/zEeeAE0N8rQNoTdnm6q3Z9/GjZh kGYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IXhbpX0H; 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 g9si1831036ejk.6.2021.08.18.20.34.15; Wed, 18 Aug 2021 20:34:38 -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=IXhbpX0H; 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 S236283AbhHSDbX (ORCPT + 99 others); Wed, 18 Aug 2021 23:31:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:56684 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236298AbhHSDbW (ORCPT ); Wed, 18 Aug 2021 23:31:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629343846; 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=FEID18sRGZYuwsAtq1ZHT1wI8GT3uTzB4xqvLWTK1Zo=; b=IXhbpX0HqTYNMFqgZwE0TYr9MSN0X+SbQZMEsDx9xNpEqcsqEgQxVTPkE9DXFEqWVYcRTf Vm4WHljBCNOJLcvv+QYjLNB0wL0MQyyVXk67Dz8z/dRVFdQV807T85NHXBT+Qr6SiEXrMV NJGhsrNOXf1bHFY8uy5dDEFcxyKv7ZM= 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-111-AIMRGuasPPioNYigZgjDCg-1; Wed, 18 Aug 2021 23:30:44 -0400 X-MC-Unique: AIMRGuasPPioNYigZgjDCg-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 AA3858015C7; Thu, 19 Aug 2021 03:30:42 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.64.242.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id 954B960657; Thu, 19 Aug 2021 03:30:39 +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 02/20] platform/x86: intel_chtdc_ti_pwrbtn: Move to intel sub-directory Date: Thu, 19 Aug 2021 11:29:43 +0800 Message-Id: <20210819033001.20136-3-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_chtdc_ti_pwrbtn to intel sub-directory to improve readability. Signed-off-by: Kate Hsuan --- drivers/platform/x86/Kconfig | 11 ----------- drivers/platform/x86/Makefile | 2 +- drivers/platform/x86/intel/Kconfig | 11 +++++++++++ drivers/platform/x86/intel/Makefile | 2 ++ .../chtdc_ti_pwrbtn.c} | 0 5 files changed, 14 insertions(+), 12 deletions(-) rename drivers/platform/x86/{intel_chtdc_ti_pwrbtn.c => intel/chtdc_ti_pwrbtn.c} (100%) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 4e164e564d2f..7bccbfc417f7 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -1158,17 +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_CHTDC_TI_PWRBTN - tristate "Intel Cherry Trail Dollar Cove TI power button driver" - depends on INTEL_SOC_PMIC_CHTDC_TI - depends on INPUT - help - This option adds a power button driver driver for Dollar Cove TI - PMIC on Intel Cherry Trail devices. - - To compile this driver as a module, choose M here: the module - will be called intel_chtdc_ti_pwrbtn. - config INTEL_MRFLD_PWRBTN tristate "Intel Merrifield Basin Cove power button driver" depends on INTEL_SOC_PMIC_MRFLD diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index bcdd75a48a80..21fd8cb0a1b7 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -127,7 +127,7 @@ 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_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 obj-$(CONFIG_INTEL_PUNIT_IPC) += intel_punit_ipc.o diff --git a/drivers/platform/x86/intel/Kconfig b/drivers/platform/x86/intel/Kconfig index b274ff4192b2..ea1f85e49bab 100644 --- a/drivers/platform/x86/intel/Kconfig +++ b/drivers/platform/x86/intel/Kconfig @@ -30,4 +30,15 @@ config INTEL_BXTWC_PMIC_TMU 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 + depends on INPUT + help + This option adds a power button driver for Dollar Cove TI + PMIC on Intel Cherry Trail devices. + + To compile this driver as a module, choose M here: the module + will be called intel_chtdc_ti_pwrbtn. + endif # X86_PLATFORM_DRIVERS_INTEL diff --git a/drivers/platform/x86/intel/Makefile b/drivers/platform/x86/intel/Makefile index 22f669192d56..cc826a4dd69c 100644 --- a/drivers/platform/x86/intel/Makefile +++ b/drivers/platform/x86/intel/Makefile @@ -11,3 +11,5 @@ 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 +intel_chtdc_ti_pwrbtn-y := chtdc_ti_pwrbtn.o +obj-$(CONFIG_INTEL_CHTDC_TI_PWRBTN) += intel_chtdc_ti_pwrbtn.o diff --git a/drivers/platform/x86/intel_chtdc_ti_pwrbtn.c b/drivers/platform/x86/intel/chtdc_ti_pwrbtn.c similarity index 100% rename from drivers/platform/x86/intel_chtdc_ti_pwrbtn.c rename to drivers/platform/x86/intel/chtdc_ti_pwrbtn.c -- 2.31.1