From patchwork Tue Oct 13 09:27:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11835249 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 81307109B for ; Tue, 13 Oct 2020 09:27:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 399EE20725 for ; Tue, 13 Oct 2020 09:27:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cIoe/asa"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="cQ54tMtq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 399EE20725 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=gcpZ0upaPeTO2Jai9uuAMu/iJqPYXta9zZuTrPq24IQ=; b=cIoe/asaUeUPBe5pmebDdmZm6U QYEKqCDVwaLFIceBjklWsMteaoJ3v26w6dKtfqWiDFDkVX0Fsg10Dsv3Se5Jx5jA1bGQvZze5Ncym G9jE3yKZef2qwcG91+C+4nA0AzEX7d6vSYVwEkig0iOWtjUzmUTgbkq2ErTG+SxbNXHW4KpHXHjD+ PxyDiCUHGRv+gic7r6JE65AIvIY+KA9uOcQ2VK9erJ7FWj3Rzs7gVvSuDHHZXHqZgcb8o2F6Jjnlk B1OPV8mwc6sml7b5sy6DYw3Rc5nwGuxD8GZxpY3ICwNAp/MPMwy3rhu2qalxPnNWHlQ705+7sAXLD Bn7T0pDg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSGaV-0004TN-Ab; Tue, 13 Oct 2020 09:27:19 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSGaR-0004Rq-Mv for linux-arm-kernel@lists.infradead.org; Tue, 13 Oct 2020 09:27:16 +0000 Received: by mail-wr1-x436.google.com with SMTP id y12so17759442wrp.6 for ; Tue, 13 Oct 2020 02:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wJ7jRoPXGiiAoDBzp6DBsjtx/DuGJsa9AjjDde8Qs2M=; b=cQ54tMtqQbU/rbyhWDIkZM7lwDcs2jxlxfyBx5bPEBf8BeqFrSi7X7vCtcH8pK2YTW 6s0Jpf2qf2E7imqT79CYWPXFfJslyeu2TrCIPVsUJJyXjZEPKD1ebcQXy8qnLnDVrts7 tpCwGNEWtxv9mzWU/01SCi5SkXb7vGEaFwCOaKL+DLkRBA2TRysw2cUPwZX3qZxlE6Eq nuidr+y0mMmbs4oP+grNn/EdCN1DrdH6wbh2/WwV/j+TP5rhPpljGxjNF5WJZpw888HY O+OIhOw5zWDAJ5HR6V8mUfFP0kAsenEWFWUXbCr3KdQA59SD7WmB2bOIN6XixCHD/I7e XKKw== 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:mime-version :content-transfer-encoding; bh=wJ7jRoPXGiiAoDBzp6DBsjtx/DuGJsa9AjjDde8Qs2M=; b=irAIve9rWlGnZpgNuG8rGr+4RIQAWohpY1Ax0M/d3++XbcowT6gXqTkZyBJwGnDfNd ZAPveMQq+SpLmmDBem2RmDdel4h6udoiQEgWI8h4wnselnYXlZRW+BGDTItHDx76TQV3 wLEhrtnM+1TyxqcdTDNGHhKoor1yg3AHqeef42P7x0DsEw5zRXEXaTlB+C+vcv0rElS+ 4ZXa2EWfKmjyRXtN9h/t87rpH+EPfsFNER8opX/moKcFgR9lfrnaYQQkbQBb/sRV35vN y5qBC3NCJ90EyAydk90yIXu9725f+Jucf9XNkQFivQbkza2b1pcwSCpoQaEEoLXZ0dAF Ho6A== X-Gm-Message-State: AOAM532DPu/gftXF32Tx80Cd/UOCS3FBKWjhf+/0BYTYS+2Br6v2WDHQ P7djyjMtdXf4jZsnW+Hi7Iyb8Q== X-Google-Smtp-Source: ABdhPJy14F6d0h2r7/4p6oqrAM5LS8peDKXMcattGlrM2R297ZmvNMjauNFeh/ITF40zFAd3D86YDQ== X-Received: by 2002:adf:8b48:: with SMTP id v8mr34705235wra.21.1602581234070; Tue, 13 Oct 2020 02:27:14 -0700 (PDT) Received: from localhost.localdomain (147.169.185.81.rev.sfr.net. [81.185.169.147]) by smtp.gmail.com with ESMTPSA id f6sm14484830wru.50.2020.10.13.02.27.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 02:27:13 -0700 (PDT) From: Fabien Parent To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 1/2] cpufreq: mediatek: Add support for mt8167 Date: Tue, 13 Oct 2020 11:27:08 +0200 Message-Id: <20201013092709.3336709-1-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201013_052715_769286_FDB801EF X-CRM114-Status: GOOD ( 13.43 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:436 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: matthias.bgg@gmail.com, viresh.kumar@linaro.org, rjw@rjwysocki.net, Fabien Parent Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add compatible string for mediatek mt8167 Signed-off-by: Fabien Parent --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + drivers/cpufreq/mediatek-cpufreq.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index 7d01df7bfa6c..b8d48ed37156 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -119,6 +119,7 @@ static const struct of_device_id blacklist[] __initconst = { { .compatible = "mediatek,mt2712", }, { .compatible = "mediatek,mt7622", }, { .compatible = "mediatek,mt7623", }, + { .compatible = "mediatek,mt8167", }, { .compatible = "mediatek,mt817x", }, { .compatible = "mediatek,mt8173", }, { .compatible = "mediatek,mt8176", }, diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c index 7d1212c9b7c8..c09bff86bb9b 100644 --- a/drivers/cpufreq/mediatek-cpufreq.c +++ b/drivers/cpufreq/mediatek-cpufreq.c @@ -532,6 +532,7 @@ static const struct of_device_id mtk_cpufreq_machines[] __initconst = { { .compatible = "mediatek,mt2712", }, { .compatible = "mediatek,mt7622", }, { .compatible = "mediatek,mt7623", }, + { .compatible = "mediatek,mt8167", }, { .compatible = "mediatek,mt817x", }, { .compatible = "mediatek,mt8173", }, { .compatible = "mediatek,mt8176", }, From patchwork Tue Oct 13 09:27:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11835255 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 02959109B for ; Tue, 13 Oct 2020 09:28:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B459E20725 for ; Tue, 13 Oct 2020 09:28:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="2+WoY6MY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="XHfjcF0Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B459E20725 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lS3g/PtEiWBtIO88uNLWANpkzxTdQbNpYsd0ZgSWbe4=; b=2+WoY6MYqZH23GBySp6/7x5Cn 4UjhXkSU9P6fr9/hDYE6OkwU8pZEEjdBFPCj0mDDNVBYnny90360Dcd5wgbPhVJu4OfKAPbPfG3yY 77e05Aia7Qhq5xsN20Fe7dSMVD+ErhE6A/j7JSrO8b6mFeet8ioSH8zPCeuqbpdFe1s+BvSlWzw5p t4YDNbaUaLYQd2iOmABvlHt8ca0u09y4KGpfxr16WzXRudvdmna4p2/MXvoPUUkeVy2KWLc6lvvD1 AIgF5NDtaQNPAD7VaOZoAGpwMNLhdvOMsZ2n6c081gyhMeKUZXp24m6xvF7mQW/O5QgdmcCDhcPDR KL+lG3uAg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSGaY-0004UK-Nz; Tue, 13 Oct 2020 09:27:22 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSGaS-0004SD-UX for linux-arm-kernel@lists.infradead.org; Tue, 13 Oct 2020 09:27:17 +0000 Received: by mail-wr1-x442.google.com with SMTP id b8so9915964wrn.0 for ; Tue, 13 Oct 2020 02:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Z8a9970NyoL8j/WouYPI3QrVUX98ELJ53wzM6Z8s7NI=; b=XHfjcF0ZziDDiY5hGxeJXZG6wHx+Mq3O7G0F92FKfFobe2YcU9Phyc5G0rUD1jDbGk w0yxK2uXGTFkfgajQvrtp7y46i/m/OD/KTnxf63f6ZEuCTWkzZbfk970AUST0c0le71N KpegIlZ3ee5uccsOOK2TBrIfT2n8JmAOS5wYyLwN/Von53kMhx8OaVjSPIpBD3ElrlWQ tMIjAzJTVBxjOZ+7+xJBG1XLMThQKZBdskghBck7fhMnD2XuIDQsDFlOqBOda7agxQ0q tYmpBahs9mj53RdVlX4Jx1+t1/6NQN1N/3sBLPr6uxvcGrJS2AarVnv8FlF2vm8ZyaxV um/w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Z8a9970NyoL8j/WouYPI3QrVUX98ELJ53wzM6Z8s7NI=; b=iEnsMnzBZVaVQ1arLhsOcJm7djELhtKKGa13pw5PGobdYCyxHF18WyTX/k0+h4aJA0 41vpl0ExBrhfcjGmuVPejHmhlZdYzvfEY23j/4EgJh223BXywRIMgNm8V9qIAf1Tx+uX jvarA8hpmI+FdC3mleYZzw6Lfy0GTQAAuqX6HPHzJmzO8k1f61hu5FWsoAYaIUUjYBa0 DSdc6snle58HBdBd7OTXxk2Q6O3pqO+Reaf++j+al+EP3iJb22X6QD2rksEvNgTysG/J gMdbsMcRKHNIrMUVx4pTkb4mj4hZ+ves1i+HvdMuIjYvhxlO9UfETkC0mBz5p0QVdU4O jLmw== X-Gm-Message-State: AOAM533COJJUy0ytW7Grq/joQGF+zbSf/PVAQ8/sP6wZE0t53tpbQ5Sk WVJSeWClpePUGjz5SH8nUcq4svSBX4WDD414 X-Google-Smtp-Source: ABdhPJysxJ0YjqYhgvuz7yO6DNijyqhaPhUZZeVNIIdsnRzkGQZ9wKFCrAovRtTSeI2LSqBeku+mIw== X-Received: by 2002:a5d:448b:: with SMTP id j11mr19794943wrq.129.1602581235480; Tue, 13 Oct 2020 02:27:15 -0700 (PDT) Received: from localhost.localdomain (147.169.185.81.rev.sfr.net. [81.185.169.147]) by smtp.gmail.com with ESMTPSA id f6sm14484830wru.50.2020.10.13.02.27.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 02:27:14 -0700 (PDT) From: Fabien Parent To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 2/2] cpufreq: blacklist mt8516 in cpufreq-dt-platdev Date: Tue, 13 Oct 2020 11:27:09 +0200 Message-Id: <20201013092709.3336709-2-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201013092709.3336709-1-fparent@baylibre.com> References: <20201013092709.3336709-1-fparent@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201013_052717_017708_C5F9C29F X-CRM114-Status: GOOD ( 13.14 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: matthias.bgg@gmail.com, viresh.kumar@linaro.org, rjw@rjwysocki.net, Fabien Parent Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add MT8516 to cpufreq-dt-platdev blacklist since the actual scaling is handled by the 'mediatek-cpufreq' driver. Signed-off-by: Fabien Parent --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index b8d48ed37156..73cb8f2ad9d4 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -124,6 +124,7 @@ static const struct of_device_id blacklist[] __initconst = { { .compatible = "mediatek,mt8173", }, { .compatible = "mediatek,mt8176", }, { .compatible = "mediatek,mt8183", }, + { .compatible = "mediatek,mt8516", }, { .compatible = "nvidia,tegra20", }, { .compatible = "nvidia,tegra30", },