From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2410C636D7 for ; Wed, 1 Feb 2023 15:18:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231811AbjBAPST (ORCPT ); Wed, 1 Feb 2023 10:18:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232447AbjBAPRy (ORCPT ); Wed, 1 Feb 2023 10:17:54 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0214C11EA7 for ; Wed, 1 Feb 2023 07:17:28 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id q10so17646305wrm.4 for ; Wed, 01 Feb 2023 07:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=RVLkiMwFidl/M+DwCkpsxP4ftj8ZYza6IWwRBi4/7pQ=; b=VNPQ/X/pqW5podXmM+4Pm71xXcIBqaG9d/J1oLSRD2Q1+9xzw6uT7JpQko04yi36aW wT1xbH4utSDP9jVgA9Wa3gY/P2ObskxsziMpQOX+D/hFGW0AOCO8jgwaK+EQuo2MdfI/ VYOyqQMT+RrgnZxgXQKrPRS7ss+Y17Ai2KuUjpN9KAE9lBIF9lWujX7MYx77JK6TUJfh nZ25QhLs66WhojLED0KSBlF7he+OojxpUcYOvXs4RibFMpqMFklreHl/f7/A5wPJ4J4X eyQZBaTHfHIYwLjutg6jIBd48RdHEwRqW2s8uPhS4DaHyWzs9/Xctn+2+zKQL9OBw1GJ qoTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RVLkiMwFidl/M+DwCkpsxP4ftj8ZYza6IWwRBi4/7pQ=; b=kI1ufCdOrZ8Il03eZ2BA6dSzOfkHA4DqJHyloCSzAXySiM0b/pg9P42c3pun3Mp5Zg LkSCuKmhdE6olsjVzd6L80egWXbxgSR7gbpUPjc9zHOz8vQbyAYmKmt+M8GkIABjvwV4 Le3Nq7cNUBUNl0+NqIDrcpOkmS0nBLjVOeBVTu5LABpKVDQ9q4Pq116E8BC/DRGP5Jcl mq6QoC5yJWP1Yf/iSKbVEnnzIswS1PB149fL9TlfcAWOsuWMnx5ZJYmZI75Dw5657XEL Wb1VxFd9iGZVE/hbXyRcohV6yNP8FIcnCvhwkeOOWZZXCICiF2ylHN8O4Zgs6KBNCmjj wzYA== X-Gm-Message-State: AO0yUKXW4pdNiknbSpJEpG1LaUylrKPz6jtZdMt0rJ7dp3dQYRYnOC76 N9Hf/J8Y17hMOmik3vsmLk5MsQ== X-Google-Smtp-Source: AK7set/nCiNy+Pzi77nIa65QImfC3rdztS1HtejxiWDwDPA66QnckjniT6lXmI3fv1qnkQSONcRnnA== X-Received: by 2002:a5d:4e02:0:b0:2bf:e1f8:c4b6 with SMTP id p2-20020a5d4e02000000b002bfe1f8c4b6mr2583288wrt.52.1675264645313; Wed, 01 Feb 2023 07:17:25 -0800 (PST) Received: from [192.168.0.162] (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id t8-20020a5d6908000000b002bc7e5a1171sm17846257wru.116.2023.02.01.07.17.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Feb 2023 07:17:24 -0800 (PST) Message-ID: <86478fbd-590a-f94f-6cc1-f4d06a96826e@linaro.org> Date: Wed, 1 Feb 2023 15:17:24 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH 2/2] PM / devfreq: qcom: Introduce CCI devfreq driver Content-Language: en-US To: Dmitry Baryshkov Cc: Jun Nie , myungjoo.ham@samsung.com, kyungmin.park@samsung.com, cw00.choi@samsung.com, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org References: <20230201080227.473547-1-jun.nie@linaro.org> <20230201080227.473547-2-jun.nie@linaro.org> <515f4e9e-2804-e03a-26f5-f2d3ac331109@linaro.org> <71ba0d05-6183-95ef-9e45-cc3dd512475f@linaro.org> <58a5e856-3e8b-d660-09ee-7a18b184452f@linaro.org> <1d33eb58-95d1-643d-52cc-2888ff0cea43@linaro.org> From: Bryan O'Donoghue In-Reply-To: <1d33eb58-95d1-643d-52cc-2888ff0cea43@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 01/02/2023 14:58, Dmitry Baryshkov wrote: > On 01/02/2023 16:45, Bryan O'Donoghue wrote: >> On 01/02/2023 13:41, Dmitry Baryshkov wrote: >>>>                           cci-cpufreq { >>>>                                   target-dev = <&cci_cache>; >>>>                                   cpu-to-dev-map-0 = >>>>                                           <  200000  200000000 >, >>>>                                           <  345600  200000000 >, >>>>                                           <  400000  200000000 >, >>>>                                           <  533330  297600000 >, >>>>                                           <  800000  297600000 >, >>>>                                           <  960000  297600000 >, >>>>                                           < 1113600  297000000 >, >>>>                                           < 1344000  595200000 >, >>>>                                           < 1459200  595200000 >, >>>>                                           < 1497600  595200000 >, >>>>                                           < 1651200  595200000 >; >>>>                                   cpu-to-dev-map-4 = >>>>                                           <  200000 200000000 >, >>>>                                           <  249600 200000000 >, >>>>                                           <  499200 297600000 >, >>>>                                           <  800000 297600000 >, >>>>                                           <  998400 595200000 >, >>>>                                           < 1113600 595200000 >; >>> These should map to existing opp entries. >>> >>> I ended up doing the interconnect driver that maps a clock to the >>> interconnect. Then I can use it in the cpu opp tables. >>> >> >> Can you point us at what it is you are proposing ? > > https://patchwork.kernel.org/project/linux-arm-msm/patch/20230120061417.2623751-9-dmitry.baryshkov@linaro.org/ > Is there no driver code too ?