Commit Graph

1080319 Commits

Author SHA1 Message Date
Dongjin Kim
89c5fab4f2 ODROID-M1: arch/arm64: add hardware reset property to eMMC
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I43de93df47052f08746df34889c448564f4a497d
2023-08-02 19:15:03 +09:00
ckkim
5528c25dff ODROID-M1: mmc/host: add to hardware reset capability
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I7fe60513ce9706fc1d13345d190f9cde87ef34f9
2023-08-02 19:15:03 +09:00
Dongjin Kim
1526d623cf ODROID-M1: rkflash: enforce to disable 4bit bus access
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ifd9bc9a8a7d1eeff93f8f20495da791ccf36e2c9
2023-08-02 19:15:02 +09:00
Lee Seungcheol
ff71936f9a ODROID-M1: dtb/dtbo: add hktft32 and ads7846 dtbo for Hardkernel 3.2 inch TFT LCD
Signed-off-by: Steve Jeong <steve@how2flow.net>
Change-Id: Ia98cce979e2f66044af217ac392d35e15283f999
2023-08-02 19:15:02 +09:00
Lee Seungcheol
c1b2143b07 ODROID-M1: gpu/drm: Add Hardkernel 3.2 LCD driver to ili9341 driver
Signed-off-by: Steve Jeong <steve@how2flow.net>
Change-Id: If4ab1899514ee8e84e8de59ccb4318f68f2881d9
2023-08-02 19:15:02 +09:00
Dongjin Kim
8ae0670608 ODROID-M1: dtb/dtbo: add to off the blue LED by default
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I65892104e1a4c72692ce41946e108bca3faefbb9
2023-08-02 19:15:02 +09:00
Dongjin Kim
63d726df8c ODROID-M1: dtb/dtbo: add support 115200bps at ttyFIQ0
Change-Id: Ia7eee95d53ed1bf21dd52bbde08d81a21b13f00b
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2023-08-02 19:15:02 +09:00
Luke go
9a75686ef7 ODROID-M1: dtb/dtbo: pcf8563 is added.
Signed-off-by: Luke go <sangch.go@gmail.com>
Signed-off-by: Steve Jeong <steve@how2flow.net>
Change-Id: Ie4757602bcbdf9988cd171e984b38fd3853d8499
2023-08-02 19:15:02 +09:00
jkhgit
f3e222ed91 ODROID-M1: dtb/dtbo: Add NPU device tree overlay
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: I40c9977101cf8a0d6eb92e2c3a26df25a9431c23
2023-08-02 19:15:02 +09:00
steve.jeong
5fdce53a68 ODROID-M1: dtb/dtbo: Add mcp2515 (can module)
Support mcp2515 12M clk and 16M clk.

solved the one-bit time that came out twice as long

Signed-off-by: Steve Jeong <how2soft@gmail.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I47a405f11cdf290deacb9fa266d31525d80cacfc
2023-08-02 19:15:02 +09:00
steve.jeong
5fd3061519 ODROID-M1: dtb/dtbo: Add can0 overlay
change can0 clock freq 150MHz to 200MHz
to make the signal more stable.

Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: Icab5a5fd350537e9e9f80c13b6e92925a598c86f
2023-08-02 19:15:02 +09:00
steve.jeong
8c16c210f2 ODROID-M1: dtb/dtbo: Add MODULE_LICENSE to solve can drivers error.
rockchip_can: module license 'unspecified' taints kernel.

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Id8a48257c8ca78aa9b87605fd35a2c20fe9fddc1
2023-08-02 19:15:02 +09:00
steve.jeong
22e28de674 ODROID-M1: dtb/dtbo: Add dht11 humidity sensor
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: I570a019b2b9ac714932f53825b419e37eb364280
2023-08-02 19:15:02 +09:00
steve.jeong
a597aa8193 ODROID-M1: dtb/dtbo: Add onewire
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: I70e736833e92e936e15038d3a9d88e62ea35042f
2023-08-02 19:15:02 +09:00
Steve Jeong
21fe0d5197 ODROID-M1: driver/i2c: Add driver "speed" attribution
for change i2c bus freq dynamically.

e.g.
  $ echo 400000 | sudo tee /sys/bus/i2c/devices/i2c-0/device/speed

Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: Ifcccf9bb61ed65133b64c803b53fb4e46d470e26
2023-08-02 19:15:01 +09:00
steve.jeong
028cd95dbb ODROID-M1: driver/gpiomem: Allow access pwm
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: Ia5dc1c2291023b31dd66b47af03b3295841304cb
2023-08-02 19:15:01 +09:00
joerg65
8905f6bb14 ODROID-M1: driver/gpiomem: Add gpiomem driver for rk3568
Change-Id: I3d8a60fd098875db2414a973ce52ffc6cde06b7a
Signed-off-by: Luke go <sangch.go@gmail.com>
2023-08-02 19:15:01 +09:00
Deokgyu Yang
19b6649bf7 ODROID-M1: dtb/dtbo: Add basic alt functions
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic2c21cbbfcf04db21829076db802ad5b656c3aed
2023-08-02 19:15:01 +09:00
Deokgyu Yang
f71256902e ODROID-M1: dts/dtbo: Introduce device tree overlay
Comes with the first DTBO file, fanspeed-full.dts

