public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Sui Jingfeng <15330273260@189.cn>
To: Jiaxun Yang <jiaxun.yang@flygoat.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Roland Scheidegger <sroland@vmware.com>,
	Zack Rusin <zackr@vmware.com>,
	Christian Gmeiner <christian.gmeiner@gmail.com>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	Rob Herring <robh+dt@kernel.org>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>,
	Sam Ravnborg <sam@ravnborg.org>,
	"David S . Miller" <davem@davemloft.net>,
	Lucas Stach <l.stach@pengutronix.de>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Ilia Mirkin <imirkin@alum.mit.edu>,
	Qing Zhang <zhangqing@loongson.cn>, Li Yi <liyi@loongson.cn>,
	suijingfeng <suijingfeng@loongson.cn>
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v7 0/7] drm/lsdc: add drm driver for loongson display controller
Date: Mon, 14 Feb 2022 18:07:26 +0800	[thread overview]
Message-ID: <79f30dcb-48f5-e8b4-7cdd-770dd30d4896@189.cn> (raw)
In-Reply-To: <380d93a4-6f36-00d2-6cd3-e4428534cbb1@flygoat.com>


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.


      reply	other threads:[~2022-02-14 10:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-13 14:16 [PATCH v7 0/7] drm/lsdc: add drm driver for loongson display controller Sui Jingfeng
2022-02-13 14:16 ` [PATCH v7 1/7] " Sui Jingfeng
2022-02-14 10:10   ` Maxime Ripard
2022-02-14 10:50     ` Sui Jingfeng
2022-02-16 14:22       ` Maxime Ripard
2022-02-15  3:28     ` Sui Jingfeng
2022-02-13 14:16 ` [PATCH v7 2/7] MIPS: Loongson: ls7a-pch.dtsi: add has_dedicated_vram property Sui Jingfeng
2022-02-13 14:16 ` [PATCH v7 3/7] MIPS: Loongson: introduce dts for ls3A4000 evaluation board Sui Jingfeng
2022-02-13 14:16 ` [PATCH v7 4/7] MIPS: Loongson: introduce dts for lemote A1901 3a4000 motherboard Sui Jingfeng
2022-02-13 14:16 ` [PATCH v7 5/7] MIPS: Loongson: ls2k1000: add the display controller device node Sui Jingfeng
2022-02-13 14:16 ` [PATCH v7 6/7] MIPS: Loongson: Add dts for ls2k1000 pai evaluation board Sui Jingfeng
2022-02-13 14:16 ` [PATCH v7 7/7] MAINTAINERS: add maintainers for DRM LSDC driver Sui Jingfeng
2022-02-13 23:12   ` Joe Perches
2022-02-14  1:18     ` Sui Jingfeng
2022-02-14  1:38     ` Sui Jingfeng
2022-02-14  5:54 ` [PATCH v7 0/7] drm/lsdc: add drm driver for loongson display controller Jiaxun Yang
2022-02-14 10:07   ` Sui Jingfeng [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=79f30dcb-48f5-e8b4-7cdd-770dd30d4896@189.cn \
    --to=15330273260@189.cn \
    --cc=airlied@linux.ie \
    --cc=andrey.zhizhikin@leica-geosystems.com \
    --cc=christian.gmeiner@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=daniel@ffwll.ch \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=imirkin@alum.mit.edu \
    --cc=jiaxun.yang@flygoat.com \
    --cc=krzk@kernel.org \
    --cc=l.stach@pengutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=liyi@loongson.cn \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sam@ravnborg.org \
    --cc=sroland@vmware.com \
    --cc=suijingfeng@loongson.cn \
    --cc=tsbogend@alpha.franken.de \
    --cc=tzimmermann@suse.de \
    --cc=zackr@vmware.com \
    --cc=zhangqing@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox