From patchwork Mon Sep 9 12:41:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 827727 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59A681B81DA; Mon, 9 Sep 2024 12:50:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725886222; cv=none; b=odO7Qio17Vs19Lm+y16c4x9gxadaAdQRbfd5wM1zyOiX0VWPw5HIwtIldAQKAs2OmFkYBkG7D4r9AkMGTOmi7HcCXnIibvnUH6/VkL4x/VXzVrZ1/KyngfJtefL89iFcmLXtEvx3XG/BSrgvA3IHVLW1pEYAbpcoT34/Tti/iZ0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725886222; c=relaxed/simple; bh=ktQqty7CmANhdnN8FgKIYwj7UnEZc2yb3ojL3kABXug=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oZfJeLLBt+GjHAgpH2zexBDsQTE5iZ0rC+pYi/Y8fqQONbaJIlA9NQwOk3N/ZdZRirJDEHsn+ICi7OSG6UAfEph+nrfOkt2mauMjAFMlvCC9gR0hzZTBzkSJSjddHlyiJ17lA6BZ+Xl+3AE2zPbcM5DpIn1SAkIVQ0eo6E1fP9k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=JxaDbosF; arc=none smtp.client-ip=192.198.163.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="JxaDbosF" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725886221; x=1757422221; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ktQqty7CmANhdnN8FgKIYwj7UnEZc2yb3ojL3kABXug=; b=JxaDbosFzQOq1mlR/M+G8saZdL3AyQO2YPc3ZelkcpGY7c6DJEWs8jkB VZLBUFw19+ZpG+14tR3zq/mL2muLopq1+IXfijJ/NWZZrIpaPt1ecLNdv GK+iAZiLnoCSpQehzEf+5cQG4MbqyIsEHI8QXXSaeMGn3mqz6DWzeMdUe UVXXGx8DhWg7e8qS+MHr6++DpHictpBm1OqTLfkU9wJrxQmIPJCnW0t1/ AXrjfTSClIAg/2lR+87DsDmzBANQQ2AWpmUJzWA5Va44On/vQ8Z7zufwn goAG2hZfRPkVtclQofSvq6tGcl4aKkQivEozmXZHXYD9w09UlsJfTkfTG Q==; X-CSE-ConnectionGUID: Vsh/yVKtSwqtnaaY2/XsNQ== X-CSE-MsgGUID: blTqPvLxSuu3Ww/dpdUdwQ== X-IronPort-AV: E=McAfee;i="6700,10204,11190"; a="24079056" X-IronPort-AV: E=Sophos;i="6.10,214,1719903600"; d="scan'208";a="24079056" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2024 05:50:04 -0700 X-CSE-ConnectionGUID: aKS2/vUES9enluGbQoGpsw== X-CSE-MsgGUID: z9Ezr8y5SiWreVR33K+HPg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,214,1719903600"; d="scan'208";a="97470224" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa001.fm.intel.com with ESMTP; 09 Sep 2024 05:49:59 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 0559218D; Mon, 09 Sep 2024 15:49:56 +0300 (EEST) From: Andy Shevchenko To: Mika Westerberg , Andy Shevchenko , Hans de Goede , Stephen Boyd , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Utkarsh Patel , Guenter Roeck , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Rajneesh Bhardwaj , "David E. Box" , Andy Shevchenko , Zha Qipeng , Lee Jones , Heikki Krogerus , Greg Kroah-Hartman , Wim Van Sebroeck Subject: [PATCH v2 1/3] MAINTAINERS: Add Intel MID section Date: Mon, 9 Sep 2024 15:41:04 +0300 Message-ID: <20240909124952.1152017-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20240909124952.1152017-1-andriy.shevchenko@linux.intel.com> References: <20240909124952.1152017-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The different drivers are spread over the kernel. I would like to be informed about the changes in them, which are done not by me. Also, most of them I indeed support. Signed-off-by: Andy Shevchenko --- MAINTAINERS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 10430778c998..61c74ae39961 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11477,6 +11477,24 @@ S: Maintained F: Documentation/ABI/testing/sysfs-driver-intel-m10-bmc-sec-update F: drivers/fpga/intel-m10-bmc-sec-update.c +INTEL MID (Mobile Internet Device) PLATFORM +M: Andy Shevchenko +L: linux-kernel@vger.kernel.org +S: Supported +F: arch/x86/include/asm/intel-mid.h +F: arch/x86/include/asm/intel_scu_ipc.h +F: arch/x86/pci/intel_mid_pci.c +F: arch/x86/platform/intel-mid/ +F: drivers/extcon/extcon-intel-mrfld.c +F: drivers/iio/adc/intel_mrfld_adc.c +F: drivers/mfd/intel_soc_pmic_mrfld.c +F: drivers/platform/x86/intel/mrfld_pwrbtn.c +F: drivers/platform/x86/intel_scu_* +F: drivers/staging/media/atomisp/ +F: drivers/watchdog/intel-mid_wdt.c +F: include/linux/mfd/intel_soc_pmic_mrfld.h +F: include/linux/platform_data/intel-mid_wdt.h + INTEL P-Unit IPC DRIVER M: Zha Qipeng L: platform-driver-x86@vger.kernel.org From patchwork Mon Sep 9 12:41:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 826916 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8216F1B7904; Mon, 9 Sep 2024 12:50:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725886207; cv=none; b=tw3X+DOiYNqtDpvlL7Qb71LL+gv5kCwxhXCj8nyA1zVxkGwCGhAJY1Xq2qj0MRa6BK8Dlhf5+FgsTfeon8uMEabznM/xhTnkAQsKGcyTPpu0vX1AfNSG2c16AlCBOBOFkpiWENkq6B0RN75MqsmgWUJZ8xq3x1QWWdgaNYkqhu0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725886207; c=relaxed/simple; bh=fKTrnohR/mjX7bAoHp4TDCKpYppytH7G5Ads0f3+w8E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WpQCNjQ2b+aU+c9KSq2nYiMxRuyiG7In1bTKm5hrc23Ek4eT4kXRim+NIxvNRFYBLYJojMNq39huZPpAa4VbacwRX6v4f+TAi4GKlOqek8wXz4k6YlMqp87DkzvX4MTge1v/Wy1oPMS3emi7yBSv62FbpVh2T7fVSoKywMrisVA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=RAxJOFtY; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="RAxJOFtY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725886205; x=1757422205; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fKTrnohR/mjX7bAoHp4TDCKpYppytH7G5Ads0f3+w8E=; b=RAxJOFtYtAm2o+HADNHIuZBhIQwV9LjF+nfH/VAq6DEdrWFlwl6zNXzJ PKUcgcV7CZfnneFdiXUqzBrcrgXxnKsbbqrThqpBMXJ1wv8pwy7rXuSkW t2ClJTbnLVsR6mRdIljjUfuwXIfkACX403ajlo+7BvNkjFXCVGEafuB+l PTAp6V2JcD1JB9KrRsWA4JX8g3zSzRsFuw92ko5StH0g9OiufVczQvUcK t1KY0X1cXnjY18i6AImcNafdS9UoGjGSsycXtEWecdAfouJfxpm227Rl/ lVPkirtGfl/omAkNgqLw0IiKhzPoGH5H2oWRQcnVPAKShh3JKVuVI1SfS g==; X-CSE-ConnectionGUID: VXjx8s4ITwa9a6RLvCwMNg== X-CSE-MsgGUID: RS7tBpNxRdekheqMcBKMJA== X-IronPort-AV: E=McAfee;i="6700,10204,11190"; a="35171806" X-IronPort-AV: E=Sophos;i="6.10,214,1719903600"; d="scan'208";a="35171806" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2024 05:50:04 -0700 X-CSE-ConnectionGUID: r8Pkll/7RNKrRPRjNcDtfg== X-CSE-MsgGUID: 6OUsNXUaQVeSjlPlM6iILQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,214,1719903600"; d="scan'208";a="67392015" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa008.jf.intel.com with ESMTP; 09 Sep 2024 05:49:58 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 127E03DE; Mon, 09 Sep 2024 15:49:57 +0300 (EEST) From: Andy Shevchenko To: Mika Westerberg , Andy Shevchenko , Hans de Goede , Stephen Boyd , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Utkarsh Patel , Guenter Roeck , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Rajneesh Bhardwaj , "David E. Box" , Andy Shevchenko , Zha Qipeng , Lee Jones , Heikki Krogerus , Greg Kroah-Hartman , Wim Van Sebroeck Subject: [PATCH v2 2/3] platform/x86: intel_scu_ipc: Move intel_scu_ipc.h out of arch/x86/include/asm Date: Mon, 9 Sep 2024 15:41:05 +0300 Message-ID: <20240909124952.1152017-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20240909124952.1152017-1-andriy.shevchenko@linux.intel.com> References: <20240909124952.1152017-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Mika Westerberg This is a platform/x86 library that is mostly being used by other drivers not directly under arch/x86 anyway (with the exception of the Intel MID setup code) so it makes sense that it lives under the platform_data/x86/ directory instead. No functional changes intented. Suggested-by: Andy Shevchenko Signed-off-by: Mika Westerberg Signed-off-by: Andy Shevchenko --- MAINTAINERS | 4 ++-- arch/x86/include/asm/intel_telemetry.h | 2 +- arch/x86/platform/intel-mid/intel-mid.c | 3 ++- drivers/mfd/intel_pmc_bxt.c | 3 +-- drivers/mfd/intel_soc_pmic_bxtwc.c | 3 +-- drivers/mfd/intel_soc_pmic_mrfld.c | 3 +-- drivers/platform/x86/intel_scu_ipc.c | 2 +- drivers/platform/x86/intel_scu_ipcutil.c | 2 +- drivers/platform/x86/intel_scu_pcidrv.c | 2 +- drivers/platform/x86/intel_scu_pltdrv.c | 2 +- drivers/usb/typec/mux/intel_pmc_mux.c | 3 +-- drivers/watchdog/intel-mid_wdt.c | 3 +-- .../asm => include/linux/platform_data/x86}/intel_scu_ipc.h | 4 ++-- 13 files changed, 16 insertions(+), 20 deletions(-) rename {arch/x86/include/asm => include/linux/platform_data/x86}/intel_scu_ipc.h (96%) diff --git a/MAINTAINERS b/MAINTAINERS index 61c74ae39961..802e6c957154 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11482,7 +11482,6 @@ M: Andy Shevchenko L: linux-kernel@vger.kernel.org S: Supported F: arch/x86/include/asm/intel-mid.h -F: arch/x86/include/asm/intel_scu_ipc.h F: arch/x86/pci/intel_mid_pci.c F: arch/x86/platform/intel-mid/ F: drivers/extcon/extcon-intel-mrfld.c @@ -11494,6 +11493,7 @@ F: drivers/staging/media/atomisp/ F: drivers/watchdog/intel-mid_wdt.c F: include/linux/mfd/intel_soc_pmic_mrfld.h F: include/linux/platform_data/intel-mid_wdt.h +F: include/linux/platform_data/x86/intel_scu_ipc.h INTEL P-Unit IPC DRIVER M: Zha Qipeng @@ -11557,8 +11557,8 @@ F: drivers/counter/intel-qep.c INTEL SCU DRIVERS M: Mika Westerberg S: Maintained -F: arch/x86/include/asm/intel_scu_ipc.h F: drivers/platform/x86/intel_scu_* +F: include/linux/platform_data/x86/intel_scu_ipc.h INTEL SDSI DRIVER M: David E. Box diff --git a/arch/x86/include/asm/intel_telemetry.h b/arch/x86/include/asm/intel_telemetry.h index 8046e70dfd7c..43b7657febca 100644 --- a/arch/x86/include/asm/intel_telemetry.h +++ b/arch/x86/include/asm/intel_telemetry.h @@ -10,7 +10,7 @@ #define TELEM_MAX_EVENTS_SRAM 28 #define TELEM_MAX_OS_ALLOCATED_EVENTS 20 -#include +#include enum telemetry_unit { TELEM_PSS = 0, diff --git a/arch/x86/platform/intel-mid/intel-mid.c b/arch/x86/platform/intel-mid/intel-mid.c index f83bbe0acd4a..a8e75f8c14fd 100644 --- a/arch/x86/platform/intel-mid/intel-mid.c +++ b/arch/x86/platform/intel-mid/intel-mid.c @@ -27,9 +27,10 @@ #include #include #include -#include #include +#include + #define IPCMSG_COLD_OFF 0x80 /* Only for Tangier */ #define IPCMSG_COLD_RESET 0xF1 diff --git a/drivers/mfd/intel_pmc_bxt.c b/drivers/mfd/intel_pmc_bxt.c index 9f01d38acc7f..e405d7513ca1 100644 --- a/drivers/mfd/intel_pmc_bxt.c +++ b/drivers/mfd/intel_pmc_bxt.c @@ -23,8 +23,7 @@ #include #include #include - -#include +#include /* Residency with clock rate at 19.2MHz to usecs */ #define S0IX_RESIDENCY_IN_USECS(d, s) \ diff --git a/drivers/mfd/intel_soc_pmic_bxtwc.c b/drivers/mfd/intel_soc_pmic_bxtwc.c index ba32cacfc499..ab3c94224dd1 100644 --- a/drivers/mfd/intel_soc_pmic_bxtwc.c +++ b/drivers/mfd/intel_soc_pmic_bxtwc.c @@ -15,8 +15,7 @@ #include #include #include - -#include +#include /* PMIC device registers */ #define REG_ADDR_MASK GENMASK(15, 8) diff --git a/drivers/mfd/intel_soc_pmic_mrfld.c b/drivers/mfd/intel_soc_pmic_mrfld.c index 71da861e8c27..77121775c1a3 100644 --- a/drivers/mfd/intel_soc_pmic_mrfld.c +++ b/drivers/mfd/intel_soc_pmic_mrfld.c @@ -12,11 +12,10 @@ #include #include #include +#include #include #include -#include - /* * Level 2 IRQs * diff --git a/drivers/platform/x86/intel_scu_ipc.c b/drivers/platform/x86/intel_scu_ipc.c index a68df4133403..5b16d29c93d7 100644 --- a/drivers/platform/x86/intel_scu_ipc.c +++ b/drivers/platform/x86/intel_scu_ipc.c @@ -23,7 +23,7 @@ #include #include -#include +#include /* IPC defines the following message types */ #define IPCMSG_PCNTRL 0xff /* Power controller unit read/write */ diff --git a/drivers/platform/x86/intel_scu_ipcutil.c b/drivers/platform/x86/intel_scu_ipcutil.c index 7d87cbd4b9c6..69b36ce41fa2 100644 --- a/drivers/platform/x86/intel_scu_ipcutil.c +++ b/drivers/platform/x86/intel_scu_ipcutil.c @@ -18,7 +18,7 @@ #include #include -#include +#include static int major; diff --git a/drivers/platform/x86/intel_scu_pcidrv.c b/drivers/platform/x86/intel_scu_pcidrv.c index dbf0310448da..d7f72d6deb44 100644 --- a/drivers/platform/x86/intel_scu_pcidrv.c +++ b/drivers/platform/x86/intel_scu_pcidrv.c @@ -11,7 +11,7 @@ #include #include -#include +#include static int intel_scu_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) diff --git a/drivers/platform/x86/intel_scu_pltdrv.c b/drivers/platform/x86/intel_scu_pltdrv.c index 56ec6ae4c824..0892362acd7b 100644 --- a/drivers/platform/x86/intel_scu_pltdrv.c +++ b/drivers/platform/x86/intel_scu_pltdrv.c @@ -15,7 +15,7 @@ #include #include -#include +#include static int intel_scu_platform_probe(struct platform_device *pdev) { diff --git a/drivers/usb/typec/mux/intel_pmc_mux.c b/drivers/usb/typec/mux/intel_pmc_mux.c index 56989a0d0f43..46b4c5c3a6be 100644 --- a/drivers/usb/typec/mux/intel_pmc_mux.c +++ b/drivers/usb/typec/mux/intel_pmc_mux.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -18,8 +19,6 @@ #include #include -#include - #define PMC_USBC_CMD 0xa7 /* Response status bits */ diff --git a/drivers/watchdog/intel-mid_wdt.c b/drivers/watchdog/intel-mid_wdt.c index 8d71f6a2236b..91c9c3950e44 100644 --- a/drivers/watchdog/intel-mid_wdt.c +++ b/drivers/watchdog/intel-mid_wdt.c @@ -21,8 +21,7 @@ #include #include - -#include +#include #define IPC_WATCHDOG 0xf8 diff --git a/arch/x86/include/asm/intel_scu_ipc.h b/include/linux/platform_data/x86/intel_scu_ipc.h similarity index 96% rename from arch/x86/include/asm/intel_scu_ipc.h rename to include/linux/platform_data/x86/intel_scu_ipc.h index 8537f597d20a..0ca9962e97f2 100644 --- a/arch/x86/include/asm/intel_scu_ipc.h +++ b/include/linux/platform_data/x86/intel_scu_ipc.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_INTEL_SCU_IPC_H_ -#define _ASM_X86_INTEL_SCU_IPC_H_ +#ifndef __PLATFORM_X86_INTEL_SCU_IPC_H_ +#define __PLATFORM_X86_INTEL_SCU_IPC_H_ #include From patchwork Mon Sep 9 12:41:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 826915 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F37271AD9EA; Mon, 9 Sep 2024 12:50:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725886223; cv=none; b=lmgx0FKkw9nr9BqR2lNwsjPdPE/P4HZZOSfiRhvoCLPj5BnS23X02Urexijr0ZkFDmHkJVINdWJQ1zF9WQ9/qPH0xrcjkXMiOGwPOp3o/r6MkPTfc+a5icv8t2Gf2NRh30x7vEBj3V2RbCGe80m+0bB65TA8pr6cIT+zWNKknGQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725886223; c=relaxed/simple; bh=1RukBZw68MThfKPTePNTcy9HFsZa+40HD7vkknVQzVI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Z/qon3JpseGAqVf7r5DguhmN604vEyeoK6SwCYtV8QPr/BQSW6udn/AWQ6JQdJh81ft/odPUfJVIsiR/s7PxLDlGEKsJ028Cpo4yyJj1+fqRRardVEChhiUVKH6rsT9zI/fiBNqcBtUsLWklpLIoqKXPPQwaH8A9UwbiTUao4ZY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=EMCybx6d; arc=none smtp.client-ip=192.198.163.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="EMCybx6d" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725886222; x=1757422222; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1RukBZw68MThfKPTePNTcy9HFsZa+40HD7vkknVQzVI=; b=EMCybx6dE0q/nFKJqDoDalvWXA0iv6JNIfGhy5VzahMtKFLPkxvk6348 RnUZcKJnaMLEORCe3Q26Gt5WpZbdP2796MzSszHzPBtQ/v1DtakYuuaKW zjzPJ5Eaj/2NZ6cRc3qP3QoJ7ymMw59R5o5VWmG0wT2Ls4j2kLKpXSuTv WxHVOTdzupzmHSY3x/FI6JYz24M1y0qtZLiXkOzxEe6QakrvoNcusGxAW DpP5PlCQX2cNu5fG+4gQn2yeduVoeHipwR9mVCqviapNJmeEomvyqFJ1f GyKbP2T3GNUwPKqzkB4/D035oRoITYb+LhYkp70nuvqY5rFrm+pMqcUY2 Q==; X-CSE-ConnectionGUID: Iw5QU/XgTUC/IvV/2vnTLw== X-CSE-MsgGUID: HVv4liRoSqq7ntO+2cAezw== X-IronPort-AV: E=McAfee;i="6700,10204,11190"; a="24079079" X-IronPort-AV: E=Sophos;i="6.10,214,1719903600"; d="scan'208";a="24079079" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2024 05:50:04 -0700 X-CSE-ConnectionGUID: bJSvXvWtQiCd1zHPjHCsPw== X-CSE-MsgGUID: nl08P0dvRTmAUvmS+fulLA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,214,1719903600"; d="scan'208";a="97470234" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa001.fm.intel.com with ESMTP; 09 Sep 2024 05:49:59 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 1E0183FC; Mon, 09 Sep 2024 15:49:57 +0300 (EEST) From: Andy Shevchenko To: Mika Westerberg , Andy Shevchenko , Hans de Goede , Stephen Boyd , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Utkarsh Patel , Guenter Roeck , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Rajneesh Bhardwaj , "David E. Box" , Andy Shevchenko , Zha Qipeng , Lee Jones , Heikki Krogerus , Greg Kroah-Hartman , Wim Van Sebroeck Subject: [PATCH v2 3/3] platform/x86: intel_scu_wdt: Move intel_scu_wdt.h to x86 subfolder Date: Mon, 9 Sep 2024 15:41:06 +0300 Message-ID: <20240909124952.1152017-4-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20240909124952.1152017-1-andriy.shevchenko@linux.intel.com> References: <20240909124952.1152017-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This is a platform/x86 library that can only be used on x86 devices. so it makes sense that it lives under the platform_data/x86/ directory instead. No functional changes intented. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/intel_scu_wdt.c | 3 ++- drivers/watchdog/intel-mid_wdt.c | 2 +- include/linux/platform_data/{ => x86}/intel-mid_wdt.h | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) rename include/linux/platform_data/{ => x86}/intel-mid_wdt.h (74%) diff --git a/drivers/platform/x86/intel_scu_wdt.c b/drivers/platform/x86/intel_scu_wdt.c index d0b6637861d3..746d47d33406 100644 --- a/drivers/platform/x86/intel_scu_wdt.c +++ b/drivers/platform/x86/intel_scu_wdt.c @@ -9,13 +9,14 @@ #include #include #include -#include #include #include #include #include +#include + #define TANGIER_EXT_TIMER0_MSI 12 static struct platform_device wdt_dev = { diff --git a/drivers/watchdog/intel-mid_wdt.c b/drivers/watchdog/intel-mid_wdt.c index 91c9c3950e44..756d262dc580 100644 --- a/drivers/watchdog/intel-mid_wdt.c +++ b/drivers/watchdog/intel-mid_wdt.c @@ -20,7 +20,7 @@ #include #include -#include +#include #include #define IPC_WATCHDOG 0xf8 diff --git a/include/linux/platform_data/intel-mid_wdt.h b/include/linux/platform_data/x86/intel-mid_wdt.h similarity index 74% rename from include/linux/platform_data/intel-mid_wdt.h rename to include/linux/platform_data/x86/intel-mid_wdt.h index 8dba70b4b020..e5c0210d0fec 100644 --- a/include/linux/platform_data/intel-mid_wdt.h +++ b/include/linux/platform_data/x86/intel-mid_wdt.h @@ -6,8 +6,8 @@ * Contact: David Cohen */ -#ifndef __INTEL_MID_WDT_H__ -#define __INTEL_MID_WDT_H__ +#ifndef __PLATFORM_X86_INTEL_MID_WDT_H_ +#define __PLATFORM_X86_INTEL_MID_WDT_H_ #include @@ -16,4 +16,4 @@ struct intel_mid_wdt_pdata { int (*probe)(struct platform_device *pdev); }; -#endif /*__INTEL_MID_WDT_H__*/ +#endif /* __PLATFORM_X86_INTEL_MID_WDT_H_ */