Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp431552rwd; Wed, 7 Jun 2023 01:49:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4lV8rZeACJSUAVrr6wUhaDoRo62kY54jQTCD8T33iB4gH5m3iqyJSXDyXsqo5zFk3BsBKk X-Received: by 2002:a05:6830:18d6:b0:6af:9e5b:54c1 with SMTP id v22-20020a05683018d600b006af9e5b54c1mr4644170ote.34.1686127782244; Wed, 07 Jun 2023 01:49:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686127782; cv=none; d=google.com; s=arc-20160816; b=JG8KZdR3Bkw0XxMw1Wb+ZyKxsXNfZpobT/3RBcXtPHjkgIul/hmBg7Tps4QfcIHxPd zLYOArPMV4zBeVNQwzOfJglhAoVk+gS9jxe7+qvmQu0o4L9Xp9OKfsEgjS8BcJz3v2Li 6NzD6ZGZ0MbYiDxk3c28y7wCXmEIeh8QD6Bn2slNRQ5Iku37bkXV+VFZjvN15s+eND13 c153eyCbjV4MYJkUjSdzuLDSWqNtNS7J3+LjQ48PW9dbGyRtJaMqz6cUEEyBJSxHmp0a IlQhfUa0jRqWBQyZurYl6WhDYbrANxr6nLe7UzLw39MQWhv4fEuvGG2kLI3qaYQqT5jh p7Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=PbFRKQJ+vlsbWyrS8+zi10a3fZLGaG+CiHhwYM5ISj8=; b=J1zSrpGojirSUHUl/ydws4/IzCS5QFx6QVRAKVivqCYGygTV6X1/EMBNSILRySOGHN hl2vXLqejgJuqER0swadQpF3bB72lWPSI3yqUHkObtxcMZV597sQ582QW2aUnc4CAcLr v7GusE5tqed96KUer6ASzFYRIVofMsbb5au6AYzsvh4yPATD9q5/TkPdbu+2G4MFQbOZ aaaYEtaNVad1/9V1TMxl9wi5hNEpHuxgDU4gujaE6DF0eELX76nOMPw88FIdCGKr834a v0d6aibTyPzwpzt4NVW3C0yzdo5QaJfgeNNRyU/1uVXXAiD5C+bfzSbTQZHaclcEBXBl GIxg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18-20020aa797b2000000b00653a59e83b3si7909106pfq.70.2023.06.07.01.49.30; Wed, 07 Jun 2023 01:49:42 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238762AbjFGIk1 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 7 Jun 2023 04:40:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238524AbjFGIkV (ORCPT ); Wed, 7 Jun 2023 04:40:21 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 203571706; Wed, 7 Jun 2023 01:40:14 -0700 (PDT) Received: from ip5b412278.dynamic.kabel-deutschland.de ([91.65.34.120] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q6oi6-0006LM-Ch; Wed, 07 Jun 2023 10:40:06 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Conor Dooley Cc: 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 , Maxime Ripard , 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 Date: Wed, 07 Jun 2023 10:40:04 +0200 Message-ID: <3560873.iIbC2pHGDl@diego> In-Reply-To: <20230606-geometry-blurb-1f0f07d4bf6a@spud> References: <20230602074043.33872-1-keith.zhao@starfivetech.com> <1991848.PYKUYFuaPT@diego> <20230606-geometry-blurb-1f0f07d4bf6a@spud> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Am Mittwoch, 7. Juni 2023, 00:37:53 CEST schrieb Conor Dooley: > On Wed, Jun 07, 2023 at 12:22:33AM +0200, Heiko St?bner 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. > > > > >> +description: > > > >> + The StarFive SoC uses the HDMI signal transmiter based on innosilicon IP > > > > Is innosilicon the same thing as verisilicon? Also > > > > s/transmiter/transmitter/, both here and in the title. > > > > > > I think that is not the same, I remember Rockchip has used a HDMI > > > transmitter from > > > > > > Innosilicon, and there is a existing driver for that in mainline. > > > > Yep, I think Innosilicon is the company you turn to when you want to save > > 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. > > > > Looking at the history, 2016 really was a long time ago :-D. > > > > > So Keith, if that's true, I think it is better to seperate the HDMI > > > stuff and reuse existing driver. > > > > I'm not so sure about that - at least from a cursory glance :-) . > > > > The registers do look slightly different and I don't know how much > > the IP changed between the rk3036-version and the jh7110 version. > > > > 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. > > > > 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 :-) > > 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. what Connor said makes a lot of sense. Just name the compatible after the actual implementation - aka "starfive,jh7110-hdmi" . This is similar to what the rk3036 does with its "rockchip,rk3036-inno-hdmi". That way you're nicely independent and future proof. Heiko