Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2947124imm; Thu, 24 May 2018 19:39:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpUZP42Z96Lqsm3vHGzodeDqOJzdKabm9lBZ/4d8gcHPNCfWmjzgtapQP+YoIB+JBm/AnNB X-Received: by 2002:a62:469b:: with SMTP id o27-v6mr594158pfi.124.1527215994164; Thu, 24 May 2018 19:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527215994; cv=none; d=google.com; s=arc-20160816; b=jQGHrGkLNRrdIKEQkS63NH4ALjmZw4x2OlSu48BDBWnJX5kmp0/ThFdrSoI/txoDO8 qa1Crr/iRQnbsQA/q079LC42iaGd2i3CDBEXuLflAJxEXODLUtYGXHkQMwUFDSWrMqMz dFoAZ2eTtgcWH1Dzj8AEU38DgxTsx3L3PEXfJw4PYW1aXdV4fh1vr9W65mBN0ySgY9O5 GDIGjWrsTbsCNNKS7020ptbA9XXzY+4PIj7cqhitl5gzJJe5PAIS0xOG3uPaYBvNZ+U5 VHi7g+wNtt4tyyY8Cmlnpb98Jbuf5Pl+yCG0Bw6yHDylSAKcizwr3IweE3SexZIuCsa8 Cr+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=Cda2cXMzv8WFhDPqcC1Db1MN/Egq1ekJItsTQr+Q3fg=; b=KsEpmDrYQs85xHnBYTRlBu9QpYKdSs4VSXB0HRn7ikRxcxBYZPzaROUkhIiNeBAnog tFpZ2GCI8NEmUhBJnh6rkTuCj8ITOf27OtdZcNxKyMC+mdHp7gW/FsnftpGqSko7QLU4 wTanf1qbnaxmQSJMiyjTJ4P/GfweXghBbRvXeyaA/70Tf85uv/NwB4zXkAj6xX2Pmy4z 5SnPkn8AjjUevD4Bgb6ITSNp0rr0Z4n1ByHT1Uh4qw6IlAKdho2YvH0IlAfxw1DPGXT3 qcjrWZEWxjXUiabU6oDr0nYn9jWiKwl5moc25ITOpwrX0D9a0i9ErRHDYW9KTOj8zNVo ZvhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=r/HA5bLd; 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 y23-v6si22009058pff.177.2018.05.24.19.39.39; Thu, 24 May 2018 19:39:54 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=r/HA5bLd; 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 S971086AbeEXTZn (ORCPT + 99 others); Thu, 24 May 2018 15:25:43 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:47198 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967322AbeEXTZl (ORCPT ); Thu, 24 May 2018 15:25:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=Cda2cXMzv8WFhDPqcC1Db1MN/Egq1ekJItsTQr+Q3fg=; b=r/HA5bLdkUeS bFz0qJlkZv9d7E9orXVFKKu+8nIqAKCMd0OeZoSbC2tqGJDRiZ1cfof0tCXI0nosfsevedS9Yq63F 93q4HXYrnN50lru1aObk/SSyFHugcZoKDJHVsaXjFycv8iBqqUzD+imLShDzn2I8jRci7ulUj9F3j 01lxI=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fLvrl-0006M4-Mv; Thu, 24 May 2018 19:25:37 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fLvrl-0006TA-04; Thu, 24 May 2018 20:25:37 +0100 From: Mark Brown To: Ilia Lin Cc: Mark Brown , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org, robh@kernel.org, mark.rutland@arm.com, ilialin@codeaurora.org, amit.kucheria@linaro.org, nicolas.dechesne@linaro.org, celster@codeaurora.org, tfinkel@codeaurora.org, linux-kernel@vger.kernel.org Subject: Applied "dt-bindings: qcom_spmi: Document SAW support" to the regulator tree In-Reply-To: <1520166709-554-3-git-send-email-ilialin@codeaurora.org> Message-Id: Date: Thu, 24 May 2018 20:25:37 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch dt-bindings: qcom_spmi: Document SAW support has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From f50e5ddae899d1599e4d6ccb46eadd78b7ed14bc Mon Sep 17 00:00:00 2001 From: Ilia Lin Date: Mon, 21 May 2018 14:25:31 +0300 Subject: [PATCH] dt-bindings: qcom_spmi: Document SAW support Document the DT bindings for the SAW regulators. The saw-leader is the only property that is configurable in DT. The saw-slave property allows ganging (grouping) of several regulators so that their outputs can be combined. Signed-off-by: Ilia Lin Reviewed-by: Rob Herring Signed-off-by: Mark Brown --- .../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 57d2c65899df..406f2e570c50 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"; + reg = <0x9A10000 0x1000>; + }; + + ... + + spm-regulators { + compatible = "qcom,pm8994-regulators"; + qcom,saw-reg = <&saw3>; + 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>; + }; + }; -- 2.17.0