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: 156711 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3327657jaa; Mon, 28 Jan 2019 03:45:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN5gjFadgfR8n9JEWWDJc1N3vIcdNzykBNW3pmBnMIguwKOUSCCL7+zz/har01BSPy+k3W+Y X-Received: by 2002:a63:f1f:: with SMTP id e31mr19326389pgl.274.1548675924464; Mon, 28 Jan 2019 03:45:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548675924; cv=none; d=google.com; s=arc-20160816; b=qy+EDQPEy4VB8rm3yS7Talmt9EHIl97aBzAgzotjXaDPVxKdhjluC+9/yxTYDnBOcz sjksBHQHyZN66AVSN0TafKZOD8w0ctnPqOF5UgQ8u0NW/s7HuRH5DFQ3rAHGoBrwDj+J SBocRv3if4BJ4Pla4zqxXzimY/dNPzKo1NhrXaCkBspoCQup0utbkl/W9Oa3avfxSkck HCoGS6LLv/tnm6FIP+ZX8TqLnQhOwoKfhnFRdchKAQZ/x+OvXe1CUGUPX3tX+N4PpXuE GbGjceQmfyBEvgG+StwETYRsFk6gaiYLRIVoHianjyELdEozWwIbj+9qlfqG40jPucm1 AYdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=2gNvmDs3vCdOhRLOPNjOrr4p1fKxmGZTEdGsMe8hCo4=; b=BWQRkH6kCixr91Dw9wClJUnUsCnr/4gGcRZ+c0/97NXa0MUImJoRIQGG/PwznKue22 /MGyq6bYlzUHvqRnmOj41oxB4K9ZFkfC7WJuZIs0s5jTZ79JM/CsdELRvbuBmRTFdNne JgDWRYMAlfNCTTeK7FBhwjOoFn9ip9oEq818wiTRaTze+XN9iovSJpJnXMVrcy4omIS8 SXg3uqF4LS3hzgHwAr1of5lpp+tih8eWca48ksWVJlTEJCJzyDzp/PgwyGKNPhazas5G HucGjE9ofDkfAjbs5KG4+L3QEfHv1CCo/v+MLGCfG8dvcQnNf2/dXZiAvTbh/R2LVjid AzaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QFAkdXtW; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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. [209.132.180.67]) by mx.google.com with ESMTP id f2si28933594plt.101.2019.01.28.03.45.23; Mon, 28 Jan 2019 03:45:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QFAkdXtW; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726693AbfA1LpW (ORCPT + 15 others); 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-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 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(+) -- 2.7.4 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>; + }; + }; + }; };