mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +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
812 B
Plaintext
42 lines
812 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2025 Cherry Embedded Solutions GmbH
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "px30-pp1516.dtsi"
|
|
|
|
/ {
|
|
model = "Theobroma Systems PP-1516 with LTK050H3146W-A2 Display";
|
|
compatible = "tsd,px30-pp1516-ltk050h3146w-a2", "tsd,px30-pp1516", "rockchip,px30";
|
|
};
|
|
|
|
&dsi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
panel@0 {
|
|
compatible = "leadtek,ltk050h3146w-a2";
|
|
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>;
|
|
};
|
|
};
|