- 19 3月, 2014 40 次提交
-
-
由 Opensource [Steve Twiss] 提交于
This patch updates the register definitions for DA9063 to support the production silicon variant code ID (0x5). These changes are not backwards compatible with the previous register definitions and can only be used with the production variant of DA9063. Signed-off-by: NOpensource [Steve Twiss] <stwiss.opensource@diasemi.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Alexander Shiyan 提交于
Since we do not want to add new platform IDs for the syscon driver, there is no reason to iterate over IDs. This patch simplifies syscon_match_pdevname() function to remove such iteration. Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Adam Thomson 提交于
Acked-by: NMark Brown <broonie@kernel.org> Signed-off-by: NAdam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Josh Cartwright 提交于
platform_get_irq() returns a negative error code when an IRQ is invalid or unspecified. Make 'irq' signed to properly handle this. Reviewed-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NJosh Cartwright <joshc@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Adam Thomson 提交于
Signed-off-by: NAdam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Sachin Kamat 提交于
vexpress_config_bridges is local to this file. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Warren 提交于
The FUSE7_REG register is not currently marked readable. This causes as3722_sd0_is_low_voltage() to emit an error during boot, and assume the range of the SD0 regulator: as3722-regulator as3722-regulator: Reg 0xa7 read failed: -5 Fixes: d4807ad2 ("regmap: Check readable regs in _regmap_read") [exposed the bug, by checking for readability] Fixes: 762a8ee8 ("regulator: as3722: detect SD0 low-voltage mode") [left out this register from the readable list] Signed-off-by: NStephen Warren <swarren@nvidia.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Boyd 提交于
We don't need to implement a dummy irq_set_wake op if we just set IRQCHIP_SKIP_SET_WAKE. Suggested-by: NJosh Cartwright <joshc@codeaurora.org> Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Boyd 提交于
This isn't necessary as we aren't setting the summary interrupt to wake up the system in the irq_wake() callback. Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Alexander Shiyan 提交于
The probe routine should call spi_setup() to configure the SPI bus so it can properly communicate with the device. Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Alexander Shiyan 提交于
The patch adds the maximum speed limit in accordance with the PMIC datasheet if other value is not given in the devicetree description or board data. Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Alexander Gordeev 提交于
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Signed-off-by: NAlexander Gordeev <agordeev@redhat.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Jingoo Han 提交于
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: NJingoo Han <jg1.han@samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Boyd 提交于
PM8921 and PM8058 are PMICs found paired with MSM8960 and MSM8660 devices respectively. They contain subdevices such as keypads, RTC, regulators, clocks, etc. Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Boyd 提交于
Allow this driver to be compiled on all ARM builds as it doesn't rely on anything within arm/mach-msm. Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Boyd 提交于
Allow this driver to probe based on devicetree. Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Boyd 提交于
Use a regmap so that the pm8xxx read/write APIs can be removed once all consumer drivers are converted. Reviewed-by: NMark Brown <broonie@linaro.org> Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Boyd 提交于
Add read and write helper functions that the pm8921-core driver can use to read and write ssbi registers via a "no-bus" regmap. Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Boyd 提交于
Convert this driver to use irqdomains so that the PMIC's child devices can be converted to devicetree. Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
-
由 Stephen Boyd 提交于
Since this code has been marked broken for some time a few genirq tree wide changes weren't made. set_irq_wake() was renamed to irq_set_irq_wake() in commit a0cd9ca2 (genirq: Namespace cleanup, 2011-02-10) and commit 10a8c383 (irq: introduce entry and exit functions for chained handlers) introduced the chained irq functions but this driver wasn't updated to use them. Fix these problems and remove the BROKEN marking on this driver. Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Stephen Boyd 提交于
The pm8xxx-irq.c code is practically mandatory given that the pm8921-core driver will WARN about it missing and the Kconfig marks it as default y when a PM8xxx chips is enabled. The only reason the file was split out was because we planned to support other pm8xxx chips with different pm8xxx-core.c files. Now that we have DT on ARM this isn't necessary because we should be able to support all the ssbi based PM8xxx chips in one driver and one file with no data bloat. Let's move this code into the only driver that uses it right now (pm8921) so that it's always compiled when needed. In the future we can rename pm8921-core.c to something more generic. Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Florian Vaussard 提交于
We may have an error when reading the revision register, so check for the returned value. Acked-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: NFlorian Vaussard <florian.vaussard@epfl.ch> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Florian Vaussard 提交于
When probing, regmap_register_patch() will bypass the cache and perform i2c writes for the given patches. It is thus unnecessary to manually set the TWL6040_REG_ACCCTL register just before, as it will be done when registering the twl6040_patch. Acked-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: NFlorian Vaussard <florian.vaussard@epfl.ch> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
Add the hash define for the new variant of the DA9053 PMIC called BC. Signed-off-by: NAnthony Olech <anthony.olech.opensource@diasemi.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
Add support for a new BC variant of the DA9053 PMIC. There is one difference between it and the AA, BA and BB. This patch also corrects a typing mistake in one of the BA name strings that was incorrectly typed as "ab". Signed-off-by: NAnthony Olech <anthony.olech.opensource@diasemi.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Alexander Shiyan 提交于
This patch moves diagnostic messages used for debugging purposes to dev_dbg(). Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Michael Brunner 提交于
This patch adds DMI system IDs for the Kontron modules COMe-mBT10, COMe-cBT6 and COMe-cHL6 to the Kontron PLD driver. The list of supported products in the module description is also updated. Signed-off-by: NMichael Brunner <michael.brunner@kontron.com> Acked-by: NChristian Rauch <christian.rauch@kontron.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Vincent Donnefort 提交于
This patch adds support for Atom C2000 series (Avoton and Rangeley). And has the following options: - New addresses register. - Caching output levels (see Intel external design spec, table 48-29) - No hardware blink. Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVincent Donnefort <vdonnefort@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Vincent Donnefort 提交于
This patch allows GPIO driver to cache GPIO_LVL output registers. The aim is to support chipsets on which GPIO_LVL value can't be read for output pins. Caching output levels implies the first output values reading as 0. The driver so can't be aware of set values GPIOs by bootloader or BIOS. Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVincent Donnefort <vdonnefort@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Vincent Donnefort 提交于
This patch introduces regs and reglen pointers which allow a chipset to have register addresses differing from ICH ones. Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVincent Donnefort <vdonnefort@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Vincent Donnefort 提交于
This patch allows gpio_ich driver to be aware of non blink capable chipsets. Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVincent Donnefort <vdonnefort@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Vincent Donnefort 提交于
Signed-off-by: NVincent Donnefort <vdonnefort@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Vincent Donnefort 提交于
All those IDs are arbitrary and so can be encapsulated into an enumeration. Signed-off-by: NVincent Donnefort <vdonnefort@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Opensource [Steve Twiss] 提交于
Add the correct silicon variant code ID (0x5) to the driver. This new code is the 'production' variant code ID for DA9063. This patch will remove the older variant code ID which matches the pre-production silicon ID (0x3) for the DA9063 chip. There is also some small amount of correction done in this patch: it splits the revision code and correctly names it according to the hardware specification and moves the dev_info() call before the variant ID test. Signed-off-by: NOpensource [Steve Twiss] <stwiss.opensource@diasemi.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Sachin Kamat 提交于
Return directly to avoid redundant lines of code. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Roger Tseng 提交于
Realtek USB card reader provides a channel to transfer command or data to flash memory cards. This driver exports host instances for mmc and memstick subsystems and handles basic works. Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NRoger Tseng <rogerable@realtek.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Sachin Kamat 提交于
devm_regmap_init_i2c can fail. Check for it. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Sachin Kamat 提交于
stw481x_regmap_config is local to this file. Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Sachin Kamat 提交于
Add this header explicitly for IS_ERR and friends. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Semen Protsenko 提交于
'site' variable should be initialized with 0 so that when 'site' property doesn't exist in DTB it can be handled correctly. '0' value means board site number is motherboard (see Documentation/devicetree/bindings/arm/vexpress.txt for details). Signed-off-by: NSemen Protsenko <semen.protsenko@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-