Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab043105 authored by Olof Johansson's avatar Olof Johansson Committed by Matthew Garrett
Browse files

platform: add chrome platform directory



It makes sense to split out the Chromebook/Chromebox hardware platform
drivers to a separate subdirectory, since some of it will be shared
between ARM and x86.

This moves over the existing chromeos_laptop driver without making
any other changes, and adds appropriate Kconfig entries for the new
directory. It also adds a MAINTAINERS entry for the new subdir.

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent 997daa1b
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -2142,6 +2142,11 @@ L: linux-usb@vger.kernel.org
S:	Maintained
S:	Maintained
F:	drivers/usb/chipidea/
F:	drivers/usb/chipidea/


CHROME HARDWARE PLATFORM SUPPORT
M:	Olof Johansson <olof@lixom.net>
S:	Maintained
F:	drivers/platform/chrome/

CISCO VIC ETHERNET NIC DRIVER
CISCO VIC ETHERNET NIC DRIVER
M:	Christian Benvenuti <benve@cisco.com>
M:	Christian Benvenuti <benve@cisco.com>
M:	Sujith Sankar <ssujith@cisco.com>
M:	Sujith Sankar <ssujith@cisco.com>
+1 −0
Original line number Original line Diff line number Diff line
@@ -5,3 +5,4 @@ if GOLDFISH
source "drivers/platform/goldfish/Kconfig"
source "drivers/platform/goldfish/Kconfig"
endif
endif


source "drivers/platform/chrome/Kconfig"
+1 −0
Original line number Original line Diff line number Diff line
@@ -5,3 +5,4 @@
obj-$(CONFIG_X86)		+= x86/
obj-$(CONFIG_X86)		+= x86/
obj-$(CONFIG_OLPC)		+= olpc/
obj-$(CONFIG_OLPC)		+= olpc/
obj-$(CONFIG_GOLDFISH)		+= goldfish/
obj-$(CONFIG_GOLDFISH)		+= goldfish/
obj-$(CONFIG_CHROME_PLATFORMS)	+= chrome/
+28 −0
Original line number Original line Diff line number Diff line
#
# Platform support for Chrome OS hardware (Chromebooks and Chromeboxes)
#

menuconfig CHROME_PLATFORMS
	bool "Platform support for Chrome hardware"
	depends on X86
	---help---
	  Say Y here to get to see options for platform support for
	  various Chromebooks and Chromeboxes. This option alone does
	  not add any kernel code.

	  If you say N, all options in this submenu will be skipped and disabled.

if CHROME_PLATFORMS

config CHROMEOS_LAPTOP
	tristate "Chrome OS Laptop"
	depends on I2C
	depends on DMI
	---help---
	  This driver instantiates i2c and smbus devices such as
	  light sensors and touchpads.

	  If you have a supported Chromebook, choose Y or M here.
	  The module will be called chromeos_laptop.

endif # CHROMEOS_PLATFORMS
+2 −0
Original line number Original line Diff line number Diff line

obj-$(CONFIG_CHROMEOS_LAPTOP)	+= chromeos_laptop.o
Loading