Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: intel_atomisp2: Move to intel sub-directory

Move Intel AtomISP v2 drivers to intel sub-directory
to improve readability.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210820110458.73018-15-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Kate Hsuan and committed by
Hans de Goede
76693f57 6b1e4828

+56 -38
+2 -2
MAINTAINERS
··· 9212 9212 M: Hans de Goede <hdegoede@redhat.com> 9213 9213 L: platform-driver-x86@vger.kernel.org 9214 9214 S: Maintained 9215 - F: drivers/platform/x86/intel_atomisp2_pm.c 9215 + F: drivers/platform/x86/intel/atomisp2/pm.c 9216 9216 9217 9217 INTEL ATOMISP2 LED DRIVER 9218 9218 M: Hans de Goede <hdegoede@redhat.com> 9219 9219 L: platform-driver-x86@vger.kernel.org 9220 9220 S: Maintained 9221 - F: drivers/platform/x86/intel_atomisp2_led.c 9221 + F: drivers/platform/x86/intel/atomisp2/led.c 9222 9222 9223 9223 INTEL BIOS SAR INT1092 DRIVER 9224 9224 M: Shravan S <s.shravan@intel.com>
-34
drivers/platform/x86/Kconfig
··· 668 668 669 669 source "drivers/platform/x86/intel/Kconfig" 670 670 671 - config INTEL_ATOMISP2_LED 672 - tristate "Intel AtomISP2 camera LED driver" 673 - depends on GPIOLIB && LEDS_GPIO 674 - help 675 - Many Bay Trail and Cherry Trail devices come with a camera attached 676 - to Intel's Image Signal Processor. Linux currently does not have a 677 - driver for these, so they do not work as a camera. Some of these 678 - camera's have a LED which is controlled through a GPIO. 679 - 680 - Some of these devices have a firmware issue where the LED gets turned 681 - on at boot. This driver will turn the LED off at boot and also allows 682 - controlling the LED (repurposing it) through the sysfs LED interface. 683 - 684 - Which GPIO is attached to the LED is usually not described in the 685 - ACPI tables, so this driver contains per-system info about the GPIO 686 - inside the driver, this means that this driver only works on systems 687 - the driver knows about. 688 - 689 - To compile this driver as a module, choose M here: the module 690 - will be called intel_atomisp2_led. 691 - 692 - config INTEL_ATOMISP2_PM 693 - tristate "Intel AtomISP2 dummy / power-management driver" 694 - depends on PCI && IOSF_MBI && PM 695 - depends on !INTEL_ATOMISP 696 - help 697 - Power-management driver for Intel's Image Signal Processor found on 698 - Bay Trail and Cherry Trail devices. This dummy driver's sole purpose 699 - is to turn the ISP off (put it in D3) to save power and to allow 700 - entering of S0ix modes. 701 - 702 - To compile this driver as a module, choose M here: the module 703 - will be called intel_atomisp2_pm. 704 - 705 671 config INTEL_HID_EVENT 706 672 tristate "INTEL HID Event" 707 673 depends on ACPI
-2
drivers/platform/x86/Makefile
··· 71 71 # Intel 72 72 obj-$(CONFIG_X86_PLATFORM_DRIVERS_INTEL) += intel/ 73 73 74 - obj-$(CONFIG_INTEL_ATOMISP2_LED) += intel_atomisp2_led.o 75 - obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o 76 74 obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o 77 75 obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o 78 76 obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o
+1
drivers/platform/x86/intel/Kconfig
··· 16 16 17 17 if X86_PLATFORM_DRIVERS_INTEL 18 18 19 + source "drivers/platform/x86/intel/atomisp2/Kconfig" 19 20 source "drivers/platform/x86/intel/int1092/Kconfig" 20 21 source "drivers/platform/x86/intel/int33fe/Kconfig" 21 22 source "drivers/platform/x86/intel/int3472/Kconfig"
+1
drivers/platform/x86/intel/Makefile
··· 4 4 # Intel x86 Platform-Specific Drivers 5 5 # 6 6 7 + obj-$(CONFIG_INTEL_ATOMISP2_PDX86) += atomisp2/ 7 8 obj-$(CONFIG_INTEL_SAR_INT1092) += int1092/ 8 9 obj-$(CONFIG_INTEL_CHT_INT33FE) += int33fe/ 9 10 obj-$(CONFIG_INTEL_SKL_INT3472) += int3472/
+43
drivers/platform/x86/intel/atomisp2/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + # 3 + # Intel x86 Platform Specific Drivers 4 + # 5 + 6 + config INTEL_ATOMISP2_PDX86 7 + bool 8 + 9 + config INTEL_ATOMISP2_LED 10 + tristate "Intel AtomISP v2 camera LED driver" 11 + depends on GPIOLIB && LEDS_GPIO 12 + select INTEL_ATOMISP2_PDX86 13 + help 14 + Many Bay Trail and Cherry Trail devices come with a camera attached 15 + to Intel's Image Signal Processor. Linux currently does not have a 16 + driver for these, so they do not work as a camera. Some of these 17 + camera's have a LED which is controlled through a GPIO. 18 + 19 + Some of these devices have a firmware issue where the LED gets turned 20 + on at boot. This driver will turn the LED off at boot and also allows 21 + controlling the LED (repurposing it) through the sysfs LED interface. 22 + 23 + Which GPIO is attached to the LED is usually not described in the 24 + ACPI tables, so this driver contains per-system info about the GPIO 25 + inside the driver, this means that this driver only works on systems 26 + the driver knows about. 27 + 28 + To compile this driver as a module, choose M here: the module 29 + will be called intel_atomisp2_led. 30 + 31 + config INTEL_ATOMISP2_PM 32 + tristate "Intel AtomISP v2 dummy / power-management driver" 33 + depends on PCI && IOSF_MBI && PM 34 + depends on !INTEL_ATOMISP 35 + select INTEL_ATOMISP2_PDX86 36 + help 37 + Power-management driver for Intel's Image Signal Processor found on 38 + Bay Trail and Cherry Trail devices. This dummy driver's sole purpose 39 + is to turn the ISP off (put it in D3) to save power and to allow 40 + entering of S0ix modes. 41 + 42 + To compile this driver as a module, choose M here: the module 43 + will be called intel_atomisp2_pm.
+9
drivers/platform/x86/intel/atomisp2/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + # 3 + # Intel x86 Platform Specific Drivers 4 + # 5 + 6 + intel_atomisp2_led-y := led.o 7 + obj-$(CONFIG_INTEL_ATOMISP2_LED) += intel_atomisp2_led.o 8 + intel_atomisp2_pm-y += pm.o 9 + obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o
drivers/platform/x86/intel_atomisp2_led.c drivers/platform/x86/intel/atomisp2/led.c
drivers/platform/x86/intel_atomisp2_pm.c drivers/platform/x86/intel/atomisp2/pm.c