Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1368612lqp; Mon, 15 Apr 2024 04:42:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwlFxe0Oke3M+7VayTT1bTd5c43NOxVC70hgeOV19lFoSK6UUhRP0T4N2eAP+Jd+iqOydc4uY7va8/eW1AlSYF7V2eeiR4XjdBo3g3GA== X-Google-Smtp-Source: AGHT+IHwIivq0LUzRhh25m9lCtdYioKolSaRHpWq5WZD4AYup3wAiPcofQoqMXL00/5ftN8JKWvA X-Received: by 2002:a05:620a:16c9:b0:78e:caae:170a with SMTP id a9-20020a05620a16c900b0078ecaae170amr10796435qkn.30.1713181347391; Mon, 15 Apr 2024 04:42:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713181347; cv=pass; d=google.com; s=arc-20160816; b=S4U/yCrrBaW2mF6y1UcuITDKUhpa8Gq4nU5L0JgjkyqCaJumboKuh2hbObZaxH5OmU kP+Ph0za5H+d/zvZf4EmuZ+uoRtsMUtij9GJZgQ1aX+AAclKGfVU+f8/AHhYeoXYmBqq Rf8I9I6TWDLSJF/tDqF8QOyVDNrCxSS6HqGseoXCpHPrf7mepShSdcKwO6lU42Ru5cJq nRQz64tl33rPrzfbT1xHgzLJiuY81SzuN9R0b2hYpJ/juaZ5QazDokOHjHF1ZRKm4clj pgQHRUcGCBlJtbq1/MRYTIJH7AF05O0Bx4Q0pYUPQrFqlEiN8ZXm0KF+HvcTr+3woY3S yNaA== 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=wX9Eghxu78/hxzwdp/hllSfYP5kd5nWxKD26E+9F1Lo=; fh=nCl9IEGe6CXgNuWSXNyKLlhs5IDJIAU3aNG01xuxyKo=; b=OwrSe6rTNt1JuEjQHXC0OCp9SyOoK+JhpNVyRoWxDXPPsCSiOa/X4xWW4K2Wvsx+z7 /+yu/78BUdQx0WuxCTT+6q+ueVLdv6F7SJjnPGuH8KfuWNOkDogYnyGMrOSkKis88svx AmHB/f4Krw1/o/ubOWDD75g+fYsE8fU6AWuJ765cHHtZdIvLqVttakONZy69lPAO3Yj/ ySjmSabiKwfpKB+s1n/A4BYmyROtNx06O4e1znLeoB3Y6biGg1kMasg3bB3unoLtkQ6p 24SCHURqshqAlp0uZPxsIXN1CaUwYDupMinPy5uALcfeY9eACObTfsjFgVDUcrayHnFr RYog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=I4ufWz8b; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-144998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bj17-20020a05620a191100b0078d778178a7si10801169qkb.7.2024.04.15.04.42.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 04:42:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144998-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=@collabora.com header.s=mail header.b=I4ufWz8b; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-144998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 98EBA1C22593 for ; Mon, 15 Apr 2024 11:42:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3EB75FDA5; Mon, 15 Apr 2024 11:41:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="I4ufWz8b" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 941BF60ED0; Mon, 15 Apr 2024 11:41:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713181311; cv=none; b=KVqTG/92QoYk0F3EjT//AoC7edFhWjZytRTJJigOUTuJfPavXfGj0E/qNZh/SXqTQC5YQ98pIuuZK9eRlEs6YUrivUXh9efM2HQ4TXju4eVyORzXgPaSrA+7yyCbdiwoXNxm67Y6eMj2j0gLl3hHTtQsV9fWfmDZt1vA0RrYnLo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713181311; c=relaxed/simple; bh=8ijqCKcYyYvTtDhSZWtqXztHlBsveRSY/hhsB8MOag0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nihdjcLS8Hsq1lZJmubCM4t32Twncj/56Hc7khwf+25jzNvZuEApLuDlpCsF05p1Q9JqU3uShM7kODdG4ahx4ul3mveF6qMOIsUl21z4RrzlpdlYibUBcXJp39SLDyaSlY3FAiH9YtikhP5dfWMU1wsVkx7m8lO4njCtzR7p7b8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=I4ufWz8b; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1713181309; bh=8ijqCKcYyYvTtDhSZWtqXztHlBsveRSY/hhsB8MOag0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I4ufWz8bIPkjqFBQ8XKs+iDetdz5u45YOXv7V13FggXorOQ92lK3Pyl4N+4xvAuji uvRTcJ6kczJNLGNFNVHoXx9ejaQbLvwlnkZCNDQw8ctTjSLyOqf4TBfVjIcFCM6UI+ mEG6+vfJmewkqL6TTXRLWuGR03q02fzMs5jpNhs/AIP8jtMKJ1sxBn7ASMi1RZW113 Sp00FIXt4Ts48GSKSljfYB9YhbaVAd3X4QUXVJLla6PuyCEwOW2qfnqjCrlweLQKtt ICq892QbTlGIf9zHlqMeYEDmJTnt+5j8K/rxft/8EZhg7uWDfBmehWxk3743igw2cN l51Jr5SpCwOSw== Received: from obbardc-t14.home (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: obbardc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 3EC6F378201A; Mon, 15 Apr 2024 11:41:48 +0000 (UTC) From: Christopher Obbard To: linux-kernel@vger.kernel.org Cc: Daniel Scally , Laurent Pinchart , kernel@collabora.com, Christopher Obbard , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 1/1] arm64: dts: imx8mp-debix-model-a: Add HDMI output support Date: Mon, 15 Apr 2024 12:41:27 +0100 Message-ID: <20240415114135.25473-2-chris.obbard@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240415114135.25473-1-chris.obbard@collabora.com> References: <20240415114135.25473-1-chris.obbard@collabora.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 Enable the HDMI output on the Debix Model A SBC, using the HDMI encoder present in the i.MX8MP SoC. Signed-off-by: Christopher Obbard --- .../dts/freescale/imx8mp-debix-model-a.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts b/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts index 2c19766ebf09..29529c2ecac9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts @@ -20,6 +20,18 @@ chosen { stdout-path = &uart2; }; + hdmi-connector { + compatible = "hdmi-connector"; + label = "hdmi"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&hdmi_tx_out>; + }; + }; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -94,6 +106,28 @@ ethphy0: ethernet-phy@0 { /* RTL8211E */ }; }; +&hdmi_pvi { + status = "okay"; +}; + +&hdmi_tx { + 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"; +}; + &i2c1 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -241,6 +275,10 @@ &i2c6 { status = "okay"; }; +&lcdif3 { + status = "okay"; +}; + &snvs_pwrkey { status = "okay"; }; @@ -358,6 +396,15 @@ MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x19 >; }; + pinctrl_hdmi: hdmigrp { + fsl,pins = < + MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x400001c3 + MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c3 + MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000019 + MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000019 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c2 -- 2.43.0