Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp75232lqp; Thu, 4 Apr 2024 07:29:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwWjaQp/YydbFlYq2eZImB3AzGMESC9Nuvtesw5zTK4PLyzWL48coU29BYhT3TWSpeEoIKVa3yb3iEdQ4IRXLotnwRx0iIvScY3/d5rA== X-Google-Smtp-Source: AGHT+IGHSbuOkMBLEMGc+0RxD6vSAwPAlWD9eHi1p76+dtbiEtBVyi9iA/UyNg4Jy1zYRLRVyYA2 X-Received: by 2002:a05:6808:16aa:b0:3c3:e83b:6c35 with SMTP id bb42-20020a05680816aa00b003c3e83b6c35mr2663850oib.36.1712240943378; Thu, 04 Apr 2024 07:29:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712240943; cv=pass; d=google.com; s=arc-20160816; b=bGhf7e7zaq51+3UxusoyqZVpqRIW1LbdDAx+FarlVc6r06OSNxrLiaeSx+21WMeKnB eA898Rktl0CjQM/lp9hJquI5lQ4fm1IPV0ZB8lPYjRGTuOrZwkT2MChjA366BcoOWZcV Ff6EE8Ivlcb6CSUOZ/hBRAItaB5WwDyML+gVwE0vXiKxQa//m9in/JTudS5lOwO45HpR D3t/xjUPweGpVd8ptyW/LIoDXdqeS5hPzXQr1Guc58naPVuOiTUGP9rJjHQ7WBCaq4Iy yjIcNzcQ0UBfpznMY43cVwirLxBaJ7Dlypu+5Fqv3UR5M2t+dvfa1Vz2QsoMEGHH/7Ha FXxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=NjIRbG3/6S+ypvVISWtCKpe/MfxEtqkQ1P7SZJslqgQ=; fh=0u0ipN6Od8D9CP2Mb5h30E9wl0Rm7mTExnF8ZCm0Mao=; b=Nh+9KNjfTb8WTd/BLUxs17MhtBQmVFiGvN7/oUlXzfNV/kYrX4xMzo3w56x58VMYvJ F8rRT0ScX+dHFWHqLKHbiNA5yBT4A/GqzH5yNEy4QOC2jZ3eikm/0R95s7N2F9E4y1ZB ol5Jeb1zd3Kju8UHRneSf2/KkWRN26sM4x/RCrYECnytksFHFfndwNgo8ImCyb56zbF0 X5zWYTkv16OCURSLwu6cYrxSx3ftHbKlS73TGFxl6Ivb4NBf85SU+SLYTfBEC2v6loiy Yv6UJBvX7xTMLYsJ2MPwOgdh6UX/P3FdLjwU6CQtYi6DMP6LovuwJX++Y93e4g1hvI+f 7R6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-131614-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131614-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w3-20020ac857c3000000b004343cea7084si5190662qta.677.2024.04.04.07.29.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 07:29:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131614-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-131614-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131614-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F1D221C2AD65 for ; Thu, 4 Apr 2024 14:26:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C534412A17F; Thu, 4 Apr 2024 14:25:45 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B539B7350E; Thu, 4 Apr 2024 14:25:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712240745; cv=none; b=tR0ougB80+DxCMpNl9ZMsrIZcqqp6l8nLhjzbJjN+4RDCUd8W8U+mZMFmp/kRhD16luyl+vpSrIVV7zCXCQOf7VUCMOw6apZxF7X3CcQLo4o4IEEnG5OkxUDaoFU2rdBWmsvt4kv+f+qkPl7RUr9wSuCE6/+2Fly48+8klXeefg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712240745; c=relaxed/simple; bh=NjIRbG3/6S+ypvVISWtCKpe/MfxEtqkQ1P7SZJslqgQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VFMSb4thQLr/lTZsLsButo3RBlIOukhhJET2kQ7hTjGa59DaCx1l7YB0yul6UjPkBiMSee8UHjn6SakFoIHr9KOZ4V61+9QOIG8yowfUvN4iPt7oL4IfQVE5HJVpNE+i6900/43Qfbl4kgZH/Tk9iqQ1XI7JMNjivOTFgmnwmxE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BF1C7FEC; Thu, 4 Apr 2024 07:26:13 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3403F3F64C; Thu, 4 Apr 2024 07:25:41 -0700 (PDT) Date: Thu, 4 Apr 2024 15:25:38 +0100 From: Sudeep Holla To: mturquette@baylibre.com, sboyd@kernel.org Cc: Cristian Marussi , Sudeep Holla , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, james.quinlan@broadcom.com, f.fainelli@gmail.com, vincent.guittot@linaro.org, peng.fan@oss.nxp.com, michal.simek@amd.com, quic_sibis@quicinc.com, quic_nkela@quicinc.com, souvik.chakravarty@arm.com Subject: Re: [PATCH v2 0/5] Rework SCMI Clock driver clk_ops setup procedure Message-ID: References: <20240325210025.1448717-1-cristian.marussi@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240325210025.1448717-1-cristian.marussi@arm.com> Hi Stephen, On Mon, Mar 25, 2024 at 09:00:20PM +0000, Cristian Marussi wrote: > Hi, > [...] > > This rework introduces a dynamic allocation mechanism to be able to > configure the required clk_ops at run-time when the SCMI clocks are > enumerated. > > Only one single clk_ops is generated for each of the features combinations > effectively found in the set of returned SCMI resources. > > Once this preliminary rework is done in 1/5, the following patches use this > new clk_ops schema to introduce a number of restricted clk_ops depending on > the specific retrieved SCMI clocks characteristics. > Let me know if you are happy with this changes. There is no strict dependency on the changes in SCMI tree ATM, so I can provide reviewed-by if you would like to take it via clk tree. If you prefer me to take it via SCMI tree, please provide Ack if you are OK with the changes. -- Regards, Sudeep