From patchwork Thu Aug 25 11:20:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9299245 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 80D3B607D8 for ; Thu, 25 Aug 2016 11:21:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72AA929203 for ; Thu, 25 Aug 2016 11:21:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67A462926A; Thu, 25 Aug 2016 11:21:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ECF8D29203 for ; Thu, 25 Aug 2016 11:21:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755398AbcHYLV3 (ORCPT ); Thu, 25 Aug 2016 07:21:29 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:36602 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757569AbcHYLVF (ORCPT ); Thu, 25 Aug 2016 07:21:05 -0400 Received: by mail-wm0-f42.google.com with SMTP id q128so234678616wma.1 for ; Thu, 25 Aug 2016 04:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XgF8c/gFTxmYRr4w7uJjwuCcSWr7edUiZ4G1AaI+mnk=; b=Kc0XQQRRD0bMTxnAwcX/JTgRHcClQJRZpmc11bLWG4DG7CwG0B+f202ZZTWTgWUdsu ZS00ZpNIKENOxqsTMfqZeQUhdCVXeA2CojVz+zB0xpCkW1enYvxw8r0zu+BtEDexwcSb 2wJZGXc3eO2Fd1O+X31wzZabOQ9GFMLj3F9wU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XgF8c/gFTxmYRr4w7uJjwuCcSWr7edUiZ4G1AaI+mnk=; b=CwhDJAeM1MdnEhQhqwuaNMlP5C2Ics/udMxef6I4xLWNCyG+aOC5PQsxK4Ny2Hsrus VjJvFIDzbyWwc75G3sg4fAOESlvqALxeNlg4vPqzSM0HDxQtokm9r6et0aU4ArojK2La lyIUVKg/yMfneGzphppELW49gbUAeJWR74T+8xJNSd2BJ7Ru5thBtUkdEQMFBIctfzWh eFp9yOHhHCR9TNpxscjH56mnIhovui47IBZJzTDMR8WdZjnu7nGMP9OOSso7qLsQ3/xT X1IxmlZhYlCUgxnpnBqIETBr91XFCqJXZ+gbYctLvS4UWPRwehm7drnMcL5C0MLTWNeZ h71w== X-Gm-Message-State: AEkoouvYHx6HbdHn1rFVSfEcmr0fo8vlGKsLGtnCY4SSa+3D+4+M8VE2isb06KLwSqpNAjCM X-Received: by 10.194.222.168 with SMTP id qn8mr6673522wjc.172.1472124064376; Thu, 25 Aug 2016 04:21:04 -0700 (PDT) Received: from localhost.localdomain (host-2-103-180-164.as13285.net. [2.103.180.164]) by smtp.gmail.com with ESMTPSA id o4sm14643695wjd.15.2016.08.25.04.21.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Aug 2016 04:21:03 -0700 (PDT) From: Srinivas Kandagatla To: Stephen Boyd Cc: Andy Gross , David Brown , Michael Turquette , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 2/2] clk: gcc-msm8996: add missing pcie phy reset lines Date: Thu, 25 Aug 2016 12:20:47 +0100 Message-Id: <1472124047-22627-2-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472124047-22627-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1472124047-22627-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds missing 2 PCIE common reset lines. Signed-off-by: Srinivas Kandagatla --- drivers/clk/qcom/gcc-msm8996.c | 2 ++ include/dt-bindings/clock/qcom,gcc-msm8996.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/drivers/clk/qcom/gcc-msm8996.c b/drivers/clk/qcom/gcc-msm8996.c index 456b2f4..993b0ed 100644 --- a/drivers/clk/qcom/gcc-msm8996.c +++ b/drivers/clk/qcom/gcc-msm8996.c @@ -3404,6 +3404,8 @@ static const struct qcom_reset_map gcc_msm8996_resets[] = { [GCC_PCIE_2_BCR] = { 0x6e000 }, [GCC_PCIE_2_PHY_BCR] = { 0x6e038 }, [GCC_PCIE_PHY_BCR] = { 0x6f000 }, + [GCC_PCIE_PHY_COM_BCR] = { 0x6f014 }, + [GCC_PCIE_PHY_COM_NOCSR_BCR] = { 0x6f00c }, [GCC_DCD_BCR] = { 0x70000 }, [GCC_OBT_ODT_BCR] = { 0x73000 }, [GCC_UFS_BCR] = { 0x75000 }, diff --git a/include/dt-bindings/clock/qcom,gcc-msm8996.h b/include/dt-bindings/clock/qcom,gcc-msm8996.h index 6f814db..b7ea1e8 100644 --- a/include/dt-bindings/clock/qcom,gcc-msm8996.h +++ b/include/dt-bindings/clock/qcom,gcc-msm8996.h @@ -335,6 +335,9 @@ #define GCC_MSMPU_BCR 98 #define GCC_MSS_Q6_BCR 99 #define GCC_QREFS_VBG_CAL_BCR 100 +#define GCC_PCIE_PHY_COM_BCR 101 +#define GCC_PCIE_PHY_COM_NOCSR_BCR 102 + /* Indexes for GDSCs */ #define AGGRE0_NOC_GDSC 0