Zorro Liu
f15d061eba
arm64: dts: rockchip: rk3399pro-npu: modify ppll init freq to 100M
...
Change-Id: I43b3c95be00fe4a8fc2f1803570c75efbefb411b
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
2018-10-29 15:41:53 +08:00
David Wu
f82750e615
pinctrl: rockchip: Call rockchip_pinctrl_get_soc_data() after regmap Initialization
...
In soc_data_init(), need to write GRF registers, so change
the order for rockchip_pinctrl_get_soc_data(), call it after
regmap Initialization.
Change-Id: Ia3a6a821861d853c85870c2be43f33c6ad76c0e9
Signed-off-by: David Wu <david.wu@rock-chips.com >
2018-10-29 14:10:36 +08:00
Dingqiang Lin
6121b53e97
rkflash: drivers: add misoeration protection for idblock upgrading
...
1.when upgrading not start at NAND_IDB_START, do nothing
Change-Id: Ifb6b250c8c3d99ddb1526130120a37e9dd9e7b2b
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com >
2018-10-29 14:06:14 +08:00
shengfei Xu
d7fb2cf517
power: rk817_charger: fix up the system get usb plug in/out status error
...
Change-Id: I408cb0280058f91004295add7fce773e50da8aa7
Signed-off-by: shengfei Xu <xsf@rock-chips.com >
2018-10-29 11:55:54 +08:00
Guochun Huang
744be8c1e7
arm64: dts: rockchip: Add new dts file for rk3399-sapphire-excavator-edp avb.
...
Change-Id: I5099d44819423b1dd0130cbb063c90e0783739b7
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2018-10-29 11:54:46 +08:00
Tao Huang
571c22940d
amr64: dts: rockchip: add tcs452x dcdc for RK3399Pro-npu
...
Change-Id: Ifcd432290d24d9d6b252220803af7a29e5ffe5b4
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
2018-10-29 11:53:30 +08:00
Dingqiang Lin
31ca249a81
drivers: rkflash: add string.h to support memcpy
...
Change-Id: I5bb7af23738e8f1cb86f78325ea1ea783111f2ff
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com >
2018-10-29 10:46:29 +08:00
Guochun Huang
029d0dfc86
arm64: dts: rockchip: rk3399: separate android firmware
...
- Split DT source files to separate out android firmware specific DT
bindings
- Add an alias for firmware_android in rk3399-android.dtsi
Change-Id: If3ae952c61ff01903ea990c6430255af27f5a432
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2018-10-29 09:02:38 +08:00
Tao Huang
bcf3418306
rk: arm64: support build [z]boot.img with ramdisk
...
The ramdisk name should be ramdisk.img.
The ramdisk.img should be placed on $(objtree).
Support symbolic link.
Change-Id: Iee78c437bf8291362adf9598578d69de6d6abab6
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
2018-10-29 08:53:13 +08:00
Weixin Zhou
39a0f92008
arm64: dts: rockchip: rk3399pro-evb: fix for pcie/sdmmc
...
Change-Id: I7f93d3bd499a2c1d3b547fe664fe5f90bba64722
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
2018-10-27 14:53:38 +08:00
Weixin Zhou
226e1a0b59
arm64: dts: rockchip: rk3399pro-evb: fix npu powerup failed
...
Change-Id: I9bb3e2e8cfea232938cfb93b650d293d4f1701fd
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
2018-10-27 10:52:15 +08:00
Bin Yang
6eadea9387
arm64: dts: rockchip: update usb configs for rk3399pro-evb-v10
...
1. disabled bq25700 node
2. add type-c1/host0/host1 support
Change-Id: If245dd187640674c407cc8ed5e0de3b8c19d93e5
Signed-off-by: Bin Yang <yangbin@rock-chips.com >
2018-10-26 20:59:37 +08:00
Joseph Chen
b3bbe8018c
regulator: fan53555: rename tcs "4525" to "452x"
...
It supports both tcs4525 and tcs4526 chip. The tcs4525
i2c addr is 0x1c and tcs4526 i2c addr is 0x10.
Change-Id: I01cf8384032b2c805b8a55fa6686ca98ea2355e0
Signed-off-by: Joseph Chen <chenjh@rock-chips.com >
2018-10-26 19:59:41 +08:00
Weixin Zhou
6cc1f4b454
arm64: dts: rockchip: rk3399pro-evb: fix for edp/tp/adc_key
...
Change-Id: I757d1be63a7fa66e1b1f47c3566674d2531ebaeb
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
2018-10-26 16:44:31 +08:00
Weixin Zhou
d6cec5366f
arm64: dts: rockchip: rk3399pro-evb: fix for headset/wifi/bt
...
Change-Id: I0a883fb10b7abe8a53be70dcff5e3f0514379fec
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
2018-10-26 15:23:23 +08:00
Jianqun Xu
52630a9ea5
arm64: dts: rockchip: codingstyle for rk3399pro-evb-v10
...
1. remove duplicated gpu node
2. do not enable uart2
3. reorder for cpu nodes
Change-Id: Ifc11f7b98d4fa3b5cd13464e7454727ac73caebc
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
2018-10-26 15:22:32 +08:00
Jianqun Xu
78aca2546d
arm64: dts: rockchip: fix pmic rk809 error configures for rk3399pro-evb-v10
...
Change-Id: Id6bce34b6908c110b7e686c270deca6a980d1687
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
2018-10-26 15:00:41 +08:00
Zhou Jing
e478e9ceb2
video: rockchip: vcodec: add trans_tbl for vp8e
...
Change-Id: I17bf31996833e7f649f5c28af6579a59e53d9a49
Signed-off-by: Zhou Jing <tracy.zhou@rock-chips.com >
2018-10-26 14:58:57 +08:00
Elaine Zhang
0305e2d652
arm64: dts: rockchip: rk1808: modify ppll init freq to 100M
...
Change-Id: I95f4281ad36538dc260fd06010d5e373e0064f89
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
2018-10-26 14:25:38 +08:00
Elaine Zhang
169febe60d
clk: rockchip: rk1808: add pll 100M config parameters
...
PPLL 100M use refdiv =1 fbdiv = 150, postdiv1= 6,
postdiv2=6, vco= 3.6G, is best for pcie.
Change-Id: I40eb1a71c5025a68cab65ec56d2c2a7725d30c63
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
2018-10-26 14:25:38 +08:00
David Wu
574de13fac
i2c: rk3x: Fix the smatch warning
...
This patch fixes the following warning:
drivers/i2c/busses/i2c-rk3x.c:1136 rk3x_i2c_xfer() error: uninitialized symbol 'timeout'.
Fixes: d5635ca05b ("i2c: rk3x: Disable irq after i2c transfer finished")
Change-Id: I7618ae660a62e8e3fc5b7b5d00cff1264bd18663
Signed-off-by: David Wu <david.wu@rock-chips.com >
2018-10-26 11:02:12 +08:00
Sugar Zhang
165fb1619b
arm64: dts: rockchip: rk1808: set 2ma drive-strength for i2s, pdm
...
Change-Id: I1ba20c8d996ba596161e6c359db255a8b0ba24d5
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2018-10-26 10:42:11 +08:00
Jianqun Xu
09bc5b55e9
arm64: dts: rockchip: RK3399Pro use uart2a_xfer for fiq-debugger
...
Change-Id: I3051e96ec91a9e2563072efab0e27c7f15467384
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
2018-10-26 09:56:33 +08:00
David Wu
fb810f8a5f
arm64: dts: rockchip: Change the drive strength of pwm pins to 2ma for rk1808
...
Change-Id: I3caf418c8edcfdf03ea8c1e042276eb4f6f75816
Signed-off-by: David Wu <david.wu@rock-chips.com >
2018-10-26 09:34:34 +08:00
David Wu
aff16aa318
arm64: dts: rockchip: Change the drive strength of i2c pins to 2ma for rk1808
...
Change-Id: I6dc59e0262b0306b0f3fb1629ef77d02fa831524
Signed-off-by: David Wu <david.wu@rock-chips.com >
2018-10-26 09:33:38 +08:00
Xing Zheng
fb862df692
ARM: dts: rockchip: rk3308: enable use_raw_jiffies module param for aloop
...
Change-Id: I724d2592182e9d14e082d62e87d000d574872964
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
2018-10-25 16:10:56 +08:00
Xing Zheng
ea067b7c52
ARM64: dts: rockchip: rk3308: enable use_raw_jiffies module param for aloop
...
Change-Id: Icea889846313992df838f33a41e9894827758e65
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
2018-10-25 16:10:56 +08:00
Xing Zheng
abbf433e4c
ALSA: aloop: using raw cycles and jiffies
...
The system tick may be modified by NTP when we connect
with network, then jiffies have an offset compared to
the local clock, it will cause the irq_pos / delta_play /
delta_capt also be inaccurate.
Therefore, we need a way to get raw jiffies which follows
local raw clocks.
Change-Id: I9be1790dfd98e430982dad6f03b04532889279a6
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
2018-10-25 16:10:56 +08:00
Elaine Zhang
90c8a9abbc
clk: rockchip: rk1808: add CLK_IGNORE_UNUSED for aclk_pcie_mst/slv
...
Change-Id: I6be0c48c68c2793528b3b480ed1afd982701266d
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
2018-10-24 17:51:51 +08:00
Nickey Yang
222e17ad18
arm: dts: rk3288-evb-rk1608: enable route-dsi node
...
Change-Id: I22c7200cacee1120fe33b3abe7faed3e970f9bed
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
2018-10-24 15:03:38 +08:00
Nickey Yang
6d2f26bbaf
ARM: config: rockchip_linux: disable CONFIG_FRAMEBUFFER_CONSOLE
...
for kernel logo display
Change-Id: I038c2809bc166380c33265f4f458a0c772fac2be
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
2018-10-24 15:03:38 +08:00
Nickey Yang
ab9c1fbeaf
arm: dts: rk3288-linux: add display-subsystem
...
Change-Id: Iffee5ecc16e6eb76ecf0e14df421025e2ed0c3f6
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
2018-10-24 15:03:38 +08:00
Shawn Lin
37e81ba640
r8169: add new device ID support
...
It's found a new r8169 ethernet card with a device ID of
0x0000 read from its config header which wasn't in the
ID tables of r8169. Add it in order to probe this card.
Change-Id: I27c542a10cc571a6e1a4e7a8af62ce560b8b1fc4
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2018-10-24 10:34:31 +08:00
Shunqing Chen
84cba32220
drm/rockchip: rk618: fix error pointer of encoder
...
Change-Id: Ia3b4c422319f712fcd3f2eab54dc7ea43c4c5875
Signed-off-by: Shunqing Chen <csq@rock-chips.com >
2018-10-24 09:22:23 +08:00
William Wu
c04c4fe0c5
arm64: dts: rockchip: add dis-u1u2-quirk for rk3399pro-npu dwc3
...
Change-Id: I03bab17ad638286980d7c31311ed0399becec8bc
Signed-off-by: William Wu <william.wu@rock-chips.com >
2018-10-23 20:45:12 +08:00
William Wu
4dcb0c61a2
arm64: dts: rockchip: add dis-u1u2-quirk for rk1808 dwc3
...
Change-Id: I61460bccc63e6d8cecabe4f4e6259096f069aa23
Signed-off-by: William Wu <william.wu@rock-chips.com >
2018-10-23 20:45:12 +08:00
William Wu
aaa5c055cc
usb: dwc3: add dis-u1u2-quirk to reject enter U1 and U2
...
The DWC3 with Innosilicon USB 3.0 PHY on Rockchip platforms
(e.g. rk3328, rk1808) has problem to exit to U0 state from
U1 or U2 state when DWC3 work as peripheral mode. This patch
adds a quirk to reject transition to U1 and U2 state to
workaround this issue.
Change-Id: Ib5a7a603193df23e4d274681bad155d005238349
Signed-off-by: William Wu <william.wu@rock-chips.com >
2018-10-23 20:45:12 +08:00
William Wu
fb49b9e04d
dt-bindings: usb: dwc3: add dis-u1u2-quirk
...
This patch adds a quirk for some special platforms (e.g.
rk1808 platform) which has problem to exit to U0 state
from U1 or U2 state when dwc3 work as peripheral mode.
To workaround this issue, we can add this quirk to reject
transition to U1 and U2 state.
Change-Id: I611b3562800e77079193cd5e96f6fe30bb3ca88a
Signed-off-by: William Wu <william.wu@rock-chips.com >
2018-10-23 20:45:12 +08:00
Yi Liu
d1eb7eae18
spi: rockchip: support to set lsb into ROCKCHIP_SPI_CTRLR0
...
Change-Id: I55421b4685c88fe55c928ac7d102abb7d39e902f
Signed-off-by: Yi Liu <liuyi@rock-chips.com >
2018-10-23 18:03:06 +08:00
Binyuan Lan
d9392291c8
ASoC: rockchip: rk817-codec: fix mic_in_differential as loopback fail issue
...
Change-Id: I6e69ec61a380f7a0ffc234aafcfdfb8e38654461
Signed-off-by: Binyuan Lan <lby@rock-chips.com >
2018-10-23 17:45:06 +08:00
William Wu
15ba079fa3
arm64: dts: rockchip: fix power domain for rk3399pro-npu dwc3
...
Change-Id: I699ec2589ef73b3d3afbd8c39a79e937b8bdd865
Signed-off-by: William Wu <william.wu@rock-chips.com >
2018-10-23 16:49:33 +08:00
William Wu
f561f2cf86
arm64: dts: rockchip: enable power domain for rk1808 dwc3
...
Change-Id: Ia18a03b3c68b560ee4c5e47a4a82f11b786c8964
Signed-off-by: William Wu <william.wu@rock-chips.com >
2018-10-23 16:49:32 +08:00
Yi Liu
9ce38fd918
amd64: dts: rockchip: rk3399pro: add a spidev on spi1 for downloading firmware
...
Change-Id: Iea69e83e6b49c8d9fa96c2ce36a936af8117a9e9
Signed-off-by: Yi Liu <liuyi@rock-chips.com >
2018-10-23 14:18:16 +08:00
Shixiang Zheng
ef34d50d17
arm64: rk1808_linux_defconfig: add CONFIG_ROCKCHIP_RGA2
...
Change-Id: Ibc09cb6f8522821f6805708be1e47226d550c70e
Signed-off-by: Shixiang Zheng <shixiang.zheng@rock-chips.com >
2018-10-23 11:35:12 +08:00
Dingqiang Lin
fa8683a467
drivers: rkflash: Support NOR Flash to init MTD part list by default partition.
...
Change-Id: I108c6ea704307221a58e3a7cdf4d6dc83b153437
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com >
2018-10-23 10:20:14 +08:00
Zorro Liu
37184f54fe
arm64: dts: rockchip: add i2c0 and xin32k for rk3399pro-npu
...
Change-Id: I5d057e4ce7fed18dde46c0c8bd580623e1803e71
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
2018-10-23 10:02:12 +08:00
Zorro Liu
9839b238e8
arm64: dts: rockchip: rk3399pro-npu: Add clocks for npu
...
Change-Id: If84a3592c4def1418b3a972bc5d56c33918c35d6
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
2018-10-23 10:02:06 +08:00
Zorro Liu
a65badf152
arm64: rk3399pro_npu_defconfig: enable INNO_COMBPHY
...
Change-Id: Ief80634a45df982a5c4fbc630c559b2c3e7243df
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
2018-10-23 10:02:01 +08:00
Zorro Liu
8a25b28224
arm64: dts: rockchip: update usb3 configs for rk3399pro-npu
...
Change-Id: I1700402cb53c77cba9b05c2e541091be96ef146e
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
2018-10-23 10:01:46 +08:00
Leo Wen
25e85dd53d
arm64: dts: rockchip: set rootfstype=ext4 for rk3326-evb-lp3-v10-linux
...
Change-Id: I6ef17624ddf656e12550d2cac958d262e750d63c
Signed-off-by: Leo Wen <leo.wen@rock-chips.com >
2018-10-23 09:44:39 +08:00