Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp329310pxu; Fri, 23 Oct 2020 01:39:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZoKh9TL40RbgnY0/Z7LqkrqckvVqRgmf5u8qx6SQtLmkY64ff9wXL9NKu4IA7sAfzotM7 X-Received: by 2002:a17:906:284b:: with SMTP id s11mr717745ejc.326.1603442377922; Fri, 23 Oct 2020 01:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603442377; cv=none; d=google.com; s=arc-20160816; b=lIbxSt1fRmM3N854ZEggvyxSMfcJfC+rLolfZByY0ef1bOD6duT5K3TN0/rDe0jFo0 Ni3nt1F4hvIbG3Wg3tB3fxuJczgQ8VUYCiIfF5uOcJCJxkNwPObPqOgMOCKWOUEsArrl GLu6rbdLXRRKr2/c7opasoP/RLOazzmAsWdDx7jem7tld6Vjmc2lyo9bNQ4kBvFLc43G DuFiRk7EnzsXBS+WZFQaFxhXpsX+a9dYF1v8tMYTTbkmTh4IOvc7RJTRonU5TRYjuMLx jQPqG4WEOGZwacN+Rsd8QIztpjuKqpLMSx7t5f22owkg89IB/INh/pN2lAmeRduZVZNn cAIQ== 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 :dkim-signature; bh=f+1AbkQy0A87BtmUgjwi9U43PkE6jzonKJ0Vu1is7Vo=; b=Q+emZArxHkwKrOgD7t0OT29qOZccWzodmiTNza1aOjmPOA+zRwT3vvRUPx4pQoFXM1 VfQusNMkGHBr40Bb+kD+v+3px80s7AiOejhgdaTn4iiBAGhsgPbJj76v7opaIeZGv7lU nqRkFCptby1eQKVj5T8rZ4J/xDmfJbBnbSmnwKEQKW1OM28LhkKcPmtDu5HAfj1I52Hi /F1oyAsWam6R07G4xduPz4wdnQv7zasgzv84wCPpjr+QUnJ4yNRpEUdWYnVRQE1qHnrT CAZ/lDoP2oOksmWDqygGo7XF04aDftEWFzV8wp8XwBa42nJpTKuw4PGeFbmprIPBMLD3 YvnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="h4icBj/T"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nn23si397138ejb.190.2020.10.23.01.39.16; Fri, 23 Oct 2020 01:39:37 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b="h4icBj/T"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S460673AbgJWIfo (ORCPT + 99 others); Fri, 23 Oct 2020 04:35:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S460665AbgJWIfn (ORCPT ); Fri, 23 Oct 2020 04:35:43 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63256C0613D4 for ; Fri, 23 Oct 2020 01:35:42 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id y14so585664pfp.13 for ; Fri, 23 Oct 2020 01:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=f+1AbkQy0A87BtmUgjwi9U43PkE6jzonKJ0Vu1is7Vo=; b=h4icBj/TmDHkcs+rhSs8XB2RNfjMBq5yYqyS0YSnDGSwFXPCqoDP/lxPP8V+vXHR8r oRQI1RxYVegeWAVl0m0H7iKa99OsNGct9JAcqom9WRHZ6ul4RvUUnui+KvrWXnWS/pHN /Kk2lGLpT63GC0MunDRXmZVti00Fi73wxul5FY/lrR1bqB46daudyNUZbVACVIszm9ic cG0wKRKoIEMLtDl/MX4kFyJqIdwWsUmLtsYy7B+8ROEp8UImTx/y5NkFgdGWkoZt1nwB 4WosCkRK9/JTL638s0CA4Vs6eONP0Ynr4um/xvHySi6roD8V01T+/rXTJXOyNiRgEVSs eF0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=f+1AbkQy0A87BtmUgjwi9U43PkE6jzonKJ0Vu1is7Vo=; b=VU1ZM0A5i83UJ82c9ofunFudZ8PdbsFl54Vtvrbw+m/3a1MMJFznjDrzSzMxxoH0Kv FTzTCXDRbMF+IPPRQ5jQbpcya0nIhIzuCb17MPiqcaF6YOPxEPZKxCZv6eB3ysz8rX84 CGxleDLNh3WhvCAV5ljvmgeUl9jVhaidX3GbDe+pY0c12NxALaNTtOB9dh6kiguwZkTP ZQTB3N9CkCiQcxUmN0mB/swiyIw39FnW+I7cNl4WfibvJG7587Dj9wTVDOejpa+KbkJ0 2vA9mP07CV1XziYfS9pNwFlUfbzyHP/jGl9LSYSiSFLGwoR987tObqD9Gy/h3dGbGfT1 nGbw== X-Gm-Message-State: AOAM533tEceeIWYGWFSlYo9czg8pG/esuQYrc7G3DczX8l/4pGwQ23UM AjBSNMnPJ7O1ekjJqdD8hzhAxg== X-Received: by 2002:a65:6243:: with SMTP id q3mr1227075pgv.154.1603442141794; Fri, 23 Oct 2020 01:35:41 -0700 (PDT) Received: from localhost ([122.181.54.133]) by smtp.gmail.com with ESMTPSA id w19sm1267173pff.6.2020.10.23.01.35.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Oct 2020 01:35:40 -0700 (PDT) Date: Fri, 23 Oct 2020 14:05:38 +0530 From: Viresh Kumar To: Hector Yuan Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Rob Herring , "Rafael J. Wysocki" , 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 v1 3/6] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW Message-ID: <20201023083538.f6hhcyizvlf2ufjr@vireshk-i7> References: <1603441493-18554-1-git-send-email-hector.yuan@mediatek.com> <1603441493-18554-4-git-send-email-hector.yuan@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1603441493-18554-4-git-send-email-hector.yuan@mediatek.com> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23-10-20, 16:24, Hector Yuan wrote: > From: "Hector.Yuan" > > Add devicetree bindings for MediaTek HW driver. > > Signed-off-by: Hector.Yuan > --- > .../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 46 ++++++++++++++++++++ > 1 file changed, 46 insertions(+) > create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml > > diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml > new file mode 100644 > index 0000000..a99f44f > --- /dev/null > +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml > @@ -0,0 +1,46 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/cpufreq/cpufreq-mediatek-hw.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek's CPUFREQ Bindings > + > +maintainers: > + - Hector Yuan > + > +description: > + CPUFREQ HW is a hardware engine used by MediaTek > + SoCs to manage frequency in hardware. It is capable of controlling frequency > + for multiple clusters. > + > +properties: > + compatible: > + const: mediatek,cpufreq-hw > + > + reg: > + minItems: 1 > + maxItems: 2 > + description: | > + Addresses and sizes for the memory of the HW bases in each frequency domain. > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + > + cpufreq_hw: cpufreq@11bc00 { > + compatible = "mediatek,cpufreq-hw"; > + reg = <0 0x11bc10 0 0x8c>, > + <0 0x11bca0 0 0x8c>; > + }; > + }; You still need to keep the CPU specific part here and explain how this block is going to get used using the other binding you added. -- viresh