Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp329129rdb; Tue, 16 Jan 2024 01:14:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWynQ8sN0amrX4O7OXlWiaFvxKZQiAk6S/tbKYsk3SpqU2kDfqpMdQ3aOtE1zYdsMx3dWP X-Received: by 2002:ad4:5ca7:0:b0:680:c1e5:e488 with SMTP id q7-20020ad45ca7000000b00680c1e5e488mr10013587qvh.36.1705396458365; Tue, 16 Jan 2024 01:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705396458; cv=none; d=google.com; s=arc-20160816; b=EonKggLXg4xYfekFdFTRojXnjgWOX0wgZpdA7GhpVF3/rU76VgT/8OkGGg+g1ptkyV 1HxvyYr57Kd4S8uS/V7XCJ5Ob4SwFctac7rzegMiPULN6TtRchtUZK94MC+9OpFAhDlD jBlDaLodVCCdqAzsLvek207oOlD2arttqWN3LyOlHj4J5wvJmILC0Hbd96l28mM/eCaS M3lfxqQgBnnCAlk+cD3quD2bUwMVOy7E7FfulZDjLa4hzbgXMLBMS3r8QmqosaMthGZM JD80lECWISnwlJZk6XWSLTHMSlO7KWxgYyZJoRMm8hVAiB707OBzCVckVw18HdNFq7Kr 7jGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=nJQizBl1NxeJeism2TSUWEXRTwS6P64j/cHB1gifO1s=; fh=EHgAN910fQARLGN69xxPbq52QdKUfVMt5deMB9r5D4Y=; b=IoTCDowmXu95Fma2uTFs9IXnQR5GfwvvHdz80n1rjBzns9uioq+zrgCCy3HC0h6pWR K62fB9NuAQEdczXnws/C6QhKX65NJ4NmpE8AenWMkNVGPP9qWtBgNfRm5RvZJet+qT1b CrlNoLiO+XQJyscUeMEXIeDJ6lKJgw/JjKEimHHmx+9voDTeP7Zp+yjQEvQ91M0udHX6 BsZGiY/XkbOaFa940Yvae/EIciv40R51Nvt7pSGOs9UvsN5VB02oQCHvgVCl+aonE1V6 ePaQfmLSRwB6gzNCV0ly4Ev0uwOE1gQ0Ho/RczgmqwrxOYG7iu3J/hQnRSmd+PFZGm40 66cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Xq75KyWa; spf=pass (google.com: domain of linux-kernel+bounces-27156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27156-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 m5-20020a0cac45000000b0067f1b8febe2si9419767qvb.98.2024.01.16.01.14.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 01:14:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27156-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=@ti.com header.s=ti-com-17Q1 header.b=Xq75KyWa; spf=pass (google.com: domain of linux-kernel+bounces-27156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27156-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 221841C22FAF for ; Tue, 16 Jan 2024 09:14:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 931EC12B6D; Tue, 16 Jan 2024 09:14:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="Xq75KyWa" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 26C83125C8; Tue, 16 Jan 2024 09:14:07 +0000 (UTC) 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 fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40G9DWUO127272; Tue, 16 Jan 2024 03:13:32 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1705396412; bh=nJQizBl1NxeJeism2TSUWEXRTwS6P64j/cHB1gifO1s=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=Xq75KyWa5nqqS0y0Tbne7SalAk1kzexDlCgEm99U4JwqDy+D49qdRKtrOIKpjAyKN iReiPttyJP80YUw+rz0n6bZsbLsrs2Sc44z28MzqobE1t8lLPzeWpcf9gzzXe4EM0y Qn7piYX2N+G/obPzaAwudYV+2GHf7sOTNV9gaiJo= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40G9DWPS043190 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 16 Jan 2024 03:13:32 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 16 Jan 2024 03:13:31 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE100.ent.ti.com (10.64.6.21) 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; Tue, 16 Jan 2024 03:13:31 -0600 Received: from [172.24.227.193] (devarsht.dhcp.ti.com [172.24.227.193]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40G9DPt4108827; Tue, 16 Jan 2024 03:13:26 -0600 Message-ID: <060358d6-ade1-b84e-4550-e2ae34a6d53c@ti.com> Date: Tue, 16 Jan 2024 14:43:25 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/2] dt-bindings: display: ti,am65x-dss: Add support for common1 region To: Conor Dooley CC: , , , , , , , , , , , , , , , , , , References: <20240115125716.560363-1-devarsht@ti.com> <20240115125716.560363-2-devarsht@ti.com> <20240115-craftsman-capricorn-d2930678c222@spud> Content-Language: en-US From: Devarsh Thakkar In-Reply-To: <20240115-craftsman-capricorn-d2930678c222@spud> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi Conor, Thanks for the review. On 15/01/24 21:47, Conor Dooley wrote: > On Mon, Jan 15, 2024 at 06:27:15PM +0530, Devarsh Thakkar wrote: >> TI keystone display subsystem present in AM65 and other SoCs such as AM62 > > Do all 3 SoCs supported by this binding (am625 am62a7 am65x) have this > common1 register? If not, you should limit it the platforms that do have > it. > Yes all 3 SoCs supported by binding have common1 register space supported. AM62x TRM: https://www.ti.com/lit/pdf/spruiv7 (Section 14.8.9.1 DSS Registers) AM65x TRM: https://www.ti.com/lit/pdf/spruid7 (Section 12.6.5 DSS Registers) AM62A TRM: https://www.ti.com/lit/pdf/spruj16 (Section 14.9.9.1 DSS Registers) Regards Devarsh > Thanks, > Conor. > >> support two separate register spaces namely "common" and "common1" which >> can be used by two separate hosts to program the display controller as >> described in respective Technical Reference Manuals [1]. >> >> The common1 register space has similar set of configuration registers as >> supported in common register space except the global configuration >> registers which are exclusive to common region. >> >> This adds binding for "common1" register region too as supported by the >> hardware. >> >> [1]: >> AM62x TRM: >> https://www.ti.com/lit/pdf/spruiv7 (Section 14.8.9.1 DSS Registers) >> >> AM65x TRM: >> https://www.ti.com/lit/pdf/spruid7 (Section 12.6.5 DSS Registers) >> >> Signed-off-by: Devarsh Thakkar >> --- >> .../devicetree/bindings/display/ti/ti,am65x-dss.yaml | 7 +++++-- >> 1 file changed, 5 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> index b6767ef0d24d..55e3e490d0e6 100644 >> --- a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> +++ b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> @@ -37,6 +37,7 @@ properties: >> - description: OVR2 overlay manager for vp2 >> - description: VP1 video port 1 >> - description: VP2 video port 2 >> + - description: common1 DSS register area >> >> reg-names: >> items: >> @@ -47,6 +48,7 @@ properties: >> - const: ovr2 >> - const: vp1 >> - const: vp2 >> + - const: common1 >> >> clocks: >> items: >> @@ -147,9 +149,10 @@ examples: >> <0x04a07000 0x1000>, /* ovr1 */ >> <0x04a08000 0x1000>, /* ovr2 */ >> <0x04a0a000 0x1000>, /* vp1 */ >> - <0x04a0b000 0x1000>; /* vp2 */ >> + <0x04a0b000 0x1000>, /* vp2 */ >> + <0x04a01000 0x1000>; /* common1 */ >> reg-names = "common", "vidl1", "vid", >> - "ovr1", "ovr2", "vp1", "vp2"; >> + "ovr1", "ovr2", "vp1", "vp2", "common1"; >> ti,am65x-oldi-io-ctrl = <&dss_oldi_io_ctrl>; >> power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>; >> clocks = <&k3_clks 67 1>, >> -- >> 2.34.1 >>