Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2668005imi; Mon, 25 Jul 2022 05:06:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u4dJE0/0ue8wep7NvVvHqdIqVuBtwoWAFHjNIegMgR+mBF75umsh+X4A+bF564u6lwLmft X-Received: by 2002:a1f:ab01:0:b0:376:4995:3baf with SMTP id u1-20020a1fab01000000b0037649953bafmr1436147vke.23.1658750769587; Mon, 25 Jul 2022 05:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658750769; cv=none; d=google.com; s=arc-20160816; b=k2f608Vg4yPRD0f7kuS6D4duu8o/n3bQ6/8aB72FlkAoL4agEbu7PRGZrxH9w6lpe5 A4R82DshO6Bm4ZIByFdtoYNp82gg9lFH/oNTvW1zIS5ozL7azDSYxQTQ+y8wOr5OWHY9 nIHNFrbgPB0ZqeYFf4AINWtFSKQEhdvmZ00u4mrknRcblvYFfiXh2IrNunm3wgtXuzWm B08GqL1aEhZvfrmaHd6H6GlLzv/0dFbRgAR/wktjCOno1UEIS8EpALgzoZ2s6UL/v093 ELSl8rTWz8Wfvz3nHhN80SSpjV9ldsgF6SHMmQn+dF3TzsG5ux30H6XiDFTl2s9DhlWs EhPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=QBcAwyJjvWXZ51kHPhUxnwTYKafLt/x/UlVip1NXNCk=; b=wkoPdT33viXil1tINnR2lEY8OQMWviU2ieZ2rdenAE8jf02Jk6LnZ5+hqzpm/OBIjY pBx95EQeteF7xbx+jdJ0Y+XTc05ElejizY3FX1n9t0E0gH2AixIiHbak7pt8kXGnkqcK zoLRmy8ObuwelfmTWn8RfHZWDzKVdfbFdkYz6vRy7TsfbZ0vCf64hmAElFTgk94apOuo mg66dSVxIkq/H7e7ueciBSXH/hw81/NGkc2tU9YZ/npvFxUFN4p52jOD4qq9JuO5kRZ9 dsDqrEaHLgQbJjaUO2/Jo/P04x3gpGaSYRVnMGWJS1labSHmRwRGvl4UUOIqpMihhaVk Vd3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nI2IW9j8; 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 q185-20020a6743c2000000b003583cc248d2si907383vsa.217.2022.07.25.05.05.51; Mon, 25 Jul 2022 05:06:09 -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=nI2IW9j8; 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 S234404AbiGYLfV (ORCPT + 99 others); Mon, 25 Jul 2022 07:35:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234461AbiGYLfT (ORCPT ); Mon, 25 Jul 2022 07:35:19 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77B3C95AF; Mon, 25 Jul 2022 04:35:17 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 26PBYrU5025725; Mon, 25 Jul 2022 06:34:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1658748894; bh=QBcAwyJjvWXZ51kHPhUxnwTYKafLt/x/UlVip1NXNCk=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=nI2IW9j8DSn6RZ/2+eV8Om7YxAmcFIsujnNWYedQlyJ/TzNfQIZl/oTpeIDXTxo7L FuYYnoxJG1JA+bkKQo48bAP88ArPR42IKHW+1w/E4rwUuPfNhz1E7VzuKHiVYBj/Vn mUGFjQcBN2p5bct48cHphe5isHVzKLOHqvdZOPWc= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 26PBYrUn023670 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Jul 2022 06:34:53 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 25 Jul 2022 06:34:53 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE112.ent.ti.com (157.170.170.23) 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; Mon, 25 Jul 2022 06:34:53 -0500 Received: from [172.24.157.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 26PBYmuW076414; Mon, 25 Jul 2022 06:34:49 -0500 Message-ID: <37d22b9a-ac6e-9f7c-90d7-7ad5dcf47dbc@ti.com> Date: Mon, 25 Jul 2022 17:04:47 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0.3 Subject: Re: [PATCH 2/8] dt-bindings: display: ti,am65x-dss: Add IO CTRL property for AM625 OLDI Content-Language: en-US To: Rob Herring CC: Tomi Valkeinen , Jyri Sarha , David Airlie , Daniel Vetter , Krzysztof Kozlowski , Darren Etheridge , Nishanth Menon , Vignesh Raghavendra , Rahul T R , Krunal Bhargav , Devarsh Thakkar , DRI Development List , Devicetree List , Linux Kernel List References: <20220719080845.22122-1-a-bhatia1@ti.com> <20220719080845.22122-3-a-bhatia1@ti.com> <20220720233235.GA4180021-robh@kernel.org> From: Aradhya Bhatia In-Reply-To: <20220720233235.GA4180021-robh@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 On 21-Jul-22 05:02, Rob Herring wrote: > On Tue, Jul 19, 2022 at 01:38:39PM +0530, Aradhya Bhatia wrote: >> 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. > > What's wrong with the existing ti,am65x-oldi-io-ctrl other than the less > than ideal naming? And you just continued with the same issue so the > next part will need yet another property. Sorry, no. Just use the > existing property. > I introduced the new property because the peripheral was a newer and different implementation from the previous one. However, the same property can be re-used. I will do so in the re-spin. >> + >> 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 >> >> Regards Aradhya