03 Apr, 2019
2 commits
-
There are a few remaining drivers/staging/*/Makefile files that do not
have SPDX identifiers in them. Add the correct GPL-2.0 identifier to
them to make scanning tools happy.Reviewed-by: Mukesh Ojha
Signed-off-by: Greg Kroah-Hartman -
There are a few remaining drivers/staging/*/Kconfig files that do not
have SPDX identifiers in them. Add the correct GPL-2.0 identifier to
them to make scanning tools happy.Signed-off-by: Greg Kroah-Hartman
07 May, 2018
1 commit
-
This satisfies a checkpatch.pl warning and is the preferred method for
notating the license due to its lack of ambiguity.Signed-off-by: Nathan Chancellor
Signed-off-by: Greg Kroah-Hartman
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
13 Sep, 2016
1 commit
-
Update the staging/board PM domain code to use the
of_genpd_add_subdomain() and remove any calls to
of_genpd_get_from_provider().Signed-off-by: Jon Hunter
Acked-by: Ulf Hansson
Signed-off-by: Rafael J. Wysocki
30 Apr, 2016
1 commit
-
This patch fixes the checkpatch.pl warning:
WARNING: line over 80 characters
+ .domain = "/system-controller@e6180000/pm-domains/c5/a4lc@1"Signed-off-by: Nikita Eshkeev
Signed-off-by: Greg Kroah-Hartman
08 Feb, 2016
2 commits
-
Fix checkpatch.pl issue
CHECK: Blank lines aren't necessary before a close brace
Signed-off-by: SirnamSwetha
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the checkpatch issue.
CHECK: Please don't use multiple blank lines
Signed-off-by: SirnamSwetha
Signed-off-by: Greg Kroah-Hartman
18 Dec, 2015
2 commits
-
Signed-off-by: Geert Uytterhoeven
Acked-by: Greg Kroah-Hartman
Signed-off-by: Simon Horman -
Signed-off-by: Geert Uytterhoeven
Acked-by: Greg Kroah-Hartman
Signed-off-by: Simon Horman
29 Oct, 2015
1 commit
-
PM domains shouldn't be modified after a device is probed, so set it
before device registration to be sure of that.In the future the PM domain pointer will be set through a setter that
will WARN if the device has been probed already.Signed-off-by: Tomeu Vizoso
Tested-by: Geert Uytterhoeven
Signed-off-by: Greg Kroah-Hartman
09 Sep, 2015
1 commit
-
The named genpd APIs are deprecated. Hence convert the board staging
code from using genpd names to DT node paths.For now this supports PM domains with "#power-domain-cells = " only.
Signed-off-by: Geert Uytterhoeven
Reviewed-by: Ulf Hansson
Acked-by: Greg Kroah-Hartman
Signed-off-by: Rafael J. Wysocki
07 Jul, 2015
1 commit
-
Building allmodconfig for arch/cris currently fails with:
drivers/built-in.o: In function `board_staging_register_clock':
drivers/staging/board/board.c:131: undefined reference to `clk_add_alias'
make: *** [vmlinux] Error 1The clk_add_alias lives in drivers/clk/clkdev.c and that file
is only compiled for CONFIG_CLKDEV_LOOKUP, so it would seem
we need to add a dependency on that.Geert also reported seeing this in his build coverage:
There seems to be another missing dependency on OF_IRQ:
drivers/built-in.o: In function `board_staging_gic_fixup_resources':
(.init.text+0x21c2): undefined reference to `irq_create_of_mapping'so we might as well fix that at the same time since it is
on the same line.Cc: Magnus Damm
Cc: Simon Horman
Cc: Geert Uytterhoeven
Acked-by: Geert Uytterhoeven
Signed-off-by: Paul Gortmaker
Signed-off-by: Chen Gang
Cc: Stephen Rothwell
Signed-off-by: Greg Kroah-Hartman
18 Jun, 2015
6 commits
-
Add staging board support for the r8a7740-based armadillo800eva board
and add platform devices to allow in-tree continuous development of the
drivers on the armadillo800eva board.When DT bindings are ready for theses drivers then the platform devices
in the armadillo800eva staging board code can easily be removed. Until
then we use platform devices to continuously improve the driver and
integrate code.Added platform devices:
- sh_mobile_lcdc_fb for the on-board LCD.Signed-off-by: Geert Uytterhoeven
Acked-by: Simon Horman
Signed-off-by: Greg Kroah-Hartman -
Add support for easy registering of one ore more platform devices that
may:
- need clocks that are described in DT,
- be part of a PM Domain.All these dependencies are optional.
Signed-off-by: Geert Uytterhoeven
Acked-by: Simon Horman
Signed-off-by: Greg Kroah-Hartman -
As of commit 9a1091ef0017c40a ("irqchip: gic: Support hierarchy irq
domain."), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ
numbers in platform device resources.Translate the hardware IRQ numbers to virtual IRQ numbers to fix this.
Signed-off-by: Geert Uytterhoeven
Acked-by: Simon Horman
Signed-off-by: Greg Kroah-Hartman -
As of commit 9a1091ef0017c40a ("irqchip: gic: Support hierarchy irq
domain."), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ
numbers in platform device resources.Add support for translating hardware IRQ numbers to virtual IRQ numbers,
and fixing up platform device resources with hardcoded IRQ numbers.Add a copyright header, including the original author.
Signed-off-by: Geert Uytterhoeven
Acked-by: Simon Horman
Signed-off-by: Greg Kroah-Hartman -
Currently the staging board code is initialized from a late_initcall().
However, unused PM domains are also disabled from a late_initcall(),
which happens before due to link order.Change the initialization of staging board code from using
late_initcall() to device_initcall() to fix this.Signed-off-by: Geert Uytterhoeven
Acked-by: Simon Horman
Signed-off-by: Greg Kroah-Hartman -
This reverts commit d13778d537a0ed6115d2a79a942af999cfb8eec6.
Commit 13c11072536f2613 ("staging:board: remove unnecessary function")
fixed the build of drivers/staging/board/board.c.Signed-off-by: Geert Uytterhoeven
Reviewed-by: Simon Horman
Acked-by: Simon Horman
Signed-off-by: Greg Kroah-Hartman
20 Feb, 2015
1 commit
-
Pull kconfig updates from Michal Marek:
"Yann E Morin was supposed to take over kconfig maintainership, but
this hasn't happened. So I'm sending a few kconfig patches that I
collected:- Fix for missing va_end in kconfig
- merge_config.sh displays used if given too few arguments
- s/boolean/bool/ in Kconfig files for consistency, with the plan to
only support bool in the future"* 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
kconfig: use va_end to match corresponding va_start
merge_config.sh: Display usage if given too few arguments
kconfig: use bool instead of boolean for type definition attributes
18 Jan, 2015
1 commit
-
Remove the unnecessary 'of_can_translate_address',
which is already removed in commit
d9c6866be8a145e32da616d8dcbae806032d75b5 ("of: kill off
of_can_translate_address").Signed-off-by: Tsung-Han Lin
Signed-off-by: Greg Kroah-Hartman
07 Jan, 2015
1 commit
-
Support for keyword 'boolean' will be dropped later on.
No functional change.
Reference: http://lkml.kernel.org/r/cover.1418003065.git.cj@linux.com
Signed-off-by: Christoph Jaeger
Signed-off-by: Michal Marek
11 Jul, 2014
1 commit
-
Cc: Magnus Damm
Signed-off-by: Stephen Rothwell
Signed-off-by: Greg Kroah-Hartman
20 Jun, 2014
2 commits
-
Add staging board support for the KZM9D board and add
an emxx_udc platform device to allow in-tree continous
development of the driver on the KZM9D board.When DT bindings are ready for the emxx_udc driver then
the platform device in the KZM9D staging board code can
easily be removed. Until then we use platform devices
to continously improve the driver and integration code.Signed-off-by: Magnus Damm
Acked-by: Simon Horman
Signed-off-by: Greg Kroah-Hartman -
Add staging board base support to allow continuous upstream
in-tree development and integration of platform devices.Helps developers integrate devices as platform devices for
device drivers that only provide platform device bindings.
This in turn allows for incremental development of both
hardware feature support and DT binding work in parallel.Two separate pieces of board staging functionality is
provided to ease per-board staging board support:
- The board_staging() macro allows easy per-board callbacks
- The board_staging_dt_node_available() provides DT node checkingTested on the KZM9D board with the emxx_udc staging driver.
Signed-off-by: Magnus Damm
Acked-by: Simon Horman
Signed-off-by: Greg Kroah-Hartman