Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1505965rdb; Sat, 3 Feb 2024 08:57:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHrTy8J3XsuA7IQbGHHlKivMZUK/Gcz+MVUsHh+6pz7arr3MMGAmJ5lSCgkQPJBKn1EiKzr X-Received: by 2002:a0c:f3c4:0:b0:686:1c06:4436 with SMTP id f4-20020a0cf3c4000000b006861c064436mr1461502qvm.48.1706979421422; Sat, 03 Feb 2024 08:57:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706979421; cv=pass; d=google.com; s=arc-20160816; b=bDhixNESboqIb1Pm+N5pe9czDfjIFNOzo+40Wl8GxL8ykn8BRlpVAMWguvCwIQwf3L qHxCVRbwEO28B54/JJR4JU51Ggll2G/2kuU2OM6wmfwZH/S6hzJCOGO5+X0DBeWtS1VK K7LX0CfP+7DDioCdiA/rsfspao4gA0Z2Ns7AfA5CPgTXjhOqrks5RYrPCOL8v0gOs1Ns /KKU+OBH9woo/lZKCOxh+2HN8SZeHig7sW32qGYwWoSa0Y0KY6HkU723Pq+eim6W+W7f EiWZbT5qb6gIWHzCRhrRrjs6OXoh5ehsfsPGD6cT0EeOj+6xRyE/QlvIKf3icAKAyU2P yzQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=iHK4uYY3PEuLbfB443xySfJh6mTWFIfLyC9ZOn+YSEA=; fh=KIzivUrdgOb3pwyao6qrv3wH6nrI7afNb1fAwuIrLbs=; b=jALhUnbyBYYMNqz4wJwMW8ndnXuC8XAgb6PbY7foklldYajEyg2JmMrsp0ummKIrMl EjS5Pq8nEpTEoFIoLpUFHIa+OhyzlHlUhYCFXCUzfWHAg+TZvDq41DzrVM1rHwiY1JPf EMapANUSdrQ/Xh4/AtcPMQVz2+qwUX8ZA4wAauYpi8huVYW1EAnROosID2rWFWbibmqB DI7UvfOjqdcAnQ2c8N8T5co8Pa+azaaSQbtU+SyuEoeQalvLDRpiUmrfyPiphzhfolEj e1e4JdbyKubkeiZeTHZ8jnVfRhDjSvILAgv+hz08q29YLff99Nht3LL8FVZk2hSjsZfV Dx0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ImDDUV0p; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-51199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCVOTMkZ8DyexOmFidu6gOzq2sRJw2EGjIiQ3/V7Qgl9JMW4nrP0GDK3+37wyIIUkZ9vGCfFgHjmq7P6HsgKbLYofcyTnRVDmeMPyVErTw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t16-20020a0cf990000000b0068c4a66141esi4640036qvn.239.2024.02.03.08.57.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 08:57:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ImDDUV0p; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-51199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 317071C22000 for ; Sat, 3 Feb 2024 16:57:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3635627E0; Sat, 3 Feb 2024 16:54:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ImDDUV0p" Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4263F6167E; Sat, 3 Feb 2024 16:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706979261; cv=none; b=CT0FWC9ndHQdLztncI11K+TxVpzEiAp1uG19oBQ7O2Xr+P/IKi2ljhJlrnWp8ybn9/CXYtiVP1ztMChT6x/txJpPd99VMdMJ7eH8TV7ud58fuShi9WVwmBoGKHm0gRrd0nZOsPODlowKFDPsSx69EOYflWRwD1Z5mnoWI1twxHQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706979261; c=relaxed/simple; bh=FIEOpVdJXpJc6/FOQe7+0ApPnJgJ+R8hqRT1eb6XINc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cHZysYZPW+YQCvbIGJHZaRSMrt2TTihb9T4MpExmZgTZV3p4LmzU3xIzRTnqJ9EgfU99eIuEYL51g+TCngdrNMmj+aKRWsoNGoaPTBftf5hcnnpXLW4/4QV2AL4EwWoPiudv6mB3GuHG9eiSZVqubyIMymzd9UpDAoIIx6ZPjbc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ImDDUV0p; arc=none smtp.client-ip=209.85.166.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-io1-f50.google.com with SMTP id ca18e2360f4ac-7bb5fda069bso155239039f.0; Sat, 03 Feb 2024 08:54:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706979259; x=1707584059; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iHK4uYY3PEuLbfB443xySfJh6mTWFIfLyC9ZOn+YSEA=; b=ImDDUV0p2QS2oS3wOlXl/Zms5F3iiToVARbWsaUU2TQjxUqtH/fdONYVyEM81Sv6MP kHQlUM2NiXyfcsUeuYUCMGTcReCwMKQ5E8OJlqZKhY5HkKEIECyC26OTClnrV925beMP al15ET+oIJnDqLhi0sDbNTGBhR+uLbOIiBn27ioRQjJmZvD7s59P2tHecbsid1FrfYDJ djgodSCa0VloNMx/btbYWrkLVo8hbv0yFsPfAP/OxfonsnIadN8nOU9M4sjHyyJBcnYn MNcVSy1B0kEREofUIH+V3OHp5wBYUC0E2PbmARZMK0ij4Gw0V93POEggjB/Deb3ym974 3E3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706979259; x=1707584059; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iHK4uYY3PEuLbfB443xySfJh6mTWFIfLyC9ZOn+YSEA=; b=xJKhIrNUWNkQ59NdZ5i/Fdflxya9XPQTYgINka7a3sHGKm0PqIfaCNF39YIaiIydxI 37TwJFXuCvk/7Z8QLzcplTejW2NptZvLZyJMlCnJqttQlmhFpF6H61uIiy4RocbDCQhI NIozfIIQKaS4oTnrXQpj30G5hH5KB4xBwYOuYi887Lx3I099Bd7Idi5MWJQdYpdH89nN ERefKdmylm0nMkDikls6wki977gUXRPkNRj1rIijksYKnfv7s/0yKzdPYme652YXgRK6 5ati+7z5wP3MFOikCJEioS/DML8LK04SXlSZ4YarfkWS2hRFLAsaIaDzOD+d8VQXN3dt YNiw== X-Gm-Message-State: AOJu0YwgY8+zVfEuVxdb48tDt6VJLi/2rJxg4T8ZHUY/qQXiCr8wQkMk GVTBU8IXHkVtoTCh3DhmKjczRaH4yoHgiMvANf+SPRU0wwwRYyoh X-Received: by 2002:a6b:5819:0:b0:7c0:409e:e3c5 with SMTP id m25-20020a6b5819000000b007c0409ee3c5mr5574885iob.19.1706979259164; Sat, 03 Feb 2024 08:54:19 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXyOusTxAlEpAGlVDzNppwPsOqKckjm7lzwaCDbk6BJXWppLX7luv3fv5T0RSa5IzcdTQ7VwdHiKJ+0mT3b+ebzMbtut5OfmBMbUET5BV5ADOvN8uuvTTA5Zpn1ViPvRYwd5UUil8Z3a8lHC7Je0LPNbREzDR7R2vYu5SnvQ0qChXh7IaU8w/1fBVNQvschkCOvUnidyCQi0TMWC+RXvO7Ebcsi9fmLs+1CxyljaOLzlGRfYlsvPL5peem3JM0/HJkIEKuOnO9nDYKPlvD21irh+rwl2ze/t9idOn6BT2hqU5KEsryzAa1k4tgXK/GjW45TPqymEA/GquwctU4VldBwtDY4bDgdx5hEFeZsl6MHjEl2ZfOMazVnqAwiiT+DRVRsO4Zf09i28gfbWNK8P+Guka9VZM6iEYmMnpHpWjpWByNVY3FkuHO16LAfKay0uZUXHZteofRXFMLY2wT1s6xGVjXHGcmg9N7D6T8x2T5DBPYkrLc6sFH+2E1nzEFEFsPsLwkQRL+h87diA7AuIDqFeq4hQzGCAVigzRi5mAAknvFOiNVkOjx2uaVQwurSHvB9d5dT4poievAH/jkGiNaQVRCk152bP4QLPJHLeqzzCu/jr0kFPc25ZbApxcToIHcHzjM1Pmn5DMF2mxDpc8IUXuVwNWgT7ZE7mpovYvyq7jGeaB2Z0mcIjMcXpcIZoqWaOx8VagivoUmpGMNMGa21eG8+Vdv+aVlwN0l8LmzkkNamRwKTM4g7B6dwMlMC9MNnIrRDVF8rb0ja5kx43Ifwy8lCIi7AONLkciGw1dVR9+UEpO4KuKNm67CEzvCrxykvmAI6d8BB0efxYQ6e1Pl29sXmpXT/z/+Dse0auIzT4H0FQfEkO//4htSCy6oliv6omAsMZMMRr9Wj9gwrH/m+0w1QjRghCkiySHtI6eeBdwEw7rM58x1bBZCnKJSgfsQXw0 sfJvvq0jKffalZMFTlDiHXwfsmaWZZguesYFTHSgC6j4BAOBu0KcNqADA3m2HqTp9nv/g7kGB1gY7aNY6cYj1YLFrcTePHBl8NLNtrtgczP2D8Y2E7mlOCEJJI4ebctHmnH1pZjWQU95luF1YCMOHFedMkYepuL5oIUOTukmoCI3x5cMy40sPwXlNqk2aF22Fodwztf824P6ccxmWCriu5UxydYuzgSw== Received: from aford-System-Version.lan ([2601:447:d002:5be:d9b2:bb4f:5531:6aa9]) by smtp.gmail.com with ESMTPSA id t30-20020a05663836de00b00470b29b82b1sm1086256jau.154.2024.02.03.08.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 08:54:15 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: marex@denx.de, alexander.stein@ew.tq-group.com, frieder.schrempf@kontron.de, Lucas Stach , Adam Ford , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Philipp Zabel , Vinod Koul , Kishon Vijay Abraham I , Catalin Marinas , Will Deacon , Liu Ying , Ulf Hansson , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-pm@vger.kernel.org Subject: [PATCH V8 09/12] dt-bindings: display: imx: add binding for i.MX8MP HDMI TX Date: Sat, 3 Feb 2024 10:52:49 -0600 Message-ID: <20240203165307.7806-10-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203165307.7806-1-aford173@gmail.com> References: <20240203165307.7806-1-aford173@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Lucas Stach The HDMI TX controller on the i.MX8MP SoC is a Synopsys designware IP core with a little bit of SoC integration around it. Signed-off-by: Lucas Stach Signed-off-by: Adam Ford --- V3: Change name and location to better idenfity as a bridge and HDMI 2.0a transmitter Fix typos and feedback from Rob and added ports. --- .../display/bridge/fsl,imx8mp-hdmi-tx.yaml | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml new file mode 100644 index 000000000000..3791c9f4ebab --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml @@ -0,0 +1,102 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/fsl,imx8mp-hdmi-tx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8MP DWC HDMI TX Encoder + +maintainers: + - Lucas Stach + +description: + The i.MX8MP HDMI transmitter is a Synopsys DesignWare + HDMI 2.0a TX controller IP. + +allOf: + - $ref: /schemas/display/bridge/synopsys,dw-hdmi.yaml# + +properties: + compatible: + enum: + - fsl,imx8mp-hdmi-tx + + reg-io-width: + const: 1 + + clocks: + maxItems: 4 + + clock-names: + items: + - const: iahb + - const: isfr + - const: cec + - const: pix + + power-domains: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Parallel RGB input port + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: HDMI output port + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + - power-domains + - ports + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + hdmi@32fd8000 { + compatible = "fsl,imx8mp-hdmi-tx"; + reg = <0x32fd8000 0x7eff>; + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk IMX8MP_CLK_HDMI_APB>, + <&clk IMX8MP_CLK_HDMI_REF_266M>, + <&clk IMX8MP_CLK_32K>, + <&hdmi_tx_phy>; + clock-names = "iahb", "isfr", "cec", "pix"; + power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_HDMI_TX>; + reg-io-width = <1>; + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + + hdmi_tx_from_pvi: endpoint { + remote-endpoint = <&pvi_to_hdmi_tx>; + }; + }; + + port@1 { + reg = <1>; + hdmi_tx_out: endpoint { + remote-endpoint = <&hdmi0_con>; + }; + }; + }; + }; -- 2.43.0