Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4184698imw; Tue, 19 Jul 2022 01:13:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u5LALlZz46D2rxVwHqZ/PGp0/1/MUDXmVzX10aTYsZKqe3CQgdbcSZjvxsHTH6SZK9KayP X-Received: by 2002:a05:6402:35c2:b0:43a:c5ba:36f0 with SMTP id z2-20020a05640235c200b0043ac5ba36f0mr41242668edc.80.1658218437563; Tue, 19 Jul 2022 01:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658218437; cv=none; d=google.com; s=arc-20160816; b=Ea2/FxxbmbAe99iNTpJn4AX+8EgKHIDg0Tl1vFDDPTJkMBEvrnAaJaN/qZbCGfMUeG jQqWyRiTdm3OO1QKFEixAJUt1z1PB591JRmcUsC4xufxlmfXpl5j83QNI/SxOpMAdPmi wzK/5RW6wyjTauHnLDCwOJyXCpjsxNxPnEBFOpOSr7zyA3/5bXj6CvqQROC/6s2AQ43f oqT8JEnzrVDZfOplg3smpz81eeHQ6FvEEkagZmFesDHd/2VOOnvDMlJVxQXKZpfk4ffP iY0Asvf+t+6Vxckp36ALjNNV4DQlUSJna+vUj83JJlufnWzHYbD47vNbxcZvFRd8TYvs JYHQ== 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=LOvLTtdoguKuBhYsL4AKtA8lq3cPn9YzUP+bjBI0Ilw=; b=OqhrKV7bD71hFGWRrd1VHzWGQ/nwegjEzzAoa60SDP09SjStQ2JHR1PvGjeW6W3VAT xUjqLTQWbhwNHvuz702YkGwXmII29tAKO0t6qxDXtJ0mDlPA7SIO7quNk3eFgJzMhQKA 9iSHDlspUh7DsDipuOuYwPPQNoRMZs4cOg3FAq68PRyNKn3+t2/2muB5Ps9Veq5vN3dq YlXUMjOcI89DOKlsh8zLV2fdV71Z/Hu+W2LVbs8mhehICWcSgeZfujqb6nGQPmGpKezT SWJp/eJntbypgLjU95skBgqPofF+cp7indyDdySgQpj3P31bFDkugTlBd4CwMtOfLXia HPyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DEgyD4f7; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di7-20020a170906730700b0072f1dd96738si11541407ejc.140.2022.07.19.01.13.32; Tue, 19 Jul 2022 01:13:57 -0700 (PDT) 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=DEgyD4f7; 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 S236721AbiGSIJU (ORCPT + 99 others); Tue, 19 Jul 2022 04:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234967AbiGSIJN (ORCPT ); Tue, 19 Jul 2022 04:09:13 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB7F3357D2; Tue, 19 Jul 2022 01:09:11 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 26J88nMf051584; Tue, 19 Jul 2022 03:08:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1658218129; bh=LOvLTtdoguKuBhYsL4AKtA8lq3cPn9YzUP+bjBI0Ilw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DEgyD4f7qvBrFdBr0TZERYcfcuEmC64KR3YUBXq9zruRBW7uPfUjm6x7NRljEUqzc 4Xfxad864tMjS00FzZOGkRnzpDlNbzijA/0wcxxQHy1T23hsCuEWOL6HA608yMDEYk 95ewDxgEokl/z2sfNAYNJ/lcsdLZ5UhguqvBDTIM= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 26J88nGs091734 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 19 Jul 2022 03:08:49 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 19 Jul 2022 03:08:49 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.2308.14 via Frontend Transport; Tue, 19 Jul 2022 03:08:49 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 26J88m6O121325; Tue, 19 Jul 2022 03:08:49 -0500 From: Aradhya Bhatia To: Tomi Valkeinen , Jyri Sarha , Rob Herring , David Airlie , Daniel Vetter , Krzysztof Kozlowski CC: Darren Etheridge , Nishanth Menon , Vignesh Raghavendra , Rahul T R , Krunal Bhargav , Devarsh Thakkar , DRI Development List , Devicetree List , Linux Kernel List Subject: [PATCH 2/8] dt-bindings: display: ti,am65x-dss: Add IO CTRL property for AM625 OLDI Date: Tue, 19 Jul 2022 13:38:39 +0530 Message-ID: <20220719080845.22122-3-a-bhatia1@ti.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220719080845.22122-1-a-bhatia1@ti.com> References: <20220719080845.22122-1-a-bhatia1@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.1 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 Add am625-io-ctrl dt property to provide access to the control MMR registers for the OLDI TXes. These registers are used to control the power input to the OLDI TXes as well as to configure them in the Loopback test mode. The MMR IO controller device has been updated since the AM65x SoC and hence a newer property is needed to describe the one in AM625 SoC. Signed-off-by: Aradhya Bhatia --- .../bindings/display/ti/ti,am65x-dss.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml index 11d9b3821409..672765ad1f30 100644 --- a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml +++ b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml @@ -118,12 +118,33 @@ properties: and OLDI_CLK_IO_CTRL registers. This property is needed for OLDI interface to work. + ti,am625-oldi-io-ctrl: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: + phandle to syscon device node mapping OLDI IO_CTRL registers, for + AM625 SoC. The mapped range should point to OLDI0_DAT0_IO_CTRL, + and map the registers up till OLDI_LB_CTRL. This property allows + the driver to control the power delivery to the OLDI TXes and + their loopback control as well. + max-memory-bandwidth: $ref: /schemas/types.yaml#/definitions/uint32 description: Input memory (from main memory to dispc) bandwidth limit in bytes per second +if: + properties: + compatible: + contains: + const: ti,am65x-dss +then: + properties: + ti,am625-oldi-io-ctrl: false +else: + properties: + ti,am65x-oldi-io-ctrl: false + required: - compatible - reg -- 2.37.0