aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-23pm: mach-hs: workaround, reinit uart when 'no_console_suspend'topic-suspend-resume-m3Guodong Xu
If 'no_consle_suspend' is set in kernel cmdline, debuguart needs to be reinitialized when system resumes. If 'no_console_suspend' is not set, reinitialization is not required. Note: this is only a workaround way. To solve the issue, either we don't shutdown some resources in serail driver's suspend; or we need to dynamically find out which uart is being used as console (here we hardcoded it as uart0). Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
2013-04-23ARM: hs: sync cpu_kill and cpu_dieZhangfei Gao
cpu_kill wait cpu_die finish. solve kernel hung when suspend without no_console_suspend Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-04-23pm: mach-hs: using RTC as a wakeup sourceGuodong Xu
Using RTC as a wakeup source Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
2013-04-23drivers/rtc/rtc-pl031.c: use rtc as wakeup sourceZhangfei Gao
How to test: Documentation/rtc.txt echo +n > /sys/class/rtc/rtc1/wakealarm; (n is seconds to genetate wakeup irq) echo mem > /sys/power/state Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-04-23ARM: Hi3620: Disable regulator LDO9LiXin
Disable regulator LDO9 Which can change the status of EFUSE. The error status of EFUSE will crash the system during boot and resume of SR. Signed-off-by: LiXin <li.xin@linaro.org>
2013-04-23ARM: dts: add power-managementGuodong Xu
Add power-management device tree node Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
2013-04-23pm: mach-hs: add suspend/resume, poweroff into mach-hs platformGuodong Xu
Add suspend/resume and poweroff functionality into mach-hs platform. Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
2013-03-25Merge remote-tracking branch 'origin/topic-hi6421-rtc' into ↵Guodong Xu
integration-linux-mainline
2013-03-25Revert "yaffs2: add yaffs2 filesystem support"Guodong Xu
This reverts commit 6e6d98df841c9c297585be3168dfd6141924f272.
2013-03-25ARM: config: add hi6421 rtc into hs_defconfigtopic-hi6421-rtcHaojian Zhuang
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-25rtc: add hi6421 rtcHaojian Zhuang
Support hi6421 rtc function. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-25mfd: hi6421: avoid to call irq handler with lockHaojian Zhuang
While hi6421 SoC interrupt occurs, it always locks spinlock even calling child irq handler. If child irq handler accesses pmic registers, it will be dead lock since accessing function also uses spinlock. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-25mfd: hi6421: fix bug of hi6421_pmic_rmwZhangfei Gao
Introduced by commit dd7229d3e5c7bff0a9501632755c5b6b209381ff Caused sd card init fail Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-22Merge remote-tracking branch 'origin/nand_branch' into ↵Guodong Xu
integration-linux-mainline
2013-03-22Merge branch 'origin/mmc_branch' into integration-linux-mainlineGuodong Xu
2013-03-19i2c: designware: change pinctrl funcmmc_branchZhangfei Gao
Use devm_pinctrl_get_select_default to set default pinctrl Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-19mmc: dw_mmc-hisilicon: change pinctrl funcZhangfei Gao
Use devm_pinctrl_get_select_default to set default pinctrl Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-19hs_defconfig: enable hisilicon nand flash drivernand_branchMingjun Zhang
enable hisilicon nand flash driver Signed-off-by: Mingjun Zhang <zhang.mingjun@linaro.org>
2013-03-19ARM: hs: power on/off cpuZhangfei Gao
Add more operation to power on/off cpu, as well as reset cpu Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-19hs_defconfig: add MMC configZhangfei Gao
mmc driver & filesystem support Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-19mmc: dw-mmc-hisilicon add workaroundZhangfei Gao
to be reverted Since clk driver still can not choose parent accordingly, add testsdclk and access register directly for simplicity The patch can be reverted if clk driver is enhanced Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-19ARM: dts: add mmc resourceZhangfei Gao
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-19mmc: add dw-mmc-hisiliconZhangfei Gao
Support sd/emmc make menuconfig Device Drivers ---> [*] MMC/SD/SDIO card support ---> [*] Internal DMAC interface [*] Hisilicon specific extensions for Synopsys DW Memory Card Interface (32) Number of minors per block device File system -> extX, vfat, msdos, lanuguage support Notes: 1, emmc has to work under DMA mode, pio not work 2, emmc SDMMC_FIFOTH (0x04c) can not provide correct value, fifo-depth should be provided in dts Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-19mmc: dw_mmc: change definition of get_cdZhangfei Gao
int (*get_cd)(struct dw_mci *host, u32 slot_id) Add host info to pass priv, where contains cd pin Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-19mmc: dw_mmc: remove exit_pZhangfei Gao
Remove __exit_p, which also requires change static func Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-03-19ARM: dts: add clock for mmc, mcuZhangfei Gao
Signed-off-by: LiXin <li.xin@linaro.org>
2013-03-18yaffs2: add yaffs2 filesystem supportMingjun Zhang
add yaffs2 filesystem support, also config auto select yaffs2 when using hisilicon nfc driver. Signed-off-by: Mingjun Zhang <zhang.mingjun@linaro.org>
2013-03-18ARM: hs: add flash node in hi3716.dtsiMingjun Zhang
add flash node in hi3716.dtsi, also document binding rules Signed-off-by: Mingjun Zhang <zhang.mingjun@linaro.org>
2013-03-18mtd: nand: hs nfc: support hisilicon nand flash controllerMingjun Zhang
Hisilicon nfc is a powerful nand flash controller with dma and hardware ecc functions. This driver supports some non-standard nand chips, included in the driver's nand ids table. Signed-off-by: Mingjun Zhang <zhang.mingjun@linaro.org>
2013-03-15ARM: dts: avoid i2c0 pmx set twicetesting/pmuirqHaojian Zhuang
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-15input: misc: clean code on hi6421 onkeyHaojian Zhuang
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-15ARM: config: enable hi6421 onkey in defconfigHaojian Zhuang
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-15ARM: dts: update PMIC onkey on hi4511Haojian Zhuang
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-15input: misc: add hi6421 onkey driverHaojian Zhuang
Support Hi6421 PMIC powerkey driver. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-15mfd: hi6421: add irq supportHaojian Zhuang
Support PMIC irq handling. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-15gpio: pl061: sync with 3.10Haojian Zhuang
Sync code with 3.10 to pull irqdomain code. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-14mfd: hi6421: use spin lockHaojian Zhuang
Avoid to use mutex lock in rmw operation. Use spin lock with irq disabled instead. Since irq handler also accesses pmic register, we should avoid resource conflict between irq context and kernel context. And append spin lock operation in pmic read/write too. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-14mfd: hi6421: use module_platform_driverHaojian Zhuang
Use module_platform_driver() instead. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-14mfd: hi6421: use devm_ apiHaojian Zhuang
Use devm_xx api instead. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-14Merge remote-tracking branch 'origin/testing/sync_pinmux' into ↵Guodong Xu
integration-linux-mainline
2013-03-13Document: sync pinctrl single documenttesting/sync_pinmuxHaojian Zhuang
Sync pinctrl single document with 3.10. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-13ARM: hs: refresh pin configuration in dtsHaojian Zhuang
Now node names can't be same. Otherwise, pinmux setting would be dropped. Sync properties with 3.10 at the same time. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-13pinctrl: single: sync code with latest next treeHaojian Zhuang
pinctrl-single is updated on 3.10. The interface on pin configurations are changed. So sync latest code into code base. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
2013-03-13pinctrl: check pinctrl ready for gpio rangeHaojian Zhuang
pinctrl_get_device_gpio_range() only checks whether a certain GPIO pin is in gpio range. But maybe some GPIO pins don't have back-end pinctrl interface, it means that these pins are always configured as GPIO function. For example, gpio159 isn't related to back-end pinctrl device in Hi3620 while other GPIO pins are related to back-end pinctrl device. Append pinctrl_ready_for_gpio_range() that is used to check whether pinctrl device with GPIO range is ready. This function will be called after pinctrl_get_device_gpio_range() fails. If pinctrl device with GPIO range is found, it means that pinctrl device is already launched and a certain GPIO pin just don't have back-end pinctrl interface. Then pinctrl_request_gpio() shouldn't return -EPROBE_DEFER in this case. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-03-13pinctrl: generic: rename input schmitt disableHaojian Zhuang
Rename PIN_CONFIG_INPUT_SCHMITT_DISABLE to PIN_CONFIG_INPUT_SCHMITT_ENABLE. It's used to make it more generialize. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-03-13pinctrl: pinconf-generic: add drive strength parameterMaxime Ripard
Some pin configurations IP allows to set the current output to the pin. This patch adds such a parameter to the pinconf-generic mechanism. This parameter takes as argument the drive strength in mA. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-02-22ARM: hs: enable hotplug and reboothotplugZhangfei Gao
Hisilicon require system register to enable/disable cpu How to test: cat proc/interrupts echo 0 > /sys/devices/system/cpu/cpuX/online cat proc/interrupts echo 1 > /sys/devices/system/cpu/cpuX/online reboot Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Tested-by: Zhang Mingjun <zhang.mingjun@linaro.org>
2013-02-21ARM: hs: add twd timerZhangfei Gao
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
2013-02-21ARM: hs: add l2 aux prop in hi3716.dtsiMingjun Zhang
add l2 aux prop in hi3716.dtsi Signed-off-by: Mingjun Zhang <zhang.mingjun@linaro.org>
2013-02-21mtd: hs sfc: fix the io reg reading bugMingjun Zhang
sfc350's io registers don't support byte reading(memcpy may produce byte reading instruction). Using readl instead of memcpy when dealing with the io regsters. Signed-off-by: Mingjun Zhang <zhang.mingjun@linaro.org>