01 Oct, 2019
2 commits
-
To allow simultaneous support for XO-1 and XO-1.5.
This module require GPIO_CS5535 (for 1.0) and ACPI (for 1.5) now.Reported-by: kbuild test robot
Signed-off-by: Jerry Lin
Link: https://lore.kernel.org/r/20190925074243.GA24947@compute1
Signed-off-by: Greg Kroah-Hartman -
This patch remove model related configuration.
Since the module can decide which platform data to use itself base on
current running olpc board.Also change module dependency from (GPIO_CS5535 || GPIO_CS5535=n)
to (GPIO_CS5535 || ACPI) because original one does not make any sense
and module only doing real work when GPIO_CS5535 or ACPI is setted.Remove kernel configurations:
- FB_OLPC_DCON_1
- FB_OLPC_DCON_1_5Signed-off-by: Jerry Lin
Link: https://lore.kernel.org/r/20190906010613.GA562@compute1
Signed-off-by: Greg Kroah-Hartman
30 Jul, 2019
1 commit
-
All uses of old GPIO API have been converted to new API.
This item can be removed from TODO file.Signed-off-by: Jerry Lin
Link: https://lore.kernel.org/r/20190729023544.GA25930@compute1
Signed-off-by: Greg Kroah-Hartman
13 Jun, 2019
2 commits
-
this driver is pretty horrible from a design pov, and needs a complete
overhaul. Concrete thing that annoys me is that it looks at
registered_fb, which is an internal thing to fbmem.c and fbcon.c. And
ofc it gets the lifetime rules all wrong (it should at least use
get/put_fb_info).Looking at the history, there's been an attempt at dropping this from
staging in 2016, but that had to be reverted. Since then not real
effort except the usual stream of trivial patches, and fbdev has been
formally closed for any new hw support. Time to try again and drop
this?Signed-off-by: Daniel Vetter
Reviewed-by: Sam Ravnborg
Acked-by: Greg Kroah-Hartman
Reviewed-by: Maarten Lankhorst
Cc: Greg Kroah-Hartman
Cc: Jens Frederich
Cc: Daniel Drake
Cc: Jon Nettleton
Link: https://patchwork.freedesktop.org/patch/msgid/20190528090304.9388-33-daniel.vetter@ffwll.ch -
Simply because olpc never unregisters the damn thing. It also
registers the framebuffer directly by poking around in fbdev
core internals, so it's all around rather broken.Signed-off-by: Daniel Vetter
Reviewed-by: Sam Ravnborg
Acked-by: Greg Kroah-Hartman
Reviewed-by: Maarten Lankhorst
Cc: Greg Kroah-Hartman
Cc: Jens Frederich
Cc: Daniel Drake
Cc: Jon Nettleton
Link: https://patchwork.freedesktop.org/patch/msgid/20190528090304.9388-15-daniel.vetter@ffwll.ch
15 May, 2019
1 commit
-
Pull backlight updates from Lee Jones:
"Fix-ups:
- Remove unused BACKLIGHT_LCD_SUPPORT symbol
- Remove unused BACKLIGHT_CLASS_DEVICE dependencies
- Add DT support to lm3630a_blBug Fixes:
- Fix error path issues in lm3630a_bl"* tag 'backlight-next-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
backlight: lm3630a: Add firmware node support
dt-bindings: backlight: Add lm3630a bindings
backlight: lm3630a: Return 0 on success in update_status functions
video: lcd: Remove useless BACKLIGHT_CLASS_DEVICE dependencies
video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol
25 Apr, 2019
1 commit
-
This commit eliminate all uses of legacy integer base GPIO API in
olpc_dcon_xo_1_5.c and replace them with new descriptor GPIO API like
those in olpc_dcon_xo_1.c.Also pull some common code with olpc_dcon_xo_1.c to olpc_dcon.h for code
sharing.Signed-off-by: Jerry Lin
Signed-off-by: Greg Kroah-Hartman
03 Apr, 2019
3 commits
-
We have two *_CLASS_DEVICE kernel config options (LCD_CLASS_DEVICE
and BACKLIGHT_LCD_DEVICE) that do the same job.
The patch removes useless BACKLIGHT_LCD_SUPPORT option
and converts LCD_CLASS_DEVICE into a menu.Signed-off-by: Alexander Shiyan
Acked-by: Bartlomiej Zolnierkiewicz
Acked-by: Daniel Thompson
Signed-off-by: Lee Jones -
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
18 Mar, 2019
1 commit
-
gcc noticed a mismatch between the type qualifiers after a recent
cleanup:drivers/staging/olpc_dcon/olpc_dcon_xo_1.c: In function 'dcon_init_xo_1':
drivers/staging/olpc_dcon/olpc_dcon_xo_1.c:48:26: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]Add the 'const' keyword that should have been there all along.
Fixes: 2159fb372929 ("staging: olpc_dcon: olpc_dcon_xo_1.c: Switch to the gpio descriptor interface")
Signed-off-by: Arnd Bergmann
Cc: stable
Signed-off-by: Greg Kroah-Hartman
08 Nov, 2018
1 commit
-
Use the gpiod interface instead of the deprecated old non-descriptor
interface in olpc_dcon_xo_1.c.Signed-off-by: Nishad Kamdar
Signed-off-by: Greg Kroah-Hartman
20 Sep, 2018
1 commit
-
WARNING: unmet direct dependencies detected for BACKLIGHT_CLASS_DEVICE
Depends on [n]: HAS_IOMEM [=y] && BACKLIGHT_LCD_SUPPORT [=n]
Selected by [y]:
- FB_OLPC_DCON [=y] && STAGING [=y] && X86 [=y] && OLPC [=y] && FB [=y]
&& I2C [=y] && (GPIO_CS5535 [=n] || GPIO_CS5535 [=n]=n)Signed-off-by: Lubomir Rintel
Signed-off-by: Greg Kroah-Hartman
28 Aug, 2018
1 commit
-
Add SPDX-License-Identifier to the source files.
Remove redundant, old license.Signed-off-by: Arkadiusz Lis
Signed-off-by: Greg Kroah-Hartman
16 Jul, 2018
2 commits
-
Add missing function argument identifier names as suggested by
checkpatch.pl.Signed-off-by: Cristian Kubis
Signed-off-by: Greg Kroah-Hartman -
Fix for a style warning reported by checkpatch.pl in KConfig
suggesting to use 'help' instead of '---help---'.Signed-off-by: Cristian Kubis
Signed-off-by: Greg Kroah-Hartman
23 Apr, 2018
1 commit
-
To make sure that this driver does not leave staging before it
is properly converted to use the new GPIO descriptor API,
augment the TODO file with this work item.Cc: Andres Salomon
Cc: Jens Frederich
Signed-off-by: Linus Walleij
Signed-off-by: Greg Kroah-Hartman
06 Dec, 2017
2 commits
-
Line up arguments to opening parentheses and ensure lines stay under 80
columns, since checkpatch.pl was complaining about incorrect indentation
in function calls and definitions.Signed-off-by: Zebulon McCorkle
Signed-off-by: Greg Kroah-Hartman -
checkpatch.pl reported the bitshifts (1<
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
28 Aug, 2017
1 commit
-
This printk doesn't really add anything worthwhile.
Signed-off-by: Shurong Zhang
Signed-off-by: Greg Kroah-Hartman
28 Apr, 2017
1 commit
-
removes hardcoded function name and uses __func__ to print info.
Signed-off-by: Dhananjay Balan
Signed-off-by: Greg Kroah-Hartman
06 Mar, 2017
1 commit
-
This fixes a coding style issue where whitespace characters were missing
around some binary OR operators.Signed-off-by: Kenneth Hsu
Signed-off-by: Greg Kroah-Hartman
11 Jan, 2017
4 commits
-
This issue is caught by checkpatch.pl and is related to the following
warning:
- CHECK: Please don't use multiple blank linesSigned-off-by: Emmanuil Chatzipetru
Signed-off-by: Greg Kroah-Hartman -
This issue is caught by checkpatch.pl and is related to the following
warning:
- CHECK: spaces preferred around that '/' (ctx:VxV)Signed-off-by: Emmanuil Chatzipetru
Signed-off-by: Greg Kroah-Hartman -
dcon_was_irq(); should return a boolean value if PMIO_Rx50[6] is either
set or unset, which is evaluated in the first return statement. Therefore,
the following return statement is redundant and thus, removed.Signed-off-by: Emmanuil Chatzipetru
Signed-off-by: Greg Kroah-Hartman -
This issue is caught by checkpatch.pl and is related to the following
warning:
- CHECK: Alignment should match open parenthesisSigned-off-by: Emmanuil Chatzipetru
Signed-off-by: Greg Kroah-Hartman
18 Sep, 2016
3 commits
-
This reverts commit ed88363e6aebb91df820e1a8898d2a07b18d2bc9.
It was incorrect :(
Cc: Anchal Jain
Signed-off-by: Greg Kroah-Hartman -
This patch replaces bit shifting on 1 with the BIT(x) macro
as it's extensively used by other function in the file olpc_dcon.h .Signed-off-by: Anchal Jain
Signed-off-by: Greg Kroah-Hartman -
This patch replaces type u_int8_t with u8 as suggested by checkpatch.pl.
Signed-off-by: sayli karnik
Signed-off-by: Greg Kroah-Hartman
05 Apr, 2016
1 commit
-
This reverts commit 82ef33af9dd30075adbd9f3dd161b606b8ba88ac. It turns
out these machines are still out there, and the original patch broke
them. So revert it, adding back the driver, so people's machines still
work properly.Reported-by: James Cameron
Cc: Shraddha Barke
Signed-off-by: Greg Kroah-Hartman
29 Jan, 2016
1 commit
-
Remove support for One Laptop Per Child organization since it is dead.
http://www.olpcnews.com/about_olpc_news/goodbye_one_laptop_per_child.htmlSigned-off-by: Shraddha Barke
Signed-off-by: Greg Kroah-Hartman
17 Oct, 2015
3 commits
-
Problem found using checkpatch.pl
CHECK: Comparison to NULL could be written "(!)dcon_device"Signed-off-by: Aybuke Ozdemir
Signed-off-by: Greg Kroah-Hartman -
This patch "uint16_t" type instead of "u16" type was used.
checkpatch.pl issue.Signed-off-by: Aybuke Ozdemir
Signed-off-by: Greg Kroah-Hartman -
Remove multiple blank lines. Problem found using checkpatch.pl
CHECK: Please don't use multiple blank lines.Signed-off-by: Aybuke Ozdemir
Signed-off-by: Greg Kroah-Hartman
13 Oct, 2015
1 commit
-
Braces in single statement blocks are not needed.
Found by checkpatch.pl
Signed-off-by: Ksenija Stanojevic
Signed-off-by: Greg Kroah-Hartman
04 Oct, 2015
1 commit
-
Struct timespec will overflow in year 2038, here it will not cause an
overflow because it is used with timespec_sub, but still has to be
removed as part of y2038 changes. Replace it with ktime_t. Also use
monotonic instead of real-time by replacing functions getnstimeofday
with ktime_get.Signed-off-by: Ksenija Stanojevic
Reviewed-by: Arnd Bergmann
Signed-off-by: Greg Kroah-Hartman
15 Aug, 2015
1 commit
-
Using 'extern' is not necessary for function prototypes.
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman
03 Apr, 2015
1 commit
-
This file does not use any pci APIs, drop
pci header includes.Signed-off-by: Michael S. Tsirkin
Signed-off-by: Greg Kroah-Hartman
18 Jan, 2015
1 commit
-
This patch gets rid of the following sparse warning:
drivers/staging/olpc_dcon/olpc_dcon.c:787:19: warning: symbol 'dcon_driver' was not declared. Should it be static?
Signed-off-by: Murilo Opsfelder Araujo
Signed-off-by: Greg Kroah-Hartman