Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8389483rwb; Wed, 23 Nov 2022 21:30:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf7RyNd4Dw0x2CcQDT5XpZsNeug6rMSF7MQxMtuqnbQUEYDVPvHrWTs+sW+2yWPNs2+RJbZH X-Received: by 2002:aa7:d358:0:b0:467:6847:1ea7 with SMTP id m24-20020aa7d358000000b0046768471ea7mr13840276edr.237.1669267834517; Wed, 23 Nov 2022 21:30:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669267834; cv=none; d=google.com; s=arc-20160816; b=pg+u6oev0DiP4Rew5Dsjlwbn7CM4aaQmIlgh6M31BzLwT1WSk80cevvQDiUfQf179M Wjn5pVr6VxiZovDrxG/EGv0rGIvdOnoeb4KXPFgU8jKasG9Fjrzb0rBOViN9ntVSui4p zv/XwfCdKViUEx+kqhiz1RzipJ24usKiqk6fGBjWIHYx/GRu5TyAojZKkXzxcwtqlYx1 LqRW2QaXrM7YbMOU3EhUBu809rxkrdKEw778HdlGV6M5fYABvxb5kdfTU34c2uV+M5TU 6t8LSFixmFUSeQI2foG9E12tvk6l1+9DmTjsQ5jpKOciZp5B+C8H9/2mNV/Wao21Gm2q vTFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SUP7Am6dqKQpcjzJq6n2SpwU7duYqMrmSYTw//dN1jE=; b=fmRVnBPYXlejVUsWQ5a6f2zYTqdXKRM1zB+HpwDb33/nxZAq/o2FYO5qb9V1axV7Ua zwetDL8AGpao0UyFwcBrSwHZA0vlxqMSvtp6EJcqup35U8O7vfGzRZXyKkwxKP/v79nJ aKg95hSgtAQXQ4xRuVqFM3L/5pCCnSauT1KBUuMGysDYxb0OKCuKYb8h4ozUIXCPKoZl eH6z6Jx656w06lSRKFsKHLq2HUyiyxdk6n04oC4xmlWS+sM57uCHgMPP+k5kKYCYhE41 mhuAa1WAdx2CU/WcUOYkGyBF4YeQ4Uxt0oH8b9NYZAgCgduMwDZwqnGLB9pF85kRF2zL w5Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z0mxaK7m; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz1-20020a1709072ce100b007aa1aa8ca57si61078ejc.859.2022.11.23.21.30.11; Wed, 23 Nov 2022 21:30:34 -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=@linaro.org header.s=google header.b=Z0mxaK7m; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229493AbiKXFYy (ORCPT + 89 others); Thu, 24 Nov 2022 00:24:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbiKXFYw (ORCPT ); Thu, 24 Nov 2022 00:24:52 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBF47BF824 for ; Wed, 23 Nov 2022 21:24:51 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id b11so523342pjp.2 for ; Wed, 23 Nov 2022 21:24:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=SUP7Am6dqKQpcjzJq6n2SpwU7duYqMrmSYTw//dN1jE=; b=Z0mxaK7mlfH8Yar65Mnq4TMvrw6J4J4efzZFOX/tgsJWxdp5QS350PG+K1obsGeTLs nwYWMfWQKWgPN0p16aOlnN9Xp6IuofS5E6iGDi753bhKMKHkUZYzSP1ZEh+OIrapb8c2 qYI+knxRKQq07uf9uBlAYtLcSEoWCg8RkisveC+WiXsV8IycvUYvp6/a4u4Itt9clCph Eo+55y4Mf6Icq+oRHYI2i9YreOoYxyWmQ+KuBkjf7aqBthfIgAQgC1y3lPUd3qBJ1WjJ Z2F7ot0w8x/qX4yEaXZoXrScB6wy0vMRShosHjou+nIG5ZuFZQvQ7Lvh+Bp9eQ6hRnk6 LDKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SUP7Am6dqKQpcjzJq6n2SpwU7duYqMrmSYTw//dN1jE=; b=VJtZpJjly5g1sHm/utAo7HMVdWZHzOEJRn96cUx7rwTktDi0E1/y5U+F7nF9FnzuU5 lC6t7xEibnn+IpNPmpdODaccnk8XZDU779JqHucxEgA4oxokuwCx8IBQjtU7iub1BOab VDwraGNBKejxIOv8huc2YmgBeQlN2gXU1v27taMwjHOi2ImzdYHzgF+tAoCjMI1+kjai I1+eFxDk7sEoDRFM4GlxF8c/KcyoIPsQJF/zntI2BEgrTNowi7tJt9tTCEYj+BLZ+6KT nyVQ/7NVyl5LBvqhXQ8s0D0DWTum85cW/lqyZKOdatI1qpjky9HBLx1kTQCdifljAcf6 n6VA== X-Gm-Message-State: ANoB5pniL8KwLo8fbFGU4tsoSIIAFIUY8/Kk3MQByKYwlVIwRL9avCOW qaa76zJ4+bhumauOqqISVX2c X-Received: by 2002:a17:90a:898b:b0:218:bbfb:72e1 with SMTP id v11-20020a17090a898b00b00218bbfb72e1mr16563515pjn.64.1669267491235; Wed, 23 Nov 2022 21:24:51 -0800 (PST) Received: from thinkpad ([59.92.97.13]) by smtp.gmail.com with ESMTPSA id n14-20020a17090ac68e00b00213c7cf21c0sm303574pjt.5.2022.11.23.21.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 21:24:50 -0800 (PST) Date: Thu, 24 Nov 2022 10:54:43 +0530 From: Manivannan Sadhasivam To: Viresh Kumar Cc: Johan Hovold , Viresh Kumar , Nishanth Menon , Stephen Boyd , linux-pm@vger.kernel.org, Vincent Guittot , "Rafael J. Wysocki" , andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] OPP: Disallow "opp-hz" property without a corresponding clk Message-ID: <20221124052443.GA5119@thinkpad> References: <20221121073817.7ollj7jeixrx5og5@vireshk-i7> <20221121083036.ppwfprrheuf7xl7c@vireshk-i7> <20221122132633.GB157542@thinkpad> <20221124042304.pk3rh7nfkanhlgsm@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221124042304.pk3rh7nfkanhlgsm@vireshk-i7> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 24, 2022 at 09:53:04AM +0530, Viresh Kumar wrote: > On 22-11-22, 18:56, Manivannan Sadhasivam wrote: > > If there is no .set_rate() callback implemented by the clock provider, it won't > > hurt, right? > > It shouldn't, I guess. Well, in that case, is the first patch even > required ? Maybe we should keep it, this makes clear that we won't > even call set_rate(), irrespective of the face that it is implemented > or not. > I don't think that detail is required to be made explicit. If someone cares, they can easlily find out by glancing through the OPP code. So IMO, we don't need patch 1/2. > Also, the clk provider may not be part of this file later on, for > other SoC versions, and it is better in that case too. > We cannot predict what the HW guys will come up with ;) But as said above, I don't think it is necessary to to make it explicit. Thanks, Mani > -- > viresh -- மணிவண்ணன் சதாசிவம்