From patchwork Thu Nov 8 17:50:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150558 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1132495ljp; Thu, 8 Nov 2018 09:53:03 -0800 (PST) X-Google-Smtp-Source: AJdET5eXHVia2Qd2hSiQhxuUb1LKD+NIB9ZRfCY4ir13fenuBOZ3ZoA5ep6eC7Rp5AQS6mZMDlfR X-Received: by 2002:a63:990a:: with SMTP id d10mr4560817pge.279.1541699583077; Thu, 08 Nov 2018 09:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699583; cv=none; d=google.com; s=arc-20160816; b=BZX/rhp6sd3GE5oa1qt8rJtC377m8UH8tlMJyk9fwetoKGJVGPMv8dBGqzQSE1C4vN uiZeal50uOcUwGv+iK31X4EzGaNIVV97c8uetjT9ZzDLWwxQi87fCqlFxpXlEhJeCy0k rsfRJL0ah2KADt/5OO1IAWn/mrsRRemEc3pOgWpgJbB8jbKeXrIqM3JaAmQtXn/hFTVl suIkhXdM/A3xsyW/f7VyCP/ta/Vtuc20nnad0IbpFjOhhDZLHjHX0LGtuRHW9xXN0d43 QfyuXcK3eBoWRgkDQ7vSEcNOCsQ5qWY36RsUdk58p35jZDwIhUkPxc/s1vmOqBCBh62y NS/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=DXIDv/HiCxoG8EKfhL1oYpgdxsu/BEsHsO2M0104joc=; b=yJzS7kV+68hms+pvB2W5OdcfYauCn1SXvKDcQ8uT6DM/mOv/ZQ/jOWpR3sZ+g6WLr1 nL7MTEWAiLA+Ryq1ZGlC5H4D5YTKPUVEsNKAyOVwuhWbPg5NkGzpUyaSgHk/mY6KWmPd bm2OErK8IFIBEFANKvc1secY2upMKBFHfVdHaVLNm476WmWX34GmOf47FJljEEEp3bGD SR+G+lkJ7BU7tHB+mfPFwej303hFUBC3sJOsl0pQ1CmMViKAFxlgZJHUSaM9wKF6/9zd AmhfdJgINLNPDgRgD3DzrFaQN3XAZKL6NBXGd509c2YwZsTHnXBpxxAkF5DjBmswx2xs FLmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=l5O5BfBO; 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 b4-v6si5030808pla.189.2018.11.08.09.53.02; Thu, 08 Nov 2018 09:53:03 -0800 (PST) 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=l5O5BfBO; 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 S1727951AbeKID3h (ORCPT + 14 others); Thu, 8 Nov 2018 22:29:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:41274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbeKID3h (ORCPT ); Thu, 8 Nov 2018 22:29:37 -0500 Received: from localhost.localdomain (unknown [171.76.98.79]) (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 833D220684; Thu, 8 Nov 2018 17:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699581; bh=vnlwdfd6vSnhGBuI9F1XbnQaermOihTPK0yaeLKkTyc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l5O5BfBOKxItg7H/epme26g5Kd+DqooQiL38YdAP2LlQs8M+Q8gQAELAxk5vpfUtj Os95jFqqFaRvUay7NOzoFaSgGQDfsz0w9ZDj1TboZPC+uzHf3dPczOuGxYdzh0egHA 1ocpvbaDQ2d/OOMLpQJVK0y4ANhgdSXyq5Chd8PY= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v3 18/18] arm64: dts: qcom: pms405: Add pon and pwrkey nodes Date: Thu, 8 Nov 2018 23:20:49 +0530 Message-Id: <20181108175049.7090-19-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-1-vkoul@kernel.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org PMS405 also features PON block, so add PON and PWRKEY nodes Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pms405.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index 02b758cfd758..a1272a444e02 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -2,6 +2,7 @@ // Copyright (c) 2018, Linaro Limited #include +#include &spmi_bus { pms405_0: pms405@0 { @@ -26,6 +27,21 @@ <0 0xcb 0 IRQ_TYPE_NONE>; }; + pon@800 { + compatible = "qcom,pms405-pon"; + reg = <0x0800>; + mode-bootloader = <0x2>; + mode-recovery = <0x1>; + + 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>;