- Sep 02, 2013
-
-
Samuel Ortiz authored
-
Mark Brown authored
Rather then open coding a cache of the vibra control registers use the regmap cache code. Also cache the interrupt mask register, providing a small performance improvement for the interrupt code. Signed-off-by:
Mark Brown <broonie@linaro.org> Acked-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mark Brown authored
This will be used to support refactoring of the ASoC CODEC driver to use a regmap. Signed-off-by:
Mark Brown <broonie@linaro.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mark Brown authored
These functions are not referenced anywhere, nor prototyped, so just remove them. Signed-off-by:
Mark Brown <broonie@linaro.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- Aug 30, 2013
-
-
Wei WANG authored
Update copyright date, and remove author address. Signed-off-by:
Wei WANG <wei_wang@realsil.com.cn> Acked-by:
Chris Ball <cjb@laptop.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Wei WANG authored
If switching voltage fails, SD_CLK toggle enable bit should been cleared so that SD host can control SD clock automatically. Signed-off-by:
Wei WANG <wei_wang@realsil.com.cn> Acked-by:
Chris Ball <cjb@laptop.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Wei WANG authored
The default phase can meet most cards' requirement, but it is not the optimal one. In some extreme situation, the rx phase point produced by the following tuning process will drift quite a distance. Before tuning UHS card, this patch will set a more proper initial tx phase point, which is calculated from statistic data, and can achieve a much better tx signal quality. Signed-off-by:
Wei WANG <wei_wang@realsil.com.cn> Acked-by:
Lee Jones <lee.jones@linaro.org> Acked-by:
Chris Ball <cjb@laptop.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- Aug 21, 2013
-
-
git://git.linaro.org/people/ljones/mfdSamuel Ortiz authored
Signed-off-by:Samuel Ortiz <sameo@linux.intel.com>
-
- Aug 20, 2013
-
-
Jingoo Han authored
Use devm_*() functions to make cleanup paths simpler. Signed-off-by:
Jingoo Han <jg1.han@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Wei WANG authored
Update copyright date, remove author address and add Roger Tseng. Signed-off-by:
Wei WANG <wei_wang@realsil.com.cn> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Wei WANG authored
Set a bit to enable rts5227 and rts5249 to enter a deeper internal power-saving mode in S3, and recover it after resuming. Signed-off-by:
Wei WANG <wei_wang@realsil.com.cn> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Wei WANG authored
Clear hw_pfm_en to disable hardware PFM mode, to fix a bug that in some situation registers in 0xFDxx domain can't be accessed. Signed-off-by:
Wei WANG <wei_wang@realsil.com.cn> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Wei WANG authored
These actions are individual for each reader model, so should be put in extra_init_hw instead of rtsx_pci_init_hw. Signed-off-by:
Wei WANG <wei_wang@realsil.com.cn> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Wei WANG authored
Some actions to clear power state should be handled in .shutdown callback in rtsx_pci_driver. This patch adopts the following measures to catch this goal: 1. Add a function rtsx_pci_power_off to abstract the common ops in .shutdown and .suspend 2. Add pcr->ops->force_power_down to fulfill the individual action for each reader model Signed-off-by:
Wei WANG <wei_wang@realsil.com.cn> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Wei WANG authored
Normally OEMs will set vendor setting to the config space of Realtek card reader in BIOS stage. This patch reads the setting at the first, and configure the internal registers according to it, to improve card reader's compatibility condition. Signed-off-by:
Wei WANG <wei_wang@realsil.com.cn> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Oleksandr Dmytryshyn authored
The TWL6032 PMIC has different IRQ status bits meaning. Hence, add interrupt mapping table for the twl6032. Signed-off-by:
Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com> Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com> Acked-by:
Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Grygorii Strashko authored
Create "struct twl6030_irq" and place all local variables inside it. Also allocate twl6030_irq structure dynamically during initialization. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com> Acked-by:
Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Grygorii Strashko authored
Since the TWL6030 PMIC is used with OMAP4 SoCs only and OMAP4 legacy boot is dropped there are no needs to allocate the range of IRQ descriptors during system boot to support TWL6030 IRQs. Hence, convert it to use linear irq_domain and move IRQ configuration in .map()/.unmap() callbacks of irq_domain. So, IRQ mapping and descriptors allocation will be performed dynamically basing on DT configuration. The error message will be reported in case if unmapped IRQ is received by TWL6030 (virq==0). Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com> Acked-by:
Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Grygorii Strashko authored
Add a missed check for errors when TWL IRQs are masked initially on probe and report an error in case of failure. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com> Acked-by:
Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Naga Venkata Srikanth V authored
1) Removed request_irq() and replaced it with request_threaded_irq(). 2) Removed generic_handle_irq() and replaced it with handle_nested_irq(). Handling of these interrupts is nested, as we are handling an interrupt (for e.g rtc, mmc1) when we are still servicing TWL irq. 3) Removed I2C read-retry logic for the case when twl_i2c_read() is failed inside IRQ handler - there is no sense to do that, so just report an error and return. 4) Each nested IRQ is configured with corresponding parent_irq, which need to be retriggered in case if nested IRQ is marked as IRQS_PENDING. Signed-off-by:
Naga Venkata Srikanth V <vnv.srikanth@samsung.com> Signed-off-by:
Oleg_Kosheliev <oleg.kosheliev@ti.com> Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com> Acked-by:
Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Jingoo Han authored
Use devm_*() functions to make cleanup paths simpler. Signed-off-by:
Jingoo Han <jg1.han@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Jingoo Han authored
Use devm_*() functions to make cleanup paths simpler. Signed-off-by:
Jingoo Han <jg1.han@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Jingoo Han authored
Use devm_*() functions to make cleanup paths simpler. Signed-off-by:
Jingoo Han <jg1.han@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Jingoo Han authored
Use devm_*() functions to make cleanup paths simpler. Signed-off-by:
Jingoo Han <jg1.han@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Jingoo Han authored
Use devm_*() functions to make cleanup paths simpler. Signed-off-by:
Jingoo Han <jg1.han@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Jingoo Han authored
Use devm_*() functions to make cleanup paths simpler. Signed-off-by:
Jingoo Han <jg1.han@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Jingoo Han authored
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d063 (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by:
Jingoo Han <jg1.han@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Jingoo Han authored
Include <linux/module.h> in order to fix the following errors. drivers/mfd/pm8921-core.c:209:16: error: expected declaration specifiers or '...' before string constant drivers/mfd/pm8921-core.c:210:20: error: expected declaration specifiers or '...' before string constant drivers/mfd/pm8921-core.c:211:16: error: expected declaration specifiers or '...' before string constant drivers/mfd/pm8921-core.c:212:14: error: expected declaration specifiers or '...' before string constant Signed-off-by:
Jingoo Han <jg1.han@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Laxman Dewangan authored
Some of Palmas resources like clock, SMPSs, LDOs etc can be controlled by external pins ENABLE1, ENABLE2 or NSLEEP. Add support to configure these resources to externally controlled. Signed-off-by:
Laxman Dewangan <ldewangan@nvidia.com> Acked-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Krystian Garbaciak authored
This patch adds a regmap irqchip for DA9063 IRQs. It depends on git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-irq-ack-mask Signed-off-by:
Krystian Garbaciak <krystian.garbaciak@diasemi.com> Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by:
Mark Brown <broonie@linaro.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Krystian Garbaciak authored
This is MFD module providing access to registers and interrupts of DA906x series PMIC. It is used by other functional modules, registered as MFD cells. Driver uses regmap with paging to access extended register list. Register map is divided into two pages, where the second page is used during initialisation. This module provides support to following functional cells: - Regulators - RTC - HWMON - OnKey (power key misc input device) - Vibration (force-feedback input device) - Watchdog - LEDs Signed-off-by:
Krystian Garbaciak <krystian.garbaciak@diasemi.com> Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by:
Mark Brown <broonie@linaro.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Krystian Garbaciak authored
This patch adds register definitions for the DA9063 PMIC. They will be used by the following DA9063 mfd core driver and functional module drivers. Signed-off-by:
Krystian Garbaciak <krystian.garbaciak@diasemi.com> Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by:
Mark Brown <broonie@linaro.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmapSamuel Ortiz authored
regmap: Support for acknowledging masked IRQs Some devices need interrupts to be clear when they are masked otherwise the interrupt is not deasserted by the mask being set - add support for this to regmap-irq from Philipp Zabel.
-
- Aug 15, 2013
-
-
Zubair Lutfullah authored
The reg_cache variable should be updated with current steps in the reg_se register. Then the mask should apply and clear the register. Previously, the reg_cache can be an old redundant value that isn't updated. Signed-off-by:
Zubair Lutfullah <zubair.lutfullah@gmail.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Benedikt Spranger authored
The child device intends to perform DMA operations then it needs a dma mask and params set. This patches copies them from the parent device. Signed-off-by:
Benedikt Spranger <b.spranger@linutronix.de> Signed-off-by:
Holger Dengler <dengler@linutronix.de> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Mark Brown authored
There is no need to use a per CPU workqueue to poll, especially with the 5s delay used, so allow the scheduler to use any CPU. Signed-off-by:
Mark Brown <broonie@linaro.org> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Michael Brunner authored
This patch adds DMI system IDs for the new Kontron modules COMe-bHL6 and COMe-cTH6 to the Kontron PLD driver. Acked-by:
Kevin Strasser <strassek@engr.orst.edu> Signed-off-by:
Michael Brunner <michael.brunner@kontron.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Bill Huang authored
Hook up "pm_power_off" to palmas power off routine if there is DT property "ti,system-power-controller" defined, so platform which is powered by this regulator can be powered off properly. Acked-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Mallikarjun Kasoju <mkasoju@nvidia.com> Signed-off-by:
Bill Huang <bilhuang@nvidia.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Yadwinder Singh Brar authored
This patch adds clock to list of mfd cells for s2mps11 and DT documentation for clock part. Reviewed-by:
Mike Turquette <mturquette@linaro.org> Signed-off-by:
Yadwinder Singh Brar <yadi.brar@samsung.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-
Charles Keepax authored
FX_CTRL2 is a volatile register and should be marked as such, this patch does so. Signed-off-by:
Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
-