From patchwork Sat Nov 19 17:30:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aradhya Bhatia X-Patchwork-Id: 23297 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp804745wrr; Sat, 19 Nov 2022 09:31:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf4SLN4Y8iCVUfMaGYtAasvWajs98ss44Jpylvy/ex9vJgiCy5pqfoKZIidCleKh+shuVuUY X-Received: by 2002:a17:906:a2d1:b0:781:bc28:f455 with SMTP id by17-20020a170906a2d100b00781bc28f455mr9822147ejb.170.1668879101552; Sat, 19 Nov 2022 09:31:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668879101; cv=none; d=google.com; s=arc-20160816; b=jkZyqmI5Pk+6fkWXCMSjyW4cxYdO4+Q5kcay0Qa3evExkRNPv/xw1/Un0xLluxfLRc eTT29v+DPpoh9EGHs1kZVVS8PqNpxvMeoMZwa6qHebvJgrRdIEnL3oPGiiFdy3KI9tQW ttphkkX8I3ip4ywY/L8BzEF1EdB9zA+pUc8+KND8tHCImr0tAHbMY/dLPxJYojJvUDpg aPalrLCzNbdYDwBM4wJiCMYVNb2taQrFSYGfWNVos8dHs3hQ9hx5EL6U9/yeBIDfC3Ax 3rVfsIBsPtyb1fmddp84KGbChWWN4MbllamOHGYyuepyfm+ZfRqr9QKHU7QJR19/xniE a1cw== 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=r8sLHDDOzGgbBCIGqYcV91GxOugG6GFPoo0nw7unMfE=; b=duYXEN/qApFd7oJMEPQNsg76nMFwXVgfYtdujkPOUu/l309Ie71Y3wHhuUyDono5K3 SA/xpXtal++JrMVm+B8ezRn1uBCihZR5phK/Jn6edRMuVRqkK6WRMNpQgT/Zsn9URPWS nTv37dUJCT+tDGq2lU+i7StnQQ9GKXZWczYRLn4vpNhGJDnpbDkpQB4yd+nSb2etOyru tW1/f3VILkA2X9q2Lmdq5vXT8XlZTPL3i0Z7vqXAXFR/PRUO1Qh3T96rVBaVOzw/VrGD p0MtHuTUIr4yTuijp1cdmpyKRk7WlCOHgpNzUJnYMFsNx6Oz7rs6tNnfwXfqaV3Y+vP6 GBSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dD0JnMrL; 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 xf9-20020a17090731c900b0077d1df3967asi4761654ejb.563.2022.11.19.09.31.17; Sat, 19 Nov 2022 09:31:41 -0800 (PST) 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=dD0JnMrL; 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 S234305AbiKSRag (ORCPT + 99 others); Sat, 19 Nov 2022 12:30:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbiKSRae (ORCPT ); Sat, 19 Nov 2022 12:30:34 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBDBB3A5; Sat, 19 Nov 2022 09:30:33 -0800 (PST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2AJHUN3C044519; Sat, 19 Nov 2022 11:30:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1668879023; bh=r8sLHDDOzGgbBCIGqYcV91GxOugG6GFPoo0nw7unMfE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=dD0JnMrLEqNU/jITbbU7UNta+mN+t7nmx5klAzpvhduqMtl+jLOO+X0BpRE60HCFh HtjNVCkjqrs2/1gmsg0acJkQSLu/l+lhMxcHBjJe2xq/ltyciIcZL4Ycmwv2DkVrHg iHneJGa4p8Q5RCI5a+lc5VoZDuyOc4Pa1TJf8KO4= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2AJHUNft093884 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 19 Nov 2022 11:30:23 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Sat, 19 Nov 2022 11:30:22 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Sat, 19 Nov 2022 11:30:22 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2AJHUMnK055641; Sat, 19 Nov 2022 11:30:22 -0600 From: Aradhya Bhatia To: Tomi Valkeinen , Jyri Sarha , Rob Herring , David Airlie , Daniel Vetter , Krzysztof Kozlowski CC: DRI Development List , Devicetree List , Linux Kernel List , Nishanth Menon , Vignesh Raghavendra , Rahul T R , Devarsh Thakkar , Jayesh Choudhary , Aradhya Bhatia Subject: [PATCH v6 1/5] dt-bindings: display: ti,am65x-dss: Add support for am625 dss Date: Sat, 19 Nov 2022 23:00:15 +0530 Message-ID: <20221119173019.15643-2-a-bhatia1@ti.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221119173019.15643-1-a-bhatia1@ti.com> References: <20221119173019.15643-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, SPF_HELO_NONE,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749946573138466498?= X-GMAIL-MSGID: =?utf-8?q?1749946573138466498?= The DSS controller on TI's AM625 SoC is an update from that on TI's AM65X SoC. The former has an additional OLDI TX on its first video port (VP0) that helps output cloned video or WUXGA (1920x1200@60fps) resolution video output over a dual-link mode to reduce the required OLDI clock output. Add the new controller's compatible and a port property for the 2nd OLDI TX (OLDI TX 1). Signed-off-by: Aradhya Bhatia Reviewed-by: Krzysztof Kozlowski Reviewed-by: Rahul T R --- .../bindings/display/ti/ti,am65x-dss.yaml | 23 +++++++++++++++++-- 1 file changed, 21 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 5c7d2cbc4aac..55ec91f11577 100644 --- a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml +++ b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml @@ -19,7 +19,9 @@ description: | properties: compatible: - const: ti,am65x-dss + enum: + - ti,am625-dss + - ti,am65x-dss reg: description: @@ -80,13 +82,18 @@ properties: port@0: $ref: /schemas/graph.yaml#/properties/port description: - The DSS OLDI output port node form video port 1 + The DSS OLDI output port node form video port 1 (OLDI TX 0). port@1: $ref: /schemas/graph.yaml#/properties/port description: The DSS DPI output port node from video port 2 + port@2: + $ref: /schemas/graph.yaml#/properties/port + description: + The DSS OLDI output port node form video port 1 (OLDI TX 1). + ti,am65x-oldi-io-ctrl: $ref: "/schemas/types.yaml#/definitions/phandle" description: @@ -102,6 +109,18 @@ properties: Input memory (from main memory to dispc) bandwidth limit in bytes per second +allOf: + - if: + properties: + compatible: + contains: + const: ti,am65x-dss + then: + properties: + ports: + properties: + port@2: false + required: - compatible - reg