Commit Graph

1292963 Commits

Author SHA1 Message Date
Lee Seungcheol
bedefd8169 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
2026-04-03 14:41:09 +09:00
Lee Seungcheol
052e5cffe7 ODROID-M1: gpu/drm: Add Hardkernel 3.2 LCD driver to ili9341 driver
Signed-off-by: Steve Jeong <steve@how2flow.net>
Change-Id: If4ab1899514ee8e84e8de59ccb4318f68f2881d9
2026-04-03 14:41:09 +09:00
Dongjin Kim
60ca7ae8de ODROID-M1: dtb/dtbo: add to off the blue LED by default
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I65892104e1a4c72692ce41946e108bca3faefbb9
2026-04-03 14:41:09 +09:00
Dongjin Kim
abf29d5072 ODROID-M1: dtb/dtbo: add support 115200bps at ttyFIQ0
Change-Id: Ia7eee95d53ed1bf21dd52bbde08d81a21b13f00b
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2026-04-03 14:41:09 +09:00
Luke go
2adc4426ea 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
2026-04-03 14:41:09 +09:00
jkhgit
776081b5e9 ODROID-M1: dtb/dtbo: Add NPU device tree overlay
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: I40c9977101cf8a0d6eb92e2c3a26df25a9431c23
2026-04-03 14:41:09 +09:00
steve.jeong
da4472d8f0 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
2026-04-03 14:41:09 +09:00
steve.jeong
17a0dc399e 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
2026-04-03 14:41:08 +09:00
steve.jeong
9d643262dd 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
2026-04-03 14:41:08 +09:00
steve.jeong
5521165114 ODROID-M1: dtb/dtbo: Add dht11 humidity sensor
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: I570a019b2b9ac714932f53825b419e37eb364280
2026-04-03 14:41:08 +09:00
steve.jeong
e5a608e087 ODROID-M1: dtb/dtbo: Add onewire
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: I70e736833e92e936e15038d3a9d88e62ea35042f
2026-04-03 14:41:08 +09:00
Steve Jeong
c82036b6da 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
2026-04-03 14:41:06 +09:00
steve.jeong
20c1d4acf2 ODROID-M1: driver/gpiomem: Allow access pwm
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: Ia5dc1c2291023b31dd66b47af03b3295841304cb
2026-04-03 14:39:51 +09:00
joerg65
19eef0e881 ODROID-M1: driver/gpiomem: Add gpiomem driver for rk3568
Change-Id: I3d8a60fd098875db2414a973ce52ffc6cde06b7a
Signed-off-by: Luke go <sangch.go@gmail.com>
2026-04-03 14:39:51 +09:00
Deokgyu Yang
01c7332993 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
2026-04-03 14:39:51 +09:00
Deokgyu Yang
1a52871318 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
2026-04-03 14:39:50 +09:00
Dongjin Kim
3705226ed0 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
2026-04-03 14:39:49 +09:00
Tao Huang
f86c4ed133 Merge commit 'fbdb94a0c7bddcf16d5e01588e5d0aed65ae43f2'
* commit 'fbdb94a0c7bddcf16d5e01588e5d0aed65ae43f2': (40 commits)
  hwspinlock: rockchip: Add maximum user count config
  dt-bindings: hwlock: rockchip: Add the maximum user count property
  mailbox: rockchip: add get properties helper
  mailbox: rockchip: add version and lock register support
  arm64: dts: rockchip: rv1126b-evb: Add the regulator-settling-time-up-us configuration
  power: supply: sc89601_charger: fix the abnormal display of the charging icon
  arm64: dts: rockchip: add Tablet Board devicetree for RK3576S-RK809
  arm64: dts: rockchip: rv1126b: Fix compatible for can node
  arm64: dts: rockchip: rk3576: Fix compatible for can node
  ARM: dts: rockchip: rk3506: Fix compatible for can node
  arm64: configs: rockchip_linux_defconfig enable CONFIG_CAN_RK3576
  net: can: rockchip: rename rk3576_canfd.c to rk3576_can.c
  drm/rockchip: dw-dp: support more feature active protocol converter adapters
  media: rockchip: vicap force update buffer addr when init stream
  media: rockchip: vicap change stop dma to fs for dvp
  media: rockchip: vicap fixes error of stop stream with dvp
  media: rockchip: vicap fixes error info of fps with toisp mode
  iio: imu: add inv icm42607 support
  arm64: dts: rockchip: rv1126b-evb2: Add the rk96x_wake_aov_irq driver's dts.
  spi: rockchip-sfc: Wait for thunder boot DMA status change before rockchip_sfc_get_gpio_descs
  ...

