zephyr/drivers/gpio/Kconfig.sch
Ulf Magnusson f912dfebea drivers: gpio: Kconfig: Remove redundant 'default n' properties
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though, and is
inconsistent.

This will make the auto-generated Kconfig documentation have "No
defaults. Implicitly defaults to n." as well, which is clearer than
'default n if ...'

Piggyback a missing 'source "drivers/gpio/Kconfig.imx"'. This file
wasn't included anywhere previously.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-03 17:11:31 -04:00

45 lines
789 B
XML

# Kconfig.sch - Intel SCH GPIO configuration options
#
#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig GPIO_SCH
bool "Intel SCH GPIO controller"
depends on GPIO
help
Enable the SCH GPIO driver found on Intel boards
if GPIO_SCH
config GPIO_SCH_INIT_PRIORITY
int
depends on GPIO_SCH
default 60
prompt "Init priority"
help
Device driver initialization priority.
config GPIO_SCH_0
bool "Enable SCH GPIO port 0"
default 0
depends on GPIO_SCH
config GPIO_SCH_0_DEV_NAME
string "Name of the device"
depends on GPIO_SCH_0
default "GPIO_0"
config GPIO_SCH_1
bool "Enable SCH GPIO port 1"
depends on GPIO_SCH
config GPIO_SCH_1_DEV_NAME
string "Name of the device"
depends on GPIO_SCH_1
default "GPIO_1"
endif # GPIO_SCH