Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp5247566ybb; Tue, 24 Mar 2020 13:40:22 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtrYnymymWmDtlUPApl7pura6iHnLNOq0DtxOOAoXaQXE4spFkF6UQQ+n8+xEtfWdulsO0G X-Received: by 2002:a05:6830:1b64:: with SMTP id d4mr988408ote.368.1585082422403; Tue, 24 Mar 2020 13:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585082422; cv=none; d=google.com; s=arc-20160816; b=tNJCBRVlD5M6sKQcnBr+kbgbrTwyLl196hTyhSfRolobFR4h3EZ7RmfS1DdwBT+jl8 zYC79aqG2A+b/FKIu5O84bA8OZc8aNqXAGX+8shoX7yPVgHjQoYSTzho8KNyp8bI+81b +IO8VcwOONLTgJjyTCMXtXLT/eM8dofoEnDnTFjVUcOA0xK1AVB5IIeOTF6+lOSdJF4W WagyPYhOtYgDSSe4DfMmhWlSg+vjgVPN+iGUxmh2DnVH9s21lACuHKNoPJhoaccbe9NN f2KYJ2RodLr72V5P7uLU0Li7sXx6iutbDEyr+ORO/btVzj06IjGiBkLlL031a22cAHob Rv+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0Z453AqT+Xjfb5vuZGiTHQE+NgmtoqXzeXGLwGGWeDQ=; b=xc0nz7yrgxvvGEpB1S6Z/HG3Mk0tgeqNtCtv1JNqzMOmkq+9k2hzKzoOTTe4zKPiS4 aIqIlATKertHTd5A//nuW0q4saFtfW9Gi+1yxrgPqIPWjSovZq1sS10Gqnzfikc21gXS MqFiRwJbPaCpclJkbzTL7NHzZ6X80s1aIzWGufzuM7X5+z7Ay37aPZOwq8nzQm0N0N4h SBX8Jp8oDkRSw3VzmM1gV9ubKJs/YOgUSWSJoPjQWkPZeTEhwPP9gP1YylxhA9us0Df0 Gxi40QYzskv8LXIngLVGR8FatQMEq+N7bmZllL0s50DCKWMfW+/p6DVv50WbnycZLexM Zr1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w85si9065719oif.88.2020.03.24.13.39.40; Tue, 24 Mar 2020 13:40:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727664AbgCXUih (ORCPT + 99 others); Tue, 24 Mar 2020 16:38:37 -0400 Received: from foss.arm.com ([217.140.110.172]:40576 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727025AbgCXUih (ORCPT ); Tue, 24 Mar 2020 16:38:37 -0400 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 0F36731B; Tue, 24 Mar 2020 13:38:36 -0700 (PDT) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5FE7A3F71F; Tue, 24 Mar 2020 13:38:35 -0700 (PDT) Date: Tue, 24 Mar 2020 20:38:34 +0000 From: Mark Brown To: Henry Chen Cc: Georgi Djakov , Rob Herring , Matthias Brugger , Viresh Kumar , Stephen Boyd , Ryan Case , Mark Rutland , Nicolas Boichat , Fan Chen , James Liao , Arvin Wang , Mike Turquette , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, srv_heupstream@mediatek.com Subject: Re: [PATCH V4 11/13] dt-bindings: regulator: add DVFSRC regulator dt-bindings Message-ID: <20200324203833.GL7039@sirena.org.uk> References: <1584092066-24425-1-git-send-email-henryc.chen@mediatek.com> <1584092066-24425-12-git-send-email-henryc.chen@mediatek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1hKfHPzOXWu1rh0v" Content-Disposition: inline In-Reply-To: <1584092066-24425-12-git-send-email-henryc.chen@mediatek.com> X-Cookie: I feel ... JUGULAR ... User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --1hKfHPzOXWu1rh0v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 13, 2020 at 05:34:24PM +0800, Henry Chen wrote: > +- regulator : The DVFSRC regulator is modelled as a subdevice of the DVFSRC. > + Because DVFSRC can request power directly via register read/write, likes > + vcore which is a core power of mt8183. As such, the DVFSRC regulator > + requires that DVFSRC nodes be present. shall contain only one of the > + following: "mediatek,mt8183-dvfsrc-regulator" Why do we even need a compatible here - it's not adding any new information to the parent mt8183 node, the compatible is mainly for the way Linux divides things up rather than a description of the hardware. We could just say that the regulator node always has a particular name instead. It's also not quite true that it contains "only" the compatible - it also allows the regulator constraints to be defined. --1hKfHPzOXWu1rh0v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl56b8kACgkQJNaLcl1U h9BVDwf/RAYKDpswM9LzY+qhfj6MLLg7KpdzLRHMUjmy5/LLU1HpBEtu8YhHSzBX /+V7JmuFIoswcuE1W6nL9Rvtxp5cNAFwUbWyHKeP+wKCRrMRy3BCwICR/CqLTt4i aloftUH1AythmDbWKFeMF47RRo5cqaEklU5MW4MK+b+mGluEyvX2AEiqvIwgEyi3 +a5P7KtSH22jRWOx5z7B5/zMRIrG3kSReLWh3nTeRX7ky5tV/sKVW/2Z1MgRyxyF VReF9OlRZyAvNJ6IqfjjOXwroaJs0nTWR3MXRFd5xf+RTIdvkvU+YH6nvrIwxpqi gU0MdPkAAbq4e7HzdchQ/hsXz16mOw== =f2rY -----END PGP SIGNATURE----- --1hKfHPzOXWu1rh0v--