From patchwork Fri Nov 9 09:44:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150633 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923500ljp; Fri, 9 Nov 2018 01:45:38 -0800 (PST) X-Google-Smtp-Source: AJdET5cT+ROcD3Nnxpg49rNnehavBiHutcPBH07TapagTRETUEe6KfKIoy9x8SHqOmjJAaTjXLP7 X-Received: by 2002:a62:1e42:: with SMTP id e63-v6mr8246827pfe.149.1541756738075; Fri, 09 Nov 2018 01:45:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756738; cv=none; d=google.com; s=arc-20160816; b=nTEV6lDML6c8A5bagJHDB/94/iFseL4KEYkZkP9UOojIa9LTeI/s+06vwUn9SXYJoo hzCF4midF5FA5m5j3ThD2tVuBwL/RW/XDJWmmJifzpEGmpbC7cXiX8MS/Q6Ih6GmQt6x dRzpsA77683h5BYeZX4VI3BNZL8X6/7isfyN7b1rTj2VCW7X6mekp7RBtXvOijcpvUQP M4gZfc7OXVGSqSpJx9JoNaPjDSUePjexM7JT1Si91/vvL/pNGQSX/ZbNMOuPe88wN3W/ sIbnhHIF8G5Lo+U9WZqRPy4aPYO2jtoKNrkA35Jy7C9vNILnmQcWAWGxT1Z2T6wXhtGZ 0yGA== 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=UFY88CUvzJaTY62CZJAqhPspbASCxb52NLTDvq3Pal4=; b=a6hxA6+l7yIOM5kcAhyhfCZuckseoBRYC+gduNVF9O70dBHTNxJjS6bwGxRjulKmcv 0vTMPzrIUwDoas66Ocr5TN4wI7nO77lNtMWPCTTmP4Se8tezOHBuYUsrBRem9x9T2/I9 BWHzoh0aXHOeuLuOSjIuKfAR1HrdgbmoxCmyFNWZK2Q1QBFxRw5asCdXMzyzTecGROGr VFb3ogPiBMThPx1KbKDVg41tqv8XA6dWZ8vAegpN9lBFZdx1gsiD7Bi+aHkWcD9hvjfE KiTko4JUvMCi7gZad9XekaEvrrJ3kO1I6z5/5bHr/hwZMgVT8LQKpjn7XivHcgsO8K25 U3SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bimlvx3x; 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 p10si6536964pgi.549.2018.11.09.01.45.37; Fri, 09 Nov 2018 01:45:38 -0800 (PST) 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=bimlvx3x; 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 S1728393AbeKITZW (ORCPT + 32 others); Fri, 9 Nov 2018 14:25:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:54130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITZV (ORCPT ); Fri, 9 Nov 2018 14:25:21 -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 988E120883; Fri, 9 Nov 2018 09:45:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756735; bh=if+DJ4woeOEmeUfzRmjxb9oJ2+z2jt7vf7jO0fltMfI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bimlvx3xKu2FnPM6n9LYD3LkHtoss7sfr4N/dAwoOgl8xJjjA9DxUPCR1BUlssZRD Lph/3vXteyORGkfIBw7/kurXMclhrekylCjy2I/Z0ltDgDkJfUSNx22vyamxcUnJfd qJIPUoyRW75REmBmqYP3UZp7rIXm0gBsNfFYcwy0= From: Vinod Koul To: Andy Gross Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul Subject: [PATCH v5 18/18] arm64: dts: qcom: pms405: Add pon and pwrkey nodes Date: Fri, 9 Nov 2018 15:14:17 +0530 Message-Id: <20181109094417.12109-19-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 8e5a8573430e..ad2b62dfc9f6 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 { @@ -29,6 +30,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>;