From e504d9cffbafbd4dd267ab9a73bf1ee58d89e8e1 Mon Sep 17 00:00:00 2001 From: Johan Jonker Date: Tue, 9 Jun 2026 22:22:58 +0200 Subject: rockchip: pinctrl: replace RK_FUNC_n defines The use of RK_FUNC_n defines is deprecated in the upstream rockchip.h file. Replace all them by the function number. Signed-off-by: Johan Jonker Reviewed-by: Quentin Schulz Link: https://patch.msgid.link/51cb65e5-1702-467f-b961-c9cdd029056f@gmail.com Signed-off-by: Quentin Schulz --- doc/develop/driver-model/serial-howto.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/develop/driver-model/serial-howto.rst b/doc/develop/driver-model/serial-howto.rst index 17b53e3cabf..8ca9a016f9a 100644 --- a/doc/develop/driver-model/serial-howto.rst +++ b/doc/develop/driver-model/serial-howto.rst @@ -97,8 +97,8 @@ Here are some things you might need to consider: uart2: uart2 { uart2_xfer: uart2-xfer { - rockchip,pins = <1 RK_PC2 RK_FUNC_2 &pcfg_pull_up>, - <1 RK_PC3 RK_FUNC_2 &pcfg_pull_none>; + rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>, + <1 RK_PC3 2 &pcfg_pull_none>; }; ... }; -- cgit v1.3.1