From patchwork Sun Aug 4 22:04:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13752797 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D829C3DA7F for ; Sun, 4 Aug 2024 22:05:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=8vmMJjRMQd17EzBs/h7XMs1fJdBitfgzTOE4U25Q4t0=; b=DdqQiC30tU5jwSO5KHFug1sDs5 2/bOuNjPy4W4kGomdEKqXrOcvhio0s49N8NW/B62cHX2AwvugnvDXNzqx0PdmGTxWXGnRmBhB2UtU c5FxcU9LktOXczolB8DNW60dsw+3rQtwayNRBOpE/aOi9YfkfPnNsDLhi0LYGJcrpekRk1PpVAoiN Mb9w6+LpCFYoDk+FMl0vPin7sahozO3ARztzA1lNr5FqFIXRMGbPfwZaB1nxtZWu/Es6BF7+NE0G6 sxZa0ZLb9GklUpz5eYVxFl7SLtvLszHGuvF6RuThXful8YhN0LUl8WO+WErY1HzEr64m1PJPOASrd ESIeoW1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sajLV-0000000E29h-1HqU; Sun, 04 Aug 2024 22:04:57 +0000 Received: from mail-il1-x136.google.com ([2607:f8b0:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sajKz-0000000E24U-3ScP for linux-arm-kernel@lists.infradead.org; Sun, 04 Aug 2024 22:04:27 +0000 Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-39834949e42so45327015ab.1 for ; Sun, 04 Aug 2024 15:04:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722809064; x=1723413864; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8vmMJjRMQd17EzBs/h7XMs1fJdBitfgzTOE4U25Q4t0=; b=iKFDTlDhXsR0IilJNPrqsrIhyEg1H1EOCOq98S4cyE9543wI9NPYD7McnAffouZ4VR Eyml294WzitNd54PKJF++d2RVBD4vtoJjKLFJYE7Ug7gKKORolMjY4uAEzpfI+kTuDeV 2KJqgBwqj6+HUtcgI+otMkIO2Ur+oVeBmhtqfUSjU2Qbe1sJt9LPNXwolApc0hwHuw71 qLlBFZ5HrNfduisDvCm8z8Slga7iF0eBoNea1nLfcVqbqg2eUSNo6AIDJXBST8ty+fBF DN10mf7puFHkHuEtPJSTUtfQXdmJMh3kbiWBI5Tg0a8F3kabXzV19bigg2fwDq2gxg7e 50/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722809064; x=1723413864; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8vmMJjRMQd17EzBs/h7XMs1fJdBitfgzTOE4U25Q4t0=; b=KO/zEqhfvPi4du2ETwMfbqGesUAlUuNoIvj0TnRljK/7q54CWPqZiPTmIrL72h1IWZ 6pwt7zXD3tgMrRj5rxDJOuXjlSUZeYgUHfvUegLfy4yRCQfH/8GIIIyAtDXWmJAG1A7t 14QolP4kFQ7zD2G5rKH//9ImOxGv1tf8aZcHVzyEk6lROYTiQ1kURHuUF0LU93gIUVOh h8qCnvjr/ataPq8Kcx4umupnNaDRWEaN/FOtxOfa7YbwoYWYYgiFRxZ7jNGFw4EODqHY 02e/ho8HnFc4PC8DaaVFw1mkcVDbkOcjNqRUmkrqT7pzm1glarn2c6XIMVvu9D+ogunz fkYw== X-Gm-Message-State: AOJu0Yzr2w3gF0NayCQIJBFg3sjq7uf09yuLMVF/uGVLEDsWJJqiDUfF FhA9LMg4xijeAscBcE42dSSx5nEHpDpf+PANQwd0jSaAAXOZKg2aAnQc7R18 X-Google-Smtp-Source: AGHT+IGoccGsX8AZMUXX9KIyUx6+YwpekG7jw//dTqiyiehK3d9ozOQPa8v/xPF2Rnt7ED2EfEYV/A== X-Received: by 2002:a05:6e02:1a81:b0:39a:ebcd:f2fa with SMTP id e9e14a558f8ab-39b1fc2641cmr147513735ab.20.1722809063798; Sun, 04 Aug 2024 15:04:23 -0700 (PDT) Received: from aford-System-Version.lan ([2601:447:d002:5be:80e7:218c:9d07:360]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-39b3b7e6708sm7863495ab.36.2024.08.04.15.04.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 15:04:23 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: imx8mp-beacon: Enable DW HDMI Bridge Date: Sun, 4 Aug 2024 17:04:10 -0500 Message-ID: <20240804220411.180264-1-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240804_150426_365174_2AD737E0 X-CRM114-Status: GOOD ( 10.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There is a second HDMI connector on the baseboard which is routed to the DW HDMI bridge through the PVI to the LCDIF3 and requires the HDMI PHY to be enabled too. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts index cc9b81d46188..bd12420d9fd9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts @@ -105,6 +105,17 @@ hdmi_con: endpoint { }; }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_connector: endpoint { + remote-endpoint = <&hdmi_to_connector>; + }; + }; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -282,6 +293,24 @@ usb-mux-hog { }; }; +&hdmi_tx { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hdmi>; + status = "okay"; + + ports { + port@1 { + hdmi_to_connector:endpoint { + remote-endpoint = <&hdmi_connector>; + }; + }; + }; +}; + +&hdmi_tx_phy { + status = "okay"; +}; + &i2c2 { clock-frequency = <384000>; pinctrl-names = "default"; @@ -344,6 +373,10 @@ pcieclk: clock-generator@68 { }; }; +&hdmi_pvi { + status = "okay"; +}; + &i2c3 { /* Connected to USB Hub */ usb-typec@52 { @@ -464,6 +497,10 @@ &lcdif1 { status = "okay"; }; +&lcdif3 { + status = "okay"; +}; + &micfil { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pdm>; @@ -646,6 +683,15 @@ MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x140 >; }; + pinctrl_hdmi: hdmigrp { + fsl,pins = < + MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x400001c2 + MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c2 + MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000010 + MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000010 + >; + }; + pinctrl_i2c2: i2c2grp { fsl,pins = < MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c2