Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp192586rdb; Thu, 19 Oct 2023 01:11:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGzjogEGt4R82xpTITbHJt4jyZFV2ayNS1wMJQYi+6h/DTAlrPi23t5e+K/wL2YBuqirhSw X-Received: by 2002:a05:6a21:47cb:b0:162:650c:76b8 with SMTP id as11-20020a056a2147cb00b00162650c76b8mr1347358pzc.45.1697703118360; Thu, 19 Oct 2023 01:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697703118; cv=none; d=google.com; s=arc-20160816; b=L3ts+qPYYgAuboGsTNHvfU7IiEA6ClRYsqagtwW/mBBVdbhA0aX1619nsPQHIti2GE enxraq+t+pvpucPsxOIDIk8astGEIIxnNyEU0Xizr+hbx6oFctdSVXy/4ggtMi4ETJAQ LFyR1aCPaq0hzAbhh4UquXB2L2/PYRvElTGndqzgjOpsPVvksxc53yME09j47wdHjWGU dixbxBrQgFasdpr/hqzuw3YJ0LQr0vB1yARijSgf3FB94D8tQrqKLDB5H53CNhobW4No zq6kFXNuq9+wrP9zkG8/KpqmiXuf3XtGVbwRYaoh93gJ1+85r2cMZ38lB7kcAmrF6Dmm 2OSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bKqEznIgo3TbDh2qinpVBBSA7EbWv5su2euLmdpl8HQ=; fh=kL0pCsOkoJF97UGCuENy4X8MkS7QtXKReYB5DpHh7M4=; b=EvpUfxn+8r6zt1cpTiu72dSMFKSlxqK9ErLt0YoJLF/oRMIgJmjhbHrAyCWGSqLuVy /CzwKHmeNnhOX8h1sE3qt22r13oYgDvvaSBtK7KR93YbEucg1kUXopXxm2r2cJdDBJYo tp0TLSqD87zrnwt9Ru+2qcqhazSgVClTa989gohL0qSXJVH8+r42VoCIjwMx29A6j1o5 QZoU/0KMXiEdCf4lX8ffHiF9iyd4WmXjaT7pbQ96w6RIt2Mw3ZCA5tn64Psp96wejDWA qAb9R3OHIl72+eeS2d+MEW3+zA18YQPZ8pJj950UmZ8gWB9xHBr3rlsKul5JTEPwCMYt 9Jnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oqO8lOm7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id u5-20020a17090282c500b001c41515c4c7si1687056plz.115.2023.10.19.01.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 01:11:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oqO8lOm7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 022228116B0C; Thu, 19 Oct 2023 01:11:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232926AbjJSILs (ORCPT + 99 others); Thu, 19 Oct 2023 04:11:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232850AbjJSILr (ORCPT ); Thu, 19 Oct 2023 04:11:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9645C132 for ; Thu, 19 Oct 2023 01:11:45 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74D7CC433C8; Thu, 19 Oct 2023 08:11:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697703105; bh=ISQsf0Hn5tal6+77OQ0DmTsebpQ1g3nMnle8JLPADPA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oqO8lOm74cmnzq+OWrD9AMGREsPV+8MBVKSTfr1B2ccFnxaCmZ5wXZdC11EFXcvhO DkEiQDADKHYXCi/xXYYwFiXsmTCnJT7kE+3iSwSk6hnelMY26G7SKDtvdnOPtsZr/M fwVxJCkykP6Pt93qUvm6bbV5pd7IkeeCFYukdfnUmYyRghPrBdP9Oi5oiXBfyWQVEJ Ey80Zi61usSxAAOq8PtCuS/o5Fr5D/AqYJd3JESRBB1PQzXW7l7e9lQSfrG5C9zueb WrmgWyZqi2lc39IFelf4UwzIlGu5fzF+55HeCI1Sl4yL73AfiFAQ24Av32Ep9xvmIg 5+8K7yo3cYBUQ== Date: Thu, 19 Oct 2023 10:11:40 +0200 From: Maxime Ripard To: Sui Jingfeng Cc: Icenowy Zheng , Thomas Zimmermann , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH] drm/loongson: Add support for the DC in LS2K1000 SoC Message-ID: <76nxdwa6m7qyqvala4akc2rptuylhrqyoz2x5rjua4hppoxk7x@wwn37gwuvrms> References: <20231011162638.819080-1-suijingfeng@loongson.cn> <26565c5e13e72c64214a7f67ab6f2d9d876fa4bd.camel@icenowy.me> <037ec619-c170-4ca6-897e-04fccd58c62a@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <037ec619-c170-4ca6-897e-04fccd58c62a@loongson.cn> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 19 Oct 2023 01:11:56 -0700 (PDT) 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. Maxime