Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
bb093a1
change recomputer rk35xx fan speed
ackPeng Apr 22, 2026
595659d
drivers: char: drop "meko: vk2c21 LCD driver for the R58X-PRO"
rpardini May 16, 2026
5019ef4
auxdisplay: add a driver for Vinka VK2C21 Segment LCD Controller
rpardini May 16, 2026
5bb9830
arm64: dts: mekos: drop lcd_vk2c21 reference from boards that don't h…
rpardini May 16, 2026
5cd0e48
arm64: dts: meko-r58x-pro: switch lcd_vk2c21 to new vinka,vk2c21
rpardini May 16, 2026
f6eb0cb
luckfox-lyra-zero-w: Default to onboard wifi antenna, add overlay for…
vidplace7 Apr 6, 2026
9bd271d
ebyte-ecb41-pge: Add spidev overlays (RPi-compatible)
vidplace7 Apr 5, 2026
5466f80
arm64:dts:rockchip:rk3568/rk3588:Add EasePi A2 (RK3568) and EasePi R2…
ifroncy01 May 27, 2026
d637729
arm64: dts: rockchip: rk3576: remove empty rockchip,supported-hw from…
mingzhangqun May 28, 2026
2310b5c
easepi-r2: sync device tree with latest code
jjm2473 May 28, 2026
6475fed
arm64: dts: rockchip: fix adc-keys press-threshold-microvolt for reco…
mingzhangqun May 28, 2026
1db1cfa
media: rockchip: hdmirx: add DT-driven edid-version + set 600M for OP…
smazurov May 28, 2026
60ffebc
arm64: dts: rockchip: add vpll clock parent for DP 4K overlay (#490)
mingzhangqun May 29, 2026
9b27bcd
drm: rockchip: DSI fixes for RK3576 dual-display (#495)
mingzhangqun Jun 1, 2026
5e85ac9
easepi-r2: fix kernel cmdline 'root=' overridden by device tree
jjm2473 May 29, 2026
8ccf5fb
easepi-r2: IR receiver use gpio-ir-receiver driver
jjm2473 May 29, 2026
7e1e514
easepi-a2: IR receiver use gpio-ir-receiver driver
jjm2473 May 29, 2026
7135426
easepi-a2: clean up device tree
jjm2473 May 31, 2026
fa3d777
net: r8169: add device tree based LED configuration for r8125
mingzhangqun Jun 1, 2026
0ea24cc
drm: rockchip: dw-dp: add AUX recovery and EDID cache for USB-C DP Al…
mingzhangqun Jun 1, 2026
d846f6a
arm64: dts: overlay: add radxa display 8hd for rock5t
Ken-Vamrs Jun 4, 2026
ef08190
arm64: dts: overlay: add some radxa devices overlay
Ken-Vamrs Jun 5, 2026
64a8171
arm64: dts: rockchip: yy3588: bind ES8388 codec via es8328 driver (#499)
SuperKali Jun 10, 2026
95e85f6
ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585 (#504)
HeyMeco Jun 14, 2026
e45d4e0
input: gt9xx: add TPC2059 and GT928 vendor touch configs
SuperKali Jul 4, 2026
e911002
arm64: dts: rockchip: yy3588: move hdmirx-det to GPIO1_D5
SuperKali Jul 4, 2026
4ade28c
arm64: dts: rockchip: overlay: youyeetoo-r1: use TPC2059 touch config
SuperKali Jul 4, 2026
ecf96e5
arm64: dts: rockchip: overlay: yy3588: add dsi0/dsi1/edp display over…
SuperKali Jul 4, 2026
5c7219d
arm64: dts: rockchip: overlay: youyeetoo: invert DSI backlight PWM
SuperKali Jul 4, 2026
7a6f183
arm64: dts: rockchip: overlay: yy3588: fix eDP video port and timing
SuperKali Jul 5, 2026
e9dd0ea
arm64: dts: rockchip: overlay: yy3588: note panel requirement in over…
SuperKali Jul 5, 2026
b6e4a92
arm64: dts: rockchip: overlay: yy3588: disable eDP overlay temporarily
SuperKali Jul 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions Documentation/devicetree/bindings/auxdisplay/vinka,vk2c21.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/auxdisplay/vinka,vk2c21.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Vinka VK2C21 Segment LCD Controller

maintainers:
- Ricardo Pardini <ricardo@pardini.net>

description: |
The Vinka VK2C21 (and pin-compatible VK2C21A/VK2C21B) is a memory-mapping
segment LCD controller that communicates over I2C. It can drive up to
128 segments (e.g. 32 SEG × 4 COM in 1/3 bias mode).

Many low-cost SBCs wire this chip to GPIO pins without I2C pull-up
resistors, making the standard i2c-gpio (open-drain) driver unusable.
This driver therefore bit-bangs I2C in push-pull mode directly via GPIO,
requiring no external pull-ups.

properties:
compatible:
const: vinka,vk2c21

sda-gpios:
description: GPIO line used for I2C SDA (data).
maxItems: 1

scl-gpios:
description: GPIO line used for I2C SCL (clock).
maxItems: 1

clock-frequency:
description: Desired I2C clock frequency in Hz.
default: 100000
minimum: 1000
maximum: 400000

required:
- compatible
- sda-gpios
- scl-gpios

additionalProperties: false

examples:
- |
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>

/ {
segment-lcd {
compatible = "vinka,vk2c21";
sda-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
scl-gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
clock-frequency = <100000>;
};
};
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/overlay/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-ebyte-ecb41-pge-spi0-1cs-spidev.dtbo \
rockchip-ebyte-ecb41-pge-spi0-2cs-spidev.dtbo \
rockchip-ebyte-ecb41-pge-spi1-1cs-spidev.dtbo \
rockchip-forlinx-ok3506-s12-spi0-1cs-spidev.dtbo \
rockchip-forlinx-ok3506-s12-spi0-2cs-spidev.dtbo \
rockchip-forlinx-ok3506-s12-spi1-1cs-spidev.dtbo \
Expand All @@ -8,6 +11,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-luckfox-lyra-plus-spi0-1cs-spidev.dtbo \
rockchip-luckfox-lyra-plus-spi0-2cs-spidev.dtbo \
rockchip-luckfox-lyra-ultra-w-spi0-1cs-spidev.dtbo \
rockchip-luckfox-lyra-zero-w-ipex-antenna.dtbo \
rockchip-luckfox-lyra-zero-w-spi0-1cs-spidev.dtbo \
rockchip-luckfox-lyra-zero-w-spi0-2cs-spidev.dtbo \
rockchip-luckfox-lyra-zero-w-spi1-1cs-spidev.dtbo \
Expand Down
21 changes: 21 additions & 0 deletions arch/arm/boot/dts/overlay/README.rockchip-overlays
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ for RK3506:
- disable-ethernet0
- disable-ethernet1

for Ebyte ECB41-PGE:
- spi0-1cs-spidev
- spi0-2cs-spidev
- spi1-1cs-spidev

for Forlinx OK3506-S12:
- spi0-1cs-spidev
- spi0-2cs-spidev
Expand All @@ -28,6 +33,7 @@ for Luckfox Lyra Ultra W:
- spi0-1cs-spidev

for Luckfox Lyra Zero W:
- ipex-antenna
- spi0-1cs-spidev
- spi0-2cs-spidev
- spi1-1cs-spidev
Expand All @@ -41,6 +47,18 @@ Disables `end0` ethernet adapter (`gmac0`, `mdio0`) to save power.
### rk3506-disable-ethernet1
Disables `end1` ethernet adapter (`gmac1`, `mdio1`) to save power.

### ebyte-ecb41-pge-spi0-1cs-spidev
Enables SPI0 spidev on ebyte-ecb41-pge with one chipselect.
Compatible with Raspberry Pi 'spi0-1cs' hats.

### ebyte-ecb41-pge-spi0-2cs-spidev
Enables SPI0 spidev on ebyte-ecb41-pge with two chipselects.
Compatible with Raspberry Pi 'spi0-2cs' hats.

### ebyte-ecb41-pge-spi1-1cs-spidev
Enables SPI1 spidev on ebyte-ecb41-pge with one chipselect.
Compatible with Raspberry Pi 'spi1-1cs' hats.

### forlinx-ok3506-s12-spi0-1cs-spidev
Enables SPI0 spidev on forlinx-ok3506-s12 with one chipselect.
Compatible with Raspberry Pi 'spi0-1cs' hats.
Expand Down Expand Up @@ -73,6 +91,9 @@ Retains pin-compatibility with Luckfox Pico Plus.
Enables SPI0 spidev on luckfox-lyra-ultra-w with one chipselect.
Retains pin-compatibility with Luckfox Pico Ultra.

### luckfox-lyra-zero-w-ipex-antenna
Switches wifi/bluetooth from the onboard antenna to the external IPEX connector.

### luckfox-lyra-zero-w-spi0-1cs-spidev
Enables SPI0 spidev on luckfox-lyra-zero-w with one chipselect.
Compatible with Raspberry Pi 'spi0-1cs' hats.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Enable spidev on SPI0 with RM_IO pinmux at RPi SPI0 physical positions:
* MOSI = RM_IO9 (pin 19), MISO = RM_IO10 (pin 21),
* CLK = RM_IO8 (pin 23), CS0 = RM_IO14 (pin 24)
* Compatible with Raspberry Pi 'spi0-1cs' hats
*/

/dts-v1/;
/plugin/;

/ {
metadata {
title = "Enable SPI0 spidev on ebyte-ecb41-pge";
compatible = "ebyte,ecb41-pge";
category = "spi";
exclusive = "spi0", "RM_IO8", "RM_IO9", "RM_IO10", "RM_IO14";
description = "Enable SPI0 spidev using RM_IO9(MOSI), RM_IO10(MISO), RM_IO8(CLK), RM_IO14(CS0).";
};
};

&spi0 {
status = "okay";
num-cs = <1>;
pinctrl-names = "default";
pinctrl-0 = <&rm_io8_spi0_clk &rm_io10_spi0_miso &rm_io9_spi0_mosi &rm_io14_spi0_csn0>;

spi@0 {
compatible = "rockchip,spidev";
reg = <0>;
spi-max-frequency = <50000000>;
status = "okay";
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Enable spidev on SPI0 with RM_IO pinmux at RPi SPI0 physical positions:
* MOSI = RM_IO9 (pin 19), MISO = RM_IO10 (pin 21),
* CLK = RM_IO8 (pin 23), CS0 = RM_IO14 (pin 24), CS1 = RM_IO7 (pin 26)
* Compatible with Raspberry Pi 'spi0-2cs' hats
*/

/dts-v1/;
/plugin/;

/ {
metadata {
title = "Enable SPI0 spidev on ebyte-ecb41-pge with two chipselects";
compatible = "ebyte,ecb41-pge";
category = "spi";
exclusive = "spi0", "RM_IO7", "RM_IO8", "RM_IO9", "RM_IO10", "RM_IO14";
description = "Enable SPI0 spidev using RM_IO9(MOSI), RM_IO10(MISO), RM_IO8(CLK), RM_IO14(CS0), RM_IO7(CS1).";
};
};

&spi0 {
status = "okay";
num-cs = <2>;
pinctrl-names = "default";
pinctrl-0 = <&rm_io8_spi0_clk &rm_io10_spi0_miso &rm_io9_spi0_mosi &rm_io14_spi0_csn0 &rm_io7_spi0_csn1>;

spi@0 {
compatible = "rockchip,spidev";
reg = <0>;
spi-max-frequency = <50000000>;
status = "okay";
};

spi@1 {
compatible = "rockchip,spidev";
reg = <1>;
spi-max-frequency = <50000000>;
status = "okay";
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Enable spidev on SPI1 with RM_IO pinmux at RPi SPI1 physical positions:
* MOSI = RM_IO0 (pin 38), MISO = RM_IO11 (pin 35),
* CLK = RM_IO1 (pin 40), CS0 = RM_IO12 (pin 12)
* Compatible with Raspberry Pi 'spi1-1cs' hats
*/

/dts-v1/;
/plugin/;

/ {
metadata {
title = "Enable SPI1 spidev on ebyte-ecb41-pge";
compatible = "ebyte,ecb41-pge";
category = "spi";
exclusive = "spi1", "RM_IO0", "RM_IO1", "RM_IO11", "RM_IO12";
description = "Enable SPI1 spidev using RM_IO0(MOSI), RM_IO11(MISO), RM_IO1(CLK), RM_IO12(CS0).";
};
};

&spi1 {
status = "okay";
num-cs = <1>;
pinctrl-names = "default";
pinctrl-0 = <&rm_io1_spi1_clk &rm_io11_spi1_miso &rm_io0_spi1_mosi &rm_io12_spi1_csn0>;

spi@0 {
compatible = "rockchip,spidev";
reg = <0>;
spi-max-frequency = <50000000>;
status = "okay";
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Switch wifi/bluetooth antenna from onboard to external IPEX connector
* on Luckfox Lyra Zero W.
*/

/dts-v1/;
/plugin/;

/ {
metadata {
title = "Enable IPEX antenna on luckfox-lyra-zero-w";
compatible = "rockchip,rk3506b-lyra-zero";
category = "misc";
description = "Switch wifi/bluetooth from onboard antenna to external IPEX connector (GPIO1_C7 low).";
};
};

&gpio1 {
ant-sel-hog {
output-low;
};
};
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/rk3506b-luckfox-lyra-zero-w-sd.dts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,21 @@
status = "okay";
};

/**********gpio**********/
&gpio1 {
/*
* Antenna selection GPIO
* output-high = Onboard antenna selected
* output-low = External (ipex) antenna selected
*/
ant-sel-hog {
gpio-hog;
gpios = <RK_PC7 GPIO_ACTIVE_HIGH>;
output-high;
line-name = "ant-sel";
};
};

/**********pinctrl**********/
&pinctrl {
lcd {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/rk3506g-ebyte-ecb41-pge.dts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
};

&cma {
size = <0x400000>;
size = <0x800000>;
};

&cpu0 {
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb6-ddr3-v10-rk630-bt656-to-cvbs.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb7-ddr4-v10.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb8-lp4-v10.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb8-lp4-v10-linux.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-easepi-a2.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-hinlink-h66k.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-hinlink-h68k.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-hinlink-hnas.dtb
Expand Down Expand Up @@ -379,6 +380,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-evb7-v11-rk628-hdmi2csi.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-aim7-io.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-sige7.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-armsom-w3.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-easepi-r2.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-cyber-aib.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-firefly-itx-3588j.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-fxblox-rk1.dtb
Expand Down
37 changes: 37 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,52 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rock-5a-sata.dtbo \
rock-5b-hdmi1-8k.dtbo \
rock-5b-hdmi2-8k.dtbo \
rock-5b-okdo-5mp-camera.dtbo \
rock-5b-pd-max-voltage-12v.dtbo \
rock-5b-radxa-display-10hd.dtbo \
rock-5b-radxa-display-8hd.dtbo \
rock-5b-radxa-display-10fhd.dtbo \
rock-5b-rpi-camera-v1_3.dtbo \
rock-5b-rpi-camera-v2.dtbo \
rock-5b-radxa-camera-13m-214.dtbo \
rock-5b-radxa-camera-4k.dtbo \
rock-5b-radxa-camera-8m-219.dtbo \
rock-5b-sata.dtbo \
rock-5b-plus-cam0-okdo-5mp-camera.dtbo \
rock-5b-plus-cam0-rpi-camera-v1p3.dtbo \
rock-5b-plus-cam0-rpi-camera-v2.dtbo \
rock-5b-plus-cam0-radxa-camera-13m-214.dtbo \
rock-5b-plus-cam0-radxa-camera-4k.dtbo \
rock-5b-plus-cam0-radxa-camera-8m-219.dtbo \
rock-5b-plus-cam1-okdo-5mp-camera.dtbo \
rock-5b-plus-cam1-radxa-camera-13m-214.dtbo \
rock-5b-plus-cam1-radxa-camera-4k.dtbo \
rock-5b-plus-cam1-radxa-camera-8m-219.dtbo \
rock-5b-plus-cam1-rpi-camera-v1p3.dtbo \
rock-5b-plus-cam1-rpi-camera-v2.dtbo \
rock-5b-plus-radxa-display-8hd.dtbo \
rock-5b-plus-radxa-display-10fhd.dtbo \
rock-5t-cam0-okdo-5mp-camera.dtbo \
rock-5t-cam0-rpi-camera-v1p3.dtbo \
rock-5t-cam0-rpi-camera-v2.dtbo \
rock-5t-cam0-radxa-camera-13m-214.dtbo \
rock-5t-cam0-radxa-camera-4k.dtbo \
rock-5t-cam0-radxa-camera-8m-219.dtbo \
rock-5t-cam1-okdo-5mp-camera.dtbo \
rock-5t-cam1-rpi-camera-v1p3.dtbo \
rock-5t-cam1-rpi-camera-v2.dtbo \
rock-5t-cam1-radxa-camera-13m-214.dtbo \
rock-5t-cam1-radxa-camera-4k.dtbo \
rock-5t-cam1-radxa-camera-8m-219.dtbo \
rock-5t-radxa-display-8hd.dtbo \
rock-5t-radxa-display-10fhd.dtbo \
rock-5t-industrial-cam1-okdo-5mp-camera.dtbo \
rock-5t-industrial-cam1-rpi-camera-v1p3.dtbo \
rock-5t-industrial-cam1-rpi-camera-v2.dtbo \
rock-5t-industrial-cam1-radxa-camera-4k.dtbo \
rock-5t-industrial-cam1-radxa-camera-8m-219.dtbo \
rock-5t-industrial-radxa-display-10fhd.dtbo \
rock-5t-industrial-radxa-display-8hd.dtbo \
rock-5-itx-radxa-camera-4k-on-cam0.dtbo \
rock-5-itx-radxa-camera-4k-on-cam1.dtbo \
rock-5-itx-radxa-display-8hd-on-lcd0.dtbo \
Expand Down Expand Up @@ -89,7 +124,9 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
youyeetoo-r1-display-dsi1.dtbo \
youyeetoo-yy3588-camera0-gc8034.dtbo \
youyeetoo-yy3588-camera1-gc8034.dtbo \
youyeetoo-yy3588-display-dsi0.dtbo \
youyeetoo-yy3588-display-dsi1.dtbo \
youyeetoo-yy3588-display-edp.dtbo \
khadas-edge2-display-dsi0.dtbo \
khadas-edge2-display-dsi1.dtbo \
khadas-edge2-cam1.dtbo \
Expand Down
Loading