Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp752252ybt; Wed, 8 Jul 2020 10:46:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyISxw83PB9sH2CZ1Bp1UAZTyZC2IvXnFEtJcldQOD8qAK5Cbcfn/nfTqEbGXjx4ujIFIA7 X-Received: by 2002:aa7:dd05:: with SMTP id i5mr69171796edv.283.1594230362123; Wed, 08 Jul 2020 10:46:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594230362; cv=none; d=google.com; s=arc-20160816; b=qYclxhH+3qMW7dfQf116EfDYdxGFsxjsed5k3H/x+us3jQbL3hZv0nPJyGNeslZZO6 WFROHkQcvq8KRjZQ1M5A9AVnogVOSmRODftrcmp5PaNaLTUmmJA82PVvcs81sK3AaCqL FcG9tTFcDFAPX8E+Tmmy3sy4jaUJQnjaNwZDRToIEeFbFaSrhvQM/hqWJJlwSxosHUFq Hqst5TYGrIFqkttobpp3qLW9uAgXlZnHnaX7onGr7GvDxf67k2ifl477e37aLHEssxCE fLlQSABFYiAxjGMmN0+zAUoLomJHVQuy+mCpvcQUnCPUz/9hfrwfKyG2YhUGxGdhhHtn SqSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=WgxAC/8KE5/BwWN24s3+59aM6OiasJVZShMLjmU3z0o=; b=ZRXPfkEkd0JMYkWmK0d2dQDj+hobaP9xFG8Jfk10JhvKnl+eG6we1Mtwqm2O1rzUrf hVXLH6x+iW50yo3UjKsA9VSaPOfV6CGYBfLeli7OBWitpLAo3fO+OXYRUihvPVBI4SEZ llEDWXgq/oFt16j0wh1u/ZkDRmSYFuxSKHrdLcAO8rWb7mQkMrQNffqs0bv3NO18kHo8 an5LgdkWQhkRsta0mTwfIn/yMWGhmDB9PcwztbKBWcVrtkhOZqC/bQ05mAayrrIztJK2 pB3zgnCMhncZJD3CnOF2lht/UQlg/OqTlW4S4NOZX9yCLZv8Ll3KKCTU16UIyknLKzdC pIPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=fcLpCkOC; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=SUWtXL5Z; 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 y19si308789eje.247.2020.07.08.10.45.39; Wed, 08 Jul 2020 10:46:02 -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=fcLpCkOC; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=SUWtXL5Z; 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 S1728166AbgGHRoj (ORCPT + 99 others); Wed, 8 Jul 2020 13:44:39 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:60959 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbgGHRoV (ORCPT ); Wed, 8 Jul 2020 13:44:21 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id E33F92F3; Wed, 8 Jul 2020 13:44:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 08 Jul 2020 13:44:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=WgxAC/8KE5/Bw WN24s3+59aM6OiasJVZShMLjmU3z0o=; b=fcLpCkOCczHZXKavl3imq1CJzXgMY fXTp6L1GIsYWPqrrjTjuuSdRYmmyAKc+cuZAM2n+OSHIjlS+j1cDSEICb8Oj36Xp tqB0rJeY2EMBMwoGnF/E4+0Px35sm7tRMDQa+8VXGzfZbQE7G1CCK3YYJNKjKlel 1P3rW0bqzB8YH0xI8j5a4XDo874JaZS1MJtOjVSxHuZMywreQfLbu/OzqBxAhzN5 a2j2F4JUX7FZGwlLg5ukZRS5vESkAUSy9h/NCu26313lx/FowUh7qZnKoMlnVQAv txttQ4rsP+u3CuHLmYaIOkn2nEfcG419Psit8gxdN+gfrgAKLXtwOIrPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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= fm3; bh=WgxAC/8KE5/BwWN24s3+59aM6OiasJVZShMLjmU3z0o=; b=SUWtXL5Z 8FCcJHheGFKpYSRB9jauE82RW6aj1URfMTMaXqBAUpwXHtK3e1PJ2ro5ZnmrOw4b uhi2CCq8TAK1f72VUNQeLPj2hE5dkjQ5xkn1AK2j30BFe/kfUj8QA1kJLTMV0zKo kb2Cw8maJcyvbDIAjM3daRTaMvUnzU5nvYo+RxiPzj0yzq2ePOmovgVOd+VgpPYn ikmVPjfXlonNNc5KPXxiq64Kiu9iNuwqhXrApskGRquULz1iQZFqVsdudZqXzEPg o/mwKq8+5HBQa9bRUCdfwXElPY0ybcPOrYZ7f4GL/8squTOPzX5zAUwEXjuxfsjh EAbUyhMyEz/4PA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudejgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne govehorghsthgrlhdqhfeguddvqddtvdculdduhedtmdenucfjughrpefhvffufffkofgj fhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgvucftihhprghrugcuoehmrg igihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtthgvrhhnpeevjeeijedtvefg fffgjeeugffguedtleetkeegteeufedtuddttdfgfffhgfeuffenucffohhmrghinhepug gvvhhitggvthhrvggvrdhorhhgnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvg hrnhhordhtvggthh 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 1FA0130600A9; Wed, 8 Jul 2020 13:44:19 -0400 (EDT) From: Maxime Ripard To: Nicolas Saenz Julienne , Eric Anholt Cc: 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 , Maxime Ripard , Rob Herring Subject: [PATCH v4 75/78] dt-bindings: display: vc4: hdmi: Add BCM2711 HDMI controllers bindings Date: Wed, 8 Jul 2020 19:42:23 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Reviewed-by: Rob Herring 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 +%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 + + 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) + + 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