Received: by 10.223.185.116 with SMTP id b49csp5492320wrg; Wed, 7 Mar 2018 12:43:33 -0800 (PST) X-Google-Smtp-Source: AG47ELvlmjAhkJHpEm6eUP61XipmT7TupByHO04gzuckAxiWerUABMOj6iJbwbuRe6+fbSyGKOzD X-Received: by 10.99.122.71 with SMTP id j7mr18905387pgn.151.1520455413486; Wed, 07 Mar 2018 12:43:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520455413; cv=none; d=google.com; s=arc-20160816; b=NQ4CJbliNY5qqainzk045Du3kBoTn6IgTd14QrR0rZtN+Eiw8tsjY8yUjt8YGmNvdS C+DWjYJmQ6EsRYxDWIxgpSqxYgtEoaYsidPC9MMxG4dZuhfenWCHskTe05dfONgRlJff UxIvpiSVxsTxRYwMfPlABIaNVJesdU77h12EqZBFaF11HZiKbnf5cyIfjOsAmCj6XYFK Pz5NFWnRD1eKg1e3O5Q2oDf41uFVNUSsHrwL9sPxLSPPfArux7aYnL6ua1NAC6lVW0dK lZORMitFPEyHJtTYz/44PPL+EhGpIEDXUDSJY2AQKCW18z0/QMge5cxgg/sJel7TIENV JtCw== 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:arc-authentication-results; bh=7eiXUV7zhzyFI40t0peNeM/xFN/rlraWQ6FpcumUA+8=; b=TZMZOhCI4O2ky1/T8Sc/6QPT5bgV9V/4QMF+I17PWy50TD/T6tEj5XZZjnfosytYPW Jnvqjl66mSnIww6RQSa8R8wkAZRRTNPXhCNBMAlxAobI3MOX0lU/B3yQ24sZTT77zFrG zIp0CrKOqZRXO2nsds6OMS+hxtpZPeTrg9tL8O06KFLcq9Ca5gJAdOlyAUznPGi9/n1W 9JWKUU4PqpdK8Hqt9I9QE1PkWzt9IywGYx/hhXFqGjrIZMS0oP45/CwdzQr3qJ8h3sXR 6yctTWwc7gw7sXjeyJ6d3SfsQRSIYH4pHVoSyC0gdXF55ZoqPQc7ymd0GpdZN0uSiVar MGTg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u17-v6si13613173plj.10.2018.03.07.12.43.19; Wed, 07 Mar 2018 12:43:33 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934827AbeCGUlU (ORCPT + 99 others); Wed, 7 Mar 2018 15:41:20 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:46350 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934411AbeCGUlR (ORCPT ); Wed, 7 Mar 2018 15:41:17 -0500 Received: by mail-oi0-f67.google.com with SMTP id x12so2699428oie.13; Wed, 07 Mar 2018 12:41:17 -0800 (PST) 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=7eiXUV7zhzyFI40t0peNeM/xFN/rlraWQ6FpcumUA+8=; b=nq5i6LFpL4JuanbQgw+5GwphueOaZN6ywLkkyhH7idyQohXbH/nU3kIZbwd7Um/RZU A74qSNoyoE8iLa/xxhLwgaDEUkuWfNg4I2zlj347pUuK7S5dUVTQIMK5i3Jj8jGdIg21 MHg8Vh176bb+vKL0RNSppdnOk/GhD/n6PpE68N/ZuOKv5K9xfdJtX/kyjNARtpJ6O4Wz 6ED+A0p0wk+4Jdl8ZhgHC5BNez3oLn4wWXe9+HLumb/C2+rUzp7RNV1yilH4E1CK27aB 3MdAUZLSYHyNHo+fFlhMrlEt5mqgGdS4pVkyL9FEpxdTKbJKJwwLICijbSNhuPmSwJ52 XOGw== X-Gm-Message-State: APf1xPARnbFBLmvRWxu0drGZxuf2704peWsbGnTzG8ILKWWOR5gvhHT2 sl0UFEfZ4+UHqDdHmuPtLg== X-Received: by 10.202.215.138 with SMTP id o132mr14565502oig.181.1520455276823; Wed, 07 Mar 2018 12:41:16 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id e15sm4567465oii.43.2018.03.07.12.41.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Mar 2018 12:41:16 -0800 (PST) Date: Wed, 7 Mar 2018 14:41:15 -0600 From: Rob Herring To: Ilia Lin Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org, mark.rutland@arm.com, amit.kucheria@linaro.org, nicolas.dechesne@linaro.org, celster@codeaurora.org, tfinkel@codeaurora.org Subject: Re: [PATCH 2/2] dt-bindings: Add support for SAW documentation Message-ID: <20180307204115.mugm7m3egrc73og2@rob-hp-laptop> References: <1520166709-554-1-git-send-email-ilialin@codeaurora.org> <1520166709-554-3-git-send-email-ilialin@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1520166709-554-3-git-send-email-ilialin@codeaurora.org> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 04, 2018 at 02:31:49PM +0200, Ilia Lin wrote: > Add support for SAW controlled regulators in 8x96. > Document it. > > Signed-off-by: Ilia Lin > --- > .../bindings/regulator/qcom,spmi-regulator.txt | 45 ++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > > diff --git a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.txt b/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.txt > index 57d2c65..406f2e5 100644 > --- a/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.txt > @@ -110,6 +110,11 @@ Qualcomm SPMI Regulators > Definition: Reference to regulator supplying the input pin, as > described in the data sheet. > > +- qcom,saw-reg: > + Usage: optional > + Value type: > + Description: Reference to syscon node defining the SAW registers. > + > > The regulator node houses sub-nodes for each regulator within the device. Each > sub-node is identified using the node's name, with valid values listed for each > @@ -201,6 +206,17 @@ see regulator.txt - with additional custom properties described below: > 2 = 0.55 uA > 3 = 0.75 uA > > +- qcom,saw-slave: > + Usage: optional > + Value type: > + Description: SAW controlled gang slave. Will not be configured. > + > +- qcom,saw-leader: > + Usage: optional > + Value type: > + Description: SAW controlled gang leader. Will be configured as > + SAW regulator. > + > Example: > > regulators { > @@ -221,3 +237,32 @@ Example: > > .... > }; > + > +Example 2: > + > + saw3: syscon@9A10000 { > + compatible = "syscon"; syscon should not be used alone. It should have a specific compatible too. > + reg = <0x9A10000 0x1000>; > + }; > + > + ... > + > + spm-regulators { > + compatible = "qcom,pm8994-regulators"; > + qcom,saw-reg = <&saw3>; Why not just a child of the syscon? > + s8 { > + qcom,saw-slave; > + }; > + s9 { > + qcom,saw-slave; > + }; > + s10 { > + qcom,saw-slave; > + }; > + pm8994_s11_saw: s11 { > + qcom,saw-leader; > + regulator-always-on; > + regulator-min-microvolt = <900000>; > + regulator-max-microvolt = <1140000>; > + }; > + }; > -- > Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project >