From patchwork Wed Aug 21 09:54:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 11106219 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F2B7B14DB for ; Wed, 21 Aug 2019 09:55:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D07F5233FC for ; Wed, 21 Aug 2019 09:55:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="fPIvuCbH"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="PPoWCsUK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727571AbfHUJy7 (ORCPT ); Wed, 21 Aug 2019 05:54:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:40876 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbfHUJy6 (ORCPT ); Wed, 21 Aug 2019 05:54:58 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id F168F60E41; Wed, 21 Aug 2019 09:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566381298; bh=DlnHN5zdPpl43ZxbxIhjk+Psuo8cuhTXvmZc+BVSodA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fPIvuCbHd3w2qdMnxNPeYyiTWov4xIvxUkl0vkNfbnNF87hB6SVvT+ClCdxWTbv6b T0SLl/uhf+rbfqURlfFYHJRg9NJBnHeY6aWYcr3YXKWVC9vz/Sv5P3FEyJteofQrux YKbUjnTceZpWIpX0UBaexc4bV3vj9bY6BOuXy6mM= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE 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.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 580D560DB6; Wed, 21 Aug 2019 09:54:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566381297; bh=DlnHN5zdPpl43ZxbxIhjk+Psuo8cuhTXvmZc+BVSodA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PPoWCsUKqkEijj3MJySqhGeA8rSmJrPuH7aSgGDeU5kwnXsapQgwnVQN3zIv60mfc E3Ciudg57++b1y15dM0BFeHXRKjTSJr4k9asua2UUsi81ZJvUOoUmyDon0RMq0rFtK VIirrtqH6bzyqhVkaFsUy/R+q7N39M3uMdWZ9DyQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 580D560DB6 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: Sibi Sankar To: p.zabel@pengutronix.de, robh+dt@kernel.org, bjorn.andersson@linaro.org Cc: agross@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sibi Sankar Subject: [PATCH 1/4] dt-bindings: reset: aoss: Add AOSS reset binding for SC7180 SoCs Date: Wed, 21 Aug 2019 15:24:39 +0530 Message-Id: <20190821095442.24495-2-sibis@codeaurora.org> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190821095442.24495-1-sibis@codeaurora.org> References: <20190821095442.24495-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add SC7180 AOSS reset to the list of possible bindings. Signed-off-by: Sibi Sankar --- Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt b/Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt index 510c748656ec5..8f0bbdc6afd91 100644 --- a/Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt +++ b/Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt @@ -8,7 +8,8 @@ Required properties: - compatible: Usage: required Value type: - Definition: must be: + Definition: must be one of: + "qcom,sc7180-aoss-cc" "qcom,sdm845-aoss-cc" - reg: From patchwork Wed Aug 21 09:54:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 11106225 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C65941864 for ; Wed, 21 Aug 2019 09:55:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A1996233FE for ; Wed, 21 Aug 2019 09:55:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="UV12l7FX"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="myMaWIMm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727633AbfHUJzD (ORCPT ); Wed, 21 Aug 2019 05:55:03 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41006 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbfHUJzC (ORCPT ); Wed, 21 Aug 2019 05:55:02 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6990560FEB; Wed, 21 Aug 2019 09:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566381301; bh=8HJgz7kd5z/mUOWEfiuNKP1ngD52TyjiUrtmNoJS8tM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UV12l7FX1YgTZGsOGrgSpaIpgxLYwQHhcDvLR8u9rLCfv00PHKpDThd7L1fG5mhUu +CjQ77IifWBB0NKkHLTegdUELuUXue+7cinBNrkHMnZR2uMjC49XxB5kbSlTOpRQ8R zbFqa7Zme0riUGidPpoDgagdEud3S5/oxJAEyrPo= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE 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.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id DEC6960E7A; Wed, 21 Aug 2019 09:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566381300; bh=8HJgz7kd5z/mUOWEfiuNKP1ngD52TyjiUrtmNoJS8tM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=myMaWIMmGZLjbQmbkQWFtVMGMwGRJYzDBLwrR/dozezafWDd/w+hhXeNlytchapOq AxQss95hivyCJEYAET9yHZFYiHBLfsiYTcvouLKEhDYnBV4EYMT0F6I14wBds+HUcN phro84VJ3xl7QsZfi+aCdiGlGweREAAOULZuBPIU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DEC6960E7A 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: Sibi Sankar To: p.zabel@pengutronix.de, robh+dt@kernel.org, bjorn.andersson@linaro.org Cc: agross@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sibi Sankar Subject: [PATCH 2/4] reset: qcom: aoss: Add support for SC7180 SoCs Date: Wed, 21 Aug 2019 15:24:40 +0530 Message-Id: <20190821095442.24495-3-sibis@codeaurora.org> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190821095442.24495-1-sibis@codeaurora.org> References: <20190821095442.24495-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add AOSS reset support for SC7180 SoCs. Signed-off-by: Sibi Sankar --- drivers/reset/reset-qcom-aoss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-qcom-aoss.c b/drivers/reset/reset-qcom-aoss.c index 36db967504507..a400db93eb7d2 100644 --- a/drivers/reset/reset-qcom-aoss.c +++ b/drivers/reset/reset-qcom-aoss.c @@ -115,6 +115,7 @@ static int qcom_aoss_reset_probe(struct platform_device *pdev) } static const struct of_device_id qcom_aoss_reset_of_match[] = { + { .compatible = "qcom,sc7180-aoss-cc", .data = &sdm845_aoss_desc }, { .compatible = "qcom,sdm845-aoss-cc", .data = &sdm845_aoss_desc }, {} }; From patchwork Wed Aug 21 09:54:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 11106223 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 725B913A4 for ; Wed, 21 Aug 2019 09:55:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4DAE8233FE for ; Wed, 21 Aug 2019 09:55:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="BzYzyZVZ"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="BklWjrZZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727692AbfHUJzH (ORCPT ); Wed, 21 Aug 2019 05:55:07 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41150 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbfHUJzF (ORCPT ); Wed, 21 Aug 2019 05:55:05 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0944961156; Wed, 21 Aug 2019 09:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566381305; bh=M4QvQKNwTCeogOruLJL18+5CPq7Ebj/0WayZROehIOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BzYzyZVZ+YlMYGraIPW+vvTn5rTZth1jjfdV3GRNkBj48509ufMoVwQ9IF2iVlSKR zNJhw/FPyB75I6OYRb2IFP+u2vc81zbUosS/r3W/GGNDVPI52F2WICbt1gU8cp0zWw tBN3fovAOghIs3zqifIqc5gBJNtU9aveiEprE7SY= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE 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.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6FADE60EA5; Wed, 21 Aug 2019 09:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566381304; bh=M4QvQKNwTCeogOruLJL18+5CPq7Ebj/0WayZROehIOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BklWjrZZiZwQZQJ+Boa9gejaItzoRNJpLdnsFvzRXkUWzZGbNTBP8gYzDaPg3Z8Rg Yrj4I74JbTlq8NEGaQW08A8L1POK4lkitg6unefGKFOR4uIZT3FA/67bVLSadCeAbV Y2PogcBs6S2bCLBvfve3/SbwGt2jKiLhCNgXok5w= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6FADE60EA5 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: Sibi Sankar To: p.zabel@pengutronix.de, robh+dt@kernel.org, bjorn.andersson@linaro.org Cc: agross@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sibi Sankar Subject: [PATCH 3/4] dt-bindings: reset: pdc: Add PDC Global binding for SC7180 SoCs Date: Wed, 21 Aug 2019 15:24:41 +0530 Message-Id: <20190821095442.24495-4-sibis@codeaurora.org> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190821095442.24495-1-sibis@codeaurora.org> References: <20190821095442.24495-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add SC7180 PDC global to the list of possible bindings. Signed-off-by: Sibi Sankar --- Documentation/devicetree/bindings/reset/qcom,pdc-global.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/reset/qcom,pdc-global.txt b/Documentation/devicetree/bindings/reset/qcom,pdc-global.txt index a62a492843e70..1f1ff280b2d69 100644 --- a/Documentation/devicetree/bindings/reset/qcom,pdc-global.txt +++ b/Documentation/devicetree/bindings/reset/qcom,pdc-global.txt @@ -8,7 +8,8 @@ Required properties: - compatible: Usage: required Value type: - Definition: must be: + Definition: must be one of: + "qcom,sc7180-pdc-global" "qcom,sdm845-pdc-global" - reg: From patchwork Wed Aug 21 09:54:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 11106221 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 31C6714DB for ; Wed, 21 Aug 2019 09:55:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0F8BC233FE for ; Wed, 21 Aug 2019 09:55:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="D1HvzVzN"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="YBhQudbe" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727754AbfHUJzK (ORCPT ); Wed, 21 Aug 2019 05:55:10 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41304 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbfHUJzJ (ORCPT ); Wed, 21 Aug 2019 05:55:09 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B8DE461112; Wed, 21 Aug 2019 09:55:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566381308; bh=HyYm5K/aUU+ZSjn5NmwTcL+6kiycjmn0xl/T/0mET4s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D1HvzVzN+WH/wNqeqIP2iDsrO5bb2Hqo4jl9bq4W5kXlydP74RXgcFqDBocK4i3w6 kTAbDyVI/danl7mFXBqUPjuD7rAcbk97CzB4iwekaxjD6AX9g4F8YFRtkHZ8aBXVi3 DAiF18XiS1pAh6Vb2on0mgGEn/fTD3kEPMF6GZKI= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE 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.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 004A461112; Wed, 21 Aug 2019 09:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566381307; bh=HyYm5K/aUU+ZSjn5NmwTcL+6kiycjmn0xl/T/0mET4s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YBhQudbeChOfxia7xSXurVGB6ZUjR0Aq3xBbyNycB6PS6OP2EvgBKHmxlQbfZZVpy QGggQNUeX+Vnpi9L2p4KIXxZ2+AnkS9r1Csic840z8HZlF7lMQw7m1hIIKlhpdO/h/ 1LkSyfeCSC6i1WEPie0ICTJN92Intv+asFL9AYZ8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 004A461112 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: Sibi Sankar To: p.zabel@pengutronix.de, robh+dt@kernel.org, bjorn.andersson@linaro.org Cc: agross@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sibi Sankar Subject: [PATCH 4/4] reset: qcom: pdc: Add support for SC7180 SoCs Date: Wed, 21 Aug 2019 15:24:42 +0530 Message-Id: <20190821095442.24495-5-sibis@codeaurora.org> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190821095442.24495-1-sibis@codeaurora.org> References: <20190821095442.24495-1-sibis@codeaurora.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add PCD Global support for SC7180 SoCs. Signed-off-by: Sibi Sankar --- drivers/reset/reset-qcom-pdc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-qcom-pdc.c b/drivers/reset/reset-qcom-pdc.c index ab74bccd4a5b5..d876e48f05524 100644 --- a/drivers/reset/reset-qcom-pdc.c +++ b/drivers/reset/reset-qcom-pdc.c @@ -106,6 +106,7 @@ static int qcom_pdc_reset_probe(struct platform_device *pdev) } static const struct of_device_id qcom_pdc_reset_of_match[] = { + { .compatible = "qcom,sc7180-pdc-global" }, { .compatible = "qcom,sdm845-pdc-global" }, {} };