- 26 3月, 2015 3 次提交
-
-
由 Fabian Frederick 提交于
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: NFabian Frederick <fabf@skynet.be> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Nicholas Mc Guire 提交于
Converting milliseconds to jiffies by "val * HZ / 1000" is technically OK but msecs_to_jiffies(val) is the cleaner solution and handles all corner cases correctly. This is a minor API consolidation only and should make things more readable. Signed-off-by: NNicholas Mc Guire <hofrat@osadl.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Linus Walleij 提交于
All systems using the TC3589x multifunction expander uses devicetree, so don't clutter the place with a lot of and assume it is there. Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 23 3月, 2015 2 次提交
-
-
由 Scott Wood 提交于
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Dmitry Torokhov 提交于
Even if bus is not hot-pluggable, the devices can be unbound from the driver via sysfs, so we should not be using __exit annotations on remove() methods. The only exception is drivers registered with platform_driver_probe() which specifically disables sysfs bind/unbind attributes. Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: NTony Lindgren <tony@atomide.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 12 3月, 2015 18 次提交
-
-
由 Gyungoh Yoo 提交于
Signed-off-by: NGyungoh Yoo <jack.yoo@skyworksinc.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gyungoh Yoo 提交于
Signed-off-by: NGyungoh Yoo <jack.yoo@skyworksinc.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gyungoh Yoo 提交于
Signed-off-by: NGyungoh Yoo <jack.yoo@skyworksinc.com> Acked-by: NBryan Wu <cooloney@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gyungoh Yoo 提交于
Signed-off-by: NGyungoh Yoo <jack.yoo@skyworksinc.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gyungoh Yoo 提交于
Signed-off-by: NGyungoh Yoo <jack.yoo@skyworksinc.com> Acked-by: NJingoo Han <jg1.han@samsung.com> Acked-by: NBryan Wu <cooloney@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Gyungoh Yoo 提交于
Signed-off-by: NGyungoh Yoo <jack.yoo@skyworksinc.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Charles Keepax 提交于
Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Charles Keepax 提交于
Add a DT binding that lets the DMIC reference voltage source be specified for each input. Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Jacek Anaszewski 提交于
Change flash cell identifiers from max77693-flash to max77693-led to avoid confusion with NOR/NAND Flash. Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com> Acked-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Jacek Anaszewski 提交于
Add a macro for obtaining the mask of ITORCH register bit fields related either to FLED1 or FLED2 current output. The expected arguments are TORCH_IOUT1_SHIFT or TORCH_IOUT2_SHIFT. Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com> Acked-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Jacek Anaszewski 提交于
The flash part of the max77693 device will depend only on OF, and thus will not use board files. Since there are no other users of the struct max77693_led_platform_data its existence is unjustified. Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com> Acked-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Jacek Anaszewski 提交于
Modify FLASH_EN_SHIFT and TORCH_EN_SHIFT macros to work properly when passed enum max77693_fled values (0 for FLED1 and 1 for FLED2) from leds-max77693 driver. Previous definitions were compatible with one of the previous RFC versions of leds-max77693.c driver, which was not merged. Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com> Acked-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Raymond Tan 提交于
In Quark X1000, there's a single PCI device that provides both an I2C controller and a GPIO controller. This MFD driver will split the 2 devices for their respective drivers. This patch is based on Josef Ahmad's initial work for Quark enabling. Acked-by: NMichael Turquette <mturquette@linaro.org> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NWeike Chen <alvin.chen@intel.com> Signed-off-by: NRaymond Tan <raymond.tan@intel.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Chris Zhong 提交于
Rk808 has a under voltage detect function, when the voltage of buck is under 85% the target voltage, the buck output will reset. But if the power load is too heavy, this function maybe err, when current over 4.2A, although the voltage is normal, but RK808 mistakenly think it is under 85%, and reset the buck. So let's disable this function. Signed-off-by: NChris Zhong <zyw@rock-chips.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Joe Perches 提交于
The seq_printf return value, because it's frequently misused, will eventually be converted to void. See: commit 1f33c41c ("seq_file: Rename seq_overflow() to seq_has_overflowed() and make public") Signed-off-by: NJoe Perches <joe@perches.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Artem Savkov 提交于
Since commit 0b271258(linux-next.git) this driver uses regmap_irq and so needs to select REGMAP_IRQ. This fixes the following compilation errors: ERROR: "regmap_irq_get_domain" [drivers/mfd/rt5033.ko] undefined! ERROR: "regmap_add_irq_chip" [drivers/mfd/rt5033.ko] undefined! Signed-off-by: NArtem Savkov <asavkov@redhat.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Adam Ward 提交于
Signed-off-by: NAdam Ward <adam.ward.opensource@diasemi.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Adam Ward 提交于
The range of registers used by this driver exceeds that available via SPI with no paging (127), so we have to override the values from the default config which is set-up for I2C access. Also change SPI settings to match device's recommended OTP values. Signed-off-by: NAdam Ward <adam.ward.opensource@diasemi.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 04 3月, 2015 17 次提交
-
-
由 Jaewon Kim 提交于
This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Signed-off-by: NJaewon Kim <jaewon02.kim@samsung.com> Signed-off-by: NBeomho Seo <beomho.seo@samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Sascha Hauer 提交于
Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 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>
-
由 Krzysztof Kozlowski 提交于
There is no need to print additional ENOMEM message for sec_platform_data allocation failure. Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Krzysztof Kozlowski 提交于
The WTSR (Watchdog Timer Software Reset) and SMPL (Sudden Momentary Power Loss) were removed from rtc-s5m driver because they were not used. Remove them (and on/off interrupt) from main MFD driver and header. Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> 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>
-
由 Charles Keepax 提交于
Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in the dt-binding directory for use by device tree bindings. This also makes gpio.h redundant so remove it in the process. Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: NMark Brown <broonie@kernel.org> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Krzysztof Kozlowski 提交于
The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Krzysztof Kozlowski 提交于
The WTSR (Watchdog Timer Software Reset) and SMPL (Sudden Momentary Power Loss) are never enabled. These are left-overs from board files. After removing them the driver's shutdown callback is empty so get rid of it as well. Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Micky Ching 提交于
pcr_dbg is a wrapper of dev_dbg, which can save some code, and help to enable/disable debug message static. Signed-off-by: NMicky Ching <micky_ching@realsil.com.cn> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Micky Ching 提交于
Add support for new chip rts525A. Signed-off-by: NMicky Ching <micky_ching@realsil.com.cn> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Micky Ching 提交于
add support for new chip rts524A. Signed-off-by: NMicky Ching <micky_ching@realsil.com.cn> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Micky Ching 提交于
To enable/disable ASPM we should find LINK CONTROL register in PCI config space. All old chip use 0x80 address, but new chip may use another address, so we using pci_find_capability() to get LINK CONTROL address. rtsx_gops.c was removed, we consider to put some common operations to this file, but the actual thing is, only a group of chips are in common ops1, and another group of chips in common ops2, it is hard to decide put which ops into generic ops file. Signed-off-by: NMicky Ching <micky_ching@realsil.com.cn> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Micky Ching 提交于
Update some phy register name and value for rts5249, the updated value makes chip more stable on some platform. Signed-off-by: NMicky Ching <micky_ching@realsil.com.cn> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Micky Ching 提交于
update card drive settings, This setting can be used for rts5249 rts524A and rts525A. Signed-off-by: NMicky Ching <micky_ching@realsil.com.cn> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Micky Ching 提交于
PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more. Signed-off-by: NMicky Ching <micky_ching@realsil.com.cn> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
由 Micky Ching 提交于
It is more readable to place register address and values define togather. The values define add two leading space indicate belong to the register address defined above. Signed-off-by: NMicky Ching <micky_ching@realsil.com.cn> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-