- 07 3月, 2013 34 次提交
-
-
由 Lee Jones 提交于
Any platform can be dynamically probed for model and version number provided the AB8500 MFD parent device pointer is available. This patch obtains that pointer and stores it in a locally controlled struct for later use. Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Rajkumar Kasirajan 提交于
End of charging is managed by SW. Signed-off-by: NRajkumar Kasirajan <rajkumar.kasirajan@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NJonas ABERG <jonas.aberg@stericsson.com> Tested-by: NJonas ABERG <jonas.aberg@stericsson.com>
-
由 Lee Jones 提交于
Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Lee Jones 提交于
Just lots of white space corrections, changing some of the 4 space tabs to 8 and pulling back some of the double tabbing back into singles, such as the remaining of the driver. Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Dariusz Szymczak 提交于
Make use of the hierarchical interrupt rergister called ITLatchHier1 - 3 also for the 8500 platform (currently the hierarchical interrupt registers are used only for the 8540 and 9540 platforms). This will make the interrupt routing go faster since fewer i2c reads need to made in the most common cases. Signed-off-by: NDariusz Szymczak <dariusz.xd.szymczak@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 srinidhi kasagar 提交于
Use kstrtoul_from_user for getting an unsigned long from userspace which is less error prone. Signed-off-by: Nsrinidhi kasagar <srinidhi.kasagar@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NJonas ABERG <jonas.aberg@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Linus Walleij 提交于
As I am working on SPARSE_IRQ a number of implicit resource grabs in the kernel become evident. For example, some includes like <linux/irqs.h> would implicitly include <mach/irqs.h> and then from there <mach/db8500-regs.h>. In many cases it is masking the fact that drivers do not properly use resources to pass their dependencies, base addresses etc. So write explicit #include statements with TODO items to have this fixed the proper way to all drivers doing this. Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NPhilippe LANGLAIS <philippe.langlais@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Ulf Hansson 提交于
Hierarchically, the abx500-clk shall be considered as a child of the ab8500 core. The abx500-clk is intiated at arch init and thus the clks will be available when clients needs them. Signed-off-by: NUlf Hansson <ulf.hansson@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NPhilippe LANGLAIS <philippe.langlais@stericsson.com> Reviewed-by: NPatrice CHOTARD <patrice.chotard@stericsson.com> Reviewed-by: NGabriel FERNANDEZ <gabriel.fernandez@stericsson.com> Reviewed-by: NPhilippe BEGNIC <philippe.begnic@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Required to read out correct debug information from the AB chip. Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Enable group write permissions for ab8500 debug MFD driver. Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Mattias Wallin 提交于
Several states can be detected when a device is initially turned on. This patch displays these states in the log. If none of the states are true, then we report that too. Signed-off-by: NMattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMarcus COOPER <marcus.xm.cooper@stericsson.com> Reviewed-by: NJonas ABERG <jonas.aberg@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Signed-off-by: NYang QU <yang.qu@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NAlexandre BOURDIOL <alexandre.bourdiol@stericsson.com> Reviewed-by: NPhilippe LANGLAIS <philippe.langlais@stericsson.com> Reviewed-by: NMattias WALLIN <mattias.wallin@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
This patch allows to dump the SIM registers from debugfs. It will temporary change the config to allow APE side to read the SIM registers. Note that this read can cause problem on modem side since the modem can't read these registers while the operation is ongoing. Signed-off-by: NMattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMarcus COOPER <marcus.xm.cooper@stericsson.com> Reviewed-by: NJonas ABERG <jonas.aberg@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Rabin Vincent 提交于
So we're removing support for it. Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Tested-by: NMarcus COOPER <marcus.xm.cooper@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Add VBUS_DET_R, VBUS_DET_F IRQ, ID_DET_PLUGR and ID_DET_PLUGF IRQ information to ab8505_iddet_resources. These are required to get interrupts for AB8505 cut-2. Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Optimise GPADC driver: * for code readability and maintenance by grouping similar cheking * for performance by grouping several writing to control register Signed-off-by: NAlexandre Bourdiol <alexandre.bourdiol@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NPhilippe LANGLAIS <philippe.langlais@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Allow GPADC debug information to be shown when executing on an AB8540 based platform. Signed-off-by: NAlexandre Bourdiol <alexandre.bourdiol@stericsson.com> Reviewed-by: NMarcus COOPER <marcus.xm.cooper@stericsson.com> Reviewed-by: NPhilippe LANGLAIS <philippe.langlais@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
This patch enables the GPADC to work on AB8540 based platforms. Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Add a new reset function which uses the AB WD with 0 timeout. Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Make it possible to dump all registers in ab8505 and ab9540. Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Signed-off-by: NAlexandre Torgue <alexandre.torgue@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMarcus COOPER <marcus.xm.cooper@stericsson.com> Reviewed-by: NMattias WALLIN <mattias.wallin@stericsson.com> Tested-by: NMaxime COQUELIN <maxime.coquelin@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Marcus Danielsson 提交于
Add error checks to see if sysctrl was probed as it should. If the sysctrl_dev is not set the return value is -EINVAL. Signed-off-by: NMarcus Danielsson <marcus.danielsson@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMattias WALLIN <mattias.wallin@stericsson.com> Tested-by: NPer FORLIN <per.forlin@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Jonas Aaberg 提交于
Add information regarding what ab interrupt that caused a wake-up from suspend in <debugfs>/ab8500/interrupts. Also print the name of the interrupts, not just the numbers. Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NPer FORLIN <per.forlin@stericsson.com> Tested-by: NMattias WALLIN <mattias.wallin@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Jonas Aaberg 提交于
Stop trying to read i2c registers if one fail. Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMattias WALLIN <mattias.wallin@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
ITSource/ITLatch 7, 8, 9 and 10 don't exist on AB8540. This patch replaces them with '-1' in the interrupt list, and handles the '-1' in the code accordingly. Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Here we're separating Battery Management devices into their own structure, removing the common device structure & redistribute them amongst the individual platform structs and completing the population of them. Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Signed-off-by: NLee Jones <lee.jones@linaro.org> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Dump function that stores all readable ABB registers to a memory areas where they can be accessed from dump file. Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMattias WALLIN <mattias.wallin@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Mattias Wallin 提交于
This patch changes bank prints to use hex value. Signed-off-by: NMattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMarcus COOPER <marcus.xm.cooper@stericsson.com> Reviewed-by: NDaniel WILLERUD <daniel.willerud@stericsson.com> Tested-by: NJonas ABERG <jonas.aberg@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
There are missing register descriptions from the AB8505 user manual and these need to be masked so that the APEINT line can toggle. This patch also affects the behaviour of AB9540. Signed-off-by: NMarcus Cooper <marcus.xm.cooper@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMaxime COQUELIN <maxime.coquelin@stericsson.com> Reviewed-by: NAlexandre TORGUE <alexandre.torgue@stericsson.com> Reviewed-by: NMattias WALLIN <mattias.wallin@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Lee Jones 提交于
Add the support of gpacd hw conversion and make the number of sample configurable. Signed-off-by: NM'boumba Cedric Madianga <cedric.madianga@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMattias WALLIN <mattias.wallin@stericsson.com> Tested-by: NMichel JAOUEN <michel.jaouen@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Jonas Aaberg 提交于
Reread the gpadc once upon failure. Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NMattias WALLIN <mattias.wallin@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Daniel WILLERUD 提交于
suspend/resume methods implemented to prevent suspend while the gpadc driver is busy. Signed-off-by: NDaniel WILLERUD <daniel.willerud@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NJonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: NUlf HANSSON <ulf.hansson@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Rajkumar Kasirajan 提交于
In L9540, turn_on_status register is not updated correctly if the device is rebooted with AC/USB charger connected. Due to this, the device boots android instead of entering into charge only mode. Read the AC/USB status register to detect the charger presence and update the turn on status manually. Signed-off-by: NRajkumar Kasirajan <rajkumar.kasirajan@stericsson.com> Signed-off-by: NPer Forlin <per.forlin@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NRupesh KUMAR <rupesh.kumar@stericsson.com> Reviewed-by: NPhilippe LANGLAIS <philippe.langlais@stericsson.com> Tested-by: NRupesh KUMAR <rupesh.kumar@stericsson.com> Tested-by: NPhilippe LANGLAIS <philippe.langlais@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 04 3月, 2013 6 次提交
-
-
由 Linus Torvalds 提交于
-
git://git.infradead.org/users/dhowells/linux-headers由 Linus Torvalds 提交于
Pull fbdev UAPI disintegration from David Howells: "You'll be glad to here that the end is nigh for the UAPI patches. Only the fbdev/framebuffer piece remains now that the SCSI stuff has gone in. Here are the UAPI disintegration bits for the fbdev drivers. It appears that Florian hasn't had time to deal with my patch, but back in December he did say he didn't mind if I pushed it forward." Yay. No more uapi movement. And hopefully no more big header file cleanups coming up either, it just tends to be very painful. * tag 'disintegrate-fbdev-20121220' of git://git.infradead.org/users/dhowells/linux-headers: UAPI: (Scripted) Disintegrate include/video
-
由 Linus Torvalds 提交于
Merge tag 'stable/for-linus-3.9-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen Pull Xen bug-fixes from Konrad Rzeszutek Wilk: - Update the Xen ACPI memory and CPU hotplug locking mechanism. - Fix PAT issues wherein various applications would not start - Fix handling of multiple MSI as AHCI now does it. - Fix ARM compile failures. * tag 'stable/for-linus-3.9-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen: xenbus: fix compile failure on ARM with Xen enabled xen/pci: We don't do multiple MSI's. xen/pat: Disable PAT using pat_enabled value. xen/acpi: xen cpu hotplug minor updates xen/acpi: xen memory hotplug minor updates
-
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs由 Linus Torvalds 提交于
Pull more VFS bits from Al Viro: "Unfortunately, it looks like xattr series will have to wait until the next cycle ;-/ This pile contains 9p cleanups and fixes (races in v9fs_fid_add() etc), fixup for nommu breakage in shmem.c, several cleanups and a bit more file_inode() work" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: constify path_get/path_put and fs_struct.c stuff fix nommu breakage in shmem.c cache the value of file_inode() in struct file 9p: if v9fs_fid_lookup() gets to asking server, it'd better have hashed dentry 9p: make sure ->lookup() adds fid to the right dentry 9p: untangle ->lookup() a bit 9p: double iput() in ->lookup() if d_materialise_unique() fails 9p: v9fs_fid_add() can't fail now v9fs: get rid of v9fs_dentry 9p: turn fid->dlist into hlist 9p: don't bother with private lock in ->d_fsdata; dentry->d_lock will do just fine more file_inode() open-coded instances selinux: opened file can't have NULL or negative ->f_path.dentry (In the meantime, the hlist traversal macros have changed, so this required a semantic conflict fixup for the newly hlistified fid->dlist)
-
git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs由 Linus Torvalds 提交于
Pull btrfs fixup from Chris Mason: "Geert and James both sent this one in, sorry guys" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: btrfs/raid56: Add missing #include <linux/vmalloc.h>
-
git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux由 Linus Torvalds 提交于
Pull second set of s390 patches from Martin Schwidefsky: "The main part of this merge are Heikos uaccess patches. Together with commit 09884964 ("mm: do not grow the stack vma just because of an overrun on preceding vma") the user string access is hopefully fixed for good. In addition some bug fixes and two cleanup patches." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: s390/module: fix compile warning qdio: remove unused parameters s390/uaccess: fix kernel ds access for page table walk s390/uaccess: fix strncpy_from_user string length check input: disable i8042 PC Keyboard controller for s390 s390/dis: Fix invalid array size s390/uaccess: remove pointless access_ok() checks s390/uaccess: fix strncpy_from_user/strnlen_user zero maxlen case s390/uaccess: shorten strncpy_from_user/strnlen_user s390/dasd: fix unresponsive device after all channel paths were lost s390/mm: ignore change bit for vmemmap s390/page table dumper: add support for change-recording override bit
-