Signed-off-by: Steve Jeong <how2soft@gmail.com>
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1e3c18d026b1ebdd9d80a7b23b383b15d568fc42
2023-08-02 19:15:01 +09:00
Dongjin Kim
bef869ee4d ODROID-M1: arch/arm64: add new board Hardkernel's ODROID-M1
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: Ifbcc33e8e5c3064b3f4cbd3f6a92224346c4f4b3

ODROID-M1: arm64/dts: change i2c2 pinctrl.

- Changed the I2C-2 default pinctrl to i2c2m1_xfer.

Signed-off-by: Luke Go <sangch.go@gmail.com>
Change-Id: Id234f0d73100e98502b86f91b455cacc2fc6847f
2023-08-02 19:15:01 +09:00
Caesar Wang
fe7d71d84c arm64: dts: rockchip: with pwm mode for rk3568 evb boards
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2023-08-02 19:15:01 +09:00
Yao Xiao
f51b33c20a net: rfkill: rkwifibt: fix bt on/off err on Debian
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
Change-Id: I3f87c683032835aae92af9a33d4610555840656f
2023-08-02 19:14:04 +09:00
Caesar Wang
16fb2adc60 Revert "net: wireless: rockchip_wlan: bcmdhd: Enable CONFIG_BCMDHD_REQUEST_FW"
This reverts commit 1659a56516.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I33477ebb5fbb00120efaf24fce66dd90aa2bc9e1
2023-08-02 19:14:04 +09:00
Cai YiWei
57de878a74 media: rockchip: isp: version to v2.2.2
Change-Id: I3c446f6e0e9a8a8ad3cd269a629524128387ad43
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-07-20 20:04:10 +08:00
Sugar Zhang
d9bb11946d arm64: dts: rockchip: rk3562: Optimize clk jitter for DAIs
On the RK3562 SoC, the HPLL is designed dedicated for audio.

This patch assigns PLL_HPLL as the parent of digital audio
interface default. and Set PLL_HPLL to 983.04M(48k group)
default to achieve better jitter performance.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I21615ae46209a2be31630987350131abd3b33a97
2023-07-20 19:08:18 +08:00
Sugar Zhang
89bdfb8696 ASoC: rockchip: sai: Handle clk enable in prepare stage
Currently, the BCLK/FSYNC enable is addressed in hw_params
stage, because the real clk is measured by samplerate. so,
it is quite a good solution.

But, on the system PM situation, it is failed to recovery
BCLK/LRCK after resume. the root cause is that never do
'hw_params' after resume. which is similar to XRUN issue.

So, let's move it to prepare stage which any path must do
before trigger-start.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I9025a98259a4e9bd9f09ec3d23584f753552031d
2023-07-20 19:08:18 +08:00
Sugar Zhang
36eb638d2d ASoC: rockchip: sai: Use generic pm_runtime_force_* for system PM
This patch use the generic pm_runtime_force_* API for system PM,
because both of them do the same action. let's make it implemented
with runtime PM.

Ref: commit 37f204164d ("PM: Add pm_runtime_suspend|resume_force functions")

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ice5057ca5cdf8999990283a99921b7b6a30cd557
2023-07-20 19:08:18 +08:00
Sandy Huang
06906b5a73 drm/rockchip: vop2: add more plane check
1. NV12/NV16/YUYV xoffset must aligned as 2 pixel;
2. NV12/NV15 yoffset must aligned as 2 pixel;
3. NV30 xoffset must aligned as 4 pixel;
4. NV15/NV20 xoffset must aligend as 8 pixel at rk3568/rk3588/rk3528/rk3562,
   others must aligned as 4 pixel;

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I28d69d1f8189963170ef798c12bfd60fb092ef20
2023-07-20 19:05:10 +08:00
Lin Jinhan
f0023c2918 media: i2c: gc1084: add frame synchronization support
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I896eae6a4aa39030ecd41664e81f62889645d443
2023-07-20 19:01:20 +08:00
Zefa Chen
74bb5a299c phy: rockchip: csi2-dphy: fixes fwnode parse error of cphy
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Id6fc73b416888dc25bf3dc8af82ea685821efaf6
2023-07-20 18:58:53 +08:00
Wyon Bi
955d8bfa4b arm64: rockchip_defconfig: Enable CONFIG_DRM_PANEL_MAXIM_MAX96772
Enable the maxim max96772-based panels used on RK3588 vehicle s66 project.

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I2065012318aab045c91500c7f9691bd9bee1007a
2023-07-20 18:54:50 +08:00
Xu Xuehui
a748a1bd1c net: wireless: rockchip_wlan: porting infineon driver.
1. support wifi driver contrl wifi_reg_on.
2. fix pcei state when pcie suspend.
3. fix wifi crash when resume timeout.
4. support WIFI oob fuction.

