From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754812AbbETXqB (ORCPT ); Wed, 20 May 2015 19:46:01 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:59517 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753055AbbETXp7 (ORCPT ); Wed, 20 May 2015 19:45:59 -0400 Date: Wed, 20 May 2015 16:45:58 -0700 From: Stephen Boyd To: Sudeep Holla Cc: linux-kernel@vger.kernel.org, Liviu Dudau , Lorenzo Pieralisi , "Jon Medhurst (Tixy)" , Mike Turquette , linux-clk@vger.kernel.org Subject: Re: [PATCH 3/4] clk: scpi: add support for cpufreq virtual device Message-ID: <20150520234558.GB31753@codeaurora.org> References: <1430134846-24320-1-git-send-email-sudeep.holla@arm.com> <1430134846-24320-4-git-send-email-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430134846-24320-4-git-send-email-sudeep.holla@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/27, Sudeep Holla wrote: > The clocks for the CPUs are provided by SCP and are managed by this > clock driver. So the cpufreq device needs to be added only after the > clock get registered and removed when this driver is unloaded. > > This patch manages the cpufreq virtual device based on the clock > availability. > > Signed-off-by: Sudeep Holla The cpufreq device can't handle probe defer? I suppose we do it this way because we need to create a platform device somewhere and this is the best place to do so? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project