Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2888620ybb; Sun, 5 Apr 2020 19:59:27 -0700 (PDT) X-Google-Smtp-Source: APiQypL7t+DOszKzuwR7Zi+7NtvLjyCO+9srs3hKyMM1VdOYx2nPC+3v98ypPFX/UQ9A5rL3wqpD X-Received: by 2002:a05:6820:122:: with SMTP id i2mr15751134ood.73.1586141967373; Sun, 05 Apr 2020 19:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586141967; cv=none; d=google.com; s=arc-20160816; b=z97KK92SA9b17D7sDaauMlPJZj/yz4lI9R8OyYbKkEWUlvsUF58qicmTmfd6YaAKKR irSjdH25bDX4ZBJ9bzp6Odnt/BkCXABmzHBFkUNOli0DOeYjxMJqYcAbox4mxP0gyCSb KbWz/89LJUWDJZZ7K0sN13eYJILhk4rY/4EQYX8WPiV5CTm4DTMsAgF0hTkXg1vggMQc CwlkZDmDr1OVZU3/zWLVXUi2or8OlZW/i9lCBmhhczlwjZvLB3HF2FeU+/8xk9no3A64 7v7bcHRs2gIMNyr1vZYCOrQII9jNDl8Z+KI3mG7j2Oe0gWQrEY3htNMmr+E37RQAr39+ Z+UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Snmazk82MB0/0cCIeeJxaxYr1fCvgV5xCLT8s21RwAs=; b=rBqiUILLK7HTliOxLNRY3yLVttgrNdSEKlaNY1//NbXec67cIFC921IjHCbA4c6kO7 W90QyY6wDV/TMxKS0kztB0adSE6L9WhjDC7AIVWlsLRjZPkf9AbHcuw2haW5sLYWL06b oKD0lqiBHdEArF+IyEDsLR4JCZuLd6Msf8nAm6q75YS+6zy0jrxZSr8GRyi2lsoGSNP9 L0R7LxpfjAw2y1jAJqQU97q82PZ+Osa8J59zgLOC8mUXCCJn/X2X8s6ySsVtyU+Q0/8Y JBddoSYM50tHJCDFKixsxy8mhymJRXgyvtFOStm/g3j7EIfP9+wWqvyBRXFQYbO/BlaM th1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NqPNfIWg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9si7467704otf.51.2020.04.05.19.59.15; Sun, 05 Apr 2020 19:59:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NqPNfIWg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726514AbgDFC6f (ORCPT + 99 others); Sun, 5 Apr 2020 22:58:35 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:33359 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbgDFC6f (ORCPT ); Sun, 5 Apr 2020 22:58:35 -0400 Received: by mail-pg1-f194.google.com with SMTP id d17so6880579pgo.0 for ; Sun, 05 Apr 2020 19:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Snmazk82MB0/0cCIeeJxaxYr1fCvgV5xCLT8s21RwAs=; b=NqPNfIWgOWaM4sqrQjkJIXbp4kT3YO3B6wIsbdOFmc7pyXoGE+VpXs21oojmhTvtCm Y+y1dtXB9zv/cjK4hEKRyVCSiKUqpVhrhbMDH0nxoyKBSwhydSdWpqPFNrMbYEONwqRW aPZFVQ+NIt+dsDmxklpi93KoEIHkfhL69mX9exDgI3NQ7tsVfsbL/lQC2vH8WXGmiQ18 tK1paQ3pARNq8QchfUQ0D4YtTSh6wI92NpK4P6clPK4hPofDCqwBhwYS+iMTL+iVNgCJ Eu0wi6WiU9hZSkSnbDcsayaICj10GcZoZ1P4m/kiIeeE+qqGEfWThwuD5BK6c41DsOE8 33/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Snmazk82MB0/0cCIeeJxaxYr1fCvgV5xCLT8s21RwAs=; b=Jjsp87Re+4Eq32RkeFKgAFYCQ4z0Y4Pl+S0cQbxL8jGgyIfPJrY5Cqdi281fBDNYpe RrvX3yp+oPse0/JdhsWYTeuVKrfSrpKS1aG329dNv3BGERLPgc4yVc53EdlLoNWM/2YC SVrR7MH5cLMMgUVpiXX9nR0Bqmwtk7PLdNL4ZjkfoqnJuIaIfc3H26V+8RGsaPTj6hE3 gMyywjw27QEitthO5inABMnbWg0EAyFYrZBxXRnMdFpHJ3ljWe6CTAGRgqqcNntd5oLG pK5LvqPFjKaFA1bZzgVlyCQjwd7IV4Cp3QDo2FkmDkh+m6JPlhfyc5vqkH4nFwFVQZ7U ZO5A== X-Gm-Message-State: AGi0PuZRXBZ7Nw+81xgruTq6Tbagx4sZXAnp9rzxFJ9LAjq+5Y2k0Nzd 3nWb8AWcEgStZIUi76DtmS8FZQ== X-Received: by 2002:a63:64c2:: with SMTP id y185mr19296513pgb.133.1586141914636; Sun, 05 Apr 2020 19:58:34 -0700 (PDT) Received: from localhost ([122.171.118.46]) by smtp.gmail.com with ESMTPSA id d3sm10450782pfq.126.2020.04.05.19.58.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Apr 2020 19:58:33 -0700 (PDT) Date: Mon, 6 Apr 2020 08:28:32 +0530 From: Viresh Kumar To: Mian Yousaf Kaukab Cc: linux-pm@vger.kernel.org, andy.tang@nxp.com, shawnguo@kernel.org, leoyang.li@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 1/2] cpufreq: qoriq: convert to a platform driver Message-ID: <20200406025832.7bbtfo52k3dz5pkj@vireshk-i7> References: <20200403212114.15565-1-ykaukab@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200403212114.15565-1-ykaukab@suse.de> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03-04-20, 23:21, Mian Yousaf Kaukab wrote: > The driver has to be manually loaded if it is built as a module. It > is neither exporting MODULE_DEVICE_TABLE nor MODULE_ALIAS. Moreover, > no platform-device is created (and thus no uevent is sent) for the > clockgen nodes it depends on. > > Convert the module to a platform driver with its own alias. Moreover, > drop whitelisted SOCs. Platform device will be created only for the > compatible platforms. > > Signed-off-by: Mian Yousaf Kaukab > --- > drivers/cpufreq/qoriq-cpufreq.c | 76 ++++++++++++++++------------------------- > 1 file changed, 29 insertions(+), 47 deletions(-) For both patches, Acked-by: Viresh Kumar -- viresh