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: 10675651 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DF74A14E2 for ; Fri, 9 Nov 2018 09:50:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE64F2E65D for ; Fri, 9 Nov 2018 09:50:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1F912E66A; Fri, 9 Nov 2018 09:50:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 71B442E65D for ; Fri, 9 Nov 2018 09:50:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=pYO0fFtpSHa91/bf+eOOroNzudAHqfYRjJM2d5hxDPc=; b=Iqkj7YauvaMIsq7sncsALmD1Ka +G2rTdKf6jGrbAXE4gGZ2QjWEHNOJ8HRHWkPAFAkOgYvqW7iBXumdAYEeec63UYvcuRkuoZsW9uUg JS2lJjIenwvJV0KMEw819UGVVyDcJdtdCCV8GkBp2zi1XahmQeZVoD2wSY2gvT0NmwQAAkNk4njNI 7hbgzWz6oSidm7uKWVsMMQcXXpx73Wh7AbLz7gW5TCna7kbJCU9XJTh77xXSSY62zXfdlXst5RJIz QAVlv7iOJOUuwm7/eRuw8WJoz1WA0Q1S9V4CPEWoe0MKN3ZkAwR4bK/QVu6JYJBzTTHGrlVeQEurn IlX8q4hQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3R0-0001aQ-V0; Fri, 09 Nov 2018 09:50:38 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3MK-0004Ob-6g for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UFY88CUvzJaTY62CZJAqhPspbASCxb52NLTDvq3Pal4=; b=S+JzrcZPDQy8B5Mf6Si5U80sG HYQ2pmxMCxfhx1iEj0GQ3PJMsu0j/bvSV2jeXFtz4lvVqqsI7voVpoLSQxJmu3tV877s4j4ri2Cel VpqpYuSZ64YfT0MRPoW4561nf0O/qRofHF7mrqGpRgH3mhoWuYkvPqe7M1Jrth4dsO0fopR9b/MXm O0mH1dUQzHxiAii20V9vqxSO3uzfUlUOE4lYrzcZhHbUe4q5ozmNDNT7McWqDIkaPS8uVilc1L9dA zfTWpvI1kOZtwleqP6tGcRZOSP7DoQYyfXUIrS1TyjWCYjMjyFfp8WaFKr6mHGrKOuCSBk3I7AsGJ lmd2lEzOQ==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3MH-0002T6-Ob for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:46 +0000 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044545_883247_380D7B0B X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>;