From patchwork Mon Aug 7 15:33:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aradhya Bhatia X-Patchwork-Id: 13344439 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 29101C04A6A for ; Mon, 7 Aug 2023 15:34: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=R89sAxdAUOfxxGQSz3GThp/VyRa/eQZvyKwz9DFSrPM=; b=hxRxFdW7zchyT8 puJM77qOgnVlZbbtzBkft3/v2PcgnNE5IDvkf4KdxXjNiQsHVjoQX54xpLTlqz53jDGyVrr5EZAap hWAKth8b6+ASzdrIwppZJiL+vUemVoBK7I1su3l+hbOr7+ZVQVBfqfT7C2YvoydvhZKPM0cCg4pgz XSot35iiq6jQLxW5OdQwM9j0gJrF2LN/QgP6CwrQyWxuDv1djpiIhbKaM8su+q2L+w0Gj4JTG0IHC kCz1UEvma77cxLDBZsCFCszi34fGGOKPqVk3nu/f2Va/dgxYqD2nriiXSMputrzwJl1ixgHlxfkPo BIlz+H6MbHrg1jYbbGOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qT2Ek-0004BR-1w; Mon, 07 Aug 2023 15:33:38 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qT2Eb-00047W-2d for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2023 15:33:32 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 377FX9gW041559; Mon, 7 Aug 2023 10:33:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691422389; bh=v8umCupgOqoPJ5dDP0MCVid0DrDus8c9YIkXUyBGDPo=; h=From:To:CC:Subject:Date; b=djJpPFRuscu7bMUqGvwTV8xIwDTA2pdGiOFp7QlIsvWCuqDvgKqSfWieAxFdL6Bgn XRy8l9l50IaEVjHo6PiIYHdSYmY9HKwL9As1TEtFwlXwhYD8MhDxVU203TGWmYvTt6 uq6L/orCJlEBhxKjh3Sep9s24G7nGSW1m38kLfMA= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 377FX9FM119813 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Aug 2023 10:33:09 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 7 Aug 2023 10:33:09 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 7 Aug 2023 10:33:09 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 377FX82Y084446; Mon, 7 Aug 2023 10:33:08 -0500 From: Aradhya Bhatia To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Conor Dooley , Will Deacon , Francesco Dolcini CC: Devicetree List , Linux Kernel List , Linux ARM Kernel List , Tomi Valkeinen , Rahul T R , Devarsh Thakkar , Jai Luthra , Jayesh Choudhary , Aradhya Bhatia Subject: [PATCH v4 0/6] arm64: ti: k3-am62: Add display support Date: Mon, 7 Aug 2023 21:03:01 +0530 Message-ID: <20230807153307.22174-1-a-bhatia1@ti.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230807_083329_934050_921BE7B2 X-CRM114-Status: GOOD ( 17.79 ) 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 Hi all, The patch series adds DT nodes for Display SubSystem (DSS) and other peripherals required to enable the HDMI audio and video on the AM625 SK, AM62-LP SK, as well as the AM625 based Beagle-Play platforms. An HDMI monitor can be connected to the boards for the audio/video outputs. The series adding the compatible and basic driver support[0] is in the drm-misc-next and linux-next queues and is expected to be in the mainline by v6.6-rc1. Patch 5/6 also requires Nishanth Menon's patch[1] that introduces debounce select mux macros. This patch too is not in v6.5-rc1 but has been picked up in ti-next[2] and hence, is present in linux-next. Patches 4 and 5 have been picked up from TI's vendor tree[3] based off linux-kernel v6.1. Regards Aradhya Change Log: V3 -> V4: - Added "Fixes" tag for patch 1/6. - Rebased to linux-next. - Enabled display at board level and disabled at SoC level. - Dropped OLDI pinmux configuration as OLDI output comes directly from the SoC and muxing is not required. - Squashed DSS pinmux patches into their platform specific HDMI support patches, because it did not make sense to have only one set of pinmux config separated in a patch. V2 -> V3: - Updated the compatible from "ti,am65x-dss" to "ti,am625-dss". - Peripheral nodes like HDMI TX, HDMI connector are now added to k3-am62x-sk-common.dtsi instead of k3-am625-sk.dts, in order to support AM62-LP SK-EVM as well. - Dropped the HDMI master clock node as it is not connected on the EVM, and should not have been added in the first place. - Re-worded and Re-ordered commits. - Dropped Rahul Ravikumar's R-bs because of the changes. - Added AM625 based Beagle-Play for HDMI support. - Added HDMI audio support as well. V1 -> V2: - Removed repetitive data in dss_ports V3: https://lore.kernel.org/all/20230728173438.12995-1-a-bhatia1@ti.com/ V2: https://lore.kernel.org/all/20220505134303.23208-1-a-bhatia1@ti.com/ V1: https://lore.kernel.org/all/20220427090850.32280-1-a-bhatia1@ti.com/ [0]: https://lore.kernel.org/all/20230616150900.6617-1-a-bhatia1@ti.com/ [1]: https://lore.kernel.org/all/20230619131620.3286650-1-nm@ti.com/ [2]: https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git/commit/?id=0bec3d7ecc7493b0e530f6f34539841ef6779006 [3]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?h=ti-linux-6.1.y-cicd Aradhya Bhatia (4): arm64: dts: ti: k3-am62x-sk-common: Update main-i2c1 frequency arm64: dts: ti: k3-am62-main: Add node for DSS arm64: dts: ti: k3-am62x-sk-common: Add HDMI support arm64: defconfig: Enable ITE_IT66121 HDMI transmitter Jai Luthra (1): arm64: dts: ti: am62x-sk: Add overlay for HDMI audio Nishanth Menon (1): arm64: dts: ti: k3-am625-beagleplay: Add HDMI support arch/arm64/boot/dts/ti/Makefile | 3 + arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 25 +++ .../arm64/boot/dts/ti/k3-am625-beagleplay.dts | 158 ++++++++++++++++++ .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 95 ++++++++++- .../boot/dts/ti/k3-am62x-sk-hdmi-audio.dtso | 40 +++++ arch/arm64/configs/defconfig | 1 + 6 files changed, 321 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am62x-sk-hdmi-audio.dtso base-commit: f7dc24b3413851109c4047b22997bd0d95ed52a2