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: 11835241 X-Patchwork-Delegate: viresh.linux@gmail.com 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 EAB3A109B for ; Tue, 13 Oct 2020 09:27:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C749B21548 for ; Tue, 13 Oct 2020 09:27:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="cQ54tMtq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391442AbgJMJ1Q (ORCPT ); Tue, 13 Oct 2020 05:27:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391427AbgJMJ1P (ORCPT ); Tue, 13 Oct 2020 05:27:15 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90CAAC0613D2 for ; Tue, 13 Oct 2020 02:27:15 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id b8so9915864wrn.0 for ; Tue, 13 Oct 2020 02:27:15 -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=PAx7q38UOEI0TApvp77AsT5nqUJSiYvvl9ir9Gg+rnch0k9mWDoPGVUzbrpAmapTT0 UjhTT1FZQ8y3FndHEIVgTe1lIucb+LWVRHSzvc9ZTmpDFW7yJ7MNyU4X2veVwkbTka77 wvwujpLC9Dm3tDA2HP/MHZi+1QfgG2Xzpjjt0Md7fB4uNdf4yXgXr7HVK3x3fV13vq+3 yUvSbvZCCOqpenUCnvkv7aq4Sy/ktUs6EZ20vt2RMh226zddimFHOsmkH7pJR65Dil7Q uk/QeZcdni3bV5Yi794eK4KFil6w7KoqVtYyubQ0WffYpNcUGOxyEO9dxQgWIuPJp0kl 6wVA== X-Gm-Message-State: AOAM530WJ4msannOJ38OYQQgEcBbYQsit9PegpNuZ8zD0NUuMDX07gXn SNHixISJ+qTaKPqg52xEHqDtNA== 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 Cc: matthias.bgg@gmail.com, viresh.kumar@linaro.org, rjw@rjwysocki.net, Fabien Parent 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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: 11835243 X-Patchwork-Delegate: viresh.linux@gmail.com 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 166F114D5 for ; Tue, 13 Oct 2020 09:27:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E47C221548 for ; Tue, 13 Oct 2020 09:27:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="XHfjcF0Z" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391444AbgJMJ1R (ORCPT ); Tue, 13 Oct 2020 05:27:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391427AbgJMJ1R (ORCPT ); Tue, 13 Oct 2020 05:27:17 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBA7AC0613D2 for ; Tue, 13 Oct 2020 02:27:16 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id t9so23123334wrq.11 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=Iyp2m1Zym7vaj94uE8CVO3JZQax61MbhPL/i82o++dJWbLVBhSpp0/36ppJQfgWbYo BdCx8KvJ/wa9xhSecH8hIRL8mycLLnuhwb870Jleb5HLIBQibbn1DD7X+pB5boTH71bx fi6S+aIHPaalarGSY6GCVdLp97W5Xr5Vza75wuwHR8T/u8Q85EEs3N/XGxsoI9PF/ztf kY0rEJa0p7wwyYKV2woGoG4j9V79m2m7caNoUFTdiHeb5WxvahZ4cXQFQ27cOMx+oooo TxIuZ/C7gqH57hkGylzkiyKaVcrVaCon12yOKHlcJnv6eYz/nkpwJ5LlseUJVpuL7qA7 Gbnw== X-Gm-Message-State: AOAM531rEXgYd/EcRMLDdxp+UNGkcIlfu+MKwXGeVH67xe9iirZ9L5sB SB4lfcrXIq0vB8Qj5O0vGVtdMA== 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 Cc: matthias.bgg@gmail.com, viresh.kumar@linaro.org, rjw@rjwysocki.net, Fabien Parent 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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", },