Change-Id: I5ea8be870cb7c3efac206c2d57d1ac66aca871c7
Signed-off-by: Xu Xuehui <xxh@rock-chips.com>
2023-07-20 18:37:22 +08:00
Jason Song
ebdfd241b5 input: sensor: accel/gyro sensor: support iam20680.
Signed-off-by: Jason Song <sxj@rock-chips.com>
Change-Id: Iec153c5f151d887f8810d54e5ae4c9fbef8a3c57
2023-07-20 16:42:28 +08:00
Jason Song
ec02244c43 arm64: dts: rockchip: vehicle-s66: support iam20680.
Signed-off-by: Jason Song <sxj@rock-chips.com>
Change-Id: If5d343a720121ba6e441ea14a433a24ef8b793ec
2023-07-20 16:15:48 +08:00
Cai YiWei
e27cb4b2bf media: rockchip: isp: fix repeated reporting statistics if stats video on/off
Change-Id: Ic0b7d67f0250389b981d79a959c0f081b16a0c25
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-07-20 10:16:03 +08:00
Jason Song
0f9b944358 mfd: max96755f: lock status and link reg need access directly.
Signed-off-by: Jason Song <sxj@rock-chips.com>
Change-Id: If1b8866afe9642c33426b1757a72159ec37e2469
2023-07-19 20:03:31 +08:00
Jason Song
26525c754b drm/bridge: maxim-max96755: support dual link mode.
Signed-off-by: Jason Song <sxj@rock-chips.com>
Change-Id: I130a600be675fb834016d852ecbf1fdd0a81f803
2023-07-19 20:03:23 +08:00
Wyon Bi
78e9c25543 drm/panel: Add panel driver for Maxim MAX96772 based LCDs
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: Ie1981f600dd1422052f57c329ceed0702bb97ca4
2023-07-19 20:03:04 +08:00
Jianwei Fan
e57d4ee1ae media: i2c: it6616: modify set ctrl when video stable
Change-Id: I84b583f0a8c17a84a4c22f5a9d62dbde42904132
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2023-07-19 11:50:10 +08:00
Jianwei Fan
458d457425 media: i2c: lt6911uxe: modify rk3588_dcphy params
Change-Id: I5455c5e18e0074aa08a9bd97d20fa51bf2790a8a
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2023-07-19 11:49:52 +08:00
Zefa Chen
a9ed7b93e6 media: rockchip: vicap compatible with rk3588s2
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Idd8312275b97b690de378094116d558e85b4cb00
2023-07-19 11:48:20 +08:00
Zefa Chen
a8c5673b5b media: rockchip: vicap support combine two mipi to one dev
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iba3e83d0bc1433458d56c2542c3224ffee127b90
2023-07-19 11:48:20 +08:00
Zefa Chen
08330d500d phy: rockchip: csi2-dphy: logic node of mipi phy can control all hw of mipi phy
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I30cc62cc1d28c4219e9e5c5ccd77fa9f589e63af
2023-07-19 11:48:20 +08:00
Zefa Chen
c929ccacbb include: rk-camera-module: support get/set capture info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ic1f117afcb53b035086f6835deb0ccf2733ee972
2023-07-19 11:48:20 +08:00
Zefa Chen
f23f29d334 include: rkcif-config: support set multi csi info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I8509ed952b9554659c0238024a383e547620825b
2023-07-19 11:48:20 +08:00
Zefa Chen
d174390f31 ARM: dts: rockchip: rv1106 separate the node of csi2 and hw
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ifd8eef8e03d9d9edc0a93115b62e2fac41a828dd
2023-07-19 11:48:20 +08:00
Zefa Chen
f442c757df ARM: dts: rockchip: rv1126 separate the node of csi2 and hw
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iae8f9d8bd721e549d89a27fdb61a9e63da76a6f1
2023-07-19 11:48:20 +08:00
Zefa Chen
d4c693bd95 arm64: dts: rockchip: rk1808 separate the node of csi2 and hw
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I4fdacd6bcac96094ea7746828fbab3e05b31fbab
2023-07-19 11:48:20 +08:00
Zefa Chen
a2af16b03a arm64: dts: rockchip: rk3562 separate hw node of mipi csi2 and mipi dphy
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I9e23e9b94cb851f31c6701deb5d57b1e8297a7b5
2023-07-19 11:48:19 +08:00
Zefa Chen
841fa2175d arm64: dts: rockchip: rk3568 separate the node of csi2 and hw
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ia3694d29ee53a1ccd46e2e375eed94ce45dcf1fc
2023-07-19 11:48:19 +08:00