From patchwork Thu Feb 1 12:54:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aradhya Bhatia X-Patchwork-Id: 195312 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp127585dyb; Thu, 1 Feb 2024 04:57:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEc9igRuErkayFty6lSAQa6CMzc+22+KmhJo91ByfXD1b973DQsiI6V2AOzwxtvcqcI/BB5 X-Received: by 2002:a17:906:84c:b0:a34:dbdc:929b with SMTP id f12-20020a170906084c00b00a34dbdc929bmr3658369ejd.0.1706792227569; Thu, 01 Feb 2024 04:57:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706792227; cv=pass; d=google.com; s=arc-20160816; b=eClUFsVJGvI+T2jgIOCM+fu8rygC7eVpvriZBbkf85qQbeAvvPQ/CQg9SuIIF8OggP aB5RtHpyrlZgld9PlmWjvVxl8CZUNmhd2gyO2BIS8+oKtW3jx5taR+Q8NWU/DQ2CBgPd 26wkxAZczkcFNJuJRaBAESc7BW2eoYCj2oPhjSg6dlUL3zfNOnCWJZDUae3601TufO3U LNrvEAurUyGAO8ii4OEi+t+zLVQ+gfBOwKElXMfzcUUAQaz5YnSa/g0hI4A7JBb1IgML ln20m7Du3QylEdRyh5YwarpJrETBp38pZJvqYJOCy4oDrTySLSoQ6b7A+AQy7Z6vG3P2 xn6A== 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=mmJpW7ZwzATTLnP59VBBwIaLJKwncunf09Qcm4loyTU=; fh=hovYsO9m5SYc6625h4tzWCAT0p2p0ASoj4KwZzAraEs=; b=OgUmJNTGx3IiGXXigMYzztOasFkvmq5uLmxs83oRgU0QwGK6y2ZDYNzY0W9JmAe77B p7TvlJZe7Mts+JoBDLC3WCI/8knAZJm5PkWSqMLUjzQOdivrUHaQ4LpXorFbXTjtK9zK wEzafXN4vxAcuSyV/z5FGXU9NjOE6nWyAjaAksvMnYSDHyvJ1aFeKUrge1+bCEFl9FPX N8AcPSsvtyU3cWUw3MjhOeuHSRXCxaU1XA5T6NlBLR/soU96uE+zdGvF3m8LwpcLlyyH OrxZ1UsYL51ZzQXL99+/73JoiodJnhH32CVitZ39JEVP5VZWzMOPXJAaGxb6t+GyW27V 8dFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NUclF66r; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-48178-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48178-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCUKTokQfPZ0KM4c43haATiaPWwiwYHncOZhFpc7GAWspbV/tklQg9O9RsxfdCCXBghYEj6M8uIXMPLcWJEDEaxlCtxfZw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p24-20020a170906229800b00a36ae7641edsi865875eja.292.2024.02.01.04.57.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 04:57:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48178-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NUclF66r; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-48178-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48178-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3FAE31F24263 for ; Thu, 1 Feb 2024 12:56:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C85D35CDF0; Thu, 1 Feb 2024 12:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="NUclF66r" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 88ABF4D9E9; Thu, 1 Feb 2024 12:55:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792111; cv=none; b=aIqfAQZIJjFo53PaNQpxwW2oLOwE5WQwpMBry4X1jnz4g+AuEIGaOEvseZSaqVOHBC/75l6GolmCMHTJ3TNk4VxBRqz/iXZ6kCM+iYvm8zbO9rq+O5JTpEFC2TlouJs3uSHa9v6jNVCdHkHXjb/oKeqOtDZfqc4RRdMVGzJB8J8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792111; c=relaxed/simple; bh=U0Zh0cmLjjKhko/TxWTtbUip1z23mZYUCdZulLbPFak=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gaWS9evFscqou7VD4vZO4cSnIZqKK4afVt/FTy/dTp4letw5AAbSSvkDjTbc+yUDoVBgcPECEuRb+uDuyglGTkIU6tMLslDQKYtHMiUE1kIuNX/5IyuSnPlfF5gFf0qt2dx/Iw+1PIuY/qYQ/WUvE17ZC7s5sQFRkmqF5xMk5go= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=NUclF66r; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411CstNK101302; Thu, 1 Feb 2024 06:54:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706792095; bh=mmJpW7ZwzATTLnP59VBBwIaLJKwncunf09Qcm4loyTU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NUclF66rzyh119mcWk128PojxKIUKGIgqOu16aM/e/sV4WVDEZLposIvXZeNgD+vB 4s8BQ0jLa956IJZXCCA9z/koj7gBOuoBjNVlTfIoQAQgjyqFVTJo+4SubQdFBu+GXe nr+cI8Mte+vglHbSM4QUhpUA+r42jVamEO3ONj14= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411CstVX094821 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 06:54:55 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 1 Feb 2024 06:54:55 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE111.ent.ti.com (157.170.170.22) 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; Thu, 1 Feb 2024 06:54:54 -0600 Received: from localhost (uda0496377.dhcp.ti.com [10.24.69.150]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 411Cssoa064890; Thu, 1 Feb 2024 06:54:54 -0600 From: Aradhya Bhatia To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Devicetree List , Linux Kernel List , Linux ARM Kernel List , Tomi Valkeinen , Devarsh Thakkar , Jai Luthra , Aradhya Bhatia Subject: [PATCH 1/3] arm64: dts: ti: k3-am62a-main: Add node for Display SubSystem (DSS) Date: Thu, 1 Feb 2024 18:24:50 +0530 Message-ID: <20240201125452.1920623-2-a-bhatia1@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240201125452.1920623-1-a-bhatia1@ti.com> References: <20240201125452.1920623-1-a-bhatia1@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789701366917291560 X-GMAIL-MSGID: 1789701366917291560 Add Display SubSystem (DSS) DT node for the AM62A7 SoC. The DSS supports one each of video pipeline (vid) and video-lite pipeline (vidl1). The video port 1 (vp1) is tied-off in AM62A SoC, but the pipeline remains active. The video port 2 (vp2) outputs the DPI signals. Both the video ports are connected to the pipelines via 2 identical overlay managers (ovr1 and ovr2). Signed-off-by: Aradhya Bhatia --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index f0b8c9ab1459..d3de5ad3eeb2 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -985,4 +985,29 @@ dphy0: phy@30110000 { power-domains = <&k3_pds 185 TI_SCI_PD_EXCLUSIVE>; status = "disabled"; }; + + dss: dss@30200000 { + compatible = "ti,am62a7-dss"; + reg = <0x00 0x30200000 0x00 0x1000>, /* common */ + <0x00 0x30202000 0x00 0x1000>, /* vidl1 */ + <0x00 0x30206000 0x00 0x1000>, /* vid */ + <0x00 0x30207000 0x00 0x1000>, /* ovr1 */ + <0x00 0x30208000 0x00 0x1000>, /* ovr2 */ + <0x00 0x3020a000 0x00 0x1000>, /* vp1: Tied OFF in the SoC */ + <0x00 0x3020b000 0x00 0x1000>; /* vp2: Used as DPI Out */ + reg-names = "common", "vidl1", "vid", + "ovr1", "ovr2", "vp1", "vp2"; + power-domains = <&k3_pds 186 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 186 6>, + <&k3_clks 186 0>, + <&k3_clks 186 2>; + clock-names = "fck", "vp1", "vp2"; + interrupts = ; + status = "disabled"; + + dss_ports: ports { + #address-cells = <1>; + #size-cells = <0>; + }; + }; }; From patchwork Thu Feb 1 12:54:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aradhya Bhatia X-Patchwork-Id: 195313 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp127650dyb; Thu, 1 Feb 2024 04:57:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IE32WUvfupNMN0RuBDOzomvDjlKTCZMEkLSg5pj/8Mh1FAqJ6KsIA5SGNhhUhcEfGRAwF0l X-Received: by 2002:a17:906:e2cd:b0:a26:90a0:696e with SMTP id gr13-20020a170906e2cd00b00a2690a0696emr3655728ejb.41.1706792235400; Thu, 01 Feb 2024 04:57:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706792235; cv=pass; d=google.com; s=arc-20160816; b=D5kRKtq39iLpRppNVbIMTL2kW0oLUk5XRjfYQRocwRKF5Ef24QIhgBk5kHnD4oRi5i 9dRmKI6dFzcOJiu0Wz92QhJsa4CYoASAbbAN4v2IzhzQksXkO0JRn1Xbout9rnuWLog9 sYXMPBrSGKunDBQiHDwl1nWxkYBAf4az+VYYtcxLWVF/b3woEbUo7BM7bevIHlwyNpkx PBSX+NhiHpzHLvPhZnIneOBcsgNgqDP6nvGVYndd+wyW56p2QnwHNrapG1yevM02Snnz aRYQNidEosoKRd+F0SIe/aIWUU1T/49JH0Dlkncz8/TvQ0KOg6SBm0GrUuwm6UoQG04x Aqgw== 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=I9C8j80OYqB8fkbojgDA76Rz4b12KcYaW0of1v1Lxp0=; fh=FcWB251STks4zY9fM+eVfKXmFVx6TgDW109f+6YqGVI=; b=Bt+f/SdCYe50y7BGcffhBNhkzZAlVDZoVfLTuLcc3aFhym1tFRQrUl84S7Sg8lAXdS ivRT4t+Bpwly/ij5DDezmp9IT9VkNzfUGGcdhFNl2Nfyvn9WSMOuQKkT5l+ZKqkHsqEM ybu5D6V91Xx2J/AV4taOu2AWHpEwj9hD5ygx2WWDzw5+H/uB9eYEGYZuP/teCJ8skcMp BBBtdz5IZvHkEo5yHUbWqXMdiD/95ylLJz+ncAroHOd2R+4LiSpl09NouExvJ2gTEtiy QcvBfagusfdEMSGcGrzRQCZQs2CYYduH2try7lVw3aD0CLxV7ZCe98GMDTz7rKkBoB20 T6qA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DYO1FWOY; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-48179-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48179-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCVvmQ1JhHRy1oAid0wa8Kh3/AkQZ2wXDZJLyXweAHnV/SzjKCbAYxismP+0eaWMuiIT4KxLZqnDw517Lk9H5ChMCWNCqQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h7-20020a170906718700b00a3123241fecsi6370642ejk.589.2024.02.01.04.57.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 04:57:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48179-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DYO1FWOY; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-48179-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48179-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 587D41F27C81 for ; Thu, 1 Feb 2024 12:56:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 073765D468; Thu, 1 Feb 2024 12:55:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="DYO1FWOY" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 CD88D5338E; Thu, 1 Feb 2024 12:55:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792113; cv=none; b=gTSX9SLzqONQzADCDFByIVFf10Eamyy+HWRbYvMZsZCgpbVmB35OCqdnNLhlo9D+XyafVqmG6yFnQOZ+lMMid9jAzjtzXsOposCEgNr8xkDr4jixsbA/kmYO2jE8tXUYUVf8h3pnPcnhgDSriVrnRxcbaVC02+xhQGavB/mK9uc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792113; c=relaxed/simple; bh=nMXrimNiXNgwsxKsgEdDdFyfIjwVgI99zTL2+O7FGXQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=P2UQ+zdzNjMylKw57UxqvkH+wd8AxGHe3WKm+DXAomTnXX9V1AuGzyv5FlWjaApvVzd9clpsM+5JyHysF2mPUZwXHGv32b2Dr69tp3RwE8WXrUWzEhXMnYBvcmmNYYGsJio2IFeCj5mIPQLsLbQY95dgjW3JIEWJ74ry1QHCxaw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=DYO1FWOY; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411CsuRZ101307; Thu, 1 Feb 2024 06:54:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706792096; bh=I9C8j80OYqB8fkbojgDA76Rz4b12KcYaW0of1v1Lxp0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DYO1FWOYw1dyfIdtk9XLXjatOY5hUqs9I5xfTSnK7yySbDN3Dqh0JrYn38U3RICSo 9KJ0+42x9DPYCt9YV5Rp4pIjQXAeoTCQjm6GMiIMxm1757Iu3PRvbLNPD+IcfnUPv+ loTG9abvjwiOcedBfCaZtZsfdq7+jJY+DunF26vE= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411Csumr107731 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 06:54:56 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 1 Feb 2024 06:54:56 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE104.ent.ti.com (10.64.6.25) 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; Thu, 1 Feb 2024 06:54:56 -0600 Received: from localhost (uda0496377.dhcp.ti.com [10.24.69.150]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 411Cstam064963; Thu, 1 Feb 2024 06:54:56 -0600 From: Aradhya Bhatia To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Devicetree List , Linux Kernel List , Linux ARM Kernel List , Tomi Valkeinen , Devarsh Thakkar , Jai Luthra , Aradhya Bhatia Subject: [PATCH 2/3] arm64: dts: ti: k3-am62a7-sk: Add HDMI support Date: Thu, 1 Feb 2024 18:24:51 +0530 Message-ID: <20240201125452.1920623-3-a-bhatia1@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240201125452.1920623-1-a-bhatia1@ti.com> References: <20240201125452.1920623-1-a-bhatia1@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789701374727402813 X-GMAIL-MSGID: 1789701374727402813 The DSS outputs DPI signals via its second video port (VP2). The DPI output from DSS is 24 bits (RGB888) and is forwarded to an HDMI transmitter (SIL9022) on the board. Add pinmux info for DSS DPI output. Add DT nodes for SIL9022 HDMI transmitter (TX), and the HDMI connector on the AM62A7-SK platforms. Additionally, connect the output of DSS (VP2) with input of the HDMI TX, and the output of HDMI TX to the input of the HDMI connector. Signed-off-by: Aradhya Bhatia --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 92 +++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index 7b7142586295..c9eb2a9aef39 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -132,6 +132,18 @@ tlv320_mclk: clk-0 { clock-frequency = <12288000>; }; + hdmi0: connector-hdmi { + compatible = "hdmi-connector"; + label = "hdmi"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&sii9022_out>; + }; + }; + }; + codec_audio: sound { compatible = "simple-audio-card"; simple-audio-card,name = "AM62Ax-SKEVM"; @@ -181,6 +193,39 @@ &wkup_uart0 { }; &main_pmx0 { + main_dss0_pins_default: main-dss0-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x100, PIN_OUTPUT, 0) /* (V17) VOUT0_VSYNC */ + AM62AX_IOPAD(0x0f8, PIN_OUTPUT, 0) /* (T18) VOUT0_HSYNC */ + AM62AX_IOPAD(0x104, PIN_OUTPUT, 0) /* (AA22) VOUT0_PCLK */ + AM62AX_IOPAD(0x0fc, PIN_OUTPUT, 0) /* (U17) VOUT0_DE */ + AM62AX_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ + AM62AX_IOPAD(0x0bc, PIN_OUTPUT, 0) /* (U21) VOUT0_DATA1 */ + AM62AX_IOPAD(0x0c0, PIN_OUTPUT, 0) /* (U20) VOUT0_DATA2 */ + AM62AX_IOPAD(0x0c4, PIN_OUTPUT, 0) /* (U19) VOUT0_DATA3 */ + AM62AX_IOPAD(0x0c8, PIN_OUTPUT, 0) /* (T19) VOUT0_DATA4 */ + AM62AX_IOPAD(0x0cc, PIN_OUTPUT, 0) /* (U18) VOUT0_DATA5 */ + AM62AX_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (V22) VOUT0_DATA6 */ + AM62AX_IOPAD(0x0d4, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA7 */ + AM62AX_IOPAD(0x0d8, PIN_OUTPUT, 0) /* (V19) VOUT0_DATA8 */ + AM62AX_IOPAD(0x0dc, PIN_OUTPUT, 0) /* (V18) VOUT0_DATA9 */ + AM62AX_IOPAD(0x0e0, PIN_OUTPUT, 0) /* (W22) VOUT0_DATA10 */ + AM62AX_IOPAD(0x0e4, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA11 */ + AM62AX_IOPAD(0x0e8, PIN_OUTPUT, 0) /* (W20) VOUT0_DATA12 */ + AM62AX_IOPAD(0x0ec, PIN_OUTPUT, 0) /* (W19) VOUT0_DATA13 */ + AM62AX_IOPAD(0x0f0, PIN_OUTPUT, 0) /* (Y21) VOUT0_DATA14 */ + AM62AX_IOPAD(0x0f4, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA15 */ + AM62AX_IOPAD(0x05c, PIN_OUTPUT, 1) /* (P22) GPMC0_AD8.VOUT0_DATA16 */ + AM62AX_IOPAD(0x060, PIN_OUTPUT, 1) /* (R19) GPMC0_AD9.VOUT0_DATA17 */ + AM62AX_IOPAD(0x064, PIN_OUTPUT, 1) /* (R20) GPMC0_AD10.VOUT0_DATA18 */ + AM62AX_IOPAD(0x068, PIN_OUTPUT, 1) /* (R22) GPMC0_AD11.VOUT0_DATA19 */ + AM62AX_IOPAD(0x06c, PIN_OUTPUT, 1) /* (T22) GPMC0_AD12.VOUT0_DATA20 */ + AM62AX_IOPAD(0x070, PIN_OUTPUT, 1) /* (R21) GPMC0_AD13.VOUT0_DATA21 */ + AM62AX_IOPAD(0x074, PIN_OUTPUT, 1) /* (T20) GPMC0_AD14.VOUT0_DATA22 */ + AM62AX_IOPAD(0x078, PIN_OUTPUT, 1) /* (T21) GPMC0_AD15.VOUT0_DATA23 */ + >; + }; + main_uart0_pins_default: main-uart0-default-pins { pinctrl-single,pins = < AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (E14) UART0_RXD */ @@ -466,6 +511,36 @@ exp2: gpio@23 { "CSI_EN", "AUTO_100M_1000M_CONFIG", "CSI_VLDO_SEL", "SoC_WLAN_SDIO_RST"; }; + + sii9022: bridge-hdmi@3b { + compatible = "sil,sii9022"; + reg = <0x3b>; + interrupt-parent = <&exp1>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + #sound-dai-cells = <0>; + sil,i2s-data-lanes = < 0 >; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + sii9022_in: endpoint { + remote-endpoint = <&dpi1_out>; + }; + }; + + port@1 { + reg = <1>; + + sii9022_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; }; &main_i2c2 { @@ -583,3 +658,20 @@ &mcasp1 { tx-num-evt = <32>; rx-num-evt = <32>; }; + +&dss { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&main_dss0_pins_default>; +}; + +&dss_ports { + /* VP2: DPI Output */ + port@1 { + reg = <1>; + + dpi1_out: endpoint { + remote-endpoint = <&sii9022_in>; + }; + }; +}; From patchwork Thu Feb 1 12:54:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aradhya Bhatia X-Patchwork-Id: 195330 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp141818dyb; Thu, 1 Feb 2024 05:17:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxodheKyIxU3i3febKxofHrcbICvhU7YYiRp/0Cu+Qi5INXPbI6+PFGcu9Xeq+Jbx/2lAU X-Received: by 2002:aa7:8655:0:b0:6dd:879e:7b3f with SMTP id a21-20020aa78655000000b006dd879e7b3fmr4699499pfo.14.1706793429382; Thu, 01 Feb 2024 05:17:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706793429; cv=pass; d=google.com; s=arc-20160816; b=n2tQRoNAaABrPPkH54WYbgUspWPLhqeSJ53iu0r0uQPxy6M0wAY2xpHY8l5paCGCQM yA42irY211GogUR4gGb+MK03EqRyNMV1V86fEyauqduNJN7/VNR5Ic9BpV4o5w5aGPaT 0+7oKGtFPnJGCIkDL4MaKL+20HTTOW2ewvyrzVSRfNL2KnhxCyQ3HaGWwSJsHpt1NZFZ U6676ll9luF+8f/MnKDW0GhmBM041tCjPbsWTexgaNmkLIQ4Bc2q9tWbBfhWTpIgZmEK oWFBpovoZge3uP8sMD1BxLZvpjiKa0ZJnYKkSueYk3ge7EceNEfaJzsAE2E6E3OgiBix ITIA== 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=ljOISbxwAaWgC1U7v2QSWxsLa2EOhwDdDPkRu4yl3fY=; fh=gZTYPz4qNuLTPsHhUET/OnbC1dkgzuGrrRx/T4aJYi8=; b=ZsKWGMOyp9x/kj/rCegtbhWt/mW4fQPBm87j+R+GI2pwsmBpNFbs9naVfeorY91hxW 0UuyVI+plhujqDYWGSe+41Ml3kU+dL4E0FundjvsyIcRV+QuvWTiHnULM3zJnrBB/Q6o OwqJreNMdNMf0Dmuzl9taN4cZ12KkGMJ3N2iCjyFaPMQtaE8Qj1qSxvkEc2C3YHttVkA Sw2TGWNCIvsousDbtFbn38EGgFHMPMm4P7XqKdQvFFMkLRE4hyT63A/dtXwSKBskLm2o j6E4fURzcRkeWQ/k2uqzTLzMR9WnbxASPANuIrh2l7DzeKEc4w2fOYS7x54dXii2KRPv kY6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=B9sq9QGz; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-48177-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48177-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCVbqsiVC0e6aL4zXL/9sXO3WjgVvFrQALGBP9Bs39iBcuYzcxDHnreM/mGlX3ZPfMIbu8hD3qyPUUJLjj/qZGSm/9rP9w== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f4-20020a056a0022c400b006dd89fd9b29si823484pfj.73.2024.02.01.05.17.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 05:17:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48177-ouuuleilei=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=@ti.com header.s=ti-com-17Q1 header.b=B9sq9QGz; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-48177-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48177-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3E34DB2849E for ; Thu, 1 Feb 2024 12:56:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 395D45CDE5; Thu, 1 Feb 2024 12:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="B9sq9QGz" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 CE2D486649; Thu, 1 Feb 2024 12:55:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792110; cv=none; b=H+4D1afTxWe5htJe25pB1TbbvEi1UyY69J386oBFHfIOz/9+Qb7HeUeA/rbW4mTxVM2sr3x39R8LEQ42xiGE4GJsPaxgPsRmGxaMds4WaUYaEVexr8LCv88YvsjwAoCRF12XvpLejRA0vBVHo6xmLZhP2mO5bBUZLl2mhwqUpAE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792110; c=relaxed/simple; bh=Mr/Zkt8JPleAbXMnwe+hgMTOnTk7eqQCY4KlDPbx6LQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mhYKf+Ic4zntce9UXZWXCiZvDWFMoGdL16fWyUsifV1kQ2FgOOtqIWu+TYxrdkyVeCMJHRFsD2xV6SFhczsI84kmBH1/izre1MrwJVK6HtmG/zEqfVxxpkz0jd2i/XvjGCQaZ9rYOoCQI0HqM2b3spN8zmhAe7SQPr5SvN3UnaM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=B9sq9QGz; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411CswDn030469; Thu, 1 Feb 2024 06:54:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706792098; bh=ljOISbxwAaWgC1U7v2QSWxsLa2EOhwDdDPkRu4yl3fY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=B9sq9QGzABbE4gs1OlFCPozh4Jk4R8cxTYRSImwhzwEw8zefLzBXbimP3f6xE0P3Y kqjXCRH8Y6Icjm3Ow+mO3SsQVbMTFW9lsRYFxuLjGzB3TearKySefnrzayDYc6R+lQ bxv+eYpszs+iorMo7V+lKp07TOnsicXiycJ2nXZA= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411CswW9055124 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 06:54:58 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 1 Feb 2024 06:54:58 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE113.ent.ti.com (157.170.170.24) 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; Thu, 1 Feb 2024 06:54:58 -0600 Received: from localhost (uda0496377.dhcp.ti.com [10.24.69.150]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 411CsvGJ125154; Thu, 1 Feb 2024 06:54:57 -0600 From: Aradhya Bhatia To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Devicetree List , Linux Kernel List , Linux ARM Kernel List , Tomi Valkeinen , Devarsh Thakkar , Jai Luthra , Aradhya Bhatia Subject: [PATCH 3/3] arm64: dts: ti: Makefile: Add HDMI audio check for AM62A7-SK Date: Thu, 1 Feb 2024 18:24:52 +0530 Message-ID: <20240201125452.1920623-4-a-bhatia1@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240201125452.1920623-1-a-bhatia1@ti.com> References: <20240201125452.1920623-1-a-bhatia1@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789702626978163653 X-GMAIL-MSGID: 1789702626978163653 HDMI audio can be enabled over AM62A-SK using the same DT overlay that is used for AM625 / AM62-LP SK-EVMs. Add the sk.dtb + hdmi-audio.dtbo combination for AM62A7-SK as well, to check for overlay applicability during DTBS compile tests. Signed-off-by: Aradhya Bhatia --- arch/arm64/boot/dts/ti/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 52c1dc910308..a0304fcd6b5e 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -101,6 +101,7 @@ k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \ k3-am62x-sk-csi2-ov5640.dtbo k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \ k3-am62x-sk-csi2-tevi-ov5640.dtbo +k3-am62a7-sk-hdmi-audio-dtbs := k3-am62a7-sk.dtb k3-am62x-sk-hdmi-audio.dtbo k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \ k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \ @@ -118,6 +119,7 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \ k3-am62-lp-sk-hdmi-audio.dtb \ k3-am62a7-sk-csi2-imx219.dtb \ k3-am62a7-sk-csi2-ov5640.dtb \ + k3-am62a7-sk-hdmi-audio.dtb \ k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \ k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \ k3-j721e-evm-pcie0-ep.dtb \