From patchwork Wed Aug 14 12:49:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171285 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp791973ily; Wed, 14 Aug 2019 05:52:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyf8g8qIBt9WVEE5P6coSEYnc5tDqP8+v/ZvhoJ/mbI9e823h3pPAnS/kYitr0mmR9504BC X-Received: by 2002:a17:902:883:: with SMTP id 3mr7973459pll.318.1565787132092; Wed, 14 Aug 2019 05:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787132; cv=none; d=google.com; s=arc-20160816; b=tR8by29nEn5ymST8d0XXia17ik7Mu1ilWN8kzD/8Pok51VFVj5OpGQfh3PzmrMj21K 5zsyahkn44HcPynsyaUWj6O4Wk3FAbqxS8UtzpDVpvEUoqqx/izqEwmFqc9tQl2cjDWg jdVqRuBxjPdz1wvYS/bPkoxk7TWrRR3tzn6wNOYgP4pxSqNkBWALy+pErZJDjp00nKju jDHuE7zeuJmQAZHaZO4WTrB2EX7MWVAo92+QFLLD+3c5mQ4hhf7aMkA54Nt+NKS/BSA+ UwGAtEvG9fti1vF3GU2P1XaFcklDbBJmRpH2xcZaurfcyUMCG5hqd0KQxD1vi9eQQsQX cs3w== 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=vDJVVxKCkFa+/tOxoZfkIwIkdHjLtWRbfXPlqnwippw=; b=Jc259IFMFgO0t1uf/3ejfLrAqJcUf5fA6sKxLuSioq/qUys9tZRLWjyta21eNpzWBa lrc0t5/P+2FI877WNgvkcgmSTRcBhHNvrOmAzlDWZhbRUIGQI35NIrlUxM2oJs9Fczo8 ibiiZFzSYEkDhU16PliIpl9TTeEN4sD8yaRj39q95V/JLimWedRcXwoaIHG9chdhQTE2 ZeY1qpamkFGLIRICcgjSmVOqnfEg2ctquL5Ldpm0+PxFc3DlZHXznN6J4osI7mzAYbbh FNyRs9AmZRCMUgKYYo04XasXyKA9+Zy24elMF8CQiZP9Gm4fJxIXFEgRID+PrxZPq0uE SVMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jOt1NBmq; 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 b8si59625822pgn.56.2019.08.14.05.52.11; Wed, 14 Aug 2019 05:52:12 -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=jOt1NBmq; 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 S1728017AbfHNMwK (ORCPT + 16 others); Wed, 14 Aug 2019 08:52:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:35142 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbfHNMwK (ORCPT ); Wed, 14 Aug 2019 08:52:10 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (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 A24E020679; Wed, 14 Aug 2019 12:52:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787129; bh=2iQ9SSdWg+pUEq8xTNo80FcOSqZBNd6pLFEMFHpSn6w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jOt1NBmqYsTEM8Hm5a80Nq+IARMynVYiIXPeGkxbtlXmE5sX6CQlemG820VBOnu9g F3DuysdJ2DjYwaDebdZQtKzNKK45zvB53Bm+dI7lWVNhGqTH5HXoM+81Ztc33OrYJw xH9hRbMkast0+JHU8KG2nFr6mbozwkVrgh03Z9Z8= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/22] arm64: dts: qcom: pm8150: Add Base DTS file Date: Wed, 14 Aug 2019 18:19:56 +0530 Message-Id: <20190814125012.8700-7-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> 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 Add base DTS file for pm8150 along with GPIOs Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150.dtsi | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8150.dtsi -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi new file mode 100644 index 000000000000..b533e254a203 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: BSD-3-Clause +// Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. +// Copyright (c) 2019, Linaro Limited + +#include +#include + +&spmi_bus { + pm8150_0: pm8150@0 { + compatible = "qcom,spmi-pmic"; + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8150_gpios: gpio@c000 { + compatible = "qcom,pm8150-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, + <0 0xc1 0 IRQ_TYPE_NONE>, + <0 0xc2 0 IRQ_TYPE_NONE>, + <0 0xc3 0 IRQ_TYPE_NONE>, + <0 0xc4 0 IRQ_TYPE_NONE>, + <0 0xc5 0 IRQ_TYPE_NONE>, + <0 0xc6 0 IRQ_TYPE_NONE>, + <0 0xc7 0 IRQ_TYPE_NONE>, + <0 0xc8 0 IRQ_TYPE_NONE>, + <0 0xc9 0 IRQ_TYPE_NONE>, + <0 0xca 0 IRQ_TYPE_NONE>, + <0 0xcb 0 IRQ_TYPE_NONE>; + }; + }; + + qcom,pm8150@1 { + compatible ="qcom,spmi-pmic"; + reg = <0x1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +};