Re: [PATCH] drm/loongson: Add support for the DC in LS2K1000 SoC

From: Sui Jingfeng
Date: Thu Oct 19 2023 - 07:14:36 EST


Hi,


On 2023/10/19 16:11, Maxime Ripard wrote:
On Fri, Oct 13, 2023 at 06:28:01PM +0800, Sui Jingfeng wrote:
Hi,


On 2023/10/13 16:22, Icenowy Zheng wrote:
在 2023-10-12星期四的 00:26 +0800,Sui Jingfeng写道:
LS2K1000 is a low end SoC (two core 1.0gHz), it don't has dedicated
VRAM.
It requires the framebuffer to be phisically continguous to scanout.
The
display controller in LS2K1000 don't has built-in GPIO hardware, the
structure (register bit field) of its pixel, DC, GPU, DDR PLL are
also
defferent from other model. But for the display controller itself,
Most of
hardware features of it are same with ls7a1000.

Below is a simple dts for it.
Why don't you write a proper, YAML-formatted binding?

This patch use only one DT property, that is the "memory-region = <&display_reserved>;".
But the memory-region property is a common property, I means that everyone know how to
use this property. I'm not sure the if YAML documentation is strictly required now.
AFAIK it is, and even if it's not, please do it.

OK, thanks a lot for the feedback.
I will try to solve this problem at the next version.
I'm preparing the next version.


Maxime