From patchwork Tue Sep 19 15:23:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 113031 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp5075904qgf; Tue, 19 Sep 2017 08:52:34 -0700 (PDT) X-Received: by 10.84.232.135 with SMTP id i7mr1771292plk.104.1505836354803; Tue, 19 Sep 2017 08:52:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505836354; cv=none; d=google.com; s=arc-20160816; b=Z+7aKBfSd/i4nTLW2QpqpmjTYbVwt8hmPPHgqdj14a+SLGaDLZnOEmRBzr9c5D8CMF utG2xpzfVfZu9Kev6EEu844CUCl247KXBWOQNFAhB0R+Yl9gef7xpfG7K12lnhE6fIW9 h4XoDHPsA6bWEEfBuJQjWGMD1TZS8IccVIn6+oBkxq6wEEE3SlIq1pLVWroNPByeEJti t3ZHvhEgU6vZAPakThq5WWOJ5ih9IIkNXFEgpTjYgtNDw3qsQ21Y8erxGDiEEXMy068q h6X/o2cuffTby5BrkIvo5ujWLuaTcXlM3fbM8JlUgRRpLnAtcz5CAd/sI1z+kVPzRdGA OE2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=ttaetajmaDZZlOsV/M4sNTzOm9w9J9WVaWH2FL7MZms=; b=LY5GQl+MeKc9TaHIXDgBEPmf4UDQC71NHOd2xd70PiJGWLuXKyAP5zYfghU2pcbaHN ORMf3NFIzSPg+7HNYK1pW7pfNh7tal+uE9WWx+XcyG3Dt3J01gbzNVhRWZX/6H/l1K65 E7RkiRCG3KQgKxvReiQH2wmwDMh+KHf+JY5sDwBOWMr6RVrzJ5iRqlNEiaNXLe3SwOtE MSjERGlqFJ1LKQIDrT9jpPKf52ru/vcAEx6GdNLnp/XBQYRcQrl1+iByIXKyGy7Opk7O 5IfsM1qNgp0r/XdCE/u4Qt2nWr/FMa16aXqCZ0xRwoB7+4F7WPGT3MFmGboydAh7lL4y UZWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DWBFacFL; 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 d3si1657072pgq.276.2017.09.19.08.52.34; Tue, 19 Sep 2017 08:52:34 -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=DWBFacFL; 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 S1751926AbdISPwb (ORCPT + 26 others); Tue, 19 Sep 2017 11:52:31 -0400 Received: from mail-pg0-f45.google.com ([74.125.83.45]:47530 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751237AbdISPw1 (ORCPT ); Tue, 19 Sep 2017 11:52:27 -0400 Received: by mail-pg0-f45.google.com with SMTP id d8so26865pgt.4 for ; Tue, 19 Sep 2017 08:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=ttaetajmaDZZlOsV/M4sNTzOm9w9J9WVaWH2FL7MZms=; b=DWBFacFL4+5ic1H90zLlnb5qaU+AysHZylClOuIjq8QdzQI+FXJrK0yOq9hEb2B6z6 kN2ZXVA3YNRLSW6hqxZjW0HFElGakbVm7cifSbGUZCBCphFGqcvN7b8W8qCm3EgQMyzP +nWkKQjnEGVxdP8jVioGRVyRMlM+TATFowwTs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ttaetajmaDZZlOsV/M4sNTzOm9w9J9WVaWH2FL7MZms=; b=ugeWwRWMq8ZeY5I7ZSLO+VgKahXcz+fWI/BR15Ww0B6Sf5gjxpjDL53N/Spn0Y56UX +brF7FAcvLtQbJWTriX3q064DC2dULn0w3febCfXmNm4vBPzYBDIAQmjjkp1/2sJLdqO ZqCsMFtZNIGErK/psBnKRMRe09S1Hv8uohMAqmUuXAU3nPWZKJDnCHPtoS2EGEV5foyX HzlaCMeWNKfXbubc9UTaTfVwByuNoBUE0xxJA3VQoI4KGaDmcZJ3gNY6edsYthfWppsb PQ9NEjonudtVVjEScrcgEHVfMT3vCBU/17xKXX+ckU6c4X59eiwOPm6lupVJSQcuKUmP apgg== X-Gm-Message-State: AHPjjUidA3sAVUlas+Rt34v9bSwAGeeArWFbNSnejsHSS7pMnHfjBonC BmgrfyScOExrB5pkZaTK2N4iEQ== X-Google-Smtp-Source: AOwi7QDA3Wk67k6ZaAXiaQI6V5ggUd2sqi2X9xLnHUdtg/oTZHhFhD86iwcPBdyqrcWZ01jbIvyRFA== X-Received: by 10.98.62.131 with SMTP id y3mr1672776pfj.178.1505836346764; Tue, 19 Sep 2017 08:52:26 -0700 (PDT) Received: from localhost (cpe-172-88-64-62.socal.res.rr.com. [172.88.64.62]) by smtp.gmail.com with ESMTPSA id x124sm971858pfx.56.2017.09.19.08.52.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Sep 2017 08:52:25 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , linux-kernel@vger.kernel.org Subject: [PATCH] cpufreq: dt-platdev: Add few platforms to the blacklist Date: Tue, 19 Sep 2017 08:23:22 -0700 Message-Id: <964fa4ba4c7d579af28bfc3468a451ba2786ae1a.1505834584.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit edeec420de24 ("cpufreq: dt-platdev: Automatically create cpufreq device with OPP v2") missed adding few platforms to the blacklist which create the cpufreq-dt device from their own drivers, after some dependencies are sorted out. And for those platforms, both the platform specific driver and the cpufreq-dt-platdev driver try to create the cpufreq-dt device now. Fix that by including those platforms in the blacklist. This doesn't include the TI platforms, for which a separate patch is getting merged. Fixes: edeec420de24 ("cpufreq: dt-cpufreq: platdev Automatically create device with OPP v2") Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq-dt-platdev.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.7.4 diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index a020da7940d6..430edadca527 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -106,6 +106,18 @@ static const struct of_device_id whitelist[] __initconst = { * platforms using "operating-points-v2" property. */ static const struct of_device_id blacklist[] __initconst = { + { .compatible = "calxeda,highbank", }, + { .compatible = "calxeda,ecx-2000", }, + + { .compatible = "marvell,armadaxp", }, + + { .compatible = "nvidia,tegra124", }, + + { .compatible = "st,stih407", }, + { .compatible = "st,stih410", }, + + { .compatible = "sigma,tango4", }, + { } };