PX3SE is a variant of RK3128, especially the loader and trust img.
Change-Id: I91f417957b5f3db503fdaa8f2f6c3271f46094b6
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Enalbe ADC keys to enter Rockusb mode by holding Vol Up
key and reset.
Change-Id: I2f17fccf890424049aff5946f439016ad76ea52d
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
The four power source types that are detected are:
Standard downstream port (SDP)
– This is a computer USB port capable of 500mA.
Charging downstream port (CDP)
- This is typically a powered USB hub capable of 1500mA.
Dedicated charging port (DCP)
- This is a standard wall charger capable of at least 1500mA.
DCP without shorting D+/D-(FLOATING)
- This is a non-standard wall charger capable of at least 1500mA.
Change-Id: Icb3d3c02d9ef5dfbcabf0232743ad057c578dcf4
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Insure if defined CONFIG_SUPPORT_SPL but not use SPL bin,
board_debug_uart_init still have be called.
Change-Id: I2e8a7bf1cfb4e6ec4a916983eb13652afe8c8af2
Signed-off-by: YouMin Chen <cym@rock-chips.com>
BUG: If not find ciu-sample, probe will fail. This make
mmc device unusable.
Change-Id: I86310cd2bc84cea5a81b72d103c8947ed4c1b07b
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
We need to enable video before analogix_dp_is_video_stream_on(),
so we can get the right video stream status.
Change-Id: I43d28791616d6422a614666fe41e7d3bab528ced
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
we can set mmc-hs200-1_8v to the node of emmc
in the dts to support hs200.
Change-Id: I5fa195505b877449864f294564cfc33bcd4202e5
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
i2c maybe interrpted by power key interrupt, so we need to
disable local irq when i2c transfer.
Change-Id: Ifd4c1f15ebab25c7fa54e4386c72e5731bc821b4
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Usually, fuel gauge is a i2c device and we had better set a
poll seconds to update it, which can reduce i2c read/write.
Change-Id: I192e8229d3b6b7f8887a38296314e69b9dc30753
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
1. dm key framework takes over more generic jobs;
2. key drivers remove unused codes and match new framework;
3. only power key is registered as interrupt key;
Change-Id: Icdda86f588af721b685f801ed251581f2fd85793
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
dts property always use '-' instead of '_' for description
Change-Id: I216549bec2850c614b2173ac4a3bae58da317379
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
For DDR4 memory size we also need to get bank group by die bw,
8bit DDR4 have 4 bank group, 16bit DDR4 have 2 bank group.
Change-Id: Icea47a01ff6ceec838a91d0bf4152e4b8427a6ac
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
This is a revert to :
a5710920b7 cmd_mmc: make mmc dev always re-probe the HW
For emmc device, we should not re-init the HW with 'mmc dev' cmd,
please use 'mmc rescan' when need HW re-init.
Change-Id: I994d12beb7215db568e7a0ed58be3e36dfda5744
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
According to the description of GRF_SON_CON0, the voltage of
VCCIO3(which is the concern of emmc/flash/sfc controller) will
indicate by GPIO0_A4 or io_vsel3. The SOC defaults use GPIO0_A4
to indicate power supply voltage for VCCIO3 by hardware, then
we can switch to io_vsel3 after system power on, and release
GPIO0_A4 for other usage.
Change-Id: Ia18617ef765b8ff019748acd30ece0ca8cd51045
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
some value use decimalism to print is more readable for user, for
example: frequency, capacity
Change-Id: I9fa2a68d30c7694a582167d2d8767e18e28a9e83
Signed-off-by: CanYang He <hcy@rock-chips.com>
Get dev_desc by call rockchip_get_bootdev() but not
default mmc 0.
Change-Id: I78c6760eb6410a14a9f767db2f90902ec97f432f
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This enables the following fastboot commands:
fastboot oem unlock
fastboot oem unlock_accept
fastboot oem lock
fastboot getvar oem-unlock
Android 8.1 need the oem unlock status attach to bootargs on boot.
Change-Id: Icc83451336a4dea2cbcf4927287de23bc8e28cb1
Signed-off-by: Jian Qiu <qiujian@rock-chips.com>
Because px30 sram size is small, so need define CONFIG_TPL_TINY_FRAMEWORK
to reduce TPL size when build TPL firmware.
Change-Id: I5c190946314725e325e14599707a2be5b2e4ec22
Signed-off-by: YouMin Chen <cym@rock-chips.com>
px30 spl size over 0x10000,so set CONFIG_SPL_MAX_SIZE to 0x20000.
Change-Id: I3e9bea5ccb7d4516ecc4881eb2d454e1afdcabb0
Signed-off-by: YouMin Chen <cym@rock-chips.com>