Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2392865lqo; Mon, 13 May 2024 18:08:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7KC/8TDecg/1UQbl8k3UU0bgDBSCAcAsL+PdVnf5tQZBX0ZFhPRlE9TuANu6S8JBdVAefz4y+m/xAzU6pB56mrSqlT2Xph+kHbtE0Lg== X-Google-Smtp-Source: AGHT+IF0SNg3or4OWdSVTZsVSD0bA8iwQAXA5EzCOmIDVfPhoFWjSg4OSAWmK7fLCi50GfCfP11x X-Received: by 2002:a17:903:234f:b0:1ea:26bf:5989 with SMTP id d9443c01a7336-1ef43c0cad6mr131499015ad.1.1715648923731; Mon, 13 May 2024 18:08:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715648923; cv=pass; d=google.com; s=arc-20160816; b=PHI+Eh0ZzmbPhVGYYVvoljR1BEPZcFizE1iFnDOe5V1e/C0QblBa+8aSLm0jRe6jBS tRb33lPkkQsF7bHFa3YhRXJ/lsO7jgx8jIrJ/+NGRCrlEljNRSEoGwS1Ek9U5fKrS/Rw d6BATyjRiM91gihMdh6Fqb7Qc7xCUhRXFOWxtHgJypZXLa8G0BlU0zds/J0CR7Wq5LWw QyGHUJ2jviJ3XUQtw3mxabZrU+BjTB2tf3Ew5I7nCQU091pI4MUZ5MDgOq8MS8P/TTn4 HOVH+YsWH5r8FCZg9GEh6ZodE57GClDq+3vnpj2fQHkFgvO0cu9CPrvX9OVrEsqR2HaX ZuBw== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=xa8qPwKZOCPA6/bJm4wN473IAF5TnUbKp0w2XO2euGc=; fh=aJo40ngUFKlvyM5fzh4erYNDiWR0toGaCX39nphcWHw=; b=k2bH4/K3qeFBqFfSVdSuB/C2jdARCj/6sNtrmFXWaJKD3PPGP3a6h5Khy7RSzkXGjr Xkn+9e5Id21xzVHgAPeVvSp/ddC9HFjEg4OBgi4n2w5ixRAT8lsGCp592BX0nBTdliDb C01dZhtvnLW8TcdKpwfohUQtarT6iuC9RggbUp5okVjEn8Pw7jjMvbx1czwZn475l27p 4C8Q6yUP0QjiroV9XoeViLaz704FcH9+63wmeIwjPKSwTmjCCV6pkwbZaZ3c7Gk1AxIO lBrpOxvOjghSSOA2b2KlOe7t7sNxm29ksB2fI4b0TQHRn1XiVCUaV7QR0fJfoXGmPLeu Ss0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=Uf9gQv3T; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-178230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c26a4d6si103623815ad.593.2024.05.13.18.08.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 18:08:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=Uf9gQv3T; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-178230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 15854B22D6D for ; Tue, 14 May 2024 01:07:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C79E51860; Tue, 14 May 2024 01:07:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="Uf9gQv3T" Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 5F797ED8; Tue, 14 May 2024 01:07:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715648854; cv=none; b=U0M1daqSfHwuAsDD78gQRrtRQnXNC7ii0sMhRBQy5JSloeR1WN3PnSRF9TA9k/+UCaKLJ7SeGwoZOTVU6RnxQTlTus6DXTbJLlRsUC3JAJgL0x4zOsVYpts3gKy8bBcUH5u2k6s81CWxbn/dh7jJ5l9hcLFwm9tZ+tisNIlDPJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715648854; c=relaxed/simple; bh=f3uKJl77S3XOtyuC/S9DUc5g9aTtxON73vg/NMUwG8I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TdPF3fXoyWS0naklc4zXNMqkoUXQ0gPs492G0u69+oLiWwNp+JmiUfRanHBAanQvzuYd/Z5vGT2ujp8RAwkULGe62BVOaRC4mD4Wx2tsurxDz64iTl6arRAFIV29Z8uLIw2lvWqaPaN7ZTbw6WkiAZc/xKHfwCHOYqLSM5DEJQM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=Uf9gQv3T; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id D24AF87CDA; Tue, 14 May 2024 03:07:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1715648848; bh=xa8qPwKZOCPA6/bJm4wN473IAF5TnUbKp0w2XO2euGc=; h=From:To:Cc:Subject:Date:From; b=Uf9gQv3TS2ZdvuTL4ueqYusy6VjZooHp2Umwz+LKpfP67fFq7AeUWlf5nxC7JquMa WCvnBbF6UH9Ek4d7p2tT+hiZIWQVcCgZS8li7GrHQwexqLYMLYxF+ETX9a2a4UP+ky QdB0Ef/gHRzHBilbVNWBEzcSO6zxFaAIpLc3aDGq9WoYGErUK4H3p20CyJuHnGNdOP QSfdguK/iOhK7hcN9cZeiApKO1NcDl/Jth2UduaKWh5H0fOyH4frlJZkG0YQuOuMdn T9d853XIJidH0Bft89HtfVa8z10rjMuSJqc+bL9JsvEVwmyKOWP1ucYtkHzO13NaMB SKF4O9kEzJnfg== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, kernel@dh-electronics.com, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: imx8mp: Enable HDMI on i.MX8MP DHCOM PDK2 and PDK3 Date: Tue, 14 May 2024 03:06:42 +0200 Message-ID: <20240514010706.245874-1-marex@denx.de> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Enable HDMI output on i.MX8MP DHCOM PDK2 and PDK3. The I2C5 on PDK2 and I2C mux port 1 on PDK3 respectively are used in regular I2C mode instead of HDMI DDC mode to permit connection of other I2C devices on those buses. The pinctrl_hdmi node is part of the SoM DTSI already. Signed-off-by: Marek Vasut --- Cc: Conor Dooley Cc: Fabio Estevam Cc: Krzysztof Kozlowski Cc: Pengutronix Kernel Team Cc: Rob Herring Cc: Sascha Hauer Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: imx@lists.linux.dev Cc: kernel@dh-electronics.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- .../boot/dts/freescale/imx8mp-dhcom-pdk2.dts | 39 +++++++++++++++++++ .../boot/dts/freescale/imx8mp-dhcom-pdk3.dts | 39 +++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk2.dts b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk2.dts index 3b1c940860e02..ebdf13e97b4e2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk2.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk2.dts @@ -69,6 +69,18 @@ button-3 { }; }; + hdmi-connector { + compatible = "hdmi-connector"; + label = "X38"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&hdmi_tx_out>; + }; + }; + }; + led { compatible = "gpio-leds"; @@ -184,6 +196,33 @@ &flexcan1 { status = "okay"; }; +&hdmi_pvi { + status = "okay"; +}; + +&hdmi_tx { + ddc-i2c-bus = <&i2c5>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hdmi>; + status = "okay"; + + ports { + port@1 { + hdmi_tx_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; +}; + +&hdmi_tx_phy { + status = "okay"; +}; + +&lcdif3 { + status = "okay"; +}; + &pcie_phy { clock-names = "ref"; clocks = <&hsio_blk_ctrl>; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts index ac7ec7533a3c8..ef012e8365b1f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts @@ -75,6 +75,18 @@ button-3 { }; }; + hdmi-connector { + compatible = "hdmi-connector"; + label = "X28"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&hdmi_tx_out>; + }; + }; + }; + led { compatible = "gpio-leds"; @@ -248,6 +260,33 @@ &flexcan1 { status = "okay"; }; +&hdmi_pvi { + status = "okay"; +}; + +&hdmi_tx { + ddc-i2c-bus = <&i2cmuxed1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hdmi>; + status = "okay"; + + ports { + port@1 { + hdmi_tx_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; +}; + +&hdmi_tx_phy { + status = "okay"; +}; + +&lcdif3 { + status = "okay"; +}; + &pcie_phy { clocks = <&pcieclk 1>; clock-names = "ref"; -- 2.43.0