From patchwork Wed Aug 14 12:49:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171286 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792076ily; Wed, 14 Aug 2019 05:52:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwoxIEPoBT6ZhKskv/8NkJ5pJPfOxJRGXis3jKw71lbb3PFpE/PFuY8MDMhZbIsXNgRY6Nh X-Received: by 2002:a17:902:684f:: with SMTP id f15mr42844778pln.332.1565787137096; Wed, 14 Aug 2019 05:52:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787137; cv=none; d=google.com; s=arc-20160816; b=zisNOXQDZzlEXAKwVlMIjt/7A6zrNrZUbKhZJ4s7MDzOrvPbbBtOkCDk7cRAvXmTLk Ibg9jiflQOJbDTRveUy06ERBBGaQidS/zhYVz+u3/L5bHWFSzsd18zSF/e+Zcgf1n1cR 58pjG6KE8+m69pcdDYPWYJXTMd3ND7HhK3yB7mqWZLrvCxrve7ytVDvOJN5j9QHZBndc e9jc6aXTB6b1us04IgILqSXACPYGETafLrD8uFOwGES++dcaDIRqopAGc2+0DRvQGr13 8gl/F8QEAJgLl8Bc5keTGg97u173Vf/f709vsmN7uvN9yOt9K5Nxrszuao0Kw7r6HVeC VZFA== 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=kzbhBIFrbEkOLUU/mCbb7lGd5FZVFmuMXLTCdlOiPwk=; b=iUGVwSZftIOHTQax1YZXH1RVo5BYKzx+WQAJwKnopz6HjzmcF1F/dVDuzp3h+CqpoT NJkk866wl/txAuJKXSu0jW4I8jyACHv1jOawxAm5QxVO7uDMqJe5cxjxF8rarYlzjZ3U cVnHvAJyYNaFrEV8SNbXdrMMBDvXDXt4h6E3HAwQmymNobWPXvM/jgfovxu1asXQSkz5 v4qpunR1X/DEcXzoFh1lCTesK+VWkIdWuTezdCO+A1GCxROntzLEdAHOhfOzFeHFhRB3 0GQQKWgX+yvFlGXusfFXO9EsU7pI46FvFr41S5JwKoVKiJFHvNoPJncna7dKmrKEi/RL Rcdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DDSMH69t; 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 t10si53980759pgu.549.2019.08.14.05.52.16; Wed, 14 Aug 2019 05:52:17 -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=DDSMH69t; 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 S1728018AbfHNMwQ (ORCPT + 8 others); Wed, 14 Aug 2019 08:52:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:35232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbfHNMwO (ORCPT ); Wed, 14 Aug 2019 08:52:14 -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 8504C206C2; Wed, 14 Aug 2019 12:52:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787133; bh=yeBAsV9wsLsSufBVbD1jJS7wrJSACIFA1hoU8KqV5kc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DDSMH69tTFr6WcoUkLpAedqFp9WjNowGTFilngHPI/dShg3Dt5PnkPMki6jozh+bq fkoEbxDn9Auf5o9yJixpyhpNF7TV147Gr4BX+3L5zorTxAhMTr7Cpcw6v0dKGVB12i 7g0kg28/tqBu0n0C5/bjWirMCHX1jRNqB4/PAzM8= 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 07/22] arm64: dts: qcom: pm8150: Add pon and rtc nodes Date: Wed, 14 Aug 2019 18:19:57 +0530 Message-Id: <20190814125012.8700-8-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org PM8150 PMIC contains pon and rtc devices so add nodes for these. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi index b533e254a203..2cb727ce30eb 100644 --- a/arch/arm64/boot/dts/qcom/pm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi @@ -2,6 +2,7 @@ // Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. // Copyright (c) 2019, Linaro Limited +#include #include #include @@ -12,6 +13,25 @@ #address-cells = <1>; #size-cells = <0>; + pon: pon@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x0800>; + pwrkey { + compatible = "qcom,pm8941-pwrkey"; + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; + }; + + rtc@6000 { + compatible = "qcom,pm8941-rtc"; + reg = <0x6000>; + reg-names = "rtc", "alarm"; + interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; + }; + pm8150_gpios: gpio@c000 { compatible = "qcom,pm8150-gpio"; reg = <0xc000>;