Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2338208rdg; Mon, 16 Oct 2023 00:38:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHgJr9e5cvsytSKbvKht20SnCenwtLLheslTqBy5jq5z3OrcXtoM/YT4gRxx6XJxf9ATl4k X-Received: by 2002:a05:6358:93a3:b0:135:acfd:8786 with SMTP id h35-20020a05635893a300b00135acfd8786mr44286980rwb.3.1697441915837; Mon, 16 Oct 2023 00:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697441915; cv=none; d=google.com; s=arc-20160816; b=iqG45t21In2apy7sdNvtuyPscgC/3t42CKhH5JMG3015p2xUCvMpxy3MMKdSdALL4B c5X8MI+tUKyyNl2DKSryjTUmj+Om6N/H6Q69+xv+zmGiC9zJe2mWLfJOWG+mH/mZXve4 7L6WlBISxELwDYtsZUjXMxF8TCJGBvgFCSkNGfWH4f5sS/lmqLEcRuZC7h/lzXabXKIV AZ+9JsrawWLBx+QcGpIyTqEpEUu3XmF5cyZ3wyBqPoKalCZPfAVruqsvvmpoPCXP2DDg jncOef6UG/xy4mwsCTlFtRynRdwbllKiaWcraifIuohg1hmGieXStqVnqEKn52Eq9cEz JOSg== 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=b9VEo3tm6uaO/tVCmnrM+QGxJBsi0zQVdUbCKVA0zSA=; fh=dhzQ6f/cpDffcX2GZL3cbRgUV/V7+9FVGBw8VHQBaPY=; b=hxAUFoaUdh90R6W4FwOPspnccUOWntpsKWjIcqMVsmm/WNxGzWBBp7B2CM0OTK/8X0 jrC0N/NHCkTqBdOGRsLaMt51abMfEChP/zBKmodp6ab5LNzJ931Wo9wmzItWK1/cz1A4 cSFhWvA6XEDOFvCdhFQkI3cH4kBjxePTREdCdjFQCSfnwFyAUkbwlavlZrcO99NbHYof RjrRSAJoHX+HaiwoZ3pdnMGvIYFQFQwNdwsITmWMGx54or/kceOEYSgiwVQh+RsqzsYH 5nXI9YH3F071lhqZoR4YwEixy/sm+FXSs+7RdAnmGTwxkgFAMRbH5z7GyJtS/b8APGH0 6n/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="P0/YLcem"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id y24-20020a056a00181800b0069026254582si4841041pfa.98.2023.10.16.00.38.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 00:38:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="P0/YLcem"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 1FA3780C778D; Mon, 16 Oct 2023 00:38:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232495AbjJPHiF (ORCPT + 99 others); Mon, 16 Oct 2023 03:38:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232442AbjJPHiB (ORCPT ); Mon, 16 Oct 2023 03:38:01 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F1BCEB for ; Mon, 16 Oct 2023 00:37:58 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39G7bRpq047994; Mon, 16 Oct 2023 02:37:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1697441847; bh=b9VEo3tm6uaO/tVCmnrM+QGxJBsi0zQVdUbCKVA0zSA=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=P0/YLcembAhETIOSgkDGXoHNVOHOlwJABxYl2zlfZIO0/6s3wMF1iVjodpiDM2WjR +tO6onlzugS9iTSpX+2OeFRReBOajydP9UgKhOtXOJcN1uXF3pkNUavcXun1KYWQwu VFRebS9oK4Cyp+j/WpX1KZ+lVhS8fTsDQs6rbN10= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39G7bRm0069417 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 16 Oct 2023 02:37:27 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 16 Oct 2023 02:37:26 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE111.ent.ti.com (157.170.170.22) 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; Mon, 16 Oct 2023 02:37:26 -0500 Received: from [172.24.227.6] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39G7bLOK009293; Mon, 16 Oct 2023 02:37:22 -0500 Message-ID: <04a6eefa-235c-c973-8c74-eb8a8982abf4@ti.com> Date: Mon, 16 Oct 2023 13:07:21 +0530 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] drm/tidss: Power up attached PM domains on probe Content-Language: en-US To: Maxime Ripard CC: , , , , , , , , , , , , , , References: <20231009075018.2836020-1-devarsht@ti.com> From: Devarsh Thakkar In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 16 Oct 2023 00:38:33 -0700 (PDT) Hi Maxime, On 12/10/23 18:10, Maxime Ripard wrote: > Hi, > > On Thu, Oct 12, 2023 at 05:10:06PM +0530, Devarsh Thakkar wrote: >> On 09/10/23 13:20, Devarsh Thakkar wrote: >>> Some SoC's such as AM62P have dedicated power domains >>> for OLDI which need to be powered on separetely along >>> with display controller. >>> >>> So during driver probe, power up all attached PM domains >>> enumerated in devicetree node for DSS. >>> >>> This also prepares base to add display support for AM62P. >>> >> >> NAK, for this patch, as discussed with team there are already plans >> to have separate OLDI bridge driver which should eventually handle >> the additional power domains. > > Just for the record in case your current plan doesn't work out and we > need to revisit this patch: my point was that it's something that > deviates by a margin from what drivers are usually expected to do, so we > should document why that deviation is there. > Sure, thanks for suggesting, I agree that if going with this logic, we should definitely put a comment in driver regarding same. > The patch itself looks reasonable to me otherwise. Yes, it's just that we are planning a separate driver for OLDI. We will see if we need similar logic in that driver too. Regards Devarsh > > Maxime