From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 4A93C159596 for ; Wed, 18 Dec 2024 07:43:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734507816; cv=none; b=ZPfCln3sOMK6Bobu1lL9Y5/rEg11RnlKAMnhGEVtnKz7YIcA1eO9yyeshGCJNIEUWCipEHe/KoXnF1wjUvOX3Tuliq8NSGXGXihBSg7lXdhlYruKy4Gyf0XqwBXpnrOtgaS4rrJLGn661G9SAAo2d00RRRDtY0wVcOvyp4T2nZ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734507816; c=relaxed/simple; bh=iQr70TC1Ge/e9uv2v8P1WfYKhCbyQDlgvqs3HHrTTYc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HGlmk7yJfWs0q2lpUlQ2VgO4t/r3KT/Wvq+UaGbkrR5gZvGEfNNZnZDFtLkmtG3Lv1xdwFmkTr81I3rs6sOxWMoF6OFriSwPYsBypnvdsHIFeDDZ1l1lcOFQZL36yLxNhtijNpDpBPz1kf93dCTnLAask1kjqKdfoc7FCKo7kw8= 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=WditV7Yb; arc=none smtp.client-ip=209.85.210.175 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="WditV7Yb" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-728e3826211so4924757b3a.0 for ; Tue, 17 Dec 2024 23:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734507814; x=1735112614; 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=x1aJYya+2E3L9DNld25usr78Elxh9+B64FFy4tnm/LI=; b=WditV7Yb6gZ/v/BrvwX2DySgRE27r4j+FLokwQZgtJT9h8EdJv4FSGavGZ8igCIgUA YR0wJACsmpSeyDyTolmgRaquULBl8MXSyGZuDVCrt/gQrt2b7hJBk6PJFB2bJ6UrhDfI QYoF7LCuu8+L/ThkIXTUIK4X6Crayxf5q8KxMJ6ck1G8r3gCbuf7nt3teovVCe0FBsFP cnHqlvFfg+spLpdYiePRXwDIrI6GbWSojGSh6e64Qnp1GUFlflDZ5edS20wkXb7npfTU W9F9qGdtfPokXAl9FPM77FC6KTuieyy4zdpDQZtDI5zMgRq3sLedoj9jpGPED/TjltVD ftMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734507814; x=1735112614; 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=x1aJYya+2E3L9DNld25usr78Elxh9+B64FFy4tnm/LI=; b=k+MIrRqCL++rUe4QyARiEi/GJ0NKYevAphPQEYYblz9N0+qZLXie++13z4P9t53TOc x3EiJNo4zvtceQ4MPJCiGZ24tTIZU3bQrspNFRYccfLLWyyE8sx+/Bf8qWvjDsqzTP5z mhvU1jyXuK3SSG0TABsAVigqAja/71PxrH2ifOfoxw/9OwH1Rk4MQRh4vLGbYbRVJXNq 5/nHW4zhNxvwY00oTtSFTsovEJe6e/TBh6zXmTgolaH3fsI6KpH+fr4bnA68qvmk70hL qgfBRZLV8eJT4hV577g6LovEn54GuiIdAyx2lcIKgXjDSQgC89tfBwC9yeA8D62fWaYO AvUg== X-Forwarded-Encrypted: i=1; AJvYcCXjmGJBxVmqDEQASnfw9lJajB7owaIxQ/Cah+xuLo8eSeqycERstSmLuO0RnZvgpjx1CBMAAqwcBANBkt4=@vger.kernel.org X-Gm-Message-State: AOJu0Yy4qWbQknpBRgSs+uwx88sHHsev/Na9PuBD6Up7Nz2KLMw4mGjt KrsF2emL5FqXtjuI2yHF6k78heDYlBwEUsZz65k3zKiPMFXSUp6JFkfL7Q2N+Dk= X-Gm-Gg: ASbGnctGInJcPXkOMvyyKEOpbeWmru5pLEIQyRUX5WIY6g9alrdEAdJhYirw4UhsVKC MnE/hSpqlJKrQygHmOn6Aac1Q6N8V2AecSND3WiICNr/9vv2l6gV29EKCRY5MVmx2Gk4CYWB7Ha +AMKEoXswYLgi8bT/z5iglYNgkl/1wgy2A18olaysiONTnze+U5NaYxZtIG9/oUKXCmcOUhkcv/ 3hxGPRlbIb56GNxQHzEc49gVbYtFPYDVnGeGO1UIyg1eRPkyp8FPkHCi+k= X-Google-Smtp-Source: AGHT+IEA6Sa4ujE9QFfv0BQAbIVG+jhMAQXQN0u1B35kYf+P9c9Qutr90IDoa5pVp7VjIyS7ZvEuYg== X-Received: by 2002:a05:6a21:9002:b0:1e1:b28e:a148 with SMTP id adf61e73a8af0-1e5b45ffc3dmr3247283637.5.1734507814668; Tue, 17 Dec 2024 23:43:34 -0800 (PST) Received: from localhost ([122.172.83.132]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72918bad760sm7890628b3a.152.2024.12.17.23.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2024 23:43:34 -0800 (PST) Date: Wed, 18 Dec 2024 13:13:31 +0530 From: Viresh Kumar To: Christian Marangi Cc: Ulf Hansson , "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: <20241218074331.vdrfthbrl3mil24p@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> <67627c91.5d0a0220.ce2b3.f329@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: <67627c91.5d0a0220.ce2b3.f329@mx.google.com> On 18-12-24, 08:41, Christian Marangi wrote: > On Fri, Dec 13, 2024 at 11:35:25PM +0100, Christian Marangi wrote: > > On Fri, Dec 13, 2024 at 09:30:01AM +0530, Viresh Kumar wrote: > > > On 12-12-24, 13:01, Ulf Hansson wrote: > > > > On Fri, 6 Dec 2024 at 22:16, Christian Marangi wrote: > > > > Hmm, it looks like this needs to be moved and possibly split up. > > > > > > > > The provider part (for the clock and power-domain) belongs in > > > > /drivers/pmdomain/*, along with the other power-domain providers. > > > > > > > > Other than that, I was really expecting the cpufreq-dt to take care of the rest. > > > > > > > > To me, the above code belongs in a power-domain provider driver. While > > > > the below should be taken care of in cpufreq-dt, except for the device > > > > registration of the cpufreq-dt device, I guess. > > > > > > > > Viresh, what's your view on this? > > > > > > Sure, no issues.. These are all cpufreq related, but don't necessarily belong in > > > the cpufreq directory. > > > > > > > Problem is really DT schema... I wonder if it's acceptable to push a > > name-only driver in pmdomain just do detach from cpufreq. The cpufreq > > driver would manually probe the pmdomain. Is it acceptable? > > > > Or do you have alternative solution for this? > > > > Hi Viresk I notice the DT patch has been applied to -next but no > cpufreq patch. I'm confused how to further proceed and what changes are > needed. Any hint? The DT patch was fine and so I applied. I was waiting for Ulf to reply to your above query. -- viresh