From patchwork Tue Mar 26 16:59:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 161229 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp5454354jan; Tue, 26 Mar 2019 09:59:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfIQZNaOKMKzAsHSqAQLhQFYScb9WrfCpNemzAvNzlpUMOKb4MrsdyMApvNg4Wr7DeAQK2 X-Received: by 2002:a63:fc64:: with SMTP id r36mr30020100pgk.280.1553619587558; Tue, 26 Mar 2019 09:59:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553619587; cv=none; d=google.com; s=arc-20160816; b=rUdl8mLFAUI5kQhveal/5m5Q8LNF2yYB2eXL2hpcl49vSCjaM8SA+jwGLGDquPIUSU O/stX+dYXdz6QfUrKM8RuTMemGbuD9w+Z7D8ehXfCNTY/jm9U9kGPxXJOSBA5r7+Gawc u0UZYWjsbphIVYW+0ftvxciyu7k1FHiZELCHAsRrlvK6qnUPHCIUummDP37NfUxmN+Ly qDVjQN7s+JNzQJfmfhdc/S05sd0we1J3gdd9FWg20RjTAtJFMLD6486486iOfzyGaOxC AjbEjMfqnA3mrgbXQhwoaz4wbzvuSd95bw0NXTdVUYOH+kYL6Mf0kguOlwTDnivuIlnX miiQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=U+TCsGSTh0S3f60Z35rDB/d8eQ96nqaYj734ZFzpVUA=; b=bR4Aa0D6lga90t17VM1Zx1RwyS2TKctDbp7hEkurHAMVgBlw/0vUQPSklvQ5sP9OPU gxQRYkyW1HnC7TvGgzby/OKMxpAEMUVUJtHqXBh7qerX4M9694IREjsZhQy53U/dy51Q TW/2iDILCiwBqOdA/Fz7RlUjP2he71m/zsfuXs37U0SDWfs+W0kR+nwK4on1SnT6dkqf 6pzXjaj8VQdToGxq/PHE/gJW3D9aCTjOG3VPPl/asD0iLphGvDP4Bd7Tn7oOgcl0cNE/ sB91sajOtcXnbu+ZRqCci0BTGvrZCSN08YLjyIdPbSt5i3pR/sr3wPBzDY4a609WSYv8 Hi7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="zQ7H3S/h"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j21si16921965pll.271.2019.03.26.09.59.47; Tue, 26 Mar 2019 09:59:47 -0700 (PDT) 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=@kernel.org header.s=default header.b="zQ7H3S/h"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729633AbfCZQ7q (ORCPT + 15 others); Tue, 26 Mar 2019 12:59:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:52088 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728314AbfCZQ7q (ORCPT ); Tue, 26 Mar 2019 12:59:46 -0400 Received: from vkoul-mobl.Dlink (unknown [106.51.109.141]) (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 813A92070D; Tue, 26 Mar 2019 16:59:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553619586; bh=5fk3+aIq7Fu7nCbLFW77/eZ3YerAc1OjtbHFwBNvU+A=; h=From:To:Cc:Subject:Date:From; b=zQ7H3S/hU9p+VWEelJTkeAztp6NeYxYouZkENBGqHDM5WIXBsRhbxiKZk//GQ7LdT DimXsZr+Hre28nIRW3v/hRKH4TvOmTZtCssNaSs23inf+jttxEg8lCy8PtMbgiaCmB NlFqkPP+WuT8Z3JUMcdRf7b+5E5oqP1gkyOquKpw= 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 v2 1/2] arm64: dts: qcom: pms405: add spmi regulators Date: Tue, 26 Mar 2019 22:29:33 +0530 Message-Id: <20190326165934.28181-1-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Jorge Ramirez-Ortiz The PMS405 sports 5 SMPS and 13 LDO regulators, add the regulators to pms405 DTS. Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Khasim Syed Mohammed Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 1bb836d1e8aa..701cff8bf0cd 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -131,4 +131,15 @@ 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>; + + pms_regulators: regulators { + compatible = "qcom,pms405-regulators"; + }; + }; };