Received: by 10.223.185.116 with SMTP id b49csp2392626wrg; Mon, 5 Mar 2018 01:59:10 -0800 (PST) X-Google-Smtp-Source: AG47ELtPrY7I8BGBXay9H8qQ+asoDqmcF0SoDjEX6FnZQ/SlK38CIuZSnfLBKF4bz4WQLUPei8tm X-Received: by 2002:a17:902:76c4:: with SMTP id j4-v6mr12977320plt.410.1520243950805; Mon, 05 Mar 2018 01:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520243950; cv=none; d=google.com; s=arc-20160816; b=x0rhZNRGASR7jneRrm6wVdcMNUmVe1N+fRcxfCIdAShZo15iBPTpScP+fD/1RFuYRD ReMEFtGjKr20rACd3uPUQnmQDs7+sdpMC4sPgT+Prh15wpuOyWFw/B+s9Op3rpQ67Wki sjyAQq7W7yXg6GhiLh6h9VDvw4qgfhJu0+yyFJsPKGIK0cgvrJcdmQIpGr+7iIs50ieG b+WSa0tGEkVATfqAQsuTraXwIHw/ylqeUQomW9QkdKlpmYkJkdYzp5IDPirlG4lfjhVw mbkqIH37SivA3Hbo+yeqFScX1qbsyNUpaGTdY+q2ulj8e3AIFdGw99ghEs9uehoi+mZI pSOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=lG3Ahk6heFDZgzH7v5kV2C8Yce11AMzbEmRfdpNdwSo=; b=CKjUjec109rnuxJe+DbnzGCDZxbHdaMDgR8ZyPxKGtd9ADTSG6XNYs72VdSD7zWWWC DScVRCdixd9bMXjdGu6GfpiCPl8pifXTwRPSgXgmR01dscHMGTZp0lYEwbqmbeBgdths khIRrscwaTjJ3jSs5Q5rJ22XFoWBVNZn9vSje40LX82ip2S0cZutA7s//KHIVdFP0T4u uNPNRRFhST4/UwtSwsJlixKdzWLGPoK5XLEBsoRcE66nVPnL90NMMXcV5xR/hhk622lR 0t5ci/n+dgrXrbM7r7nzoQCztPpmB7VIQN+4hIfr4nuBgub1UULg7JTeVqfAgkw0pLOZ zxTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=o0z6BQd3; dkim=pass header.i=@codeaurora.org header.s=default header.b=Rrwioa3V; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1si8068113pgq.413.2018.03.05.01.58.56; Mon, 05 Mar 2018 01:59: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=@codeaurora.org header.s=default header.b=o0z6BQd3; dkim=pass header.i=@codeaurora.org header.s=default header.b=Rrwioa3V; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933864AbeCEJx5 (ORCPT + 99 others); Mon, 5 Mar 2018 04:53:57 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:47334 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933839AbeCEJxy (ORCPT ); Mon, 5 Mar 2018 04:53:54 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 702E1607F5; Mon, 5 Mar 2018 09:53:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1520243633; bh=gsjIRSfxQ3/p6ZfIarUQ1tVTO5IyD49c735gOeJdGxc=; h=From:To:Cc:Subject:Date:From; b=o0z6BQd3eJfH9hwrtJJ05MQ1NKKJPte3/M55z8eIocXH5KxRTkCVdsdle9UGjeG9c zmOjjNkjbmvY5zMcupDfsZJHpz8IdIe/pFtJZjUINH+OpmH5rlFL66u3nBk5v/bW7u yIYCiay3gC3f+Wh61oCkbMJfMCbBhX9ubVKHx8yE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id D4A616043F; Mon, 5 Mar 2018 09:53:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1520243632; bh=gsjIRSfxQ3/p6ZfIarUQ1tVTO5IyD49c735gOeJdGxc=; h=From:To:Cc:Subject:Date:From; b=Rrwioa3VYuoyQX3WteNZTuei4EIy4jTycGAcfaORn1OvkhaRHYRLKzeUK+G3RpDOA 37p4bWrXSFC2kqwwFvLhQxCwiD0eAQW3gA7E1GZOJyBu6gxePyPi80e1Jk25vFwA+e SFqQ50szRe4nrUS3SUZToKGTRg4rn9pP2/WDhmZ0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D4A616043F Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: sibis To: bjorn.andersson@linaro.org Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, sibis@codeaurora.org, georgi.djakov@linaro.org, jassisinghbrar@gmail.com, p.zabel@pengutronix.de, ohad@wizery.com, mark.rutland@arm.com, robh+dt@kernel.org, kyan@codeaurora.org, sricharan@codeaurora.org, akdwived@codeaurora.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 0/6] Add support for remoteproc modem-pil on SDM845 SoCs Date: Mon, 5 Mar 2018 15:23:27 +0530 Message-Id: <1520243613-30393-1-git-send-email-sibis@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add support for remoteproc Q6v5 modem-pil on Qualcomm SDM845 SoC. The first patch adds AOSS (Always on subsystem) reset driver to provide for mss reset line. The third patch adds the APCS offset for SDM845. The last couple of patches add the resets sequence for Q6 on SDM845 and adds helper functions for arbitrary reset assert/deassert sequences V2: Addressed reset-qcom-aoss review suggestions and reworked re-ordering of the active clk and reset sequence in qcom_q6v5_pil sibis (6): reset: qcom: AOSS (Always on subsystem) reset controller dt-bindings: mailbox: Add APCS global binding for SDM845 SoCs mailbox: Add support for Qualcomm SDM845 SoCs dt-bindings: remoteproc: Add Q6v5 Modem PIL binding for SDM845 remoteproc: qcom: Add support for mss remoteproc on SDM845 remoteproc: qcom: Always assert and deassert reset signals in SDM845 .../bindings/mailbox/qcom,apcs-kpss-global.txt | 3 +- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 5 +- .../devicetree/bindings/reset/qcom,aoss-reset.txt | 54 +++++++ drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 + drivers/remoteproc/qcom_q6v5_pil.c | 163 ++++++++++++++++++++- drivers/reset/Kconfig | 10 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-qcom-aoss.c | 151 +++++++++++++++++++ include/dt-bindings/reset/qcom,aoss-sdm845.h | 17 +++ 9 files changed, 396 insertions(+), 9 deletions(-) create mode 100644 Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt create mode 100644 drivers/reset/reset-qcom-aoss.c create mode 100644 include/dt-bindings/reset/qcom,aoss-sdm845.h -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project