From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6CA6259487 for ; Fri, 20 Dec 2024 05:19:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734671982; cv=none; b=c1HGnp2pSaJxbs8BO/8n6UkKkrX64D2pk9zkTkk6TdRmRB+rhJ/N/nR5iuYVOuvSyHdI/9br8LNYuNDAPgQU8xIRNxQuJNkmHk84eos3v+DGXvOX4MFEkn4lBbG/RLrF++8oiha+HrlYLh+ZQZv+H0j1Yx/+ZVsHB7K/di337Gw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734671982; c=relaxed/simple; bh=e54aETtzKU0bJh4FKXcbmgqTYchVu+DCLAOii7IkhIg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TMJ2ynLbbfbk0PQWzkAx848OPpP+y4sLpUko/bs+AOSWC2+DjM/t8f8nCm5XXJHD0874PpdvcxP/iTToVo3WUjjJkXIABq5dhlXm8egimq9qEw8+qIEAxyumIwQjkDBObOSkUrHak4t2ym30oRDRrpaAwZNX8+SsnViLUdf+1go= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gQ6isGpR; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gQ6isGpR" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-725f2f79ed9so1270034b3a.2 for ; Thu, 19 Dec 2024 21:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734671980; x=1735276780; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=3ldz2OYNNzJdiTSApNt6V8tKr1UZg1Bi0CEsnq5FrJM=; b=gQ6isGpRmwIlZvX9t7QC+jW+A5RdljsY9VCu4BxI6MRsqpOEvIjdoX0/YMudqgPr3S m4TfirlUtRmGW/0Fd8Iqnfzs+Kb4l98bOmQJz4mkjL7o7NDBKaAYnF4lk46BO+LgAywV aPEikqhX+EDfANRKF+YpWuV50V4vmuju+nN4pqEIj5ibgTmiEEc2RSwxwUTRfDmGo3LU qaS6ks9JzFwP6gS9jHVY2MAOvAbOaw3U6+0TKANIQW931XpyN//euUIofN9UvzU9N9Ny JfVqSdDzjKXygQO1470o9TzYP36OFpe2L5RFc6rif8ELV6fJadx7B0wOmbf1ujufv9tA h7bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734671980; x=1735276780; h=in-reply-to: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=3ldz2OYNNzJdiTSApNt6V8tKr1UZg1Bi0CEsnq5FrJM=; b=hsNzuG4BFDl4HvL/X7EmQ5iXrMeHx3xD+vxBY055ojvek2wCf+W0xvlJK3wMhN2WJP 9ddBQYwS/jHmQI4Hrp7cgKdUV7SV/M8dMiYwPi0JqiGaFEmFCg90+IpSCJrhdn2gsmiM 6ebcHa71/kFjCyUuX5imv76OAdaiCnwbuW3T957farYfUVfTn01h1R53hd387UE3GQ4N RE+JJj5xnA6H2HHOfpm2aUTFmB7yDfEI6HbI/x/op4qzlXisGmKSM9tEAiNVcUstkHN1 2ROBTYNLN9lk4/mF5Zu/6IpxAadibwzLVKlS5HvsHbGnMdss8m6D13E1+W8/FnslOnQE Bhig== X-Forwarded-Encrypted: i=1; AJvYcCUIJoj2ycJe1dA9lBLWtDZvmkFACjczbD15qly0We5Xv8PKlGw/O+RKB/Fe0ooX7NWgbuYpWvymVQBmZOA=@vger.kernel.org X-Gm-Message-State: AOJu0YxL/qAqvhfhZ3cHCb6c9KJ/dqtHnovg7W9rOR6frr5p6rR1LjFI 1sLaVPGP/EDSrrt+LfTQwgRAagxKSMmgzRaKeuxIbkX+qVztiAXiannWYfKzwF8= X-Gm-Gg: ASbGnctFWNDkSjH+9ZuCNdBC8SewbchLQpnmlTPTc43tjtKgqpACyL0OtHAjFzfVMD0 l+QpkaRuDiitgzRWYTGvu2B+ZdEezAFtnigR6dQf9r9ge2oNK4iJKvWdbwb1stbMTrf99YQo09B SzMCMQ2TgxHuY1+tB8a1E/e0SFNcAJgwfsf6aADzSMWexURkfnGpQq/Eh4oGJdW5VHxOj7cSnfM Q8jhjT+DIlEWrwQ9attX8oZKXDIeUz/VC3d/jU6DKXcbm1+iBvQ/7rEEL8= X-Google-Smtp-Source: AGHT+IFMsOL2P9eXpfo9vzACUXZ9LwC+O82OrlKh1udvUcRtJDTnWmllWwbry/KmoxqbdXKEqnl/4g== X-Received: by 2002:a05:6a20:258c:b0:1e1:a693:d623 with SMTP id adf61e73a8af0-1e5e04994fcmr3156113637.25.1734671980199; Thu, 19 Dec 2024 21:19:40 -0800 (PST) Received: from localhost ([122.172.83.132]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-842aba73267sm2074168a12.13.2024.12.19.21.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 21:19:39 -0800 (PST) Date: Fri, 20 Dec 2024 10:49:37 +0530 From: Viresh Kumar To: Ulf Hansson Cc: Christian Marangi , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@airoha.com Subject: Re: [PATCH v7 2/2] cpufreq: airoha: Add EN7581 CPUFreq SMCCC driver Message-ID: <20241220051937.fbfbbvtd3yzu54kv@vireshk-i7> References: <20241206211145.2823-1-ansuelsmth@gmail.com> <20241206211145.2823-2-ansuelsmth@gmail.com> <20241213040001.jaqeuxyuhcc73ihg@vireshk-i7> <675cb6b2.050a0220.149877.5bab@mx.google.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: On 19-12-24, 16:23, Ulf Hansson wrote: > The power-domain provider driver should use the compatible > "airoha,en7581-cpufreq". This driver should be responsible for > registering the genpd and the clock. > > Potentially, the power-domain provider driver could also register the > "cpufreq-dt" platform-device. To make this work, we also need to > extend the cpufreq-dt driver (maybe extend its platform-data too?) to > be capable of attaching the corresponding cpu-devices to their > power(perf)-domains. For the moment, this isn't supported, but I think > it would be nice if it could. Another option, would be to use an > additional separate name-based cpufreq-driver, as in the > qcom-cpufreq-nvmem.c, that then becomes responsible for registering > the cpufreq-dt device. > > Viresh, do you have a better approach in mind? I am fine with any part of the kernel creating the cpufreq-dt device.. That doesn't need to be in the cpufreq directory. -- viresh