Change-Id: I21a5ce10a4a9f5c23e607ac2b2ee51c80659aa88
2025-10-11 18:54:37 +08:00
Frank Wang
fbdb94a0c7 hwspinlock: rockchip: Add maximum user count config
Since the new IP has expanded the maximum hwlock user count to 6 bits,
this adds configuring the maximum hwlock user count via dtsi/dts to
support the feature.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I6e59bb22984e6ee5c9d31099266778c0e42350bf
2025-10-11 10:46:58 +00:00
Frank Wang
34fd19547b dt-bindings: hwlock: rockchip: Add the maximum user count property
Set the maximum user count via the "rockchip,hwlock-max-user" property
to indicate the maximum number of users supported by this IP.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I7dff4c813346db94642ed5b36191af0a1c0e5041
2025-10-11 10:46:58 +00:00
Frank Wang
c5d3bacad7 mailbox: rockchip: add get properties helper
This helper will be responsible for reading and parsing our
properties. No functional changes in this patch, cleanup only.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I8476a5f4d3e78f90d9749fd949ff5287eb400558
2025-10-11 10:46:58 +00:00
Frank Wang
8fee3005f3 mailbox: rockchip: add version and lock register support
As of Mailbox Version 2.2.0, a version register and a channel lock
function have been added, and this change is intended to provide
support for these features.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Ie4778dc5860fbb7f2f55c36a4c4f1b6fc97b1c99
2025-10-11 10:46:58 +00:00
Shengfei Xu
594bcd5a6c arm64: dts: rockchip: rv1126b-evb: Add the regulator-settling-time-up-us configuration
Add the regulator-settling-time-up-us configuration in the PWM
regulator to ensure sufficient time for the voltage to reach a
stable state during the rising phase.

Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
Change-Id: I2ec7255931f22c1f8c46e41fac34b2c215e9abf3
2025-10-11 10:41:53 +00:00
Binyuan Lan
2b9745aa75 power: supply: sc89601_charger: fix the abnormal display of the charging icon
chrg_status register 0x08 is volatile.

Signed-off-by: Binyuan Lan <lby@rock-chips.com>
Change-Id: Ia569391b2eee3f8bfac0c40cb08991b341702115
2025-10-11 10:38:34 +00:00
Binyuan Lan
f0433771a5 arm64: dts: rockchip: add Tablet Board devicetree for RK3576S-RK809
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
Change-Id: Ic944ad209f5875a302db639dfda06be385871209
2025-10-11 10:37:52 +00:00
Elaine Zhang
535db335d2 arm64: dts: rockchip: rv1126b: Fix compatible for can node
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: Ib2c841c8fde7605c299208583638b78f13e9f365
2025-10-11 18:30:27 +08:00
Elaine Zhang
f762a94b7c arm64: dts: rockchip: rk3576: Fix compatible for can node
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I7476a47fd36d7d7e5137e64a5e673663c35839c8
2025-10-11 18:30:27 +08:00
Elaine Zhang
071f8bcb45 ARM: dts: rockchip: rk3506: Fix compatible for can node
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I9752391f1dfea98e5425c6a553fee5e7d3e5af4d
2025-10-11 18:30:27 +08:00
Elaine Zhang
5b28e51f19 arm64: configs: rockchip_linux_defconfig enable CONFIG_CAN_RK3576
Rename CONFIG_CANFD_RK3576 to CONFIG_CAN_RK3576

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I9c1f67134ddc104e76c7cac642c027e66ce1c5f6
2025-10-11 18:30:27 +08:00
Elaine Zhang
7a7734a16b net: can: rockchip: rename rk3576_canfd.c to rk3576_can.c
remove unused canfd mode func.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: Iaeda3108d0f3e44fe1fec9b231d27726f7950faa
2025-10-11 18:30:27 +08:00
Zhang Yubing
539fd979b6 drm/rockchip: dw-dp: support more feature active protocol converter adapters
According to DP1.4a 5.3.3, To support more feature active protocol
converte adapters. All the adapters are branch device, Read the
Detailed Capabilities Info to get the branch type and the feature
it support. For Example, the max dot clock for VGA, max TDMS clock
for HDMI, the YCbCr420 support or not for HDMI 2.0, conversion to
YCbCr420 from YCbCr444 or not for HDMI 2.0.

According the feature of branch device, filter the resolution, color
format and color depth that the branch device can't support.

