From patchwork Sun Mar 24 16:32:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 161003 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3020457jan; Sun, 24 Mar 2019 09:33:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqw515+EXUoQibopwNewSG8AmqeAdWuzQ0De69ZzdRL7g+95N5eCnmiQ6/+PNTLpHOf/R5kW X-Received: by 2002:aa7:8083:: with SMTP id v3mr2360037pff.135.1553445191373; Sun, 24 Mar 2019 09:33:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553445191; cv=none; d=google.com; s=arc-20160816; b=g6WY7Zqe5WrxSL2zDFi/u62HHwu3wGn6KOeQ7ewplUFddA22R72XdT6ydbPNFZR45T yg6pgbjnRn9JPs0WeCGhLJhwDzrMO6k1JlfCheUmf29fwEDCoPzIvikSyOIjuHVhBtn7 Yljh1CbDSv2sATGcNXUFNl3f1CLprzGH5hYrBDFodQLG1GYarmw2bAj31HngFRcpDcZp 4mZH4xZxWtVOyL+YF/UjfrnbchxWojeZBp4qC66zBjGh/8MM2kFiXgBGRfpxiTeJlWfj WZWCQsgRVoa0XvN2fj7KMSGjh1N6MO3Y1Jr+bRhjp6xZnKPXaEpnc8F/vc569sIEEGl0 UeQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RXPHtElM2Gz3M3kcdThmZVEVEL27qNS4kgj7RNjxmd0=; b=AuGp3dHwu4d4JVNRu+2iicMNn2pvIMqvDL6eE0a5OOcGkRB1Ix5mmwCJ9E1rJdhV2a Rs0XU12B7WaUp7aY/IMFCGBkVpji8e1N4dZhNowKISAIWpl+/d2s/bOLPLM6Yypd37sT y2Lgoa2bCCfEMCjJYHwGqFv8+E1JJEbb3KIiWIxvADUHQufCeEa5ordsO684B2OZoiqZ mmhRjiyQVlqI1TWyPXSiCgC09iz2IMNK56ENEiN+C44gJrhlTgrZ8CJQP3BWbG9cmtcr J+J01pmLkc8Beet1M4K/pLBCCMup4n81H+cBwuRqqhBqY5EZksnp57DwxAj3g0BSoDWK eQIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Fe1/v/5S"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (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 e96si12357679plb.123.2019.03.24.09.33.11; Sun, 24 Mar 2019 09:33:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@kernel.org header.s=default header.b="Fe1/v/5S"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728813AbfCXQdK (ORCPT + 7 others); Sun, 24 Mar 2019 12:33:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:52410 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728812AbfCXQdK (ORCPT ); Sun, 24 Mar 2019 12:33:10 -0400 Received: from localhost.localdomain (unknown [117.99.92.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9632D2147C; Sun, 24 Mar 2019 16:33:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553445190; bh=zZXJ2al132/xMGefwpHlmunJQfJT8X6bjHePriZQc2Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fe1/v/5Su5F3aE7B6MsI9FSwddQww2mvQzFSSh+541VJMi18Mtr9yvUEjGgHr0AtP bEPObO7w+uocoNNpdm/b+qVHaWQfV+UyeOM+tCP+vDN3nTRStZijta4Xnpvk9QMQS4 7wzBIpmnx2lQntHBDWnIvPCIYfcBGrz2KsdjQhAA= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Jorge Ramirez-Ortiz , David Brown , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Khasim Syed Mohammed , Vinod Koul Subject: [PATCH 5/6] arm64: dts: qcom: pms405: add spmi regulators Date: Sun, 24 Mar 2019 22:02:08 +0530 Message-Id: <20190324163209.17312-6-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190324163209.17312-1-vkoul@kernel.org> References: <20190324163209.17312-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jorge Ramirez-Ortiz The PMS405 sports 5 SMPS and 13 LDO regulators. Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Khasim Syed Mohammed Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 1bb836d1e8aa..8da4dee1db9b 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -131,4 +131,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>; + }; + }; + }; };