Use this short header style in all Kconfig files:
# <description>
# <copyright>
# <license>
...
Also change all <description>s from
# Kconfig[.extension] - Foo-related options
to just
# Foo-related options
It's clear enough that it's about Kconfig.
The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)
git ls-files '*Kconfig*' | \
xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
23 lines
587 B
Plaintext
23 lines
587 B
Plaintext
# Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_FAMILY_SAM0
|
|
|
|
menuconfig I2C_SAM0
|
|
bool "SAM0 series I2C SERCOM driver"
|
|
default y
|
|
help
|
|
Enable the SAM0 series SERCOM I2C driver.
|
|
|
|
config I2C_SAM0_DMA_DRIVEN
|
|
bool "Enable DMA support for SAM0 I2C devices"
|
|
depends on I2C_SAM0
|
|
select DMA
|
|
help
|
|
This enables DMA driven transactions for the I2C peripheral.
|
|
DMA driven mode requires fewer interrupts to handle the
|
|
transaction and ensures that high speed modes are not delayed
|
|
by data reloading.
|
|
|
|
endif # SOC_FAMILY_SAM0
|