Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp732674pxr; Mon, 11 Apr 2022 05:58:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOE0EcdloKpdobfJYOhNo+IIhO3R6bRFvGuTde6/Z42nmgXgT6q73RovLsTxmhe/Btcz3k X-Received: by 2002:a17:907:3e22:b0:6e7:d37:204e with SMTP id hp34-20020a1709073e2200b006e70d37204emr29740804ejc.375.1649681934675; Mon, 11 Apr 2022 05:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649681934; cv=none; d=google.com; s=arc-20160816; b=RVllB4o+Es21j+XkgWoTeYE3zcuCeurZnCev6ob2e8V1ZAm2P6HmblQo3IdgcEh0Yu eGQNYvYR5mNlogTRJo2APs4lsHTAljo2eNUal1TiqPYjNF/lGpMBsFPNfEXITW4Ydtu0 cSUksOFGGSR368mJuDy8oSzuEgXO7Tr3UKI43RQ5PWCCnp7aujhTd2LHrUSQfws0Rd1l K6qNXuG5urzvbjMaNGcRbefxAGm0tWglUT6ef+xvkpKmCLJ13b4x8xqTeo2zTcrWUtWx tLxWGJoPfaatXBvmieTXodCX2c490XigbcN9Wj2KZ5iwOtK16APrGDrSphRF4+6viqIp BULw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=4KTg8PibcC8KQTgPBqCOsiC3mDCYVERkDcQnsHvYI9I=; b=QFocrrWOEFAMREP7Ie2mDdjMeW1M26PduP1Hqn0xaI1R333RKDugPo+CoTWwTRdMTN 4PTJNDQKM5/3FBQ2eNCR2AewGaRcgAl6U2jiFdDl3uDje5t1FZutS15OCxH9WasVYbsd gahCUjNursZ27QecckSkVnP+4x4c8syXAMfu9dI3E1Pc/wl7OuftPH9S3aQnz8sD4nTf D76PDBxKdQJ1AgjlAnQa+O7kNiPzs6We6ZXSPFeJCbsNc9RZjWdlGCgd5jDig/XYBFZu nxtlGTPvp1V9ZzaTMhR4dxYlUV3KnjMVc/EquGQl6yHrwRROiXQq2+yCBb7TGXSz+SC8 ILnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PlFXj0ir; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga10-20020a1709070c0a00b006e7027c46a0si8115261ejc.5.2022.04.11.05.58.29; Mon, 11 Apr 2022 05:58:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PlFXj0ir; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234091AbiDIBIP (ORCPT + 99 others); Fri, 8 Apr 2022 21:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbiDIBIO (ORCPT ); Fri, 8 Apr 2022 21:08:14 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54B5728E31 for ; Fri, 8 Apr 2022 18:06:03 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id p21so12594173ioj.4 for ; Fri, 08 Apr 2022 18:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4KTg8PibcC8KQTgPBqCOsiC3mDCYVERkDcQnsHvYI9I=; b=PlFXj0irn77GOUGppxUMOrj5Hf8SW7F+QH+5hFPzJA4Ayryp5TsXijQV+Yocm3Mf69 SxzfPnQ6Ks07h+kryRHAXafNXA2GJDi6pPDkPaL9PyuddbQw4W2skzJV5djaC2zi5spf 7TJC1kRisK/n1XLcr61EuxSWU8AjO9wUxJLZrwL+XglcG95hUdDu02AQxhl98flbAXx5 knwUfIDKQ+1tBIUt32nP4XtiOV7hVoIMYn+PVKJ8iHq6YpwGB8U8rQ/kb/Lk7k2gebzd WHyaYhd9nWuBHxE76QzM26ojDh2PAzob3bjO03FAGmNnRIO3n2ri/qWWd7WHlbUVY1oU BHtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4KTg8PibcC8KQTgPBqCOsiC3mDCYVERkDcQnsHvYI9I=; b=CuLqGJV945njfOzLRp7grcsNNPRXk+Dii3rhIvdyL2z2lymDmnpsIrOCPYfOAWj9r/ RZGtpXk5PFG/joxYbWCSXazqc5mk/3uQqLmZiTuh/nWRxSpfqCvzoUsuCFkJOWNj0Cna RBBEagv/ntFcWZ4culOvjMDLGwXY/zzJ7XYZmrtdmSlAx1TpXa+BH6zx+oFfGcRVl0Fx MHueOcP884y43JJRBGXpmH7YxOkw+dqPhbl95gY6pa/oMR3VQtSsGRxMGL87fg0sMdRY dTNZz+e06AitD3ufuohPPgvrZ1vxF3HWtVlM+KuC6yKCXbVDsZ08Z6iCtePcIs6yLxRz kciA== X-Gm-Message-State: AOAM532Gz6Ji2gNuT01qO0YWqj7iiWqi9GW5l3EYtEkfkgmaPns0sjkZ QaU1UtI9LNbYjYLrRWlu8TxNagetnl03W1jgQWuvtg== X-Received: by 2002:a5d:898b:0:b0:649:5bbb:7d95 with SMTP id m11-20020a5d898b000000b006495bbb7d95mr9371853iol.107.1649466362417; Fri, 08 Apr 2022 18:06:02 -0700 (PDT) MIME-Version: 1.0 References: <20220408045908.21671-1-rex-bc.chen@mediatek.com> <7h5ynj5lhc.fsf@baylibre.com> In-Reply-To: <7h5ynj5lhc.fsf@baylibre.com> From: Hsin-Yi Wang Date: Sat, 9 Apr 2022 09:05:36 +0800 Message-ID: Subject: Re: [PATCH V2 00/15] cpufreq: mediatek: Cleanup and support MT8183 and MT8186 To: Kevin Hilman Cc: Rex-BC Chen , rafael@kernel.org, Viresh Kumar , Rob Herring , krzk+dt@kernel.org, Matthias Brugger , Tim Chang , roger.lu@mediatek.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 9, 2022 at 5:11 AM Kevin Hilman wrote: > > Rex-BC Chen writes: > > > Cpufreq is a DVFS driver used for power saving to scale the clock frequency > > and supply the voltage for CPUs. This series do some cleanup for MediaTek > > cpufreq drivers and add support for MediaTek SVS[2] and MediaTek CCI > > devfreq[3] which are supported in MT8183 and MT8186. > > There's no upstream DT for MT8186 and there are no OPPs defined in the > upstream DT for MT8183. > > In order to test this on mainline, could you provide a patch for MT8183 > that adds OPPs to the DT so this can be tested with mainline? > The DT change used in the downstream kernel is from here: https://patchwork.kernel.org/project/linux-mediatek/patch/1616499241-4906-9-git-send-email-andrew-sh.cheng@mediatek.com/ Might need some update (eg. add the cci property in cpu) though. Rex, you can also include the 8183 DT change in the next version since most of the mt8183 dts are in the mainline. Thanks > Thanks, > > Kevin