[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <79f30dcb-48f5-e8b4-7cdd-770dd30d4896@189.cn>
Date: Mon, 14 Feb 2022 18:07:26 +0800
From: Sui Jingfeng <15330273260@....cn>
To: Jiaxun Yang <jiaxun.yang@...goat.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Roland Scheidegger <sroland@...are.com>,
Zack Rusin <zackr@...are.com>,
Christian Gmeiner <christian.gmeiner@...il.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Dan Carpenter <dan.carpenter@...cle.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Andrey Zhizhikin <andrey.zhizhikin@...ca-geosystems.com>,
Sam Ravnborg <sam@...nborg.org>,
"David S . Miller" <davem@...emloft.net>,
Lucas Stach <l.stach@...gutronix.de>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Ilia Mirkin <imirkin@...m.mit.edu>,
Qing Zhang <zhangqing@...ngson.cn>, Li Yi <liyi@...ngson.cn>,
suijingfeng <suijingfeng@...ngson.cn>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH v7 0/7] drm/lsdc: add drm driver for loongson display
controller
On 2022/2/14 13:54, Jiaxun Yang wrote:
>
>
> 在 2022/2/13 14:16, Sui Jingfeng 写道:
>> There is a display controller in loongson's LS2K1000 SoC and LS7A1000
>> bridge chip, the DC is a PCI device in those chips. It has two display
>> pipes but with only one hardware cursor. Each way has a DVO interface
>> which provide RGB888 signals, vertical & horizontal synchronisations,
>> data enable and the pixel clock. Each CRTC is able to scanout from
>> 1920x1080 resolution at 60Hz. The maxmium resolution is 2048x2048
>> according to the hardware spec.
>
> Hi Jiangfeng,
>
> I see you added dts for those boards, but I didn't see you wire up them
> in Makefile and code? How can you use them in present systems?
>
> I guess to make those dts work for general all-in-one kernel, what you
> need to do is, for example Lemota A1901:
>
> 1. Add __dtb_lemote_a1901 to builtin_dtbs.h
>
> 2. Wire up with something like:
>
> if (!strcmp("LEMOTE-/LS3A4000/-7A1000-1w-V01-pc", eboard->name)
> loongson_fdt_blob = __dtb_lemote_a1901
>
> In arch/mips/loongson64/env.c.
>
> Thanks.
> - Jiaxun
For most board, this driver is ready to be use out of box.
Device tree is for supplement purpose.
Powered by blists - more mailing lists