From patchwork Fri Sep 9 19:26:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 12972085 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDBDCECAAA1 for ; Fri, 9 Sep 2022 19:26:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231318AbiIIT0k (ORCPT ); Fri, 9 Sep 2022 15:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231183AbiIIT0f (ORCPT ); Fri, 9 Sep 2022 15:26:35 -0400 Received: from mail.baikalelectronics.com (mail.baikalelectronics.com [87.245.175.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0B458F1F09; Fri, 9 Sep 2022 12:26:34 -0700 (PDT) Received: from mail (mail.baikal.int [192.168.51.25]) by mail.baikalelectronics.com (Postfix) with ESMTP id 35026DBE; Fri, 9 Sep 2022 22:30:21 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.baikalelectronics.com 35026DBE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baikalelectronics.ru; s=mail; t=1662751821; bh=Cr061TMlxJmrAhr4hB8NKXGghdwEi89CI2siyf6VxcA=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=k7bCMZ/J5FoafxiYPVj55remymgPK1GR1070nCxfoJF3R6z81dr7fqLqmz7nqyanW Dp2Z1m2y4KiS5Dcn7J+7XHZwl/of5XAJG814OMG/199V82nj7Cwi0QTzYVo2Ak1KeH P5mbkJvyk6dLKsbB3bbojhprePtFYzxpxt6VJbLQ= Received: from localhost (192.168.168.10) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 9 Sep 2022 22:26:32 +0300 From: Serge Semin To: Stephen Boyd , Michael Turquette , Philipp Zabel , Rob Herring , Krzysztof Kozlowski CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , Krzysztof Kozlowski , Thomas Bogendoerfer , , , , Subject: [PATCH RESEND v11 6/8] dt-bindings: clk: baikal-t1: Add DDR/PCIe reset IDs Date: Fri, 9 Sep 2022 22:26:14 +0300 Message-ID: <20220909192616.16542-7-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20220909192616.16542-1-Sergey.Semin@baikalelectronics.ru> References: <20220909192616.16542-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Aside with a set of the trigger-like resets Baikal-T1 CCU provides additional directly controlled reset signals for the DDR and PCIe controllers. As a preparation before adding these resets support to the kernel let's extent the Baikal-T1 CCU IDs list with the new IDs, which will be used to access the corresponding reset controls. Signed-off-by: Serge Semin Reviewed-by: Philipp Zabel Acked-by: Rob Herring --- Changelog v11: - This is a new patch created by detaching the DT-part from: [PATCH v10 6/7] clk: baikal-t1: Add DDR/PCIe directly controlled resets support (@Krzysztof) --- include/dt-bindings/reset/bt1-ccu.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/dt-bindings/reset/bt1-ccu.h b/include/dt-bindings/reset/bt1-ccu.h index 3578e83026bc..c691efaa678f 100644 --- a/include/dt-bindings/reset/bt1-ccu.h +++ b/include/dt-bindings/reset/bt1-ccu.h @@ -21,5 +21,14 @@ #define CCU_SYS_SATA_REF_RST 0 #define CCU_SYS_APB_RST 1 +#define CCU_SYS_DDR_FULL_RST 2 +#define CCU_SYS_DDR_INIT_RST 3 +#define CCU_SYS_PCIE_PCS_PHY_RST 4 +#define CCU_SYS_PCIE_PIPE0_RST 5 +#define CCU_SYS_PCIE_CORE_RST 6 +#define CCU_SYS_PCIE_PWR_RST 7 +#define CCU_SYS_PCIE_STICKY_RST 8 +#define CCU_SYS_PCIE_NSTICKY_RST 9 +#define CCU_SYS_PCIE_HOT_RST 10 #endif /* __DT_BINDINGS_RESET_BT1_CCU_H */