Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4343356ybl; Tue, 20 Aug 2019 10:26:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqziM1kuTxO1jJdhJAwhh6IUWPZO6FuGN3iqfVL8gff94OByMA5ElB+DRC1tZRahnRpHij3Z X-Received: by 2002:a17:902:7892:: with SMTP id q18mr3389440pll.206.1566322008864; Tue, 20 Aug 2019 10:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566322008; cv=none; d=google.com; s=arc-20160816; b=GMHjpbudurcSB4sn60RSInYiBBWpnSbgGseXKtNVD+QMDo8Fv3Nk5pOnBQ/tIzGVym yQlNldBhnH1Tvb49Gfrsgf2JraJkGHely3n/k24jAcbfRwZSa/8JvRaLf9IhhuGQ/tXX ZhLpcvbINZWbRuxfzCDNWZM2Az4jejFH9+sA8tCS6UlRXXSHhdfY9owsMiJ6+5uqmsEd aEzrVkAhoEzGLM5lmVygnLsZLwnZy6+sc0zi9y5oooYmJyhOOEtft+RxeQ6h9V5P5BR3 AZ55SIiUXmxaraGWMY7JtpzC6dNrRtg2fWK8f3i74kb0pWQ/9BfrLGgfHrM5bab+vpVh 11Qw== 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=pRmlLjmtl1665zXPQk7KUR2ei81bXLj8cvrskhiGO9M=; b=NfsCoPHRUZl9sz4dWCFtW4YT8CTCrgv5QZ+xQz4thF3DxLD6qnA88Q+puAYsl9Qhn1 +lhS1NSGUhGbYFxxBwzU10Opw62K2947+N8VwUJY+YA/pxueqk24w21FD+JL0r8J2cqJ OzIL063BwoF4Ovk6Nf/bT6Q1F2CVAwkx/KrdBTZUSms8JoCvQWaUIr2ldO9RfB+rfhGJ fuRWQzSndGlI+FpTXZl4h1pWaL027nA5ktv1WaW0Hj4YopTot9vT4J/bnMmJgIBX1/1G EqvBuhz8M3bTnaVGqOhwHIOt/uaShdxv0iQWQnuwEDr+qQV4gLsa5uX+iT9WzY7X/n5M vvYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rgfyNPTw; 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=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 c35si12240832pgm.51.2019.08.20.10.26.33; Tue, 20 Aug 2019 10:26:48 -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=pass header.i=@kernel.org header.s=default header.b=rgfyNPTw; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730594AbfHTRZd (ORCPT + 99 others); Tue, 20 Aug 2019 13:25:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:48546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730473AbfHTRZb (ORCPT ); Tue, 20 Aug 2019 13:25:31 -0400 Received: from localhost.localdomain (unknown [106.201.62.126]) (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 D72EF2064A; Tue, 20 Aug 2019 17:25:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566321931; bh=CsWsdFRah5A3pS+L/zksbleHaSdJ1VKqa/FWXuG8FLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rgfyNPTwNYeM80kAeW+hOfedXPNhP4KkRH0cXfLQ6Vfz5qaD4BJuYJboeZdVFVP5F i0DO6ajGszRKpT1Tx1eyRneQVwl5zGpnZTgWbzDS8/LCzb4rs9U6CDZOwhq+40FJ0K nBoNre9GBgXDDEZg7PF31cuEa5i9VgPcPM24F2c8= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , Sibi Sankar , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/8] arm64: dts: qcom: pm8150l: Add base dts file Date: Tue, 20 Aug 2019 22:53:46 +0530 Message-Id: <20190820172351.24145-5-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190820172351.24145-1-vkoul@kernel.org> References: <20190820172351.24145-1-vkoul@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PMIC pm8150l is a slave pmic and this adds base DTS file for pm8150l with power-on, adc and gpio nodes Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150l.dtsi | 80 +++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8150l.dtsi diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi new file mode 100644 index 000000000000..eb0e9a090e42 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi @@ -0,0 +1,80 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2019, Linaro Limited + */ + +#include +#include +#include + +&spmi_bus { + pmic@4 { + compatible = "qcom,pm8150l", "qcom,spmi-pmic"; + reg = <0x4 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + power-on@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x0800>; + + status = "disabled"; + }; + + adc@3100 { + compatible = "qcom,spmi-adc5"; + reg = <0x3100>; + #address-cells = <1>; + #size-cells = <0>; + #io-channel-cells = <1>; + interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>; + + status = "disabled"; + + ref-gnd@0 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "ref_gnd"; + }; + + vref-1p25@1 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "vref_1p25"; + }; + + die-temp@6 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "die_temp"; + }; + }; + + pm8150l_gpios: gpio@c000 { + compatible = "qcom,pm8150l-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <0x4 0xc0 0x0 IRQ_TYPE_NONE>, + <0x4 0xc1 0x0 IRQ_TYPE_NONE>, + <0x4 0xc2 0x0 IRQ_TYPE_NONE>, + <0x4 0xc3 0x0 IRQ_TYPE_NONE>, + <0x4 0xc4 0x0 IRQ_TYPE_NONE>, + <0x4 0xc5 0x0 IRQ_TYPE_NONE>, + <0x4 0xc6 0x0 IRQ_TYPE_NONE>, + <0x4 0xc7 0x0 IRQ_TYPE_NONE>, + <0x4 0xc8 0x0 IRQ_TYPE_NONE>, + <0x4 0xc9 0x0 IRQ_TYPE_NONE>, + <0x4 0xca 0x0 IRQ_TYPE_NONE>, + <0x4 0xcb 0x0 IRQ_TYPE_NONE>; + }; + }; + + pmic@5 { + compatible = "qcom,pm8150l", "qcom,spmi-pmic"; + reg = <0x5 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; -- 2.20.1