From patchwork Fri Sep 7 06:11:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 146980 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp775462ljw; Thu, 6 Sep 2018 23:12:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdahYQE8xRJ9ueU90xJoalS/s+xdINxVtYY1ebORSvEqWgi2gupg7RktdWJv38uhFN1NdkLr X-Received: by 2002:a17:902:b115:: with SMTP id q21-v6mr6381281plr.333.1536300743657; Thu, 06 Sep 2018 23:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536300743; cv=none; d=google.com; s=arc-20160816; b=M+8K7JfvM0xRzEoN9ZJIQGLLHoMankSfpRkiggyVEHvYmzCtTfcaJbxFwiWX5hSrW1 yw9a0MRDGKzTx+AG1wSDG3b2uFy3D+bJk0P7IgeoZHiCYNh4UJwAO5ZB9Zmx3pYWbEMm Wq7lYbcmgdaUcv9JwcbaVkofIb+a+FUYZrtNpp/TOkvaAqhJXitl/ySfuDH13J0Gnlif YGlG2GpLQDj4b6AxCGegXOdp59WOoSofzPPJBp/zve9hjj0NFGiagk0emsLgkL+UAct7 30m/qOffE/9z2V1JwfiGHmfKQsgNJ03SMwokGBTc6auJFS0oalJlg5U6wrbuwymq7iSF NUaQ== 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=5XblYkNWNYU0XPE+mlXNtcB1oDgXq/RkN6bPFajbcPE=; b=YXulVi0r9FC7Na6S09pvD/P/FY/MVK0RNf0URAFXYtYIW86jZ0FZNB8otxuOLf/aqM /GeMORNFSMN4vkdKQsEwlDtVVXfNv6950Y5CwbGFoTzC0DZK5W3HnM8Kdfx0wcwr8Dtu JSGHPDz9zv4FAhU7EDdoublGr5xslJ52YIrel3amSvEKi7YM4qmaKpzzNlh7Zj7V8Thn Nj9+e9jiueyBrrNaZbjc3ly8HnqxzlBRiLFzUHGgqPdfEyvl0BJMIILil+DeA6/GBmhY 7ICdgktcnjYyEsyejbUhhtPV6s9iRYeoeta+OTwngIyEP40AGrZDSBnOGkQLfYLhY2+L bV6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xbP4SBWn; 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 c10-v6si7017396plr.155.2018.09.06.23.12.23; Thu, 06 Sep 2018 23:12:23 -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=xbP4SBWn; 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 S1726017AbeIGKvm (ORCPT + 13 others); Fri, 7 Sep 2018 06:51:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:41240 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbeIGKvm (ORCPT ); Fri, 7 Sep 2018 06:51:42 -0400 Received: from localhost.localdomain (unknown [122.178.217.164]) (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 4BD6820861; Fri, 7 Sep 2018 06:12:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536300742; bh=LHTv9U/Im1n2y78F6eVf67yHLDkq34M8zy3nr5LAOPI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xbP4SBWnyFKQjPej3ZVlmeq6VUH78xEASCiZ6vL8muuGg+vtQ8p/c7QpJ5Ls59BA9 NyBBmlcJH87yy9o+26IX8Q9tPv0FeQdBvQxSFqs3KTcaTjpWsG7BQBGc17z0c0RIaY 40dGcI6flC/SMSig9AhOfIvs3vCn25PmBhYIPgCQ= From: Vinod Koul To: Andy Gross , David Brown Cc: Bjorn Andersson , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Vinod Koul Subject: [PATCH v4 2/4] arm64: dts: qcom: pm8994: Add PON node Date: Fri, 7 Sep 2018 11:41:27 +0530 Message-Id: <20180907061129.10416-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180907061129.10416-1-vkoul@kernel.org> References: <20180907061129.10416-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 Add PON and pwrkey as child nodes for PON driver. Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/pm8994.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index 80024c0b1c7c..76b5a3e6a2b5 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include #include +#include &spmi_bus { @@ -17,6 +18,23 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; }; + pon@800 { + compatible = "qcom,pm8916-pon"; + + reg = <0x800>; + 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 = ; + }; + + }; + pm8994_gpios: gpios@c000 { compatible = "qcom,pm8994-gpio"; reg = <0xc000>;