From patchwork Mon Sep 10 09:48:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 146976 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2289520ljw; Mon, 10 Sep 2018 02:49:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbifF57FIFXxby7vMLyTEilc5zdQ3bYGBKTHd3LrhQwEWwP9a28irmQEHpVk1/42+cm4SKh X-Received: by 2002:a17:902:ab94:: with SMTP id f20-v6mr21175658plr.231.1536572975510; Mon, 10 Sep 2018 02:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536572975; cv=none; d=google.com; s=arc-20160816; b=eOAP/HBd2ImuDRsu86HU8BWW7i+iBjfPGZalAvs6zeSNa3wsYO7hlybHblOcsI/bXr +AUxiuWZxY6OR2hGtFgpvLrqup44t1SybX9SYjugv1lrD8yW5H6a2Smgu4Ic0dhI8rDk tIuxlcqqlTwvHuC0CgYB9bTx1dLxKbNQGLQ4XqRWyoXcXumEA0JU1v3/EQKIQj+5do1F 81ZFHOXc9B2hCDUdZXMYZlC24F9Y+y7l6WWLyqj42UdO1fX+6JxqRyKX8PPhLMgg5hFP Lwyla4sRx3eIu3SLOyhkcPK67laT48wHSDRGbFhhBObggPCrFD4PDGhyPIfcWEfoeSv2 D+JQ== 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=Me+iLtdTT+SLW915/W5wfJ9JDjjjS028+WYXVhg/ZXtdCfEZc6EBDef1tJp8XCqZd3 SdGMZC4lfptKIL+6khjhzu8hEHrYy3fEntFqzaeD5+oLNP5ucEewiHPCiUY3vsqat1Z0 L/htiVO4aihkh4sMbNPrr8i1k2++8XwR90CcypycQGBcvZBgfvDpFkuLxWQKOrv3lDcl MrLWv9OZCzJQSa2VhhQWgTxjyMcZ2/SW0EBWJkDsU4Yrhlk/psK7uKIvauumYcqfZHCk vjMNIvETjDlKrf/G6eDzHoBwPysMGoCZmlw917nY5S9grAnH+nINZf85mWuL157j50cy f3jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0CokMa3r; 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 v3-v6si16461434pgc.447.2018.09.10.02.49.35; Mon, 10 Sep 2018 02:49:35 -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=0CokMa3r; 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 S1727646AbeIJOmq (ORCPT + 13 others); Mon, 10 Sep 2018 10:42:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:32882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbeIJOmq (ORCPT ); Mon, 10 Sep 2018 10:42:46 -0400 Received: from localhost.localdomain (unknown [171.76.126.1]) (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 639B620866; Mon, 10 Sep 2018 09:49:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536572974; bh=cmH4tQKZj6d2w0iyEyIBUGQlX1XWaf6CqE4G3+2yriM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0CokMa3rzvQ68O27GNNi31Su4ItuuVKqD8K6iN2fiN146KeYcl5+z5qAuIqMcPM99 X8jdsjRyz6RF+l8LEzxXGqhMnS7B4+iA5CfcE2qEPVaDevO6qpyrXIkdhIYtBTGfom IpA5FlXADmVFI8Y+wEd5AEeCPcK3GbHnm8BeX3vE= 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 v5 1/4] arm64: dts: qcom: pm8916: Add PON node Date: Mon, 10 Sep 2018 15:18:46 +0530 Message-Id: <20180910094849.25173-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180910094849.25173-1-vkoul@kernel.org> References: <20180910094849.25173-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 Mon Sep 10 09:48:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 146975 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2289582ljw; Mon, 10 Sep 2018 02:49:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbAraH0Lv/V7d10SAhIRPDwHNJ8Yb4HL5Xo8tKjh8rarvicgOqv1vEClmFzS+gzPmdpSAaG X-Received: by 2002:a63:d645:: with SMTP id d5-v6mr21571794pgj.450.1536572979023; Mon, 10 Sep 2018 02:49:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536572979; cv=none; d=google.com; s=arc-20160816; b=SgvI2H20zbVfJu0i/FWOPRvndDV0H1cr73bug2OBXgxnEfqPBE96QZdeZOqy7VKPOh tzZppz4timdr1KdpBRfYyMWzQivSyX1+cWGpv/KJXAWgyU2xHsznzJ9ddShliIdF/XfK CB7Xe+TAJ2FKdou0t0p00Lfa4ssFlM47bCIj5uC0VoSOJTEMT207tcs1gL3ym4pOSNhl dHSzOis4sdrJ/iAGW9wXmmyyUHhPPoa+eYbPzg2wWyjY8XTij6KeNZVhtgymEFj7sGjx rG3w4+T5KOAOrAe7ZoExHYDGO63b4xz4wT9hpa2n/aEJUpv2h3QvNcG4qGIQSYiXqY7/ Upkg== 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=OqyFiwobb6aDdIL8yicaTVH+pIKIEHGlApZZAQa4LgbGbd1iEMIK0/AOl0Fpit7EqC BmfXnVeaDY1yIW8WYCiT+Nc7spVpzKfin2LXw33WMfbXVZOvX40lz4A5TwAoWm7bM5+4 req2R0EUh1rBytsx9hNeZaxAAO5/Fj3gHjSfOACKiKD+MYRhiZEXXUgDYcCD+CB929R1 xJR5HmrLAXKIsrpEJekqWMGhyJ9QdUAoUN//DcOoxAVjtgsp+VzsPM4HYmw5/81t1B4k PJnRWtRvt8w3oMqne5y3pn4Cwph+AIV66/4f7+s4HVyDDcaErFv9VZ6pSOFGSkPIXAxn wB5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ot/BaELO"; 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 v3-v6si16461434pgc.447.2018.09.10.02.49.38; Mon, 10 Sep 2018 02:49:39 -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="ot/BaELO"; 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 S1727695AbeIJOmu (ORCPT + 13 others); Mon, 10 Sep 2018 10:42:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:32922 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbeIJOmu (ORCPT ); Mon, 10 Sep 2018 10:42:50 -0400 Received: from localhost.localdomain (unknown [171.76.126.1]) (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 DF65C20866; Mon, 10 Sep 2018 09:49:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536572977; bh=LHTv9U/Im1n2y78F6eVf67yHLDkq34M8zy3nr5LAOPI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ot/BaELOLQHiozqj68pTx/hvraKq9Hr9OiGJS7cUgxSnk9UaJX7kc6sdNL3dSDvkT 8S3b3ab+yQlEbIH4xmKjBCAxvvt4hxAJtlD1XGD4hy3haNyah+8l0+LCCAa3SRjmHn 0SbBAT8wHSKEatg+A48IfnCAKhkBSYHGdULLermE= 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 v5 2/4] arm64: dts: qcom: pm8994: Add PON node Date: Mon, 10 Sep 2018 15:18:47 +0530 Message-Id: <20180910094849.25173-3-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180910094849.25173-1-vkoul@kernel.org> References: <20180910094849.25173-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 Mon Sep 10 09:48:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 146974 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2289645ljw; Mon, 10 Sep 2018 02:49:44 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb3fvu3xzMUlJB2ZzGRKd/zyhgEt1mkPoKeOdinPwzkRbWMqNxDSZwfRNFfQwpo6D+Xli2w X-Received: by 2002:a17:902:8bc8:: with SMTP id r8-v6mr10057792plo.100.1536572984402; Mon, 10 Sep 2018 02:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536572984; cv=none; d=google.com; s=arc-20160816; b=uZZ+gUt7PPWemJ7/zsSi5sfxuKxxkK2PXew+cpFZpjEu0tDLQ4ucZL06sRBLGRR773 N6CSx3Vy7pdMz/YCJTGYsOzXYn8sSV8I++jDIpVWCTRQ335YWUuGqf/ADPxQgFiHy02w 2RsGd89ZQ4kSKqVQM35YJjaXSA5IomY0ee7a/iYEg6VEGN//jmMHOs7EWMe6Ls2ukUpZ 5p2WR5oGViurP2bOEiVyUt0FyZsd942dPK7kYQEZTTy3jX5nL4jEDxISXzkSm4hGXtI+ 8rzxfxRno1WSyGEIaxdFavxdkJCFMdReLXL3O6QcVhozVCd+uh+kLNdLv3JS2Bb2c7VU JJkw== 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=G3vMlKKT29Y+XcTHNh+whULEsXSfmK2pIVH3ogvNXXI=; b=r927a6cDdVH/hqTwMzJGLxn/2G6WB01jQ4vakDlmxOw2pzwnUQ01UkElvhnmK5VsSn IY22Wbs7rfqoU95cB+6xOR9BO/0/4eHhx9DYOfREleliNd7CxW8wG5L05hJqPIho5J6T rC/RgeTOweD5SLTAN8U1LNWOrHtZZzVbyZQiDDD279bitRRe0dYWXn+AkLr5Jx1uJwxS u+rIRQba/Upj/ERy5uDekCFl/vk5Pboyv/VDvVOJAyb397m0InYdN+n8aJ3fPEU9d5EL P+9Lmu3HqZMbsNkDvIiPXkw556nc2/f8ZMoUrmsX6K7aEPnNbEfzeccUen8gr0h6GcmL 8asQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xZC7Uoyn; 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 j37-v6si17641300pgl.432.2018.09.10.02.49.44; Mon, 10 Sep 2018 02:49:44 -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=xZC7Uoyn; 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 S1727311AbeIJOmy (ORCPT + 13 others); Mon, 10 Sep 2018 10:42:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:32974 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbeIJOmx (ORCPT ); Mon, 10 Sep 2018 10:42:53 -0400 Received: from localhost.localdomain (unknown [171.76.126.1]) (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 7BBE520866; Mon, 10 Sep 2018 09:49:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536572981; bh=dxuMhps9TmygUc6fZ8FMeFDKMpAt/5w09GcKcvB1V6M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xZC7UoynWaOwND12igCHYR+dicKy/UrfM3Crd72m3ZRv6U8ICsqdVE9yAgT3WU0TS 3bfOk+Srd/r3eOlPQdwuaeQYSTUa29u+of7TTP056mqfHzYGIRzoRChwrdL7TiV4K4 PgqSL+62+5hgXB7cKAjUdZgiIxF5iTCSo/Gn0/ww= 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 v5 3/4] arm64: dts: qcom: apq8016-sbc: Add resin node Date: Mon, 10 Sep 2018 15:18:48 +0530 Message-Id: <20180910094849.25173-4-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180910094849.25173-1-vkoul@kernel.org> References: <20180910094849.25173-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 Resin is board specific so add the resin node in apq8016-sbc dtsi 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 Mon Sep 10 09:48:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 146973 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2289673ljw; Mon, 10 Sep 2018 02:49:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbxzTpeYFMw5h3vGmwSEviRjFA17aawVivtiuW4nMLw4yWIZ/bBhmA0P6r0r0m5mXQ+R8xn X-Received: by 2002:a63:e4b:: with SMTP id 11-v6mr21902706pgo.320.1536572986214; Mon, 10 Sep 2018 02:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536572986; cv=none; d=google.com; s=arc-20160816; b=ujuCU8jsrCgd9XvBjoc9vDyx5XV/pRBG3qD+b6SNS+McIIZ7N1f/MAssdZvVIMplR3 Y6E0RtEWv6AQVFgibhP0EXcyO3QJEU4XyAVYe4d4mPd5tCLjfa4d19rGjmlF3cmX2VB7 PBjIjVSgYJ5yknYYEjgtmZs6X1Qxrtm903ObvV9EPt++8lQMQDHw6FbKs8Z7bI3P2AWJ rlj8KXl7C84YzfO/8FDDs2aMwn2hY8JHAxOkALM2BZKTo1OiCzxdvZljiwIzSK5z3mOY 7tGYZ3mdW6GJvuo09p80ubbhvOUay/TvLiNk4b7OxGCg4omGAhpZXdsGdy/6Yc5sTXj9 UM1A== 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=YRLbiT2qLkrm+SCEXCYQLr1euSl80T2L3XJsgMnYRpA=; b=A9x4NqZCpwwg/iblk3LNxvhov3C0vlovAfhHaK6Sdn97N7lTSS97ugDRY8oUJ68jwI WNEQaFBeO00e4Jj94d7knuRM4GWK0prg8wTggEtjD2pOMM+LP1pwEkBxpha91bKdfTi0 Q9w5sWE5DWirU0fuqyVT4Vz7yUf+9UteyCZ5JEEZjdTB3kp+3nq8IR9z8RZZtSdfDLUr jJrGKs9mFC9yC6Wb0yXRUjY+d6sYeJnhFNk23ITxMhk4ymQVgH4EG9aD4d7IX99ENyXA ATTheOg5mSD+SXgmlWSNRv0VKN6TPv50aqINqZT0RmQSpJ3/yfVCfPl2jnAf+fCNVqnC f6PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eRbR7RzM; 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 j37-v6si17641300pgl.432.2018.09.10.02.49.45; Mon, 10 Sep 2018 02:49:46 -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=eRbR7RzM; 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 S1728088AbeIJOm5 (ORCPT + 13 others); Mon, 10 Sep 2018 10:42:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:33050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbeIJOm5 (ORCPT ); Mon, 10 Sep 2018 10:42:57 -0400 Received: from localhost.localdomain (unknown [171.76.126.1]) (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 1577F20866; Mon, 10 Sep 2018 09:49:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536572984; bh=iXbkLhoJGx15bt79bxQjD2qS7KGbMBmSKyFCjeQ+5zc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eRbR7RzMwRpKNzskctH0oEV+UWMFiBG9qnCx7LRH0xqqpAXCyfLHAtPg3d390RPIw orEFQl8oftx0ndwmaiKKBIsXXYsNpSWcXe8ZOUcpBvsVdgYnlIVrpTM+1+1qcAr1KA YJuhZPf06bWe5rTLvR+X1xE4fihERTwHqAqtr5tI= 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 v5 4/4] arm64: dts: qcom: apq8096-db820c: Add resin node Date: Mon, 10 Sep 2018 15:18:49 +0530 Message-Id: <20180910094849.25173-5-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180910094849.25173-1-vkoul@kernel.org> References: <20180910094849.25173-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 Resin is board specific, so add the resin node in apq8096-db820c dtsi 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 = ; + }; + }; + }; +};