Add support for SUNIX Multi-I/O board
PATCH 1/4 Add support for SUNIX Multi-I/O board
Add Kconfig and Makefile entry.
--- mfd/Kconfig | 5 +++++ mfd/Makefile | 2 ++ 2 files changed, 7 insertions(+)
mfd/Kconfig +5 -0
@@ -1916,5 +1916,10 @@ config RAVE_SP_CORE Select this to get support for the Supervisory Processor device found on several devices in RAVE line of hardware. +config SUNIX + tristate "SUNIX Multi-I/O Board Driver" + help + Support for SUNIX Multi-I/O controller. + endmenu endif
mfd/Makefile +2 -0
@@ -241,4 +241,6 @@ obj-$(CONFIG_MFD_MXS_LRADC) += mxs-lradc.o obj-$(CONFIG_MFD_SC27XX_PMIC) += sprd-sc27xx-spi.o obj-$(CONFIG_RAVE_SP_CORE) += rave-sp.o obj-$(CONFIG_MFD_ROHM_BD718XX) += rohm-bd718x7.o +obj-$(CONFIG_SUNIX) += sunix/ +
Signature · 1 line
2.17.1
Quoted 7 lines · Morris Ku
Add
KconfigandMakefileentry.Signed-off-by Morris Ku <[email protected]>--- mfd/Kconfig | 5 +++++ mfd/Makefile | 2 ++ 2 files changed, 7 insertions(+)
Can you send this set again please. There are some basic issues with it, which would make reviewing difficult.
Please use git format-patch and git send-email to create and submit your patches. Use the following flags; --annotate, --compose and --thread to ensure the patches are sent a) pinned to each other so they do not become spread throughout people's inboxes and b) a cover letter is provided which should contain a summary of what you are trying to achieve.
The diff should be based from the root directory, not 'drivers', such that the diff should read "drivers/mfd/*".
Quoted 26 lines
mfd/Kconfig +5
-0@@ -1916,5 +1916,10 @@ config RAVE_SP_CORE Select this to get support for the Supervisory Processor device found on several devices in RAVE line of hardware. +config SUNIX + tristate "SUNIX Multi-I/O Board Driver" + help + Support for SUNIX Multi-I/O controller. + endmenu endifmfd/Makefile +2
-0@@ -241,4 +241,6 @@ obj-$(CONFIG_MFD_MXS_LRADC) += mxs-lradc.o obj-$(CONFIG_MFD_SC27XX_PMIC) += sprd-sc27xx-spi.o obj-$(CONFIG_RAVE_SP_CORE) += rave-sp.o obj-$(CONFIG_MFD_ROHM_BD718XX) += rohm-bd718x7.o +obj-$(CONFIG_SUNIX) += sunix/ +
Signature · 4 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Quoted 6 lines · Lee Jones
Please use
git format-patchandgit send-emailto create and submit your patches. Use the following flags; --annotate, --compose and --thread to ensure the patches are sent a) pinned to each other so they do not become spread throughout people's inboxes and b) a cover letter is provided which should contain a summary of what you are trying to achieve.
here's a little script which helps w/ that: it automatically picks the corresponding maintainers/maillists, you can also pass the usual git-send-email flags.
--mtx
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
[ -x "$GIT" ] || export GIT=git [ -d "$KERNELSRC" ] || export KERNELSRC=.
LKML="[email protected]"
check_ksrc() {
if [ -d $KERNELSRC/arch ] && \
[ -d $KERNELSRC/block ] && \
[ -d $KERNELSRC/init ] && \
[ -d $KERNELSRC/kernel ] && \
[ -d $KERNELSRC/sound ] && \
[ -d $KERNELSRC/drivers ] && \
[ -d $KERNELSRC/net ] && \
[ -d $KERNELSRC/include ] && \
[ -f $KERNELSRC/COPYING ] && \
[ -f $KERNELSRC/MAINTAINERS ] && \
[ -f $KERNELSRC/CREDITS ] && \
[ -f $KERNELSRC/Kconfig ] && \
[ -f $KERNELSRC/Makefile ]; then
return 0
else
echo "$0: cant find the kernel source tree. please call me from the topdir" >&2
exit 1
fi
}check_ksrc
get_files() {
$GIT diff --name-only "$REF"
}get_maintainers() {
$KERNELSRC/scripts/get_maintainer.pl --m --l --remove-duplicates `get_files` |
grep -v "$LKML" | \
grep -E "(maintainer|reviewer|open list)" | \
grep -o '[[:alnum:]+\.\_\-]*@[[:alnum:]+\.\_\-]*'
}construct_params() {
echo -n "--to=$LKML "
for a in $MAINTAINERS; do
echo -n "--cc=$a "
done
}if [ ! "$1" ]; then
echo "$0: missing git revision to send out" >&2
echo "" >&2
echo "for example: 'HEAD^' for sending just the last patch" >&2 echo >&2
echo "$0 <git-ref> [<extra params for git-send-mail>]" exit 1
fi
REF="$1"
shift
echo "scanning for maintainers ..." >&2
MAINTAINERS=get_maintainers
echo "sending mail ..." >&2
$GIT send-email construct_params "$REF" "$@"