- 09 5月, 2016 1 次提交
-
-
由 Henry Chen 提交于
Some sub driver like RTC module need irq domain from parent to create irq mapping when driver initialize. so move mt6397_irq_init() before mfd_add_devices(). Acked-by: NJohn Crispin <blogic@openwrt.org> Signed-off-by: NHenry Chen <henryc.chen@mediatek.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 19 4月, 2016 1 次提交
-
-
由 Laxman Dewangan 提交于
Use devm_mfd_add_devices() for MFD devices registration and get rid of .remove callback to remove MFD child-devices. This is done by managed device framework. CC: John Crispin <blogic@openwrt.org> Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com> Reviewed-by: NJavier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 16 3月, 2016 4 次提交
-
-
由 Javier Martinez Canillas 提交于
The platform bus_type .match callback attempts to match the platform device name with an entry on the .id_table if provided and fallbacks to match with the driver's name if a table is not provided. Using a platform device ID to match is more explicit, allows the driver to support more than one device and also the MODULE_DEVICE_TABLE macro can be used to export the module aliases information instead of the MODULE_ALIAS. Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 John Crispin 提交于
Signed-off-by: NJohn Crispin <blogic@openwrt.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 John Crispin 提交于
Signed-off-by: NJohn Crispin <blogic@openwrt.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 John Crispin 提交于
MT6323 has the INT_CON and INT_STATUS located at a different position. Make the registers locations configurable. Signed-off-by: NJohn Crispin <blogic@openwrt.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 11 8月, 2015 3 次提交
-
-
由 Henry Chen 提交于
Implement .irq_set_wake() to get who is wakeup source and setup on suspend/reumse. Enable mt6393_irq as wake up source properly to pinctrl by enable_irq_wake()/enable_irq_wake(). Signed-off-by: NHenry Chen <henryc.chen@mediatek.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Jiang Liu 提交于
Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Do the same change to avoid the pattern "irq_get_chip_data(data->irq)". Signed-off-by: NJiang Liu <jiang.liu@linux.intel.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Rob Herring 提交于
set_irq_flags is ARM specific with custom flags which have genirq equivalents. Convert drivers to use the genirq interfaces directly, so we can kill off set_irq_flags. The translation of flags is as follows: IRQF_VALID -> !IRQ_NOREQUEST IRQF_PROBE -> !IRQ_NOPROBE IRQF_NOAUTOEN -> IRQ_NOAUTOEN For IRQs managed by an irqdomain, the irqdomain core code handles clearing and setting IRQ_NOREQUEST already, so there is no need to do this in .map() functions and we can simply remove the set_irq_flags calls. Some users also modify IRQ_NOPROBE and this has been maintained although it is not clear that is really needed. There appears to be a great deal of blind copy and paste of this code. Signed-off-by: NRob Herring <robh@kernel.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 25 6月, 2015 1 次提交
-
-
由 Eddie Huang 提交于
Provide MT6397 RTC interrupt, base address, and register in MT6397 MFD. Signed-off-by: NEddie Huang <eddie.huang@mediatek.com> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
-
- 22 6月, 2015 2 次提交
-
-
由 Hongzhou Yang 提交于
Signed-off-by: NHongzhou Yang <hongzhou.yang@mediatek.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Krzysztof Kozlowski 提交于
Constify in various drivers configuration data which is not modified: - regmap_irq_chip, - individual regmap_irq's in array, - regmap_config, - irq_domain_ops, Signed-off-by: NKrzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 04 3月, 2015 1 次提交
-
-
由 Flora Fu 提交于
This adds support for the MediaTek MT6397 PMIC. This is a multifunction device with the following sub modules: - Regulator - RTC - Audio codec - GPIO - Clock It is interfaced to the host controller using SPI interface by a proprietary hardware called PMIC wrapper or pwrap. MT6397 MFD is a child device of the pwrap. Signed-off-by: Flora Fu, MediaTek Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-