02 Nov, 2017
1 commit
-
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.By default all files without license information are under the default
license of the kernel, which is GPL version 2.Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if
Reviewed-by: Philippe Ombredanne
Reviewed-by: Thomas Gleixner
Signed-off-by: Greg Kroah-Hartman
23 May, 2017
1 commit
-
This moves the mcp23s08 driver from gpio to pinctrl. Actual
pinctrl support for configuration of the pull-up resistors
follows in its own patch.Signed-off-by: Sebastian Reichel
Acked-by: Sylvain Lemieux
Signed-off-by: Linus Walleij
04 May, 2017
1 commit
-
In many of clk_disable() implementations, it is a no-op for a NULL
pointer input, but this is one of the exceptions.Making it treewide consistent will allow clock consumers to call
clk_disable() without NULL pointer check.Link: http://lkml.kernel.org/r/1490692624-11931-4-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada
Cc: Stephen Boyd
Cc: Ralf Baechle
Cc: Michael Turquette
Cc: Steven Miao
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Jul, 2016
1 commit
-
The adv7604/adv7842 drivers now handle that register setting themselves
and need no input from platform data anymore.This was a left-over from the time that the pixelport output format was
decided by the platform data.Signed-off-by: Hans Verkuil
Cc: Scott Jiang
Signed-off-by: Mauro Carvalho Chehab
18 Apr, 2016
1 commit
-
Signed-off-by: Adam Buchbinder
Signed-off-by: Jiri Kosina
16 Feb, 2016
1 commit
-
Most arches have an asm/gpio.h that merely includes linux/gpio.h. The
others select ARCH_HAVE_CUSTOM_GPIO_H, and when that's selected,
linux/gpio.h includes asm/gpio.h.Therefore, code should include linux/gpio.h instead of including asm/gpio.h
directly.Remove includes of asm/gpio.h, adding an include of linux/gpio.h when
necessary.This is a follow-on to 7563bbf89d06 ("gpiolib/arches: Centralise
bolierplate asm/gpio.h").Signed-off-by: Bjorn Helgaas
Acked-by: Thomas Gleixner
Acked-by: Arnd Bergmann
Acked-by: Alexandre Courbot
Signed-off-by: Linus Walleij
17 Nov, 2015
1 commit
-
Currently, include/media is messy, as it contains both the V4L2 core
headers and some driver-specific headers on the same place. That makes
harder to identify what core headers should be documented and what
headers belong to I2C drivers that are included only by bridge/main
drivers that would require the functions provided by them.Let's move those i2c specific files to its own subdirectory.
The files to move were produced via the following script:
mkdir include/media/i2c
(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/*/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
for i in include/media/*.h; do n=`basename $i`; (for j in $(git grep -l $n); do dirname $j; done)|sort|uniq|grep -ve '^.$' > list; num=$(wc -l list|cut -d' ' -f1); if [ $num == 1 ]; then if [ "`grep i2c list`" != "" ]; then git mv $i include/media/i2c; fi; fi; doneAnd the references corrected via this script:
MAIN_DIR="media/"
PREV_DIR="media/"
DIRS="i2c/"echo "Checking affected files" >&2
for i in $DIRS; do
for j in $(find include/$MAIN_DIR/$i -type f -name '*.h'); do
n=`basename $j`
git grep -l $n
done
done|sort|uniq >files && (
echo "Handling files..." >&2;
echo "for i in \$(cat files|grep -v Documentation); do cat \$i | \\";
(
cd include/$MAIN_DIR;
for j in $DIRS; do
for i in $(ls $j); do
echo "perl -ne 's,(include [\\\"\\&2;
echo "for i in MAINTAINERS \$(cat files); do cat \$i | \\";
(
cd include/$MAIN_DIR;
for j in $DIRS; do
for i in $(ls $j); do
echo " perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\";
done;
done;
echo "cat > a && mv a \$i; done"
);
) >script && . ./scriptMerged Sakari Ailus patch that moves smiapp.h to include/media/i2c.
Signed-off-by: Mauro Carvalho Chehab
Acked-by: Arnd Bergmann
24 Apr, 2015
1 commit
-
Signed-off-by: Steven Miao
23 Apr, 2015
5 commits
-
Signed-off-by: Scott Jiang
Signed-off-by: Steven Miao -
Signed-off-by: Sonic Zhang
-
Signed-off-by: Sonic Zhang
-
Signed-off-by: Sonic Zhang
-
There is a new bf6xx audio dma driver, so we don't reuse
bf5xx i2s pcm driver again.Signed-off-by: Scott Jiang
16 Feb, 2015
2 commits
-
Instead of using arch-specific accessors remap rotary register physical
address into kernel space in probe and use standard readw and writew to
access rotary MMRs.Signed-off-by: Sonic Zhang
Signed-off-by: Dmitry Torokhov -
The platform data definition of the rotary driver should be generic for all
architectures.Signed-off-by: Sonic Zhang
Signed-off-by: Dmitry Torokhov
26 Jul, 2014
2 commits
-
Signed-off-by: Sonic Zhang
Signed-off-by: Steven Miao -
drop smc pin state change code, pin state will be saved in pinctrl-adi2 driver
cleanup nor flash init/exit for pm suspend/resumeSigned-off-by: Steven Miao
15 Apr, 2014
2 commits
-
Use common clk api to get spi clock.
Signed-off-by: Scott Jiang
Signed-off-by: Mark Brown -
Spi v3 controller is not only used on Blackfin. So rename it
and use ioread/iowrite api to make it work on other platform.Signed-off-by: Scott Jiang
Signed-off-by: Mark Brown
12 Apr, 2014
2 commits
-
using IS_ENABLED() macro instead of defined(CONFIG_XXX) || defined(CONFIG_XXX_MODULE)
Signed-off-by: Steven Miao
-
Signed-off-by: Steven Miao
11 Apr, 2014
1 commit
-
Signed-off-by: Paul Bolle
Signed-off-by: Steven Miao
01 Feb, 2014
1 commit
-
Pull media updates from Mauro Carvalho Chehab:
- a new jpeg codec driver for Samsung Exynos (jpeg-hw-exynos4)
- a new dvb frontend for ds2103 chipset (m88ds2103)
- a new sensor driver for Samsung S5K5BAF UXGA (s5k5baf)
- new drivers for R-Car VSP1
- a new radio driver: radio-raremono
- a new tuner driver for ts2022 chipset (m88ts2022)
- the analog part of em28xx is now a separate module that only
load/runs if the device is not a pure digital TV device
- added a staging driver for bcm2048 radio devices
- the omap 2 video driver (omap24xx) was moved to staging. This driver
is for an old hardware and uses a deprecated Kernel internal API. If
nobody cares enough to fix it, it would be removed on a couple Kernel
releases
- the sn9c102 driver was moved to staging. This driver was replaced by
gspca, and disabled on some distros, as almost all devices are known
to work properly with gspca. It should be removed from kernel on a
couple Kernel releases
- lots of driver fixes, improvements and cleanups* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (421 commits)
[media] media: v4l2-dev: fix video device index assignment
[media] rc-core: reuse device numbers
[media] em28xx-cards: properly initialize the device bitmap
[media] Staging: media: Fix line length exceeding 80 characters in as102_drv.c
[media] Staging: media: Fix line length exceeding 80 characters in as102_fe.c
[media] Staging: media: Fix quoted string split across line in as102_fe.c
[media] media: st-rc: Add reset support
[media] m2m-deinterlace: fix allocated struct type
[media] radio-usb-si4713: fix sparse non static symbol warnings
[media] em28xx-audio: remove needless check before usb_free_coherent()
[media] au0828: Fix sparse non static symbol warning
Revert "[media] go7007-usb: only use go->dev after allocated"
[media] em28xx-audio: provide an error code when URB submit fails
[media] em28xx: fix check for audio only usb interfaces when changing the usb alternate setting
[media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0
[media] em28xx: make 'em28xx_ctrl_ops' static
em28xx-alsa: Fix error patch for init/fini
[media] em28xx-audio: flush work at .fini
[media] drxk: remove the option to load firmware asynchronously
[media] em28xx: adjust period size at runtime
...
30 Jan, 2014
1 commit
-
…realmz6/blackfin-linux
Pull blackfin updates from Steven Miao:
"Some minor changes and bug fixes"* tag 'blackfin-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/realmz6/blackfin-linux:
From: Eunbong Song <eunb.song@samsung.com>
Add platfrom device resource for bfin-sport on bf533 stamp
fix build error for bf527-ezkit_defconfig for old silicon
blackfin: Support L1 SRAM parity checking feature on bf60x
blackfin: bf609: update the anomaly list to Nov 2013
blackfin: delete non-required instances of <linux/init.h>
From: Paul Walmsley <pwalmsley@nvidia.com>
06/18] smp, blackfin: kill SMP single function call interrupt
arch: blackfin: uapi: be sure of "_UAPI" prefix for all guard macros
29 Jan, 2014
3 commits
-
Move code for the SEC faults from the IRQ hanlders into IRQ actions.
refine bfin fault routine handleSigned-off-by: Sonic Zhang
Signed-off-by: Steven Miao -
Signed-off-by: Sonic Zhang
-
blackfin: bf60x: clock: return 0 upon error from clk_round_rate()
clk_round_rate() should return 0 upon an error, rather than returning
a negative error code. This is because clk_round_rate() is being
changed to return an unsigned return type rather than a signed type,
since some clock sources can generate rates higher than (2^31)-1 Hz.Signed-off-by: Paul Walmsley
Signed-off-by: Steven Miao
20 Jan, 2014
1 commit
-
stmmac callbacks have been extended for better separation.
Update them to avoid breakage.Signed-off-by: Chen-Yu Tsai
Signed-off-by: David S. Miller
07 Jan, 2014
3 commits
-
The correct LLC DLL phase depends on the board layout, so this
should be part of the platform_data.Also updated the platform_data in ezkit to ensure that what was the old
default value is now explicitly specified, so the behavior for that board
is unchanged.Tested-by: Martin Bugge
Signed-off-by: Hans Verkuil
Cc: Scott Jiang
Signed-off-by: Mauro Carvalho Chehab -
The free-run mode can be board-specific.
Also updated the platform_data in ezkit to ensure that what was the old
default value is now explicitly specified, so the behavior for that board
is unchanged.Signed-off-by: Martin Bugge
Signed-off-by: Hans Verkuil
Cc: Scott Jiang
Signed-off-by: Mauro Carvalho Chehab -
Added support for YCrCb analog input.
If input is ADV7842_MODE_RGB and RGB quantization range is set to
V4L2_DV_RGB_RANGE_AUTO, then video with CEA timings will be received
as RGB. For ADV7842_MODE_COMP, automatic CSC mode will be selected.See table 48 on page 281 in "ADV7842 Hardware Manual, Rev. 0, January 2011"
for details.Make sure that when switching inputs the RGB quantization range is
updated as well.Also updated the platform_data in ezkit to ensure that what was the old
default value is now explicitly specified, so the behavior for that board
is unchanged.Signed-off-by: Mats Randgaard
Signed-off-by: Martin Bugge
Signed-off-by: Hans Verkuil
Cc: Scott Jiang
Signed-off-by: Mauro Carvalho Chehab
15 Nov, 2013
3 commits
-
The serial driver sets up port function manually in early platform probe stage
if the ADI GPIO2 driver is used. Remove the bfin_sport_uart early platform
devices.Signed-off-by: Sonic Zhang
-
Signed-off-by: Steven Miao
-
Remove gpio driver for new gpio controller on BF54x and BF60x.
Build the bfin_gpio driver only when other BF5xx processors are selected.
Replace the prefix of some gpio and peripheral functions with adi.
add portmux platform data in machine portmux.hSigned-off-by: Sonic Zhang
Signed-off-by: Steven Miao
13 Sep, 2013
6 commits
-
- Enable GMAC
- Set propler DMA PBL
- Disable DMA store and forward mode
- Select PTP input clock from MII
clock.Signed-off-by: Sonic Zhang
Signed-off-by: Steven Miao -
Signed-off-by: Scott Jiang
-
Signed-off-by: Scott Jiang
-
Signed-off-by: Steven Miao
-
Signed-off-by: Sonic Zhang
-
If SCB exists in select blackfin cpu, developer can change the SCB
priority in kernel configuration.Signed-off-by: Sonic Zhang
Signed-off-by: Steven Miao