From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43615C47255 for ; Mon, 11 May 2020 21:50:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 20B632070B for ; Mon, 11 May 2020 21:50:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589233818; bh=P1SEkvpAzl+UxcUdOJZJlLs7U/MKWW1e3Moa13QcZgg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Yn4B0yoLo3ctpAcpnqlVhzVQRJuRM2tl8vG7ve5x6342WHcVRt/TcUBB8piOLttxh Qh9EH9Nh1fm+1zM4D4LsbMBGfHyUL0L5McdErJgB+m66hD0mPS67fhiqZ64G6Oeni+ FGq1Y+xRAJ/HbVNPc727xLx0DOIRq9goVehNBp0k= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727884AbgEKVuR (ORCPT ); Mon, 11 May 2020 17:50:17 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:43518 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbgEKVuR (ORCPT ); Mon, 11 May 2020 17:50:17 -0400 Received: by mail-oi1-f193.google.com with SMTP id j16so16458571oih.10; Mon, 11 May 2020 14:50:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=C2cQ0d2Fnc+VFNF+rbZqUCi2lMUrS+g08IvuwIRHzJU=; b=SXbcdQfvhS9EVjA7PzjijBMFCf0a18axV7ss4u9TJ3oFocfAe8XulKrQ3Jd2HEw3aI PmH3HxjkOp9Q6YulbOYjOPCM/f9SDyw9LsbMVc1MeO1yCZz+LrT47A5WvhABoVNRtzKI bTGlWk73czhPwJ2yaFOAFwCjWUiQMqHV3CBs5fmSbo50exFGGqI8lz08S4GmCHfyIQwO fr9aaGQLtFbxYhIAymPSUJ3DM9x+SYmjLsKInPIEoGRkVGPEYvjcllDAWcjUg/ziWdcg cQrCimt1/DGrMM6YCHuiEb7QpiejoExk+VJT1+hoJExzwH5tp4bU2gHwJKQGZmrn3KO4 tVEg== X-Gm-Message-State: AGi0PubSEzbFC8GVm9sm1rlj+bpvGMFgbjcXWIhD532Bp7Vm6AsVszjF 9GO6b02k9g9vhcmrgZ7kQA== X-Google-Smtp-Source: APiQypKb4S01qoeMGw5ylYdZeHeHc7Sh8XoMTwKIJeFH1WTXjNyN0cepckfp1oAcEe9Zui5mtOwgPw== X-Received: by 2002:aca:1904:: with SMTP id l4mr21640640oii.106.1589233816216; Mon, 11 May 2020 14:50:16 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id e4sm1229075oou.33.2020.05.11.14.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 14:50:15 -0700 (PDT) Received: (nullmailer pid 8406 invoked by uid 1000); Mon, 11 May 2020 21:50:14 -0000 Date: Mon, 11 May 2020 16:50:14 -0500 From: Rob Herring To: Maxime Ripard 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 v2 90/91] dt-bindings: display: vc4: hdmi: Add BCM2711 HDMI controllers bindings Message-ID: <20200511215014.GA4800@bogus> References: <9bdee4024b3f95bed9b55c642f0f9415c22fc506.1587742492.git-series.maxime@cerno.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9bdee4024b3f95bed9b55c642f0f9415c22fc506.1587742492.git-series.maxime@cerno.tech> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 24, 2020 at 05:35:11PM +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 more > register ranges. > > 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,bcm2711-hdmi.yaml > > diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.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 Dual license > +%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 > + > + 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 This belongs in a connector node. (ddc-i2c-bus) > + > + 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) This belongs in a connector node. > + > + dmas: > + maxItems: 1 > + description: > > + Should contain one entry pointing to the DMA channel used to > + transfer audio data. > + > + dma-names: > + const: audio-rx > + > + resets: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - reg-names > + - clocks > + - resets > + - ddc > + > +additionalProperties: false > + > +examples: > + - | > + hdmi0: hdmi@7ef00700 { > + compatible = "brcm,bcm2711-hdmi0"; > + reg = <0x7ef00700 0x300>, > + <0x7ef00300 0x200>, > + <0x7ef00f00 0x80>, > + <0x7ef00f80 0x80>, > + <0x7ef01b00 0x200>, > + <0x7ef01f00 0x400>, > + <0x7ef00200 0x80>, > + <0x7ef04300 0x100>, > + <0x7ef20000 0x100>; > + reg-names = "hdmi", > + "dvp", > + "phy", > + "rm", > + "packet", > + "metadata", > + "csc", > + "cec", > + "hd"; > + clocks = <&firmware_clocks 13>; > + clock-names = "hdmi"; > + resets = <&dvp 0>; > + ddc = <&ddc0>; > + }; > + > +... > -- > git-series 0.9.1