Age | Commit message (Collapse) | Author |
|
1.LDO ramp up time may be modified by ROM code
according to fuse setting, cpu freq driver use
fixed delay time which assume the LDO ramp up time
is the reset value of ANATOP register, need to set
it to reset value in regulator init.
2.The regulator set voltage should take care of
the ramp up time, calculate the ramp up time based
of register setting and to the delay, make sure that
when the set voltage function return, the voltage is
stable enough.
3.CPUFreq no need to use delay, it is already taken
care by regulator voltage setting.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Workaround this issue by not suspend, and this will be check by driver,
if can not request the wake up gpio, it will not do the suspend & resume.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
This patch sets HDMI PHY register values in MXC HDMI driver
platform data so that MXC HDMI driver can configure the
0x09 CKSYMTXCTRL register(Clock Symbol and Transmitter
Control Register) and 0x0E VLEVCTRL register(Voltage Level
Control Register), then we may pass HDMI compliance test
for MX6 HDMI dongle board.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
This patch adds an interface to disable IPU hsp clock so that it
can be called out of ipu common driver.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
enable user space crypto API in defconfig.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
Change MENU key to POWER key for sabreauto
Signed-off-by: b02247 <b02247@freescale.com>
|
|
Conflicts:
drivers/mxc/vpu/mxc_vpu.c
drivers/usb/gadget/arcotg_udc.c
sound/soc/imx/imx-wm8962.c
|
|
Enable CONFIG_MXC_TVIN_ADV7180 for android
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
Fix the bug in Fuse read for VPU and GPU disablers of iMX53. The
disablers are located at Fuase Bank 0. Also need to enable the clks
before reading the IIM.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Add Android RAM console cupport for iMX53 SMD and align the
imx5_android_defconfig with google's defconfig.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Add new feature which supporting LDO bypass
Signed-off-by: Zhang Xiaodong <B39117@freescale.com>
|
|
Keep power supply of pcie by setting the flag pcie_power_always_on
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
Keep power supply based on pcie_power_always_on for 3g
modem,which is not function as a pcie device.
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
reserve mem according the fbmem value
Signed-off-by: b02247 <b02247@freescale.com>
|
|
add "fbmem" config for sabreauto_6q
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
|
|
sync android defconfig with bsp.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
- Enable ethernet NAPI method in default, which can reduce cpu
loading and RX FIFO overruns in busy system.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Let sd2 and sd3 slot to have the same platform config. It will remove the
restriction that wifi dongle must be inserted into the certain slot.
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
|
|
android use keychord to archive start function in init.rc
with some key combo press.
eg:
service bugreport /system/bin/bugmailer.sh
class main
disabled
oneshot
keycodes 115 114
This service will start if VOL-UP and VOL-DOWN press same time.
it will start collect bug log, and snapshot and start
a mail activity to send the bug report to a mail address.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
Enable MPR121 capacitive button driver in imx5 android config.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
After using POR reset, the content in SRC will be reset.
See RM: 63.5.1.2.3 IPP_RESET_B(POR)
Because POR reset will reset most of register in IC, so use
SNVS_LP General Purpose Register (LPGPR) to store the boot mode value.
Below copy from SNVS_BlockGuide.pdf:
The SNVS_LP General Purpose Register provides a 32 bit read write
register, which can be used by any application for retaining 32 bit
data during a power-down mode
This Patch will use [7,8] bits of this register.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
In current linux BSP USB H1 driver default load before otg driver load,
which cause USBx not match the ehci controller number. like bellow:
root@freescale /sys/devices/platform/fsl-ehci.0$ ls
driver modalias pools power subsystem uevent usb2
root@freescale /sys/devices/platform/fsl-ehci.1$ ls
driver modalias pools power subsystem uevent usb1
Signed-off-by: make shi <b15407@freescale.com>
|
|
Add fastboot and recovery methods with Android reboot
commands.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
Add machine layer file for HDMI dongle
Modify kconfig and makefile for HDMI dongle
Add new machine type in arch/arm/tools/mach-types
Signed-off-by: Zhang Xiaodong <B39117@freescale.com>
|
|
MTD partition for SPI-NOR was not aligned to 8K.
Replace its offset from MTDPART_OFS_APPEND to MTDPART_OFS_NXTBLK.
Signed-off-by: Alejandro Sierra <b18039@freescale.com>
|
|
USB does not work when plug in a usb device during system suspend. Under this
case, USB driver will be in low power mode, but WIE bit not be set if usb wake
up is not enabled.So there are only ID change interrupt no USB wakeup interrupt
after system resume.In current bsp, after system resume ID change status not be
clear,and ID change interrupt will continue happen, which cause the system busy.
No checking WIR bit if ID change interrupt happen when USB in low power mode to
fix this issue.
Signed-off-by: make shi <b15407@freescale.com>
|
|
USB does not work when plug in a usb device during system suspend. Under this
case, USB driver will be in low power mode, but WIE bit not be set if usb wake
up is not enabled.So there are only ID change interrupt no USB wakeup interrupt
after system resume.In current bsp, after system resume ID change status not be
clear,and ID change interrupt will continue happen, which cause the system busy.
No checking WIR bit if ID change interrupt happen when USB in low power mode to
fix this issue.
Signed-off-by: make shi <b15407@freescale.com>
|
|
One issue is bring in by merge.
The other is bring in by BSP's cpufreq commit.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
imx_3.0.35_android
Conflicts:
arch/arm/mach-mx6/board-mx6q_sabrelite.c
arch/arm/mach-mx6/board-mx6q_sabresd.c
arch/arm/plat-mxc/cpufreq.c
|
|
Another patch changed caam_ipg_clk's CG to CG4 and this commit will
revert this change.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Fix chip select for SPI-NOR and
remove flags for no writeable partition for weim nor and
SPI-NOR
Signed-off-by: Alejandro Sierra <b18039@freescale.com>
|
|
Update config file and copyright comments.
Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
|
|
The UART2 pin mux settings are aligned to the mux settings
from i.MX53 ICS where GPS was operational.
Signed-off-by: Jeff Kudrick <jeff.kudrick@freescale.com>
|
|
Per hardware design, we can't set LDO bypass mode on Sabreauto board,otherwise,
system will can't reset,if cpu freq run in 400Mhz.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Currently, if we used LDO bypass, will set pfuze register by I2C bus to modify
voltage according to different cpu frequency, if I2C transfer error, we should
restore to old cpu frequency, not only in cpufreq driver but also cpufreq core.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
- must add a new config item to enable USB
CONFIG_USB_FSL_ARC_OTG=y
Signed-off-by: Tony LIU <junjie.liu@freescale.com>
|
|
Didn't care about pu_regulator is enabled or not when regulator restore if some
regulator set failed.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Didn't take more care about non-pfuze board, and there is two place in BSP will
call "mx6_cpu_regulator_init". It means regulator_get will be called twice on
every vddcore/vddsoc regulator. Then one value need set twice ,because from
regulator core view, there is two regulators share the same regulator. The non-
validate one will return error and print "COULD NOT SET GP VOLTAGE!!!!." on
Sabreauto board. The same as Sabrelite and ARM2 board.
Meanwhile, Sabreauto need be configured LDO bypass default.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
* Aline weim-nor partition layout with u-boot expected
offtsets
"bootloader" /dev/mtd0
"bootenv" /dev/mtd1
"kernel" /dev/mtd2
"rootfs" /dev/mtd3
Signed-off-by: Adrian Alonso <aalonso@freescale.com>
|
|
* Aline spi-nor partition layout
* set correct chip-select value
Signed-off-by: Adrian Alonso <aalonso@freescale.com>
|
|
- add CONFIG_MACH_MX6SL_EVK to imx6s_android_defconfig
Signed-off-by: Jack Lee <jacklee@freescale.com>
|
|
SDP boards layout have board's width aligne with LVDS's height
Update the mma8451 and mag3110's config to algin with SDP board
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
Currently, we use pm_notifier to enter suspend/resume flow. But in the notifier
we only set cpufreq, didn't tell CPUFREQ core what the current cpufreq setting
now. So in the next time if CPUFREQ core find the current cpu frequncy is not
the value that CPUFREQ core want to set before. CPUFREQ core will force to set
the freqs.old with its own rule, which means the freqs.old will be MODIFYED
unexpectedly, and this will cause wrong loops_per_jiffy. We need add cpufreq_
notify_transition in the suspend/resume interface of cpufreq.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Forget submit some local change...
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
On Sabresd board design, the WDOG_B output to reset external pmic source from
GPIO_2 pad which can be configured as WDOG2_WDOG_B, so if in ldo bypass mode,
we should use WDOG2 reset signal to reset pmic, not WDOG1. Also, configure the
related pins.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Restore back cpu freq and regulator if set fail.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
U-boot will not care about ldo bypass, move these code from u-boot to kernel.
Move the workaround for PFUZE1.0 to kernel too.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Currently, use CONFIG_MX6_INTER_LDO_BYPASS to enable/disable LDO bypass, and
use the same macro in u-boot too. It's not very friendly ,it will be more
flexible if use dynamic configure by command line input by u-boot.
Two ways to enable LDO bypass:
1. use command line:
You can set "ldo_active=on" or "ldo_active=off" in command line to enable/
disable LDO bypass.
2. set enable_ldo_mode value in board file:
If you didn't set the param in command line, every board
will use its default value, for example, you can find below code in arch/arm/
mach-mx6/mx6q_sabresd_pmic_pfuze100.c:
static int pfuze100_init(struct mc_pfuze *pfuze)
{
....
/*use default mode(ldo bypass) if no param from cmdline*/
if (enable_ldo_mode == LDO_MODE_DEFAULT)
enable_ldo_mode = LDO_MODE_BYPASSED;
....
}
Note:
1.You should know clearly ldo bypass can be only enabled in the board
that mounted with external pmic to supply VDDARM_IN/VDDSOC_IN power rail, and
you should implement related external regulator firstly, such as:
in arch/arm/mach-mx6/board-mx6q_sabresd.c
static struct mxc_dvfs_platform_data sabresd_dvfscore_data = {
.reg_id = "VDDCORE",
.soc_id = "VDDSOC",
....
}
otherwise, you have to use internal ldo which is the default configuration.
2.one special case, if the chip is 1.2Ghz, it can't be set LDO bypass.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Before, we use "arm_freq" in command line to set 1.2G. Now we will read the
fuse bit and "arm_freq", get the mini value to be used as "arm_max_freq".And:
1. you can easily set CPU max freq on what frequency you want by cmdline.
2. if you didn't set arm_freq in cmdline, kernel will read the fuse bit
(0x021bc440) to set the right arm_max_freq.
At the same time, add 1Ghz setpoint if chip max freq is 1.2Ghz.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
This patch add the fuse check for VPU_DISABLE feature. If the fuse
bit for VPU_DISABLE is 1, which means VPU is disabled, then we will
not register VPU device to the kernel.
Signed-off-by: Jason Liu <r64343@freescale.com>
|