From patchwork Fri Sep 7 06:11:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 146981 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp775404ljw; Thu, 6 Sep 2018 23:12:20 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbXIH0bUKnXVpBVlIXAPIXOPwuci58v6tS2Nr88GFc7lQ7s/lTl+bNcXjZe22Dq/UtKV1Zm X-Received: by 2002:aa7:8118:: with SMTP id b24-v6mr6829509pfi.78.1536300740193; Thu, 06 Sep 2018 23:12:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536300740; cv=none; d=google.com; s=arc-20160816; b=Ir4tn6kcwUathotol4R4jtL0JgtCGP/tpuA7sNeNEwlqLCPzhFmnZlfCm7xbhmFeXo 3AyTvcmFnbev2Xx6Dk8kYsJ4HThCNPAQlqmndf8SfqXXKPM1If8yHkoE1kdcZiT2d12n bKrANyD+MURUfGPD44tVeueq1LALv5yNwpLD/ao7Bim+MSE5X6Pe2diNtzcJOjkdiVf+ mdWq3cM3jC6c2wSBD9y1gk9GiWPDzWFkJTWNv+A0Ner+37Ck5c5s+v0argGubJm4Sbi1 rAZIDjHQcboJLnUvyD8YSY7t2op51rWH36iCmdOUlYXtllFpSXWfE8PWifiCn1vzkA3a +uRg== 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=52IWv4OX+UYlxR2Nq8axZR1bbh2QIxmTdP8X1K3Ibj0=; b=CSyPo/PejjQid2XnrG7ZCCaVk7ZPajy78wO/5P7VS0ZkCyzcTU4fq8YwSmHND70Wtp 5uftrrOwO9FdXs8LANYhlZcqHywSxNT9JM88ORMPEzeYlojOAhiwnPK4FuiROUYKlsfE vMdo8vo2SFh5qLfC46kB3ubBP6Zg4GjGXaehtFTvQDHsXc4n2UiuTMjyDTTQj7voRKDy 9JZipBu62j5/l1CThKKZpM6jPEkjj4VdY3U/khrPTqCfvEH4Td5jTRspHadS0KDfVu6I i68UdJ4mMNs0n5sAnTnX8uhuECKn+Wv9X350GCYJwijkqmaPfJ0vg6Xr8Nr910zP2Kgu Cjag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2iJ5x1e3; 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.19; Thu, 06 Sep 2018 23:12:20 -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=2iJ5x1e3; 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 S1725970AbeIGKvi (ORCPT + 13 others); Fri, 7 Sep 2018 06:51:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:41224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbeIGKvi (ORCPT ); Fri, 7 Sep 2018 06:51:38 -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 39E2420861; Fri, 7 Sep 2018 06:12:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536300738; bh=cmH4tQKZj6d2w0iyEyIBUGQlX1XWaf6CqE4G3+2yriM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2iJ5x1e3FRfiX+JLMqRvuPwk72nrwdCv4lxrOaOSoxygOEiNm6YbFvncUoSiuhJR1 g0dZokcEj/Re887m0tiFmPK3DnkOM3RVDb/lxrtjyePpwKqxieTP8HV1sFinRWiiaE XluZYzbZaqASV/rhePrx+PT2LFKkxDBOduWCs988= 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 1/4] arm64: dts: qcom: pm8916: Add PON node Date: Fri, 7 Sep 2018 11:41:26 +0530 Message-Id: <20180907061129.10416-2-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 device. Also add additional properties for pwrkey i.e., linux,code Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/pm8916.dtsi | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi index 196b1c0ceb9b..15a37cbcd216 100644 --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include #include +#include #include &spmi_bus { @@ -18,12 +19,19 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; }; - pwrkey@800 { - compatible = "qcom,pm8941-pwrkey"; + pon@800 { + compatible = "qcom,pm8916-pon"; reg = <0x800>; - interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; - debounce = <15625>; - bias-pull-up; + 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 = ; + }; }; pm8916_gpios: gpios@c000 { 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>; From patchwork Fri Sep 7 06:11:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 146979 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp775513ljw; Thu, 6 Sep 2018 23:12:26 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZoMbGCFM7SDWHF/OwBBnwxGdHzctfWajHuykKmQVUiL1qjeAPf9G7iAMTTFTP5Wz/V95c/ X-Received: by 2002:a63:3741:: with SMTP id g1-v6mr6587805pgn.59.1536300746578; Thu, 06 Sep 2018 23:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536300746; cv=none; d=google.com; s=arc-20160816; b=bXJu635mkyc3Ru1zZWsLGsQ0+EmtngaFakpXMjRlqZ8tMtuKSBQo9fZRQPlTWPsbT+ cJ+sYEpO4ihvsnVbKyGk1HDxjE3H6sh7qLm9foaScGkS4hUr7Ac5wqw0OvBUVx3RMoun vbt12P3vy0u5MFlBsUZbFPXhulFWEHrIyMf5QAz7Tykltl/wpwVMu40jMU8unYDW+Cf9 r8ddA0KTsRBQq90dJIh5uiZ0TqPBqwBxCZjaOsY1V3IiJPF3/AfrIJKCtYHpgcolJO5f cJwdtgzgz+xs7Cj7BjKQfkbp1YPIyHdssY5HeYkkrI8agVzmAeh61QQCqDLzd6LSazyQ iSFA== 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=v8SI5Mv9shDfd34zhdrEjyEpiFS1Q1LPnxxJ8zIkz2o=; b=ChvYidTa0lduPFJ0HV8O6mVYQ4hGWXbVaWCDisA76JVZayFj2JRpVz4eQy5wwqZkCI wC9PNYNHZ1bz8r+NUcycw7ostRSSkXRP9MMuh/6uDEfZXbomIOpV5TrtMoh/i57wc7Sa VmwfAZUJn40t7t3sEzuzfdPNiVyr/mAoumQMFczraK0MLbPXqrFpCNzMTEaXuLkTfBYm deTHlAOC9WUaeDMP/CFYzutKKHh5iPwgsqzxIcufNstZFiVX50MeFCtjxgkr+r92Rh2C ZndtKz3NlzwXeYilOQfZES1OsJNaChHkynTrUHuGtqOEz5uG7ETGp6If6d1cC8PfMnRU oKWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IoTs8mTK; 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.26; Thu, 06 Sep 2018 23:12:26 -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=IoTs8mTK; 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 S1726099AbeIGKvp (ORCPT + 13 others); Fri, 7 Sep 2018 06:51:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:41260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbeIGKvp (ORCPT ); Fri, 7 Sep 2018 06:51:45 -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 F309720645; Fri, 7 Sep 2018 06:12:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536300745; bh=QaS4OuJclav8iIFYgVGQPFfDt8tBTDEdtraXpzhfs3w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IoTs8mTKggimq8MjkJebOrE6MN8FVngrqP0lL+Xc7PzS+sK8sJ80gWaEJEq8l8OFu MY0p8ZBwC0UAXMwvv0fhQZZLOSWvbzlo/nI1Wgi3+OVjJ7SE6w3v2+Dmdk+87V1S8S kGmiw5zun+zqUC7mbAwu0BwWRoiA8SQPoI7R0sSU= 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 3/4] arm64: dts: qcom: apq8016-sbc: Add resin node Date: Fri, 7 Sep 2018 11:41:28 +0530 Message-Id: <20180907061129.10416-4-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 Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index 78ce3979ef09..46feedf7c989 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi @@ -545,6 +545,20 @@ }; }; +&spmi_bus { + pm8916_0: pm8916@0 { + pon@800 { + resin { + compatible = "qcom,pm8941-resin"; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; + }; + }; +}; + &wcd_codec { status = "okay"; clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>; From patchwork Fri Sep 7 06:11:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 146978 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp775549ljw; Thu, 6 Sep 2018 23:12:30 -0700 (PDT) X-Google-Smtp-Source: ANB0VdakGv4SqnH4jTIg+3+H+qqQDvm4V19Ywha3Lg65cs+LbZD0EZlX039KVcgN54ghImZKI1DF X-Received: by 2002:a17:902:b115:: with SMTP id q21-v6mr6381684plr.333.1536300749914; Thu, 06 Sep 2018 23:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536300749; cv=none; d=google.com; s=arc-20160816; b=AQgOR1Bh7EQx3pVP9v1NiBY6wSgtPJzZGuWmnRLMS7IC5pzClCA5mc8E5qMUQQkexq ubrB7lKoKF3Y9m8pF/Ysyytws2kGncbpvJ+47MOn1m1h/4c9jJpNnIyaaRDcItyH7+qC puJseko1nVxfZg/3/gfQJWzbheESveickOnrVRdALCwoDZ6PtgW7uVhyvG/TTwkhFwUs Ox+7mq3+bKox0KvlUovF+gL67duxo1PojHAIxq1UF4udrt9lnFSQdazA383OVGeyxLWy z732Q4AhYvAn1w8T/zIkj8NyipD5wWcawYnA0+MSMlz1BKafw6VRW8xeUUxCuOHd5wds +dVg== 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=LeY3qVKIXAzUZVoWJOnxLc/iT4gMGB68FnDVKEQdLNU=; b=rkeHU/TJpTVWPEqoW/sQCmiOBtPsEHvEbU5q9ysxCF77vkJ0KwXRFakuyWRaYZG/yg or/HQCTP03IzbIDF0mbSRvkScqSI/3V0JLnuJ0KQHsxCJKD6Se8RnJFaymkhqlUQcvZc 7knFggr3DI3MEfgczJNJXpARpDBOKhokByocDAs7S5mmwDcAGQYMrBj7Re5C2qKdTu6E 8Kf9sSVXs2R/KY5nu6igIhTm29QJxkaLNsZguenGtbyIMvxGNKyO0HgtIjfDSN95DADd 0ki/4Ai1hEPQNt6e8S6Rx5jF8ainVP/3IOQy5J4Lz/8iV6io3J5oIi09rgVwvf+TXIGS Xvgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=e733CeQ5; 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.29; Thu, 06 Sep 2018 23:12:29 -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=e733CeQ5; 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 S1726295AbeIGKvt (ORCPT + 13 others); Fri, 7 Sep 2018 06:51:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:41280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbeIGKvt (ORCPT ); Fri, 7 Sep 2018 06:51:49 -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 2B82D20861; Fri, 7 Sep 2018 06:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536300748; bh=izWvx509KCntnGMwhUhRT49Tosrk0TxLJCt7qNsbJ0E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e733CeQ5nzokxiLviPkcAoCIS8bfETLy5tVa6UZxV+Z5r4HctZ4fxxadDrw6GHpAp Vjyh1dFwX1B9iVDqPj1NbgoXtR0WDwHmfolt+5BdCbOgKvEBE3T4RATr3wEHEV0yyO dObQuRWkt2lChz8sioYtb3ZisKzCZAujsKqF2U1I= 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 4/4] arm64: dts: qcom: apq8096-db820c: Add resin node Date: Fri, 7 Sep 2018 11:41:29 +0530 Message-Id: <20180907061129.10416-5-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 Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index 0ef90c6554a9..bf20c55a6bc4 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -623,3 +623,17 @@ }; }; }; + +&spmi_bus { + pmic@0 { + pon@800 { + resin { + compatible = "qcom,pm8941-resin"; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; + }; + }; +};