summaryrefslogtreecommitdiff
path: root/drivers/staging/samsung-laptop
AgeCommit message (Collapse)AuthorFilesLines
2011-04-12staging: samsung-laptop has moved to platform/x86Michal Marek4-859/+0
Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Matthew Garrett <mjg@redhat.com>
2011-03-22backlight: add backlight typeMatthew Garrett1-0/+1
There may be multiple ways of controlling the backlight on a given machine. Allow drivers to expose the type of interface they are providing, making it possible for userspace to make appropriate policy decisions. Signed-off-by: Matthew Garrett <mjg@redhat.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: David Airlie <airlied@linux.ie> Cc: Alex Deucher <alexdeucher@gmail.com> Cc: Ben Skeggs <bskeggs@redhat.com> Cc: Zhang Rui <rui.zhang@intel.com> Cc: Len Brown <lenb@kernel.org> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-11Staging: samsung-laptop: add support for N230 modelGreg Kroah-Hartman1-3/+3
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-07staging: samsung-laptop: Samsung R410P backlight driverAlberto Mardegan1-0/+10
Here's a trivial patch which adds support to the backlight device found in Samsung R410 Plus laptops. Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-27Staging: samsung-laptop: fix brightness level and add new device idsNils Faerber1-7/+25
The patch is against the 2.6.37 drivers/staging/samsung-laptop driver and implements some extra enhancements. It fixes an issue that the brightness would not change the level at once as well as and some other oddities. It was resolved by reallocated the SABI memory reagion using the "nocache" option. The patch also introduces a new set of supported netbook models, especially the NC10plus which was used for testing this patch. This new set of models also offer 9 instead of just 8 brightness levels so it also introduces an additional parameter for the models struct so that models can define their own brightness range. Signed-off-by: Nils Faerber <nils.faerber@kernelconcepts.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-27Staging: samsung-laptop: Add P460 to supported laptopsRiccardo Magliocchetti1-0/+9
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-27Staging: samsung-laptop: Constify samsung-laptop.cJoe Perches1-6/+6
Change sabi_config to const. Reduces data, increases text ~200 bytes. $ size drivers/platform/x86/samsung-laptop.o* text data bss dec hex filename 6933 5084 1560 13577 3509 drivers/platform/x86/samsung-laptop.o.new 6765 5252 1560 13577 3509 drivers/platform/x86/samsung-laptop.o.old Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-25staging: samsung-laptop: address review commentsGreg Kroah-Hartman1-35/+33
Fixed up the printk stuff to use pr_XXX where applicable, and reversed the logic when testing for commands to complete properly. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-25Staging: samsung-laptop: fix header address for N128Greg Kroah-Hartman1-1/+1
When doing the conversion to the "support more than one model" the header address of the N128 was incorrectly copied. This fixes the driver to work properly now on this laptop model. Cc: Ingmar Steen <iksteen@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-25staging: samsung-laptop: Add support for Samsung NP-X120/X170 laptopRoman Grebennikov1-0/+10
Add Samsung NP-X120/X170 laptop DMI signature to samsung-laptop DMI table. Signed-off-by: Roman Grebennikov <grebennikov.roman@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-25staging: samsung-laptop: add support for R519 laptopsGreg Kroah-Hartman1-0/+10
Reported-by: Piotr Mitas <yabolus@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-25staging: samsung-laptop: add support for r70 laptopsGreg Kroah-Hartman1-0/+10
Reported-by: Evgeny Bobkin <stwooe@mail.tu-berlin.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-25staging: samsung-laptop: add support for N145P/N250P/N260P machinesRichard Schütz1-0/+9
Add DMI data for Samsung N145P/N250P/N260P Signed-off-by: Richard Schütz <r.schtz@t-online.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09Staging: samsung-laptop: add a bunch more laptop DMI signaturesGreg Kroah-Hartman1-1/+49
Taken from the fork of the driver at: http://code.google.com/p/easy-slow-down-manager/ which should no longer be needed now that the in-kernel driver now supports these laptops. Cc: Kobelkov Sergey <sergeyko81@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09Staging: samsung-laptop: add support for NP-Q45Greg Kroah-Hartman1-0/+10
Support for the Samsung NP-Q45 from Jérémie Huchet added Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09Staging: samsung-laptop: Added support for Samsung NC10 laptopGreg Kroah-Hartman1-0/+10
Info was provided by Soeren Sonnenburg <bugreports@nn7.de> Cc: Soeren Sonnenburg <bugreports@nn7.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09Staging: samsung-laptop: fix up some variable nameingGreg Kroah-Hartman1-17/+17
No camelcase in the Linux kernel please. Cc: Ingmar Steen <iksteen@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09Staging: samsung-laptop: fix up a few more minor coding style issuesGreg Kroah-Hartman1-8/+17
Cc: Ingmar Steen <iksteen@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09Staging: samsung-laptop: change sabi_configs to be in C99 formatGreg Kroah-Hartman1-54/+54
This makes the coding style checker a lot happier. Cc: Ingmar Steen <iksteen@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09Staging: samsung-laptop: fix up brace coding style issuesGreg Kroah-Hartman1-10/+5
These were introduced with the patch, "staging: samsung-laptop: Extend samsung-laptop platform driver to support another flavor of its platform BIOS." Cc: Ingmar Steen <iksteen@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09Staging: samsung-laptop: fix up space/tab coding style issuesGreg Kroah-Hartman1-17/+17
These were introduced with the patch, "staging: samsung-laptop: Extend samsung-laptop platform driver to support another flavor of its platform BIOS." Cc: Ingmar Steen <iksteen@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09staging: samsung-laptop: Added Samsung X125 DMI info.Ingmar Steen1-0/+10
Signed-off-by: Ingmar Steen <iksteen@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-09staging: samsung-laptop: Extend samsung-laptop platform driver to support ↵Ingmar Steen1-127/+265
another flavor of its platform BIOS. There are currently two implementations of the Samsung BIOS that controls the rfkill switch, backlight brightness / power and performance level. The samsung-laptop driver implements the BIOS flavor with the SECLINUX signature, this patch implements talking to the other BIOS with 'SwSmi@' signature. Both expose very similar functionality and way of accessing the commands. The differences are mostly offsets, command identifiers and some values. This patch introduces a sabi_config structure that contains information on identifying and accessing specific SABI flavors. Signed-off-by: Ingmar Steen <iksteen@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-22Merge branch 'master' into for-nextJiri Kosina1-1/+1
Conflicts: MAINTAINERS arch/arm/mach-omap2/pm24xx.c drivers/scsi/bfa/bfa_fcpim.c Needed to update to apply fixes for which the old branch was too outdated.
2010-11-18Staging: samsung-laptop: fix up my fixup for some sysfs attribute permissionsGreg Kroah-Hartman1-1/+1
They should be writable by root, not readable. Doh, stupid me with the wrong flags. Reported-by: Jonathan Cameron <jic23@cam.ac.uk> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-16Staging: samsung-laptop: fix up some sysfs attribute permissionsGreg Kroah-Hartman1-1/+1
They should not be writable by any user Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-16backlight: constify backlight_opsLionel Debroux1-1/+1
backlight_device_register has been expecting a const "ops" argument, and using it as such, since 9905a43b2d563e6f89e4c63c4278ada03f2ebb14. Let's make the remaining backlight_ops instances const. Inspired by hunks of the grsecurity patch, updated for newer kernels. Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2010-03-16backlight: Allow properties to be passed at registrationMatthew Garrett1-2/+5
Values such as max_brightness should be set before backlights are registered, but the current API doesn't allow that. Add a parameter to backlight_device_register and update drivers to ensure that they set this correctly. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-03Staging: samsung-laptop: fix coding style issuesChihau Chau1-3/+6
This fixes some lines over 80 characters coding style issues. Signed-off-by: Chihau Chau <chihau@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11Staging: samsung-laptop: add TODO fileGreg Kroah-Hartman1-0/+5
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11Staging: samsung-laptop: remove old kernel codeGreg Kroah-Hartman1-40/+0
Don't test for the kernel version, we know what version we are in, the latest. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11Staging: add Samsung Laptop driverGreg Kroah-Hartman3-0/+593
This is a drive for the Samsung N128 laptop to control the wireless LED and backlight. Many thanks to Joey Lee for his help in testing and finding all of my bugs in the development of this driver, it has been invaluable. Cc: Joey Lee <jlee@novell.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>