summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-03 20:48:28 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-03 20:49:35 -0600
commit7e033cb481b0f395e3f1a912798f5f84f4633479 (patch)
tree35c29be25689a8c042e68319d9cc0d9e3bbc5813 /target/linux
parent7d3615886aa1eda198fd85cb8864c5aecd752170 (diff)
add thermal driver support for solidrun-imx6. do some kconfig style.
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.mips6
-rw-r--r--target/linux/config/Config.in.misc55
-rw-r--r--target/linux/config/Config.in.thermal25
-rw-r--r--target/linux/config/Config.in.watchdog39
4 files changed, 70 insertions, 55 deletions
diff --git a/target/linux/config/Config.in.mips b/target/linux/config/Config.in.mips
index b991f5311..53b0ca308 100644
--- a/target/linux/config/Config.in.mips
+++ b/target/linux/config/Config.in.mips
@@ -1,9 +1,11 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
menu "MIPS devices support"
depends on ADK_TARGET_SYSTEM_LEMOTE_YEELONG
config ADK_KERNEL_LEMOTE_YEELOONG2F_PDEV
- prompt "Yeelong platform drivers (f.e. battery support)"
- boolean
+ bool "Yeelong platform drivers (f.e. battery support)"
depends on ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default n
diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc
index 931bda8a8..dda7a71d7 100644
--- a/target/linux/config/Config.in.misc
+++ b/target/linux/config/Config.in.misc
@@ -1,5 +1,17 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+config ADK_KERNEL_MISC_DEVICES
+ bool
+
+config ADK_KERNEL_MFD_SYSCON
+ bool
+
+config ADK_KERNEL_OF
+ bool
+
config ADK_KERNEL_FIRMWARE_IN_KERNEL
- boolean
+ bool
default y if ADK_KERNEL_R8169 && ADK_KERNEL_ROOT_NFS
default n
@@ -9,17 +21,17 @@ config ADK_KERNEL_EXTRA_FIRMWARE
default ""
config ADK_KERNEL_FW_LOADER_USER_HELPER
- boolean
+ bool
default n
config ADK_KERNEL_KEYS
- boolean
+ bool
config ADK_KERNEL_SBUS
- boolean
+ bool
config ADK_KERNEL_IMX_WEIM
- boolean
+ bool
depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default n
@@ -29,6 +41,7 @@ menu "Miscellaneous devices support"
source "target/linux/config/Config.in.rtc"
source "target/linux/config/Config.in.leds"
source "target/linux/config/Config.in.watchdog"
+source "target/linux/config/Config.in.thermal"
source "target/linux/config/Config.in.i2c"
source "target/linux/config/Config.in.spi"
source "target/linux/config/Config.in.regmap"
@@ -38,31 +51,24 @@ source "target/linux/config/Config.in.dma"
source "target/linux/config/Config.in.lib"
config ADK_KERNEL_KEXEC
- prompt "Add KEXEC syscall"
- boolean
+ bool "Add KEXEC syscall"
help
You need also kexec-tools to benefit from it.
config ADK_KERNEL_PARPORT
- prompt "Generic parallel port support"
- tristate
- default n
+ tristate "Generic parallel port support"
depends on ADK_TARGET_WITH_PP
help
Kernel module for generic parallel port support.
config ADK_KERNEL_PARPORT_PC
- prompt "PC style parallel port support"
- tristate
- default n
+ tristate "PC style parallel port support"
depends on ADK_KERNEL_PARPORT
help
Kernel module for PC style parallel port support.
config ADK_KERNEL_PLIP
- prompt "PLIP (internet over parallel port)"
- tristate
- default n
+ tristate "PLIP (internet over parallel port)"
depends on ADK_KERNEL_PARPORT
select ADK_KERNEL_PARPORT_PC
help
@@ -73,38 +79,29 @@ config ADK_KERNEL_PLIP
This will enlarge your kernel by about 8 KiB.
config ADK_KERNEL_PRINTER
- prompt "Line printer support"
- tristate
- default n
+ tristate "Line printer support"
depends on ADK_KERNEL_PARPORT
select ADK_KERNEL_PARPORT_PC
help
Kernel module for line printer support
config ADK_KERNEL_PPDEV
- prompt "Userland parallel port driver"
- tristate
- default n
+ tristate "Userland parallel port driver"
depends on ADK_KERNEL_PARPORT
select ADK_KERNEL_PARPORT_PC
help
Kernel module for userland parallel port access
config ADK_KERNEL_FW_LOADER
- prompt "Userspace firmware loading support"
- tristate
+ tristate "Userspace firmware loading support"
depends on !ADK_TARGET_SYSTEM_SHARP_ZAURUS
- default n
help
This may be necessary when using drivers which require
loading of external firmware files.
config ADK_KERNEL_EEPROM_93CX6
- prompt "93cx6 eeprom support"
- tristate
+ tristate "93cx6 eeprom support"
depends on ADK_KERNEL_MAC80211
select ADK_KERNEL_MISC_DEVICES
- default n
- help
endmenu
diff --git a/target/linux/config/Config.in.thermal b/target/linux/config/Config.in.thermal
new file mode 100644
index 000000000..820ef8417
--- /dev/null
+++ b/target/linux/config/Config.in.thermal
@@ -0,0 +1,25 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+config ADK_KERNEL_THERMAL
+ bool
+
+config ADK_KERNEL_CPU_THERMAL
+ bool
+
+config ADK_KERNEL_THERMAL_OF
+ bool
+
+menu "Thermal driver support"
+
+config ADK_KERNEL_IMX_THERMAL
+ bool "Temperature sensor driver for Freescale i.MX SoCs"
+ select ADK_KERNEL_THERMAL
+ select ADK_KERNEL_CPU_THERMAL
+ select ADK_KERNEL_MFD_SYSCON
+ select ADK_KERNEL_THERMAL_OF
+ select ADK_KERNEL_OF
+ default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
+ default n
+
+endmenu
diff --git a/target/linux/config/Config.in.watchdog b/target/linux/config/Config.in.watchdog
index 582977d52..1516ad63e 100644
--- a/target/linux/config/Config.in.watchdog
+++ b/target/linux/config/Config.in.watchdog
@@ -1,23 +1,22 @@
-config ADK_KERNEL_WATCHDOG
- boolean
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
-config ADK_KERNEL_MISC_DEVICES
- boolean
+config ADK_KERNEL_WATCHDOG
+ bool
config ADK_KERNEL_SCx200
- boolean
+ bool
config ADK_KERNEL_CS5535_MFGPT
- boolean
+ bool
config ADK_KERNEL_CS5535_CLOCK_EVENT_SRC
- boolean
+ bool
menu "Watchdog driver support"
config ADK_KERNEL_BCM2708_WDT
- prompt "BCM2708 Hardware Watchdog"
- boolean
+ bool "BCM2708 Hardware Watchdog"
select ADK_KERNEL_WATCHDOG
depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
@@ -26,8 +25,7 @@ config ADK_KERNEL_BCM2708_WDT
Watchdog driver for Raspberry Pi.
config ADK_KERNEL_IMX2_WDT
- prompt "IMX6 Hardware Watchdog"
- boolean
+ bool "IMX6 Hardware Watchdog"
select ADK_KERNEL_WATCHDOG
depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
@@ -36,8 +34,7 @@ config ADK_KERNEL_IMX2_WDT
Watchdog driver for Cubox-i and Hummingboard.
config ADK_KERNEL_SCx200_WDT
- prompt "Natsemi Hardware Watchdog"
- boolean
+ bool "Natsemi Hardware Watchdog"
depends on ADK_TARGET_SYSTEM_PCENGINES_WRAP
select ADK_KERNEL_WATCHDOG
select ADK_KERNEL_SCx200
@@ -47,8 +44,7 @@ config ADK_KERNEL_SCx200_WDT
Natsemi Watchdog (scx200)
config ADK_KERNEL_AT91SAM9X_WATCHDOG
- prompt "AT91SAM9X Hardware Watchdog"
- boolean
+ bool "AT91SAM9X Hardware Watchdog"
depends on ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
select ADK_KERNEL_WATCHDOG
default y if ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
@@ -57,8 +53,7 @@ config ADK_KERNEL_AT91SAM9X_WATCHDOG
AT91SAM9X Watchdog.
config ADK_KERNEL_AR7_WDT
- prompt "AR7 Hardware Watchdog"
- boolean
+ bool "AR7 Hardware Watchdog"
depends on ADK_TARGET_SYSTEM_LINKSYS_AG241
select ADK_KERNEL_WATCHDOG
default y if ADK_TARGET_SYSTEM_LINKSYS_AG241
@@ -67,8 +62,7 @@ config ADK_KERNEL_AR7_WDT
AR7 Watchdog.
config ADK_KERNEL_GEODE_WDT
- prompt "Geode Hardware Watchdog"
- boolean
+ bool "Geode Hardware Watchdog"
depends on ADK_CPU_GEODE
select ADK_KERNEL_WATCHDOG
select ADK_KERNEL_MISC_DEVICES
@@ -82,8 +76,7 @@ config ADK_KERNEL_GEODE_WDT
Geode watchdog.
config ADK_KERNEL_RC32434_WDT
- prompt "IDT RC32434 Hardware Watchdog"
- boolean
+ bool "IDT RC32434 Hardware Watchdog"
depends on ADK_TARGET_SYSTEM_MIKROTIK_RB532
select ADK_KERNEL_WATCHDOG
default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
@@ -93,9 +86,7 @@ config ADK_KERNEL_RC32434_WDT
Routerboard 532's SoC, the IDT RC32434.
config ADK_KERNEL_SOFT_WATCHDOG
- prompt "Software watchdog"
- tristate
- default n
+ tristate "Software watchdog"
select ADK_KERNEL_WATCHDOG
help
A software monitoring watchdog. This will fail to reboot your system