From patchwork Sat Dec 31 23:14:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 13086249 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C310C4332F for ; Sat, 31 Dec 2022 23:20:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ibc5csN4gVDH+Q0bvNo1j2zK4K1xpRpm1PefN3dPkPE=; b=keud6GZW40z1ZL 77zCS7t8LsTQRERK7TN97pPmaUXq1FLp0V/vCtFlaBex4c4QUdiiTKo858ep8F2DeqMYkTWILUJcR 5/kxP4cpYP9bAJVmY4a+1lduasFECQjHOYU3i0ygxlzI2LAc2RwvgpCv3th/B8r67Z5fcbl2MSXUC z5DpEuiCFn2Ud+Df3mKp4PcePlmrYBHzYfDt++LNEdPlyw20JYTSBgWwZ82XXy4KoEWIUNXZEbB9K 3WwmhdJmugxAQlWjkt2pexL31mPUCCREMj4bJsAk3AlelTv1ZfEfdSJSvB7SQJukE7mnieETbBOCS FEEjWrHdAw3hZAXeQFDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pBl8y-00BPR9-0e; Sat, 31 Dec 2022 23:20:00 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pBl3m-00BNDg-Qe; Sat, 31 Dec 2022 23:14:40 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 1C8E25C00B2; Sat, 31 Dec 2022 18:14:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 31 Dec 2022 18:14:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1672528478; x=1672614878; bh=vV 7vYH4agevEo5q+yfciQz3W+RJ72+EvdN+fDOEeFek=; b=jlddHFvbspOwBPLYXf qYITsjOeyq0HnzQCHkE3fAZjqQsTX9iSs9H4+Fo41ubJKLP7d+HXrHgfkzeWaMoV 9EJXlOYlDSca0TWW12LtCg+mzMuo8sL+oVdC8B+FVWjuFVTDiFDXpxCJpxLBfvmf IGYDde2fw/OONOkKsrB1OBBLf67GvXKcPSWoQLZhNtmdXaE4RQXfNHe7BMLp0Oq0 hLcKiGJ6/Dy/3+Q6CAqb0oxkxOruBXz1QQU4mfMaTZpPBKKRYZTt8+nXppXyK8C9 PjJqrphtz0hHgzLSmw56P41mO0YSUwIc4oguovXBBAjx+M6hCXbBeNKYXk8F55Vw C5Lw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1672528478; x=1672614878; bh=vV7vYH4agevEo 5q+yfciQz3W+RJ72+EvdN+fDOEeFek=; b=WGx3j//KHynZU1d4sSGXSfeiYmt0R t68DjBq6DWJi0hwSZ4NeJPZYIjRerFW1fg2s1cHmc2Kj5NrG0CINZug/sLbecTrR dx91tl3eOymA9i5bGnHpxydhqsxYWz+IUSpnEP6vPZkj2VoiCmgZMtNx5hwBYfRX TqnRHgsPYCZ9syD7fwFt66hSNjxlBGSgLU9/UWXy6pf0GWL95tJF03rbODG81CJk 4GbRye59LXM0Kh4PCPlJ5sLKKL5O5iJwi8UIoz+NqMGYR5zoiR6TUE06Uqzg8sab QhET3CpReEkXgDCDIBkIk6WGhDq8S6Fp8fCFSLYnP359f883EfYhwBmCQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieelgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 Dec 2022 18:14:37 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Michael Turquette , Stephen Boyd Cc: Samuel Holland , Albert Ou , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Philipp Zabel , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sunxi@lists.linux.dev, Andre Przywara Subject: [PATCH v2 5/6] dt-bindings: clock: Add D1 CAN bus gates and resets Date: Sat, 31 Dec 2022 17:14:28 -0600 Message-Id: <20221231231429.18357-6-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221231231429.18357-1-samuel@sholland.org> References: <20221231231429.18357-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221231_151438_995151_979DB075 X-CRM114-Status: UNSURE ( 9.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org The D1 CCU contains gates and resets for two CAN buses. While the CAN bus controllers are only documented for the T113 SoC, the CCU is the same across all SoC variants. Reviewed-by: Andre Przywara Signed-off-by: Samuel Holland Acked-by: Krzysztof Kozlowski Acked-by: Philipp Zabel --- Changes in v2: - Move dt-bindings header changes to a separate patch include/dt-bindings/clock/sun20i-d1-ccu.h | 2 ++ include/dt-bindings/reset/sun20i-d1-ccu.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/sun20i-d1-ccu.h b/include/dt-bindings/clock/sun20i-d1-ccu.h index e3ac53315e1a..e143b9929763 100644 --- a/include/dt-bindings/clock/sun20i-d1-ccu.h +++ b/include/dt-bindings/clock/sun20i-d1-ccu.h @@ -152,5 +152,7 @@ #define CLK_FANOUT0 142 #define CLK_FANOUT1 143 #define CLK_FANOUT2 144 +#define CLK_BUS_CAN0 145 +#define CLK_BUS_CAN1 146 #endif /* _DT_BINDINGS_CLK_SUN20I_D1_CCU_H_ */ diff --git a/include/dt-bindings/reset/sun20i-d1-ccu.h b/include/dt-bindings/reset/sun20i-d1-ccu.h index de9ff5203239..f8001cf50bf1 100644 --- a/include/dt-bindings/reset/sun20i-d1-ccu.h +++ b/include/dt-bindings/reset/sun20i-d1-ccu.h @@ -73,5 +73,7 @@ #define RST_BUS_DSP_CFG 63 #define RST_BUS_DSP_DBG 64 #define RST_BUS_RISCV_CFG 65 +#define RST_BUS_CAN0 66 +#define RST_BUS_CAN1 67 #endif /* _DT_BINDINGS_RST_SUN20I_D1_CCU_H_ */