From patchwork Thu Nov 8 17:50:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150546 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131434ljp; Thu, 8 Nov 2018 09:52:09 -0800 (PST) X-Google-Smtp-Source: AJdET5cnmhsNuAVo1QWUL/MezsunHGUHz5JasncKmkBkJBwrYYEDxpZGf2BnGiH5tOa9dsHvhCK3 X-Received: by 2002:a17:902:4025:: with SMTP id b34-v6mr5517069pld.318.1541699529583; Thu, 08 Nov 2018 09:52:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699529; cv=none; d=google.com; s=arc-20160816; b=G5bHGMUP9Jc+v4o1E2TVzOXKqp8UDBXl4Wh7JxxxSgvFWLrgHsj/LHJB+eaWky7WFl BJ3aG6fvV621KnA2Mnl52NywK7LniTP0RSUeh5/FCED1wDc/O2t1QXIljmlshd4xvV09 8DjC6PfNbYhLidULNHGm4tq+xY4vDSmhaeM+xXNCyJ5pJtSOlgi0GqxbT8QyfXmMvxL3 Fja/ROHZs0m9xuzBDAuRP4uwCQfzQgFz1nPzyx+YUSxqM9O8+ZxaH+7W+TOxl2M5gwvK FrozuKEHkXFJv3KsbNB0kRGZJ5qFX/i2MPlUyHOEKzYwSzL9mdKtmumpT1qpA6x+dZjf unnw== 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=Yn5WRJhp/il9B25QmUZxp26tn9gGWo8qWTp+DCOBOyA=; b=GiIWOhtNA0t1HqiWL4gOJwoSNjYHdWKqRX8nkLMU2uU+kyKlrs5dVX7vYynyN2rB1B MpBdLsOrOf+lBwJS168hT0x69X2g0oUiYJz+/Bt5RPhzi8tYiEegkRVlHe0Qh0ukGGn4 w1nIlqeYJrucMWDrPI7DGzEJCvGQl2c4ULwYa4pwz122jNBB9UnnbyLGf/U+zfB3t0ZP MXnyj9eXhToZyVo43oeSxzeK5eRSuj5oUPLdOdROYZ+q3Ru81/0S8mDRzpiWO6A+jRyW gzg2ABJl7mxc3JkblR1WcnqVs8ejUasX0GYB+1J9al8w0AhGN5zwWW3Ifw/dU5Uiw0ME rSjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tEBZdGtg; 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 s123-v6si4950402pfb.178.2018.11.08.09.52.09; Thu, 08 Nov 2018 09:52:09 -0800 (PST) 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=tEBZdGtg; 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 S1727316AbeKID2m (ORCPT + 14 others); Thu, 8 Nov 2018 22:28:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:40522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbeKID2m (ORCPT ); Thu, 8 Nov 2018 22:28:42 -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 549BB20840; Thu, 8 Nov 2018 17:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699526; bh=zZpXSbmNbp/b/hkBQO15rUMRnsw6ga9X7VfhMkxt3Y8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tEBZdGtga7mil3B0DoRbPvjTEf6aBS2krx6YYgiPsIrP/yhBItpEJYCfxmGXgdNrL il+f91CqnaDpcMWKinkPlrCUCdaUjER8zNUlXJpxDmginy/7TzKtOmY7z0Czq39Xzx hv16rQESgl6RO8sqGkv/x3bOXqo68jJeyNXKLkMQ= 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 v3 06/18] arm64: dts: qcom: qcs404: add smp2p nodes Date: Thu, 8 Nov 2018 23:20:37 +0530 Message-Id: <20181108175049.7090-7-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index e21b4a549e75..cc4dd3186ae9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -257,4 +257,64 @@ , ; }; + + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + interrupts = ; + mboxes = <&apcs_glb 10>; + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + adsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + adsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + interrupts = ; + mboxes = <&apcs_glb 14>; + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + cdsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + cdsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-wcss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts = ; + mboxes = <&apcs_glb 18>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + wcss_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + wcss_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; }; From patchwork Thu Nov 8 17:50: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: 150558 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1132495ljp; Thu, 8 Nov 2018 09:53:03 -0800 (PST) X-Google-Smtp-Source: AJdET5eXHVia2Qd2hSiQhxuUb1LKD+NIB9ZRfCY4ir13fenuBOZ3ZoA5ep6eC7Rp5AQS6mZMDlfR X-Received: by 2002:a63:990a:: with SMTP id d10mr4560817pge.279.1541699583077; Thu, 08 Nov 2018 09:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699583; cv=none; d=google.com; s=arc-20160816; b=BZX/rhp6sd3GE5oa1qt8rJtC377m8UH8tlMJyk9fwetoKGJVGPMv8dBGqzQSE1C4vN uiZeal50uOcUwGv+iK31X4EzGaNIVV97c8uetjT9ZzDLWwxQi87fCqlFxpXlEhJeCy0k rsfRJL0ah2KADt/5OO1IAWn/mrsRRemEc3pOgWpgJbB8jbKeXrIqM3JaAmQtXn/hFTVl suIkhXdM/A3xsyW/f7VyCP/ta/Vtuc20nnad0IbpFjOhhDZLHjHX0LGtuRHW9xXN0d43 QfyuXcK3eBoWRgkDQ7vSEcNOCsQ5qWY36RsUdk58p35jZDwIhUkPxc/s1vmOqBCBh62y NS/g== 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=DXIDv/HiCxoG8EKfhL1oYpgdxsu/BEsHsO2M0104joc=; b=yJzS7kV+68hms+pvB2W5OdcfYauCn1SXvKDcQ8uT6DM/mOv/ZQ/jOWpR3sZ+g6WLr1 nL7MTEWAiLA+Ryq1ZGlC5H4D5YTKPUVEsNKAyOVwuhWbPg5NkGzpUyaSgHk/mY6KWmPd bm2OErK8IFIBEFANKvc1secY2upMKBFHfVdHaVLNm476WmWX34GmOf47FJljEEEp3bGD SR+G+lkJ7BU7tHB+mfPFwej303hFUBC3sJOsl0pQ1CmMViKAFxlgZJHUSaM9wKF6/9zd AmhfdJgINLNPDgRgD3DzrFaQN3XAZKL6NBXGd509c2YwZsTHnXBpxxAkF5DjBmswx2xs FLmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=l5O5BfBO; 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 b4-v6si5030808pla.189.2018.11.08.09.53.02; Thu, 08 Nov 2018 09:53:03 -0800 (PST) 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=l5O5BfBO; 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 S1727951AbeKID3h (ORCPT + 14 others); Thu, 8 Nov 2018 22:29:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:41274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbeKID3h (ORCPT ); Thu, 8 Nov 2018 22:29:37 -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 833D220684; Thu, 8 Nov 2018 17:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699581; bh=vnlwdfd6vSnhGBuI9F1XbnQaermOihTPK0yaeLKkTyc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l5O5BfBOKxItg7H/epme26g5Kd+DqooQiL38YdAP2LlQs8M+Q8gQAELAxk5vpfUtj Os95jFqqFaRvUay7NOzoFaSgGQDfsz0w9ZDj1TboZPC+uzHf3dPczOuGxYdzh0egHA 1ocpvbaDQ2d/OOMLpQJVK0y4ANhgdSXyq5Chd8PY= 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 v3 18/18] arm64: dts: qcom: pms405: Add pon and pwrkey nodes Date: Thu, 8 Nov 2018 23:20:49 +0530 Message-Id: <20181108175049.7090-19-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-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 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 02b758cfd758..a1272a444e02 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 { @@ -26,6 +27,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>;