Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp611980pxb; Thu, 19 Nov 2020 09:17:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0O1TQO9CjoFtxZljREMEkEwJq4y4mn0OkyHuguiImnfhCM/R0mbaHd4zrRqVOOqirHHlJ X-Received: by 2002:a50:9ee8:: with SMTP id a95mr3028945edf.351.1605806268105; Thu, 19 Nov 2020 09:17:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605806268; cv=none; d=google.com; s=arc-20160816; b=L/Vax5mdc5P0VYNJdVqX9CT94i/THZg4wxbWpOXSFDqWLz1sNBf57RkJep/f2ZGYhX gbAcQqhNX7Ii6q/00mzZWaM504kXEdZeeJTbHCRveEu1NIYS5j4WyLy9GMwE8qCf/B6z /ZobP9/Xg/wibZIYZECyd0bVwF1cOacf7ZMrUG5kx10nCULe3eZyDTokSp8PuSQnaDow KOq+SprCq/mW1dUgUKE4q2PGTByWh8RDiQ6TxBrExmEiS/JOUms1Mh5WK9gcsugmg8NB MKq7LAxHvsrFEoifznBQKBn1TsCSTp1QmqeD5AaKfjdGXjXL9dLwERQ8ZUn3C+38/1jI TEdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=vEAi1SUmA8zIGQTjMrRqQWpuZFBTsie0lx47uOe+kfo=; b=y7f6ll9EMUUnZi/d0l2DS1ZRqiLjr99SjaRDEMPNeHszQcQudF/aRj/tkBcaOfJ9BR C9NijUpZI7PPMW4cu3b19cf+lCFQLZ2P3a6MtDaj/jJw3SN5di7fB4WEUSEq7sM0y4bz O3KVG8H7kaDr8zhhmiLApd/JOPrqVc6fCm47XuOSySiXfGm5D2AJ4GfxJPISAtfJCnz/ gZlOf3EAFOqHKytwr4/tqx8lJvkmCednu+bZF3ZCPoJODw3POuIGZcBFJKq8NneMyHXS MExDvzzLZdauJ2kuRyof+jnxHqzGEVjhVRkCSr3C0nOvXjSFwysLYIvACy+Ne2B2yNcy hXoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si169954edt.264.2020.11.19.09.17.24; Thu, 19 Nov 2020 09:17:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728169AbgKSRNc (ORCPT + 99 others); Thu, 19 Nov 2020 12:13:32 -0500 Received: from foss.arm.com ([217.140.110.172]:35512 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727513AbgKSRNb (ORCPT ); Thu, 19 Nov 2020 12:13:31 -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 016C61396; Thu, 19 Nov 2020 09:13:31 -0800 (PST) Received: from bogus (unknown [10.57.54.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 465353F718; Thu, 19 Nov 2020 09:13:28 -0800 (PST) Date: Thu, 19 Nov 2020 17:13:22 +0000 From: Sudeep Holla To: Lukasz Luba 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 Subject: Re: [PATCH v8 2/3] dt-bindings: arm: cpus: Document 'mediatek,freq-domain' property Message-ID: <20201119171322.2gxrv5h7sqwllgsv@bogus> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65a4e167-9d2c-7fcb-5373-33af5e002333@arm.com> User-Agent: NeoMutt/20171215 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Regards, Sudeep [1] https://lore.kernel.org/lkml/20201116181356.804590-1-sudeep.holla@arm.com