From patchwork Mon Aug 7 15:33:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aradhya Bhatia X-Patchwork-Id: 132256 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1581527vqr; Mon, 7 Aug 2023 09:58:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFBmixotOTPrGNkpi74EXjycnQk4cNSH5FZdfI0kHm95wVXwkjD1GOPuBL9MyuATOdNeNTQ X-Received: by 2002:a17:90a:9504:b0:269:1abd:3ba6 with SMTP id t4-20020a17090a950400b002691abd3ba6mr7988646pjo.28.1691427500594; Mon, 07 Aug 2023 09:58:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691427500; cv=none; d=google.com; s=arc-20160816; b=l/SWO2dEkxAc6PaU7qpSqdiJ1RsxHuYBuAfzP+5IjF1t6Fw45I6/LjCqrJwBybSe7b zqiXRomIK4IJem/ab/qBSTym7wrYelpanHYHORdDk77OqT1pARCSUbGS8Y67l9FY8Lc/ Z0crsU59on6z/DlSmk9swWc7bCsME+3vZbwkNLBtWSAhw/AHawtP1OqzzZjoRlSR0CrS yyiNvSm3NDs4X4kLll/lTx8BIydSiWLSco1ztSWoJwYQrFdqMRaIaHNaM4vEP7+B49JN d4G+y5uiUW93gbKN3/0AYhP0gKdnktZROv03nOMJaRZmHFA+70rJvOsg9KvtnRUHaV6y WyiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RJmOQeKql59rBxSYQ7cd3MAn1b1akSFBm9gtQUbZ7NU=; fh=Il8YZM5/F0G6fW6jRGwTBh/PJehaB9uye1IIJCssVD8=; b=qMAzHyJ8gXqwwdpkPVG+GczkW3t+mJ9/zFTF3VRBbhVvPMTvXqy+WskpUSMlSzj2aT zcvhdaOJOutiQs2WsX3rBU+nt40uuF2/owUNZC0A/yhYpYnRdb0ffwiNfUVHGeUsJpWs SWoNR0zIZY64sxGoAbLX1G2BqwVw9QwvpnghIcs4jMYWml94/HijZjdwcuwvxMv0daZN oWxJR47S6VqrBHAh6+XIX6EdxKkOhg3tyU59b/oEVGX6+O9VpxEY5Ao9VklgZKk8ht83 DbqaTa7Gtme/3T0mZenLrFyK2FpjYEQUTROmBFNVlAvSqCqM7KKe4UfYoNaoBtNonQ8T cO+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Us9uDk/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jo3-20020a17090b140300b00263e423753dsi3904328pjb.42.2023.08.07.09.58.06; Mon, 07 Aug 2023 09:58:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Us9uDk/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230321AbjHGPdv (ORCPT + 99 others); Mon, 7 Aug 2023 11:33:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230333AbjHGPdr (ORCPT ); Mon, 7 Aug 2023 11:33:47 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4323D10DE; Mon, 7 Aug 2023 08:33:31 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 377FXCx9058124; Mon, 7 Aug 2023 10:33:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691422392; bh=RJmOQeKql59rBxSYQ7cd3MAn1b1akSFBm9gtQUbZ7NU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Us9uDk/7yGt5ghCEA0mY8zC/eYT4bFrGAXI1PwIUe4xf9EjAHs6yD17fzGQliXpYr z4Fo+KtrzB750FZyLyaaeZ46pAjvIFPpA4aE+BKxOJPvKuAKjuQkZi7wuItUA6Ta/q UFcWJH+B1kMty8BM728eEWpYaRFY2f3fUuN1gPng= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 377FXCkx104663 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Aug 2023 10:33:12 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE103.ent.ti.com (157.170.170.33) 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:12 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE109.ent.ti.com (157.170.170.41) 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:12 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 377FXBuu067289; Mon, 7 Aug 2023 10:33:11 -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 2/6] arm64: dts: ti: k3-am62-main: Add node for DSS Date: Mon, 7 Aug 2023 21:03:03 +0530 Message-ID: <20230807153307.22174-3-a-bhatia1@ti.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230807153307.22174-1-a-bhatia1@ti.com> References: <20230807153307.22174-1-a-bhatia1@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773590283025448736 X-GMAIL-MSGID: 1773590283025448736 Add Display SubSystem (DSS) DT node for the AM625 SoC. The DSS supports one each of video pipeline (vid) and video-lite pipeline (vidl1). It outputs OLDI signals on one video port (VP1) and DPI signals on another (VP2). 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-am62-main.dtsi | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index ef90b2bc81eb..6cdca8df1091 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -717,6 +717,31 @@ cpts@3d000 { }; }; + dss: dss@30200000 { + compatible = "ti,am625-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: Used for OLDI */ + <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>; + }; + }; + hwspinlock: spinlock@2a000000 { compatible = "ti,am64-hwspinlock"; reg = <0x00 0x2a000000 0x00 0x1000>;