Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp352845rwd; Wed, 7 Jun 2023 00:25:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4mNnXUGP1jebuKq0qniXMf0rHCSlSQfHhno2pxxay/D3DiZ3V+8W8NdiRxt4iG069HzHnE X-Received: by 2002:a05:6214:d4d:b0:628:731d:7abf with SMTP id 13-20020a0562140d4d00b00628731d7abfmr2484820qvr.42.1686122750216; Wed, 07 Jun 2023 00:25:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686122750; cv=none; d=google.com; s=arc-20160816; b=leGmNBHbzPqjuGBtOlPrhzxOHCz7iL2QvmmsMOA/AkS8erDsaZ6FkQk2DEVo1OxPt1 Cu+wY5dbMTkUMzj96x2vp/gMiPoPO5rBHRBYihq/DIhXFKmcVY7d0bkL33J9hDx8Fmy6 s+ep7y5qqfs+6UOHnnjLRqqFEosfh8HHiU3FuHuVpdJoRICI3S1frdOJk+zOyHy/mZvm 3z7nXShJ5mOtlcK9ECbv4kZM8HzYSII82EhjB4QZ/RcNe9uzxqq61JLzKxjyY9B3wGqq A9QAyGAKnaPecIcM+y1W415xUAgC5QH7wuDKrRtbLOcZ1qcx9aum4ITVdUSPSB/Dx8nE EZrQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XN97lQFRm5O9fNuVwu9NKPLqe5UOYDrLmKIVxQJqgzI=; b=zDxlALpVfOllPeMir5yxUOWsr3V5PTck2ywa389m71dix/YBEVbit6+h7TFyfAd2vw F7SBu89fsfNQI/Xk0bmIYIsBIrNhdxJR8VKeefmRtw9GIzLqJhoOVnkWpQ7h9OOzm/vA jNyhUfzx7XXClgOXQR7uMzu11cbKjum5tcxPdEqYpNKqBwj871L1fo8hZWv7M4cVxxwP ENbU7nvGqPNhl0KIY7xyVuVnNGBDOAtajaIeOmpL2k48UHHQnXNmiJ5WUi9LUGguLN+o D6CT+0E8vwWa+jkMo6n9hXYO7+o0J336HdjCegf5oYx+BnhrfJZNCYTzYWPWVCEMddUr h+lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bQg+1HP7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020aa79dc5000000b0064f7eb606f4si8319593pfq.369.2023.06.07.00.25.36; Wed, 07 Jun 2023 00:25:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bQg+1HP7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237353AbjFGGlK (ORCPT + 99 others); Wed, 7 Jun 2023 02:41:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233989AbjFGGlJ (ORCPT ); Wed, 7 Jun 2023 02:41:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1469AAA; Tue, 6 Jun 2023 23:41:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A55F063AF8; Wed, 7 Jun 2023 06:41:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90074C433EF; Wed, 7 Jun 2023 06:41:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686120067; bh=Px4yR+6OsZ1b/yH6ZdWEW0dyGLZ2w09Hzl1kzNrtJw0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bQg+1HP7Qdi4iQUKM9u6T9UtZIm5jIp8wQ9ZmIp5NRyJ86hGU+vePDRhiuSAYNRm6 Jqk3k+DVuCc5FGFzNbK5Rn2ivpsN+lXHm6xghGiAaTBw+vXoIb8b+rIQrhXf8LZe1D FzfQShhS4fXXIzN2QaQKrcs2vOf4o+QNrU1ke91Petu2OhppYwnsN47DUoVLk+GuO1 YiT05Z7VfeTyJguCpkfDhKUfEdcHdRCHcQ2CZ1BEHDJysLT+AcRemIMpF/WoZkbiEj ITOzCH9XmQGcZJTlesoEmjljCT20DtVddq8SEALOmI5RK4DGy2iRhf7brapBRnVvTY SRomxqX/O+acQ== Date: Wed, 7 Jun 2023 08:41:04 +0200 From: Maxime Ripard To: Conor Dooley Cc: Heiko =?utf-8?Q?St=C3=BCbner?= , Keith Zhao , Shengyu Qu , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Paul Walmsley , Palmer Dabbelt , Albert Ou , Maarten Lankhorst , Thomas Zimmermann , Philipp Zabel , Sumit Semwal , christian.koenig@amd.com, Bjorn Andersson , Shawn Guo , Jagan Teki , Chris Morgan , Jack Zhu , Shengyang Chen , Changhuang Liang Subject: Re: [PATCH 1/9] dt-bindings: display: Add yamls for JH7110 display subsystem Message-ID: References: <20230602074043.33872-1-keith.zhao@starfivetech.com> <20230602-uncommon-rejoicing-e73c0c475f9f@spud> <1991848.PYKUYFuaPT@diego> <20230606-geometry-blurb-1f0f07d4bf6a@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fpldas4cn62wqe46" Content-Disposition: inline In-Reply-To: <20230606-geometry-blurb-1f0f07d4bf6a@spud> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fpldas4cn62wqe46 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 06, 2023 at 11:37:53PM +0100, Conor Dooley wrote: > On Wed, Jun 07, 2023 at 12:22:33AM +0200, Heiko St=FCbner wrote: > > Am Dienstag, 6. Juni 2023, 20:41:17 CEST schrieb Shengyu Qu: > > > > On Fri, Jun 02, 2023 at 03:40:35PM +0800, Keith Zhao wrote: > > > >> Add bindings for JH7110 display subsystem which > > > >> has a display controller verisilicon dc8200 > > > >> and an HDMI interface. >=20 > > > >> +description: > > > >> + The StarFive SoC uses the HDMI signal transmiter based on innos= ilicon IP > > > > Is innosilicon the same thing as verisilicon? Also > > > > s/transmiter/transmitter/, both here and in the title. > > >=20 > > > I think that is not the same, I remember Rockchip has used a HDMI=20 > > > transmitter from > > >=20 > > > Innosilicon, and there is a existing driver for that in mainline. > >=20 > > Yep, I think Innosilicon is the company you turn to when you want to sa= ve > > a bit of money ;-) . In the bigger SoCs Rockchip most of the time uses > > Designware hdmi blocks and looking at the history only the rk3036 ever > > used an Innosilicon block. > >=20 > > Looking at the history, 2016 really was a long time ago :-D. > >=20 > > > So Keith, if that's true, I think it is better to seperate the HDMI= =20 > > > stuff and reuse existing driver. > >=20 > > I'm not so sure about that - at least from a cursory glance :-) . > >=20 > > The registers do look slightly different and I don't know how much > > the IP changed between the rk3036-version and the jh7110 version. > >=20 > > At the very least, I know my rk3036 board isn't booting right now, so > > I can't really provide help for generalizing the rockchip-driver. > >=20 > > At the very least both the binding and driver could drop the "starfive-= hdmi" > > and actually use the Innosilicon in the naming somewhere, so that it's > > clear for future developers :-) >=20 > Seeing "based on" always makes me a little bit nervous to be honest when > it comes to using a compatible from the IP. Is it the IP? What version > is it? etc. Perhaps "starfive,jh7110-hdmi" & falling back to some sort > of "innosilicon,hdmi" would be more future/IP-silliness proof. > Driver can always be generic & bind against "innosilicon,hdmi" until > that becomes impossible. Given that Neil was saying that there's at least two generations/revisions/models of an HDMI controller from Innosilicon, I'm not sure that compatible is enough to reach that goal anyway. Maxime --fpldas4cn62wqe46 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZIAmgAAKCRDj7w1vZxhR xaQ+AQDViFCjrmBh/FOmfkZnsbFEZqUbyPu3G+ff5Kfs9al3LgEA4TGU5Z1tubCB 079K0fi4BmqB2ZgKk65Uxw0vctIlIAE= =TcBS -----END PGP SIGNATURE----- --fpldas4cn62wqe46--