Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp498722rdh; Wed, 14 Feb 2024 03:23:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWpPdVYbZ6dWo29WKumqJje0E3Qd2YBoZeS9BXaKOGKhbN0T9Mng7UnHyQoqt6MBTPZqom3fYvF6+H4E46F1MxKTNxG7sceoRVrHjnlZA== X-Google-Smtp-Source: AGHT+IFD0HHEXztbMIVj8SzX1WYxUIfaNOI2QTdBLZ3tuLniFHzO1CBd1XjzBGAUYfpQF7a866Xr X-Received: by 2002:a9d:61cf:0:b0:6e2:eb00:7544 with SMTP id h15-20020a9d61cf000000b006e2eb007544mr2307403otk.12.1707909838178; Wed, 14 Feb 2024 03:23:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707909838; cv=pass; d=google.com; s=arc-20160816; b=VSiHjS752SVnuFPcpVTZKoe3OAQtNUXnvbFxjuIGJXftLjONxCmrxMIetjE40aow4+ CI7T6T0HCFFPUpSTQfXlbfqScJE6n0q1WCvJXmf3kr2byHlHyiqx1GTB4A8HTTQioybM M+oppeGSnARxqK+X703HO3oJzEySoU9zSLyXcuVZCjkpv6hPKRfnUwO/2+ZDtbqTH1Oc QvsM+B9LD0oSxf5Pv2aen7fN5ERQui2NxNnJatgRBJL4fZqtH4CqkseaB9UQLuVQyIoP 9xaBvbgNBFX58ow0/pO+pK8dad9UoF3fMY3VI3FnOSz++Zq3NVBWlRW/C2mKWb/wA40f E3KQ== 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=PH0Rx/TGo6A+YAqh7yAPgthl3XrH8s/yUYRL3Tk7b7g=; fh=XXPFiCQ2uMEDauMV/aG+vWnxHcYwIFzF4sd978gkJGE=; b=P+0n4ZTF0FBVTOtIZtgBNHDWbz2HmIH3Qz6jb1xxp3/gcyt1X6YkrZ4zHfK1M9TWQU 3lp5ZJ0Y1fzZbvA2OfAKd5ZU0YvCqcYU3GQN21vAE96GKyw83/WE9oOiicQGnnKdw3Ol 5ik9i1EnjenLCCwb4ztZBco/KSGPKo1uyusFD418F1hcSqHrm9WSN/UPkXeOI8tUHZ1a JJwSJ+2Wgd0f1ViOJl1OjHIHZTsZBXUJ0XBSCrFyAnd0J0XJehjHjT89ux4kjPB6UxqW lX7npOZvPmhCJC5TJ8SwidUNPXa1J/FHyTugMDV2qERrvzflIMfXZf9iYeJOuP8la/Pz e2cg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="fVWLZWg/"; 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-65120-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65120-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCUbeGD12T+Z5Zv0TcgrHqdQBKskA5bit9qLU+WZH6appf8niqXUktzjX7h6tkHXbHVOi0tijXglzryzewst0lrd1uhvYmvodXiBihz01Q== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c22-20020a637256000000b005cecc6097f2si3737644pgn.895.2024.02.14.03.23.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 03:23:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65120-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="fVWLZWg/"; 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-65120-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65120-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 C2641281CB0 for ; Wed, 14 Feb 2024 11:23:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B15DE199A2; Wed, 14 Feb 2024 11:23:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="fVWLZWg/" 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 126821B95C; Wed, 14 Feb 2024 11:23:38 +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=1707909820; cv=none; b=CYONNXAeeK8jtu6FhOdBw6WxhPzm90wAoX1m+wxDrwSzwK6h2nLcbvaCqa2SLZ3CgBj9BjkAzUcBAnB6P72ZB6YmqWuSXkHTl7bSjLJ6Rne6la5PTwtckjviuR6thEFt1iSGmhkJgGcoZszfadyeg78mpkvBLC249nwPSwLRkyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707909820; c=relaxed/simple; bh=ZH2htZe2F0UTQznys7dAzZ6IPIFJUeDOTkTb6krdadw=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=kFc3MDTrBu4odlGI5hCUJ7s8K7cJAVqGUutRNKVuUOWRdjLQN7pQPGgVH6VGmrTg5VMs7U3l2cFUa5ushZq37B2ZI3BRuhT/F/5VXgily6VwhYEkNeZ/DLCFNVT3oX6jYRibbsBnlJhS0DrI1Demh/2kuA9GnMwOJ30Ge5sBX+U= 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=fVWLZWg/; 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 41EBNFgR117953; Wed, 14 Feb 2024 05:23:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707909795; bh=PH0Rx/TGo6A+YAqh7yAPgthl3XrH8s/yUYRL3Tk7b7g=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=fVWLZWg/n/3O5x/EmTPzFDMtGuT0PotHKOvVVn1iGgzf2we1L1ig01BNtS19jxQ7s xVKm7q4llhXpB8LPe5FlbF/jaj5wYSMdJ5iAfC/CStLGtOyG19V7g/HuTvIKhsFK/h yIw9M6v427oP9td75CRWCkTP17p14qZKIY972COs= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41EBNFgb016640 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Feb 2024 05:23:15 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE111.ent.ti.com (10.64.6.32) 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 05:23:14 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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; Wed, 14 Feb 2024 05:23:14 -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 41EBN8Va102851; Wed, 14 Feb 2024 05:23:09 -0600 Message-ID: <9314a841-d983-0254-c30a-4500864d0a1b@ti.com> Date: Wed, 14 Feb 2024 16:53:07 +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 Content-Language: en-US To: Tomi Valkeinen , , , , "Raghavendra, Vignesh" CC: , , , , , , , , , , , , , , , References: <20240115125716.560363-1-devarsht@ti.com> <20240115125716.560363-2-devarsht@ti.com> <839d6de4-b396-4799-8a62-9249727b6dcc@ideasonboard.com> From: Devarsh Thakkar In-Reply-To: <839d6de4-b396-4799-8a62-9249727b6dcc@ideasonboard.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi Tomi, Vignesh, On 14/02/24 14:53, Tomi Valkeinen wrote: > On 14/02/2024 11:10, Tomi Valkeinen wrote: >> Hi, >> >> On 15/01/2024 14:57, 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) >>> >>> 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>, >> >> Looks fine to me, I'll apply to drm-misc-next. > > Hmm, now thinking about this, doesn't this cause dtb checks to start failing, > as the dtbs are missing one entry? Is it better to merge these kind of changes > with the dts changes? Or does it matter? > Yes if one get's applied and other doesn't then there will be such issues. I am sending shortly both the dt-binding and device-tree patches together, as long as both look fine and ready to be accepted by respective maintainers, I think both can get merged to respective trees and land in linux-next without causing any issues. Regards Devarsh >  Tomi >