Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1369166ybg; Tue, 2 Jun 2020 08:11:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW99KslWhAvOTUr7+2jvgESpms/Hr7yP2aK7ZcdN2Dzgv8SCgeVIibEIV8/xlz70wBtRdz X-Received: by 2002:a17:906:3e84:: with SMTP id a4mr848107ejj.372.1591110663838; Tue, 02 Jun 2020 08:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591110663; cv=none; d=google.com; s=arc-20160816; b=iXS6/t4UV0sHiRHTP8Q86Vw7MWfkyl2EkjXI0VQpGeJUvZTj2WnCVgHPo+l+FsMBTx +BPEn6JDsB/0FYn5EevoyEO5vCD3gTkjlPaEwVtNvSnqDB7yafE2T6OA7zH/o37hSRhr Z5rFYp0Lk1y6/gOnVQVi6CFe5gb+r6HgFAs4qAo2km7e8cTRd1Gtuwf5nV4OaQ6IYP/8 Yyh7OV9d+L8bFPDsPKqwTZnCcX7mjYdIGIKkiNIIwigE+MYrE8pdTPK1nhddbLzSKOVE jYv28iQuooTdU1LObX6i1Uz9zwSAjMcRxOzrfeKshrZQQczrD6tLdzNQw4bvUi9HMpXq 7oLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=gy1oFJKqpBP4SByoQQwaUJAvM+9w8yd8uHa/7cqBJYw=; b=tZb+KXwel2Fx1JYvbFceNQfMSZrb3jdJZkLQyTnxTz5ju6VoXbo7uEIG/evJeYQBY3 kO5DGz37S2YaK6BYCFVod3QJRMbGxh8ZFF9qqHZzo1xw3KoZu9+JKC/j5UOKiNxi6qOI AfoKdHEmf6Y15yipZIy/28V1OCzICWQ9hIVRppiY63cd+xqEkOVvsJB6O34WAY5z8S1e pDATEcruUssdxjniLaUYurAaYVE9Qw7uJaKjFN78IO14hX1UPSkUxGpKr0Go72hzQ5I+ BBy0KXHEJEVsVkufKtwVrn32ZoVHs6WLMjsygZkKPgZoTaA+z6UP/xfRF36j9/Hfe2kW HsUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=Oz9Xqz55; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=bJM6OPVo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si1469909ejf.724.2020.06.02.08.10.40; Tue, 02 Jun 2020 08:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=Oz9Xqz55; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=bJM6OPVo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726241AbgFBPIi (ORCPT + 99 others); Tue, 2 Jun 2020 11:08:38 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:46411 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbgFBPIh (ORCPT ); Tue, 2 Jun 2020 11:08:37 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 52D3558029D; Tue, 2 Jun 2020 11:08:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 02 Jun 2020 11:08:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=gy1oFJKqpBP4SByoQQwaUJAvM+9 w8yd8uHa/7cqBJYw=; b=Oz9Xqz55njCGiEvASU5op28H1HwHkjvsX30FAklJvnC 9SRwNgp+FAsmWDWl2eGPl/wwn2wX8iyHIIDpUhDjbxB7ek8aBGBEgqPApx01cJee ow72sBBRgkWLGsHHvtuUDxH3cgPp6vZ2IhNqhLL/RB3IOIzbyV8SRrB7FgtHxmux mm8q7dyytgf0taBIKSlN4wXh7c9VEwqrVND5Rb52ANfnDzAPAmnWONIEcR1OaMfs bnND44Y8qXvtXYaTllhuRgGaRpRw374gEZ1kilfWmxUfh4oxYDidSUTI3aSeDI5y Yk/rNyvw7halECPY0JtZEUNQBHLZCoI2suQFBvap7Uw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=gy1oFJ KqpBP4SByoQQwaUJAvM+9w8yd8uHa/7cqBJYw=; b=bJM6OPVoNRNPTageBFCxr/ IN/eDOTiB/u5xeOBUfJZ7dPocqBHKKQmsp7LkdPM4o027HNQoJNFV8UzNnHkhimN hwAAwp9IxdEKn5yUNVDVqqEbXV9qo3w8/pCScjiyZmSQIH9N1IpBRoP8ZNuLifP2 z78jC9+XbmPYa87Ae5US+movKmAI8Pir0IYmv9XPaMdWcg6pm+5SFud3raTOhv/2 JI2A8GQ+hQQceElacAMzKPp6ZEVUvdgLQfqSf9TjG2O2Lgmw6dKfhZ9sZo683m2p y1Mc+GDYcbkqivtCnyEXJs1qHBUwCuobPgB4wcBf1l3zcz7UhsAka2b3+PNwNYFg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefjedgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepffetteevieejteeuhfffgeektefghfeileehhedtuddutefhhfejtddvtddu ledvnecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghenucfkphepledtrdekle drieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 119FE30614FA; Tue, 2 Jun 2020 11:08:34 -0400 (EDT) Date: Tue, 2 Jun 2020 17:08:34 +0200 From: Maxime Ripard To: Rob Herring Cc: Nicolas Saenz Julienne , Eric Anholt , dri-devel@lists.freedesktop.org, linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dave Stevenson , Tim Gover , Phil Elwell , devicetree@vger.kernel.org Subject: Re: [PATCH v3 104/105] dt-bindings: display: vc4: hdmi: Add BCM2711 HDMI controllers bindings Message-ID: <20200602150834.6xovwdxpgncq3ybh@gilmour> References: <20200529181833.GA2685451@bogus> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="idttynnu6hrdagv3" Content-Disposition: inline In-Reply-To: <20200529181833.GA2685451@bogus> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --idttynnu6hrdagv3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Rob, On Fri, May 29, 2020 at 12:18:33PM -0600, Rob Herring wrote: > On Wed, May 27, 2020 at 05:49:14PM +0200, Maxime Ripard wrote: > > The HDMI controllers found in the BCM2711 SoC need some adjustments to = the > > bindings, especially since the registers have been shuffled around in m= ore > > register ranges. > >=20 > > Cc: Rob Herring > > Cc: devicetree@vger.kernel.org > > Signed-off-by: Maxime Ripard > > --- > > Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml | 109= ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- > > 1 file changed, 109 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/display/brcm,bcm2= 711-hdmi.yaml > >=20 > > diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdm= i.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml > > new file mode 100644 > > index 000000000000..6091fe3d315b > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml > > @@ -0,0 +1,109 @@ > > +# SPDX-License-Identifier: GPL-2.0 >=20 > Dual license... >=20 > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/display/brcm,bcm2711-hdmi.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Broadcom BCM2711 HDMI Controller Device Tree Bindings > > + > > +maintainers: > > + - Eric Anholt > > + > > +properties: > > + compatible: > > + enum: > > + - brcm,bcm2711-hdmi0 > > + - brcm,bcm2711-hdmi1 >=20 > What's the difference between the 2 blocks?=20 The register layout and the lane mapping in the PHY change a bit. > > + > > + reg: > > + items: > > + - description: HDMI controller register range > > + - description: DVP register range > > + - description: HDMI PHY register range > > + - description: Rate Manager register range > > + - description: Packet RAM register range > > + - description: Metadata RAM register range > > + - description: CSC register range > > + - description: CEC register range > > + - description: HD register range > > + > > + reg-names: > > + items: > > + - const: hdmi > > + - const: dvp > > + - const: phy > > + - const: rm > > + - const: packet > > + - const: metadata > > + - const: csc > > + - const: cec > > + - const: hd > > + > > + clocks: > > + description: The HDMI state machine clock > > + > > + clock-names: > > + const: hdmi > > + > > + ddc: > > + allOf: > > + - $ref: /schemas/types.yaml#/definitions/phandle > > + description: > > > + Phandle of the I2C controller used for DDC EDID probing >=20 > Goes in the connector. >=20 > And isn't the standard name ddc-i2c-bus? >=20 > > + > > + hpd-gpios: > > + description: > > > + The GPIO pin for the HDMI hotplug detect (if it doesn't appear > > + as an interrupt/status bit in the HDMI controller itself) >=20 > Goes in the connector. If this was an entirely new binding, I would agree, but this is not really the case here. We discussed it already for the v2, and this binding is essentially the same one than the bcm2835 HDMI controller. I initially sent a patch adding conditionnals for the clocks and regs differences too, and you asked to split the binding into a separate file to simplify it a bit. Supporting both the old binding, and the new one based on the connector is going to make the code significantly more complicated, and I'm not really sure why we would here. Thanks! Maxime --idttynnu6hrdagv3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXtZrcQAKCRDj7w1vZxhR xS63AQChWBDf5sP/ABh3lPAf9fleWlDwl1ELjIJJmVcgvpMHdwEA7OiJMvxjuIzW wGuu/pUZM36aV5U9/r21kOAWpvo1Rgs= =4keu -----END PGP SIGNATURE----- --idttynnu6hrdagv3--