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 X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96EC3C63798 for ; Fri, 20 Nov 2020 08:35:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 434A42242B for ; Fri, 20 Nov 2020 08:35:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727114AbgKTIfS (ORCPT ); Fri, 20 Nov 2020 03:35:18 -0500 Received: from foss.arm.com ([217.140.110.172]:44672 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725789AbgKTIfR (ORCPT ); Fri, 20 Nov 2020 03:35:17 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 64BEB101E; Fri, 20 Nov 2020 00:35:17 -0800 (PST) Received: from [10.57.26.10] (unknown [10.57.26.10]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2DBBA3F70D; Fri, 20 Nov 2020 00:35:12 -0800 (PST) Subject: Re: [PATCH v8 2/3] dt-bindings: arm: cpus: Document 'mediatek,freq-domain' property To: Sudeep Holla Cc: Rob Herring , Hector Yuan , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Viresh Kumar , Maxime Ripard , Santosh Shilimkar , Amit Kucheria , Stephen Boyd , Ulf Hansson , Dave Gerlach , Florian Fainelli , Robin Murphy , Lorenzo Pieralisi , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, wsd_upstream@mediatek.com References: <1603700349-5922-1-git-send-email-hector.yuan@mediatek.com> <1603700349-5922-3-git-send-email-hector.yuan@mediatek.com> <20201028150858.GA4029348@bogus> <65a4e167-9d2c-7fcb-5373-33af5e002333@arm.com> <20201119171322.2gxrv5h7sqwllgsv@bogus> From: Lukasz Luba Message-ID: Date: Fri, 20 Nov 2020 08:35:11 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20201119171322.2gxrv5h7sqwllgsv@bogus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/19/20 5:13 PM, Sudeep Holla wrote: > On Thu, Nov 19, 2020 at 03:23:20PM +0000, Lukasz Luba wrote: >> >> >> On 10/28/20 3:08 PM, Rob Herring wrote: >>> On Mon, Oct 26, 2020 at 04:19:08PM +0800, Hector Yuan wrote: >>>> From: "Hector.Yuan" >>>> >>>> Add devicetree documentation for 'mediatek,freq-domain' property specific >>>> to Mediatek CPUs. This property is used to reference the CPUFREQ node >>>> along with the domain id. >>>> >>>> Signed-off-by: Hector.Yuan >>>> --- >>>> Documentation/devicetree/bindings/arm/cpus.yaml | 6 ++++++ >>>> 1 file changed, 6 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml >>>> index 1222bf1..e995b26 100644 >>>> --- a/Documentation/devicetree/bindings/arm/cpus.yaml >>>> +++ b/Documentation/devicetree/bindings/arm/cpus.yaml >>>> @@ -255,6 +255,12 @@ properties: >>>> where voltage is in V, frequency is in MHz. >>>> + mediatek,freq-domain: >>>> + $ref: '/schemas/types.yaml#/definitions/phandle-array' >>>> + description: >>>> + CPUs supporting freq-domain must set their "mediatek,freq-domain" property >>>> + with phandle to a cpufreq_hw node followed by the domain id. >>> >>> This needs to be a common binding shared with SCMI domains. >> >> Would it be accurate to create a new binding file: >> Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.txt >> ? >> > > Nope, Rob already asked to unify all such bindings and generalise it. > Here is my attempt[1] and this must just use it or help to enhance that > in order to make use of that binding. > That's great. Thank you for the information. Regards, Lukasz