Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp401471rdb; Thu, 15 Feb 2024 03:59:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUgpnRr5w2/c5XPmhbr1Wxt1ic3NC++1d/6+BbHEwr4Yqw+hdsULL41wUds6gdgr9LkN+V8zsU6oy9Rhb0K7cqLXltW6CpCxclGNm8IzQ== X-Google-Smtp-Source: AGHT+IEAQhdjZC84TL/dBW06lxX/JuvYzOawQw2CVks+4TntoTRitl0bn5PsXu9wJMXzzyqzw6ZM X-Received: by 2002:a9d:3e47:0:b0:6e4:2f9a:76a7 with SMTP id h7-20020a9d3e47000000b006e42f9a76a7mr606577otg.23.1707998363153; Thu, 15 Feb 2024 03:59:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707998363; cv=pass; d=google.com; s=arc-20160816; b=JOM9wpGEwwZtNooCA2SfqZxNfCJjljW5VBDlDnca/AYzbfU/d9eKMKx7t+NCa2ZChZ MF0U3aknKaqTgbnCVl1inUYqkZ3ZkHU0KlS/ZElxlsFUiwiJR23jtvTvfyDYrPD6iomh Fnhnmwb6HuM/l90u7yhjCj9RwXR9jQXwePnA0CpBaSW4CcTAEye4/YzVvPhiHLbpgBAz /Y0ZBOTjTksUSHxhxh4E+UnP4+Q7MleilIpfaN1ZzC1KeCetginfjiUFo6cI16J7SXnu S3Yuh1rhB8x4qtJbaz0YfaAk1UhLGp8Q7LALFEL8pQJn7djSs95BZoNazVTgnuwaDuL7 OdIA== 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=KwThmhxPNfVS3R3S3MVlJLNpP9wkS8Nnd0NoQ91I/qs=; fh=e4m5DOWZ5FlCy8frNzKjL9XvZkOhL7jH7p6rZ9GfyTg=; b=C1geCc3ES7z29NaVaHc9OjE9P+i6W4h2zuie/ehWkXljI6QqEBsgC990buY6qkE2M0 nBryva+OO3XQdDEl66aeNBwUF/t4G38VxDwEDalUC2OtSqn5gijH4fhXUk6ylJ/LAemw yo1HqXWpvZZYNn3nZcCEw+65OAk1khMCjzT3hLYI7rDYaAOH41juX8lJ6lzKTTsAyJXz aLtNgJja4DKVIAY5ptrzt7iiZxujAGs7Ri248E4kEY4k/q8KKYIAfxk5yI6HKvKIBSWx pqGVrXnw9QKZWO2t21WWMAUuaFr6WJjXFmIGpzRN0s2yZIQVH9BT4nO8I+QHTRbXSfZ0 vZGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DSg68YJk; 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-66841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66841-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 202-20020a6301d3000000b005dc9a432d7fsi968588pgb.489.2024.02.15.03.59.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 03:59:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66841-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=DSg68YJk; 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-66841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66841-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 40E94286B0F for ; Thu, 15 Feb 2024 11:56:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1FEF12C7EB; Thu, 15 Feb 2024 11:55:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="DSg68YJk" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 4452C12BEA5; Thu, 15 Feb 2024 11:55:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707998150; cv=none; b=hEgarZq/uUVhtb//EeKbYfSZJg3iAiEro70cMt5mPcfghvywoH3psseiVoM1GPnI4M06cLzyV5K6Arn1hURaNewMdcEdChTan642kv5IHersX3bUNPQrEy6NVB3E3Na6rBUNjT2nSduv4VIE41/zK8VRl7WanoD79ZkPYHgx74k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707998150; c=relaxed/simple; bh=UwgBKA092Su7T4gRmAFm/noaOlgeRAKXmMHfBci3Ne4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qsWE+KnMHBxiHnB0dLOzNLwsWw6L2NVlN4w+aEFEyLKgvutbGYyTRE+SOo8DFTC4JilVwhc8sjmMgaNpr4VomUwX8BydSZq28Rjv1LSnpNrc7b0lqiBk4nwxcbjZzpvQyGFDBXnZVc2MX09IMKdZ/xiaBooyMQMfrGUS3TD2dQw= 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=DSg68YJk; arc=none smtp.client-ip=198.47.23.248 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 lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41FBtJLr107233; Thu, 15 Feb 2024 05:55:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707998119; bh=KwThmhxPNfVS3R3S3MVlJLNpP9wkS8Nnd0NoQ91I/qs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DSg68YJkBpXcOnYlEsp9b65tY/nUQPytl9eRxFbniljjpeTqfmc3VFOT39F7ZmQHH ZeeNmaj4jmsNjfdPMvwcs/lZhn9jIDSq7XAoxGuPi+Kfx3Yms0o+VxBv/MsLeyVokx 2WGifg+2eohqi7Nc0BZuX1NTQxOwz9WI7FAE36AY= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41FBtJvD002079 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 15 Feb 2024 05:55:19 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 15 Feb 2024 05:55:19 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE112.ent.ti.com (10.64.6.33) 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, 15 Feb 2024 05:55:19 -0600 Received: from localhost (ti.dhcp.ti.com [172.24.227.95] (may be forged)) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41FBtI2H036707; Thu, 15 Feb 2024 05:55:19 -0600 From: Devarsh Thakkar To: , , , , , , , , , , , , , , , , CC: , , , Subject: [PATCH v4 1/2] dt-bindings: display: ti,am65x-dss: Add support for common1 region Date: Thu, 15 Feb 2024 17:25:15 +0530 Message-ID: <20240215115516.3157909-2-devarsht@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240215115516.3157909-1-devarsht@ti.com> References: <20240215115516.3157909-1-devarsht@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 Display Subsystem Registers) Fixes: 2d8730f1021f ("dt-bindings: display: ti,am65x-dss: Add dt-schema yaml binding") Signed-off-by: Devarsh Thakkar Reviewed-by: Aradhya Bhatia Acked-by: Conor Dooley --- V2: Add Acked-by tag V3: Add Fixes tag V4: Add Reviewed-by and AM62A TRM link --- .../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