Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp261232rdb; Wed, 14 Feb 2024 21:53:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVExEROMtj2/6z4tJK+OUCAgxJampcYKv//8outDGwWq6xW3pQCCn9BGiRzlcvprXd6B8aoLu+fiQKVs+4VbcP7ftC7iTAevYEmHRDmqQ== X-Google-Smtp-Source: AGHT+IE7F/p92pi2Hyfi4A0YYG5HGjEzCxXKcc5HJCWwU1aOUTxBqZzzkUJ4E6v1Zk5IAs6ltIIQ X-Received: by 2002:a05:6808:487:b0:3c1:1398:9eca with SMTP id z7-20020a056808048700b003c113989ecamr991746oid.28.1707976384078; Wed, 14 Feb 2024 21:53:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707976384; cv=pass; d=google.com; s=arc-20160816; b=R+V6p73+SjsFzfWgSu5lCDqLwOEiimI7KmeKFIJTx+D3V+YCLgN3tRhVv60mtJ53O2 AUsuisag4xbGAKNkxZ/Xp8Imoa3mAF3ZL5PPbf88hzxcQFjmvl98g09zcRQ1EUv/Hjd9 bahM2K0+gF6AjJUhpdNNtv4FGaOJzYuEX5AZOI7nmxmzqBathUNAHKXoxm9gXBON5Z1t wdz9mXAllZVc/qZ6bLKMsHJsscmGEVvPvF9/V2arS0NBCjVzeg6AEmRTWltopvJYw1XD 74mD1jaAmIxf4KEQ4/P96Vf7lAtwbBCPgwG3rqAwgI03HjPR//QqENYa7RvalfNgvDjX SJng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+us7f9eh3WdZjRBmU3wiIE+bKdMW+MKZdorfLKKz1kM=; fh=lGIEfPB9UomukzOj3IwRCORWk4s3bJ1YrQoe5VIBBME=; b=fbfFKnhifYpKgMTbsrVfy0/Zc72QFILNru9hIP26Ae9yvttFHjXD1imYrQ6650DS8K OH/93oa0dozenEs+AE0JIyXJroKi6CHq12bkR+02Hk04uf58U1jlsF+Y+GkkiF9KkqEQ dYgfljy9UkfoYv7Umx5ePtXbmcT5bld6kEN5wzn4ZFSb5rrG8+h2tSKN0YoIA4R1daCG AbMo1nAkfZG7vbrmCwnAw9ZgXjjgdhMXM8zrYaX4azsoHOEiAQhbLfIVgMhlj5ijwINX h7Lj1H++05/kuWQB5laIQJVHCC6gf2gZojQ9bRVaQ67a73DCRSSjbFHrpk5GRaWrDGLx yQQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Gmh4s2FE; 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-66316-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c16-20020a6566d0000000b005dc3e746573si514371pgw.826.2024.02.14.21.53.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 21:53:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66316-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Gmh4s2FE; 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-66316-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66316-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 794F028F0EA for ; Thu, 15 Feb 2024 05:53:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBB41BA37; Thu, 15 Feb 2024 05:52:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="Gmh4s2FE" 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 2689FD518; Thu, 15 Feb 2024 05:52:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707976376; cv=none; b=nj4YwKYdUXffxAG8KmOzKwEYGv7EptBU40U11WVW1frEu9dLgf1XgVFscINYggAdntzEeG/3pM33SLtccZiZ9XXStN/KJsHpiD3ZntMkTkulkiLzVtnByKOtSXRo0S9K6vKnLqgJ9Vrk+4SRxK5/cfsz2bd5fxvTUltdoVxUcjM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707976376; c=relaxed/simple; bh=zDvFy20oKvNT4WWWSgn/U0237tBpSPobxRM+Q5QFV34=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=DHzTLqVInRYHy1rcFERFRq2PXeY2n3wmp7r/oKfygFxZ7I7OmwKQ2pY4EYPoHpaqCciv/ntSGOAEQG/c6L2rYZZt5l1Lkep/owG5DLKzFohMMoMGIQWZyMVY84k1h7MN6mUF0jtw4Xlh8KLFXWv/HhGpaDltm2NpOVFvctnoopQ= 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=Gmh4s2FE; arc=none smtp.client-ip=198.47.19.142 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 lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41F5qL7U033828; Wed, 14 Feb 2024 23:52:21 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707976341; bh=+us7f9eh3WdZjRBmU3wiIE+bKdMW+MKZdorfLKKz1kM=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=Gmh4s2FENIwoP0FQTJK9+kyGYT4KbzCvrcmonBCFFbJ9JeGmLaqxHsOruVijKUQHf spKKiiJIhBOSL1i2z8rvSDBH/BGPN2LJJ8VvNCTGAxVpxeloyHdfour+o5bJKNNSYI R1pkGtw2hLe0smumxHDH6hdTh9k/RO0K9CE5uYVU= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41F5qLsu028333 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Feb 2024 23:52:21 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) 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; Wed, 14 Feb 2024 23:52:21 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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 via Frontend Transport; Wed, 14 Feb 2024 23:52:21 -0600 Received: from [172.24.227.94] (uda0132425.dhcp.ti.com [172.24.227.94]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41F5qFeA041729; Wed, 14 Feb 2024 23:52:16 -0600 Message-ID: <395e55f2-00d7-475c-9d71-0d51831bfe1c@ti.com> Date: Thu, 15 Feb 2024 11:22:14 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] dt-bindings: display: ti,am65x-dss: Add support for common1 region Content-Language: en-US To: Devarsh Thakkar , , , , , , , , , , , , , , , , CC: , , References: <20240214125151.1965137-1-devarsht@ti.com> <20240214125151.1965137-2-devarsht@ti.com> From: Vignesh Raghavendra In-Reply-To: <20240214125151.1965137-2-devarsht@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 14/02/24 18:21, Devarsh Thakkar wrote: > TI keystone display subsystem present in AM65 and other SoCs such as AM62 > 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) > > AM62A TRM: > https://www.ti.com/lit/pdf/spruj16 (Section 14.9.9.1 DSS Registers) > > Signed-off-by: Devarsh Thakkar > Acked-by: Conor Dooley > --- I guess all AM65/62/62a DSS variants always had this common1 reg region but wasn't captured in the binding? If so, then this looks like a bug in the original adding this yaml and as such should have Fixes: tag and so should DT patch (patch 2/2) > V2: Add Acked-by tag > --- > .../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>, -- Regards Vignesh