shengfei Xu
465b1b6c16
power: pmic: rk8xx: SYS shut down voltage select 3100mV
...
Let the CPU stop working earlier so that the last operation
of spinand can be maintained at a better power supply level.
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I5bb008abaa6d5da3431f2edcee50579f7ab14eff
2021-02-24 11:14:56 +08:00
Sandy Huang
feffd38e6d
drm/rockchip: vop2: enable OTP en for rk3566
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ia44c3dec6b6d5b2f66b87d80a6f209138af05c40
2021-02-24 11:09:59 +08:00
Sandy Huang
11f5319074
drm/rockchip: vop2: add support lvds
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I6814be4bcb8764cb9a6d75022760506ecba0f6c0
2021-02-24 11:09:59 +08:00
Sandy Huang
3a14896631
rockchip: rk3568: enable LVDS config
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I5d8f6c44d937fb083b604135da8b525d76bccb70
2021-02-24 11:09:59 +08:00
Sandy Huang
aeb5dd225d
drm/rockchip: lvds: Add support RK356X LVDS
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Id7f31ae8a7090aa0f6f4983facaa798ab73f0b3e
2021-02-24 11:09:59 +08:00
Sandy Huang
22dd40273d
video/drm: combo_phy: Add support RK356X LVDS
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ieb7cf88e00201540388599b063e9c77dd019d8e8
2021-02-24 11:09:59 +08:00
Sandy Huang
5f0cde7958
video/drm: display: add compatible rk356x lvds dts config
...
after this commit, can support parse the following two config:
1.
panel {
...
display-timings {
...
};
port@0 {
reg = <0>;
panel_in_lvds: endpoint {
remote-endpoint = <&lvds_out_panel>;
};
};
};
2.
panel {
...
display-timings {
...
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
panel_in_lvds: endpoint {
remote-endpoint = <&lvds_out_panel>;
};
};
};
};
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Idbcc31bbe29d00fe5ceea1f5041543cdfe9bc34e
2021-02-24 11:09:59 +08:00
shengfei Xu
b9e9168c08
power: pmic: rk8xx: add not_save_power_en
...
add not_save_power_en to judge whether save the PMIC_POWER_EN register.
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I6e2117ca947dacee41eead631a5c877bd6be3e7a
2021-02-23 11:26:28 +08:00
Jon Lin
8d4402d317
mtd: spinand: Support new devices
...
XT26G04C
Change-Id: I9004728fc1dfd03a54578fbf344171c4bdc3d69d
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-02-22 14:53:05 +08:00
Sandy Huang
7bdd0eb669
drm/rockchip: vop2: only port0 support RGB 10BIT output
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I51c5a25705d2cf7ecd05f9ae5e82b98f4536a698
2021-02-21 17:24:41 +08:00
Guochun Huang
10bd57236c
video/drm: display: add support swap two channel data of MIPI
...
Change-Id: I44630143c7d59a0a7deff4d7b9ee690b621d1a0f
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2021-02-21 17:03:11 +08:00
Liang Chen
30567cf722
rockchip: fix compile error for cpu.h
...
Fixes: 39293fce26
(rockchip: add soc id and version for rk356x)
Change-Id: I58cbd1611423500785c4924a90041d7b9a1d70a2
Signed-off-by: Liang Chen <cl@rock-chips.com>
2021-02-21 16:04:02 +08:00
Jason Zhu
94aae7c79d
configs: rv1126-emmc-tb: support low power detect in spl
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I207c15a009cbc53292482d663507887cf3d0a5a1
2021-02-21 15:41:23 +08:00
Jason Zhu
a9f6f74ccb
rockchip: dts: rv1126: add i2c0 node
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: If2a15112290831d34f8445325329537e2697c866
2021-02-21 15:41:23 +08:00
Jason Zhu
a0c4f82828
rockchip: rv1126: init the i2c0 iomux
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I0d9854f3d22eaa42fb3a196cc58d429339532f1e
2021-02-21 15:41:23 +08:00
Jason Zhu
c90ee5c73d
rockchip: spl: support low power detect
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ibcb5996369348d31248596dcdb5018ad6526786e
2021-02-21 15:41:23 +08:00
shengfei Xu
c056ffb327
fuel gauge: rk817/rk809: add for spl
...
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I700d796d2b506c7defad416feba1074de185441c
2021-02-21 15:41:23 +08:00
Joseph Chen
dd3fa9997d
drivers: Makefile: use more strict name to add modules
...
Allow modules to be omitted from CONFIG_SPL_POWER_SUPPORT.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Iaa3291d8bfc99c24ac01897fccb9ea7d6677927d
2021-02-21 15:41:23 +08:00
Joseph Chen
89c126aeb5
configs: phycore-rk3288: add SPL pmic and regulator
...
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I3ece9c6d5e11c63e7888bfc64146e710eee96449
2021-02-21 15:41:23 +08:00
Joseph Chen
743acd001a
power: pmic: add config SPL_DM_PMIC
...
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I43251c3802d7f3284b64ff9da728741d8d587255
2021-02-21 15:41:23 +08:00
Sandy Huang
2b2e3d7041
drm/rockchip: vop2: add support rk3566
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Iab0e2f626a0a6ce765bf584a7b815268a338cb85
2021-02-21 15:39:27 +08:00
Liang Chen
39293fce26
rockchip: add soc id and version for rk356x
...
Change-Id: Ib1efa652f2b759cfdd85405b89bd1d1838308ddd
Signed-off-by: Liang Chen <cl@rock-chips.com>
2021-02-21 15:38:59 +08:00
Guochun Huang
b014c5e23f
video/drm: display: rk356x series drive mipi pixdata on posedge
...
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I4494ca32618be93aa53907800ce08780f966e137
2021-02-21 15:17:44 +08:00
Jason Zhu
fc04460b2e
common: android: support boot recovery system
...
In android A/B system, there is no recovery partition, but in the linux
system, we need the recovery to update system.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Idac88720b260791b1ad4c51a5ebc7aae9c66ca67
2021-02-21 14:38:23 +08:00
Jason Zhu
66f2fdd9d8
common: android_ab: add function ab_can_find_recovery_part
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ic8f225699915063b9a2e069a4cb248fd4d5a6976
2021-02-21 14:38:23 +08:00
Wenping Zhang
9876686da0
video/rk_eink: add virtual width and height support.
...
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Change-Id: I60f026b0aa2ac62b6827675a7e780418d0928386
2021-02-21 14:22:49 +08:00
Guochun Huang
20618a45d9
video/drm: display: fix display route for compatibility
...
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I70e237967d2074d5a341d86f69c2791b5ba183ff
2021-02-21 14:22:13 +08:00
Guochun Huang
63f3640c3a
video/drm:: dsi: the max bit rate is 1.2Gbps per lane in rk3568
...
Change-Id: I7a9c7fe6eeb57a23694761b4a6ad61d05e52dd07
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2021-02-21 10:44:44 +08:00
Joseph Chen
f19896d177
configs: rockchip: add emmc/nand/sfc fragment for all platforms
...
We expect they are to be common fragment for different storage,
maybe there will be more configurations to be add in the future.
Example:
make rv1126_defconfig rk-emmc.config // generate .config
./make.sh // build with exist .config
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ib7bc64aaf16777eba8b64409674f8874a4ee8481
2021-02-08 16:56:54 +08:00
Joseph Chen
fbdf150e84
rockchip: rv1126: make #if...#else...#endif more clearly
...
Add Space indentation before '#'.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I7ded69adb328513b97f2ffb36329d8584cd5d2cd
2021-02-08 15:19:26 +08:00
Jon Lin
bc8c2a6ddb
configs: Add rv1126-spl-spi-nand_defconfig
...
Rename rv1126-spi-nand_defconfig to rv1126-spl-spi-nand_defconfig
Change-Id: I7443d9961be6019e8abb62315feed336aa2d9c0a
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-02-08 15:18:48 +08:00
Jon Lin
f757541b57
configs: Add rk3568-spl-spi-nand_defconfig
...
Rename rk3568-spi-nand_defconfig to rk3568-spl-spi-nand_defconfig
Change-Id: I36bc4995b63d4fd267c5b7ab8e4194da2395d3e4
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-02-08 15:18:48 +08:00
Joseph Chen
3ff518af86
configs: rk3568: enable non-secure OTP driver
...
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I3b35e54ce26aacb3c239d228c544dbfcb9fd8112
2021-02-08 11:31:34 +08:00
Yifeng Zhao
5f10b8465d
rv1126: add iomux config for sd card boot
...
When the devices without firmware boot from the SD card,
the iomux of the storage interface is not configured,
so the firmware cannot be upgraded to the storage.
It needs to be configured by uboot.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: If3f4a0a37e37b2fc9e0f4d7e5869dbf156649505
2021-02-07 11:04:33 +08:00
Jon Lin
1f161166c6
mtd: spinand: Support GD5F4GQ6UExxG
...
Change-Id: Ib72399ca0166ec82fdaf900ac51059076c155de3
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-02-06 12:07:57 +08:00
Joseph Chen
f06413e433
cpu: rockchip amp: support set PE state
...
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I6b5eb621af1472983cdfbaebfdaa61a4c85b1856
2021-02-05 17:57:00 +08:00
Joseph Chen
c3e08fa050
rockchip: smccc: add sip_smc_amp_cfg()
...
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ida367c95f72e910f6dbb9919888479250512f3b4
2021-02-05 17:57:00 +08:00
Sandy Huang
52ee18acb8
drm/rockchip: vop2: add support port1 to mipi dsi
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Iee86d5da9df9ae185b261a46e3919375f8f0fd2d
2021-02-05 11:21:55 +08:00
Jason Zhu
926664c9a0
lib: avb: reduce write rollback index operations
...
The optee is used to storage security data in U-Boot, and a file
which occupy 16KB is created when write a rollback index. But the
security space is only 512KB, the sapce is not enough when write
too many items.
And here we write rollback index 32 times, but the avb only use
rollback_index_location 0 to verify the rollback index with vbmeta.
So just get the rollback_index_location 0 in this process.
Test:
fastboot getvar at-vboot-state
Error log:
TEEC: reference out of data: -1
TEEC: Not enough space available in secure storage!
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Id69b852553a4ef9111dabe6f23e25038b0928bb3
2021-02-05 10:34:15 +08:00
Yifeng Zhao
72f40a61fa
configs: rk3568: add usbplug config
...
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ib341adf59f8566b54dbe27ecd7f949526bdf1264
2021-02-04 20:34:20 +08:00
Yifeng Zhao
5f73fdb14a
rockchip: rk3568: support usbplug
...
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: If2c56d1db774f79689cfbe87bcae7cfcadacae82
2021-02-04 20:34:20 +08:00
Yifeng Zhao
42b8fbc43f
configs: add dfu configs for rk3568
...
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I3b4a126cf42d2c5efc604fc87ef26bb65f8ad6c4
2021-02-04 17:27:59 +08:00
Yifeng Zhao
8292f3589a
configs: add dfu part info for rk3568
...
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ib275162d137bec5e2550bf9c21455acf7bffc762
2021-02-04 17:27:59 +08:00
Yifeng Zhao
01abb59cac
configs: add dfu configs for rv1126
...
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: If4b314c4fc01f559e581503e0e7740126c3957ee
2021-02-04 17:27:59 +08:00
Yifeng Zhao
6984d2db2b
configs: add dfu part info for rv1126
...
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: If05ba8e00865d8950fb0f042fb07ff1e197eb88d
2021-02-04 17:27:59 +08:00
Yifeng Zhao
da041cba1f
arch: rockchip: add set dfu alt info api
...
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Idc6bd66c5b85a2bb100da3f270dd86b48dec8886
2021-02-04 17:27:41 +08:00
Yifeng Zhao
0bcaecc8ee
drivers: dfu: add DFU to read and write to MTD base storage
...
Add DFU to read and write to MTD base storage.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I84cb160b182c31d7f84ed700896a4970845a3ca8
2021-02-04 17:24:07 +08:00
Yifeng Zhao
ca42250799
drivers: usb: add usb pid for dfu
...
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Id823187c0b74fe99c4fdff7fdb85f6d995ed9d28
2021-02-04 17:19:48 +08:00
Jason Zhu
9c5e2f1dbb
disk: efi: correct the partition_entry_lba location
...
Set partition_entry_lba to 0x2 but not 0x22, otherwise it will
overlay write the rockchip's idb data in the location 32KB.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ic02859fb135ece6d609320a9df030f041af93a8e
2021-02-04 17:17:22 +08:00
Joseph Chen
f703e20ccc
configs: add rk3568-aarch32.config
...
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: If3fb2c2febae8dc3a810f6748283d5527e248439
2021-02-04 15:06:29 +08:00