Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: soc: rockchip: Fix compatibles for RK3588 VO{0,1}_GRF

According to RK3588 TRM, VO0_GRF and VO1_GRF have a similar layout, but
definitely not an identical one, therefore sharing the compatible is not
really justified.

Since currently there is no user of this, hence no ABI break, let's fix
it by providing dedicated compatibles while deprecating the old one.

Reported-by: Conor Dooley <conor@kernel.org>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240828-rk3588-vo-grf-compat-v2-1-4db2f791593f@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

authored by

Cristian Ciocaltea and committed by
Heiko Stuebner
11746c33 741f5ba7

+9 -1
+9 -1
Documentation/devicetree/bindings/soc/rockchip/grf.yaml
··· 31 31 - rockchip,rk3588-pcie3-pipe-grf 32 32 - rockchip,rk3588-usb-grf 33 33 - rockchip,rk3588-usbdpphy-grf 34 - - rockchip,rk3588-vo-grf 34 + - rockchip,rk3588-vo0-grf 35 + - rockchip,rk3588-vo1-grf 35 36 - rockchip,rk3588-vop-grf 36 37 - rockchip,rv1108-usbgrf 37 38 - const: syscon 39 + - items: 40 + - const: rockchip,rk3588-vo-grf 41 + - const: syscon 42 + deprecated: true 43 + description: Use rockchip,rk3588-vo{0,1}-grf instead. 38 44 - items: 39 45 - enum: 40 46 - rockchip,px30-grf ··· 268 262 contains: 269 263 enum: 270 264 - rockchip,rk3588-vo-grf 265 + - rockchip,rk3588-vo0-grf 266 + - rockchip,rk3588-vo1-grf 271 267 272 268 then: 273 269 required: