mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 14:13:39 +00:00

The #address-cells and #size-cells properties are not useful on the DSI controller node; they are only useful/required on ports and panel(s). So remove them from the controller node and add them where actually needed on the various px30 based boards, which includes rk3326. This fixes the following DTB validation warnings: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" property Signed-off-by: Diederik de Haas <didi.debian@cknow.org> Link: https://lore.kernel.org/r/20250709132323.128757-2-didi.debian@cknow.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
42 lines
798 B
Plaintext
42 lines
798 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2025 Cherry Embedded Solutions GmbH
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "px30-cobra.dtsi"
|
|
|
|
/ {
|
|
model = "Theobroma Systems Cobra with LTK050H3146W Display";
|
|
compatible = "tsd,px30-cobra-ltk050h3146w", "tsd,px30-cobra", "rockchip,px30";
|
|
};
|
|
|
|
&dsi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
panel@0 {
|
|
compatible = "leadtek,ltk050h3146w";
|
|
reg = <0>;
|
|
backlight = <&backlight>;
|
|
iovcc-supply = <&vcc_1v8>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&dsp_rst>;
|
|
reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
|
|
vci-supply = <&vcc_2v8>;
|
|
|
|
port {
|
|
mipi_in_panel: endpoint {
|
|
remote-endpoint = <&mipi_out_panel>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&dsi_out {
|
|
mipi_out_panel: endpoint {
|
|
remote-endpoint = <&mipi_in_panel>;
|
|
};
|
|
};
|