Change-Id: I640ce0e6324811875a9dabea846514bc3e42f915
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2025-10-10 16:08:58 +08:00
Zefa Chen
fe51d80ff8 media: rockchip: vicap force update buffer addr when init stream
Change-Id: I3bc59fdcc769e9beaeb303ca6f6b18dfb5b457fa
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
2025-10-09 06:36:31 +00:00
Zefa Chen
3e9448b802 media: rockchip: vicap change stop dma to fs for dvp
Change-Id: Ife6b32d141d4377f6a19f49e88946876f1cbd645
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
2025-10-09 06:25:33 +00:00
Zefa Chen
69791e16c0 media: rockchip: vicap fixes error of stop stream with dvp
Change-Id: I269440ee3cb46a6bdd3d7d46ebe83abe1d5595b2
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
2025-10-09 06:25:22 +00:00
Zefa Chen
74626d61ec media: rockchip: vicap fixes error info of fps with toisp mode
Change-Id: I661b19466f3bbaece2db9a700f3c17010a57cb66
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
2025-09-30 08:58:40 +00:00
Jianwei Fan
4c08cc8051 iio: imu: add inv icm42607 support
Change-Id: I6a258bc331a3c3b2428faaa6a7d766cad5f83003
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2025-09-30 06:05:19 +00:00
Chunsheng Zhang
18a1dd9d03 arm64: dts: rockchip: rv1126b-evb2: Add the rk96x_wake_aov_irq driver's dts.
Change-Id: Idef5e3d08b71058b95536b23fc333f19ce6c3d65
Signed-off-by: Chunsheng Zhang <chunsheng.zhang@rock-chips.com>
2025-09-30 02:49:22 +00:00
Yuefu Su
36d177c27c spi: rockchip-sfc: Wait for thunder boot DMA status change before rockchip_sfc_get_gpio_descs
Signed-off-by: Yuefu Su <yuefu.su@rock-chips.com>
Change-Id: I977ea73a372328313cfc2728786b123abaaecc7b
2025-09-29 12:20:16 +00:00
Liang Chen
7235aafc8f clk: rockchip: clk-pvtpll: rv1126bj: adjust pvtpll config for cpu
Change-Id: I618c129b48fb172f0e7ce4754523a5414b5a8839
Signed-off-by: Liang Chen <cl@rock-chips.com>
2025-09-29 10:18:11 +00:00
Liang Chen
dfbbb45bff arm64: dts: rockchip: rv1126bj: adjust opp-table for cpu
Change-Id: I8b070f128833117196e6309bb6e1a5262807aa60
Signed-off-by: Liang Chen <cl@rock-chips.com>
2025-09-29 10:17:52 +00:00
Yuefu Su
53b5639eb8 media: i2c: sc850sl: fix dual pm_runtime_put in stop_stream
Signed-off-by: Yuefu Su <yuefu.su@rock-chips.com>
Change-Id: I9e6c989fb34b90cb4c7a36513ec44eb03071e6e3
2025-09-29 09:46:22 +00:00
Sandy Huang
02027a2bbc drm/rockchip: vop2: add SPARSE_SPLIT_SIZE_16x16 afbc format for rk3588
As SPARSE_SPLIT_SIZE_16x16 afbc format each sub block size is
16*8*4=512 Byte, This can make DDR each channel keep balanced.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I1aa7a4c6068fec80f144979dca821bf9cc534b6a
2025-09-29 01:38:48 +00:00
Jianwei Fan
97faaa82e2 iio: proximity: add nds03 tof sensor
Change-Id: I263bc2a7cc302ded8c940a10f73e050abdefa1de
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2025-09-28 16:26:54 +08:00
Jianwei Fan
1e7a3292b6 media: i2c: rk628: add status variable to determine whether CSI1 is enabled
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I6f127c210f9c755400efb4dbbe1c96aed5c3f917
2025-09-28 01:22:26 +00:00
Haoran Han
ce6592f012 arm64: configs: rk3576_vehicle.config: add CONFIG_VIDEO_MAX96756=y
Change-Id: I05c3aa2938b6d86b7c1cf84fab4c436a9159fa8c
Signed-off-by: Haoran Han <haoran.han@rock-chips.com>
2025-09-26 08:05:50 +00:00
Guochun Huang
f0612ad478 arm64: dts: rockchip: rk3588s-evb: fix panel resolution info
Fixes: cc761c9b6a ("arm64: dts: rockchip: add rk3588/rk3588s evb mipi panel info")
Fixes: 8aa80d1c81 ("arm64: dts: rockchip: add rk3588s-tablet-rk806-single-v10.dts")

Change-Id: I78f0a49099caec0eace0002a099877f2c67484ce
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2025-09-26 08:04:30 +00:00
Jianwei Fan
e81982d9e2 media: i2c: bridge: add ioctl RK_HDMIRX_CMD_GET_SIGNAL_STABLE_STATUS
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: Ibb8af426e677e3615b2eb1be4dc2dcdf15d1045b
2025-09-26 15:46:59 +08:00
Zitong Cai
04add29009 arm64: dts: rockchip: vehicle-evb: Fix the issue of left and right shaking in probability display
Change-Id: I759f845221455c2f0f5d227282fe7167fdab75f3
Signed-off-by: Zitong Cai <zitong.cai@rock-chips.com>
2025-09-26 14:33:38 +08:00
Zitong Cai
77ce0f10e6 arm64: dts: rockchip: vehicle-evb: Fix the abnormal operation of dp phy when switching dp
Change-Id: I86e89a26b8b356571d2870f15abbd889485d7fb6
Signed-off-by: Zitong Cai <zitong.cai@rock-chips.com>
2025-09-26 14:33:24 +08:00
Tao Huang
7444be54f4 rtc: rk630: Use devm_rtc_register_device()
According to commit fdcfd85433 ("rtc: rework rtc_register_device() resource management").

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: If37750a01675a5d5e2b9231d1549e70bc349a3e7
2025-09-26 11:10:17 +08:00