Skip to content

rock rk3576 support - #645

Open
skljfi wants to merge 6 commits into
radxa:linux-6.12-stan-rkr1.1from
skljfi:linux-6.12-stan-rkr1.1-l
Open

skljfi wants to merge 6 commits into
radxa:linux-6.12-stan-rkr1.1from
skljfi:linux-6.12-stan-rkr1.1-l

Conversation

@skljfi

@skljfi skljfi commented Nov 19, 2026

Copy link
Copy Markdown

No description provided.

Florin Leotescu added 2 commits November 19, 2026 15:50
Introduce OF support for Microchip emc2305 pwm fan controller.

Signed-off-by: Florin Leotescu <florin.leotescu@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250321143308.4008623-3-florin.leotescu@oss.nxp.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Prepare the emc2305 driver to use configuration from Device Tree nodes.
Switch to devm_thermal_of_cooling_device_register to simplify the
cleanup procedure, allowing the removal of emc2305_unset_tz and
emc2305_remove, which are no longer needed.

Signed-off-by: Florin Leotescu <florin.leotescu@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250321143308.4008623-4-florin.leotescu@oss.nxp.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
@skljfi
skljfi marked this pull request as draft November 19, 2026 08:25
@skljfi
skljfi marked this pull request as ready for review November 20, 2026 10:23
@skljfi
skljfi force-pushed the linux-6.12-stan-rkr1.1-l branch from 330bcd4 to 75eecd3 Compare November 23, 2026 03:39
compatible = "regulator-fixed";
regulator-name = "vcc12v_dcin";
regulator-always-on;
regulator-boot-on;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regulator-boot-on一般不需要

regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-low;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
enable-active-low;

默认就是active low,所以这个flag不存在

status = "okay";
compatible = "rockchip,hdmi";
rockchip,mclk-fs = <512>;
rockchip,card-name = "rockchip-dp0";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个card名对应的alsa配置在rockchip-alsa-config里面有么?没有的话可能要加到我们radxa-alsa-config里面

rockchip,jack-det;
};

vcc_ufs_s0: vcc-ufs-s0 {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

电源配置都放一起吧,最上面

Comment on lines +298 to +299
reg = <0>;
usbc0_role_sw: endpoint@0 {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

缩进层级不对

Comment on lines +313 to +316
sink-pdos =
<PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>;
source-pdos =
<PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里关于Type-C的输入(5V1A)明显低了吧,输出(5V3A)要确认原理图供电开关限流是否有这么高,我们一般限流都挺保守的

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

输入是参考之前写的,输出 按原理图,是 3A

};
};

eeprom: at24c16@50 {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RadxaStephen 一般我记得我们eeprom系统内是只读吧?看看之前是怎么弄的,同时还能兼容产测烧录时手动拉对应信号让其可写


&rkvenc1_mmu {
status = "okay";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Signed-off-by: Peng Liu <liupeng@radxa.com>
Signed-off-by: Peng Liu <liupeng@radxa.com>
Force a full modeset after resume and FRL reconnect to retrain the
HDMI link.

Signed-off-by: Peng Liu <liupeng@radxa.com>
Signed-off-by: Peng Liu <liupeng@radxa.com>
@skljfi
skljfi force-pushed the linux-6.12-stan-rkr1.1-l branch from 75eecd3 to 1ee7075 Compare December 4, 2026 11:50
@skljfi
skljfi requested a review from RadxaYuntian December 4, 2026 11:50
@skljfi
skljfi marked this pull request as draft December 4, 2026 11:53
@skljfi
skljfi marked this pull request as ready for review December 4, 2026 12:08
@skljfi skljfi changed the title support cm4 rock rk3576 support Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants