From patchwork Thu Nov 8 18:40:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150587 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1185489ljp; Thu, 8 Nov 2018 10:42:10 -0800 (PST) X-Google-Smtp-Source: AJdET5e86VMYc6QtwT3SC/sqhvWbN2FnIn0DEq34uN16uG2uaRJ/PHbkNHPlvii3kVOQ9FyPa8kH X-Received: by 2002:a62:ae06:: with SMTP id q6-v6mr5688325pff.126.1541702530785; Thu, 08 Nov 2018 10:42:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702530; cv=none; d=google.com; s=arc-20160816; b=maL00Gvjb6vBFCu6JYvua0h8LsXm0TDzL735x3k/Ncx7fztcFEPeyro3akAsZ2ZUfr 2T1/HYk+Da3+SWlhE960u/rRT3WvtrfsE6VhMIU/gPfAj/pnxjHnrxedJT6/rya6W8+a +Qv5hphirjZoOx2OGtaUoXqFm1TKQT9Zpy/WKea0p43KVuidBdMx52A7AyP9YD3G7P71 2CWEKACeiN2+VOaraZ7Ywe7Sjkpu5FL1R6/jc+H8i0Affr7YDn4wVoAUNVAJYvmLL96H 9FLv+3sx0NIef3aj0RRg7PzzmvxRqaYLHfqcPjgZjgIrAc7mReNuFU/rjDVZ4fCl3Qfw NqRw== 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=HOgBmhFwTm1WjJ+t1AvMvmohcbxRQSPjvjNxNBY1sek=; b=M3dp/thW6zKCJmk1anWGmwEyZ08+LDGBaUQmUmxLHsj4kZp+AhSgybYipFJy361LtI AHpSgf31MsrkDhWhBLLoiF3qYwsq/JPhRmKFSFj41R5v5jJy4nIj2QMN4Ew1vumsivl3 YgSMJRDla73OwutUomh7GJTat3eV6N8eJ3grsaP6WHtovp60r4PJciOxnrMkmv/Dc3rz KwH/qRZ50vWb46HLpuVkrZpVd69v+5y2ZwEKUC7nc6wAzEhaMjH4Xbt+oc5IdxfNSTaE 4o9JnnG5L6nBdyL4Uku+RGT4yBfkmdYhchcu+dTzWuXJtEWj9sMmWu3u3Jd8dLXxhReE o6jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kjQY1vhB; 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 h5-v6si4842682plt.44.2018.11.08.10.42.10; Thu, 08 Nov 2018 10:42:10 -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=kjQY1vhB; 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 S1728169AbeKIES4 (ORCPT + 32 others); Thu, 8 Nov 2018 23:18:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:33010 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727114AbeKIESz (ORCPT ); Thu, 8 Nov 2018 23:18:55 -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 208D32081C; Thu, 8 Nov 2018 18:42:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702528; bh=RGABxJleL75APNr1ziO5fqyhLnfnpLWsiAq9r37kPP8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kjQY1vhBn9cuSMqFLsB9rOLw5F1JE+luEhj9IJQhJUhF6xKgZqgBlbOFOB8rVVPnI IiE7d78SuiiZOMyeuONSV5Enkewm8QT3c/C6H5aSvRau75074nOy5o0E/h0lbbkf9F Eg4DgaPw2o7qiPvIfhD9G5QWa197Z8K/LD9mznjY= 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 v4 18/18] arm64: dts: qcom: pms405: Add pon and pwrkey nodes Date: Fri, 9 Nov 2018 00:10:09 +0530 Message-Id: <20181108184009.18430-19-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-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 85a3228abaf9..8b540b7eec13 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>;