From patchwork Mon Jan 28 11:45:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 10783613 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8C04B6C2 for ; Mon, 28 Jan 2019 11:45:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C11C2A793 for ; Mon, 28 Jan 2019 11:45:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 701482A7EA; Mon, 28 Jan 2019 11:45:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 199392A793 for ; Mon, 28 Jan 2019 11:45:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726693AbfA1LpW (ORCPT ); Mon, 28 Jan 2019 06:45:22 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40229 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726887AbfA1LpT (ORCPT ); Mon, 28 Jan 2019 06:45:19 -0500 Received: by mail-wr1-f67.google.com with SMTP id p4so17676968wrt.7 for ; Mon, 28 Jan 2019 03:45:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2gNvmDs3vCdOhRLOPNjOrr4p1fKxmGZTEdGsMe8hCo4=; b=QFAkdXtWd050TwoTegdEMbPl5/cb7Ej2bG9FxckLttf25SeT1yiZiIAAqPSeadyF/c 8crg1BiOvFHr0tHdZ6fq1EPi8wIGAL536DP2a05uUx0Kj8WWbuFqYbmZwpdwr4gU6G3k cYu9/da5qQov7rxgj9S8OF6En08rYNaOkO064= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2gNvmDs3vCdOhRLOPNjOrr4p1fKxmGZTEdGsMe8hCo4=; b=hkOfHej9u3WrrdPUBNVu4gVBvfjdinOHA4UL0MAJVw6evFxVLbtrOj1a6EwG+crGHB 2r5w5JRpwGdV4DtBqU2r7AxnCrzRZ91rMZSDaIyA9bzNWFUp84J5+L+00PosO5xTpQd0 v/jeuTj0s01JyrX16TcOcA26SP6C7q9Itm+fL1G55dQRBmZaUg+mehA2VFtDjjrj34eL XVPSHR0ACJvfOogEhE86w774YhVmVGw5LVErKSxyawTbQyvqkXEDHe0AaAbEGhwBn4vi uS/ibROowfkXh01kHf0fxyJg1EPUsr+3KQH4XkEGWYcbcIs8g7HAx5G4L/cm1OVVVNIH 1K1A== X-Gm-Message-State: AJcUukfxEh33ePCaMrQfDb6d4vR6zzg1iTLQfitC7F4NIEq7jVT1TOHH ALTR7pdK5g+T3LNCmfBPdNwJNA== X-Google-Smtp-Source: ALg8bN6BGZsCuwASfqXlpxEOCs2Vy2ZlU2twy93qHgQNQJQAkcnMzXRuKazQyjafvS1+QJ4qCNEWzQ== X-Received: by 2002:adf:fdc2:: with SMTP id i2mr22181171wrs.117.1548675917529; Mon, 28 Jan 2019 03:45:17 -0800 (PST) Received: from localhost.localdomain (233.red-81-47-145.staticip.rima-tde.net. [81.47.145.233]) by smtp.gmail.com with ESMTPSA id z9sm122968775wrs.63.2019.01.28.03.45.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Jan 2019 03:45:17 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, bjorn.andersson@linaro.org, vinod.koul@linaro.org, niklas.cassel@linaro.org, khasim.mohammed@linaro.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: qcom: pms405: add spmi regulators Date: Mon, 28 Jan 2019 12:45:04 +0100 Message-Id: <1548675904-18324-4-git-send-email-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548675904-18324-1-git-send-email-jorge.ramirez-ortiz@linaro.org> References: <1548675904-18324-1-git-send-email-jorge.ramirez-ortiz@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The PMS405 sports 5 SMPS and 13 LDO regulators. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm64/boot/dts/qcom/pms405.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index ad2b62d..6fbdb1e 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -52,4 +52,24 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; }; }; + + pms405_1: pms405@1 { + compatible = "qcom,spmi-pmic"; + reg = <0x1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + regulators { + compatible = "qcom,pms405-regulators"; + vdd_s3-supply = <&pms405_s3>; + + pms405_s3: s3 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vdd_cpu"; + regulator-min-microvolt = <1048000>; + regulator-max-microvolt = <1352000>; + }; + }; + }; };