Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8946745rwl; Sat, 31 Dec 2022 15:39:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXsRynyItXdcbNC+lYOvnsGCryIwWuUNTK9aREf4IfPz20bO/AqsbXTghWzHLR+riM3aA0/D X-Received: by 2002:a05:6402:1caa:b0:475:b14a:f83a with SMTP id cz10-20020a0564021caa00b00475b14af83amr29204006edb.15.1672529999549; Sat, 31 Dec 2022 15:39:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672529999; cv=none; d=google.com; s=arc-20160816; b=vZZdRL/EabMj3VwWiU/hO5Tq5PrOpKihOU3bfAyUCxl1s0MvB2mPGwr15+uvscC2vz fZbVF6yITOh8+/QFyOSzBq2xlRCClm4ganES7J6jzMcDMh8hMJyXASFsIXumUXj68CEb FPZHUvU+js+pYmCQgPZKLXXs34S5czSEHtWPbSSs1Fy6uA0V6FBrVa/hvVWXEnpYi6f0 gTCyzhJi6HnPVUHWJcl9X3yS+LERvBD3ei3xtjeYy9qkb4uhow/2l8DddI/D9fOiVK8R sPH5SyWzP14bfsGh676p3ZmPibrVI9SAvhow4n0BocvpjElaCxiaaKikofqZXxeUxXZ1 H9oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=CLyRJuU5Gp42q8xKUuOHFJyhAzWE0gbLmmfwQ+yR6RM=; b=bwTMh8db9kseayqDHraEWO/NNnUEfQEIwN116laMSmd583NY4lzCwtduUza7UVyjGN 7IvTPliCO8mkOvdUleONxXo2/rVB5cKqIotVZZ/dqpozp0NQl0Q6ndawVTXn4hRpY6Xg cE5up5oF/a3PlSHoTUWPyEi71UNL2gQjXhVJkcyDgO9zS7Z1XfohnCgRbI8hQ77y7DUQ hLEL401RCX+iUEOUWJv38aXHgkVdG5jJJk1XlAErKZt1vqB9nual/v7ICDoqbQwRrVY4 ot7dd2FI5qUjbizmW90tvPRvtLBxBSvOjHea+Ui02njY6vVUUsrlLpGrOBPC645Pd9j7 CsSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="sND/yvJN"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=CwmaOVuD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dy9-20020a05640231e900b00469af6681b1si19237293edb.183.2022.12.31.15.39.39; Sat, 31 Dec 2022 15:39:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="sND/yvJN"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=CwmaOVuD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232432AbiLaXOk (ORCPT + 61 others); Sat, 31 Dec 2022 18:14:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230520AbiLaXOf (ORCPT ); Sat, 31 Dec 2022 18:14:35 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D824CF9; Sat, 31 Dec 2022 15:14:33 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 16F435C00B4; Sat, 31 Dec 2022 18:14:31 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 31 Dec 2022 18:14:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1672528471; x=1672614871; bh=CLyRJuU5Gp 42q8xKUuOHFJyhAzWE0gbLmmfwQ+yR6RM=; b=sND/yvJN90kEWak4oJKkGgYl+6 1M8k31rA6aBsLQzt+QO+WBqpol4njSNBAbgwX+Bbnk9vmIQLz1WC4iKBuPWfbukO rBI6YqV2OHJkUuxn8RL1AeG2RAAr3dnN/uuPK5GBMIDk18Ke95LjYx/lsCacDeGN PBvy0VmNoxw9jXzKiLCc7DkY4v/HScgTKtmRvyBm/TUZ8W7ioVPxHrxtuuQp450k xdcPIaBlILMioDmy2Y1mvRVO0LCZzlsLxYTcTeTkzYK1rhH872JLfgwaRh4H1JDk uthbRI2BUJAkAdAB8zrbqepaQSkfiD7b4SI8YNiFzO8aJ1Rp16UKy37HXmkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version: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=1672528471; x=1672614871; bh=CLyRJuU5Gp42q 8xKUuOHFJyhAzWE0gbLmmfwQ+yR6RM=; b=CwmaOVuDAxje46IPRtmGqnCNeVpij 1V2xBgx6sadZZciNP5AZbCnCzjMutysvahJXOz7V2UKZG9m3g+U8hbVltJGBEofE e7Nj8omH2hVnwSL+YkN955ZusXxBu/LGoilUaJ4Rs0FPUra7T9+ko/KApoAkFsv4 t9mi6wHBE92NsEa/8iR1oMgDp02x389nxcB02H+uwhyb/i1ok9uIZ2YW6ZYCWUHs p34b7b8awAOakqVW4cI6dRpykICCL4eC+77bmEvSmUMC5XXb9qGHxz9GJc1i9Hpp DyahcES8r8O7CyJcgM0ZWrGzfjFWxFPDZHWXIuNPFXxbS3a/PqllzolDg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieelgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepueevhfevkeeiffevieelhedtudelffevhefgudfgtdekheetfffflefh feetvddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 Dec 2022 18:14:29 -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 Subject: [PATCH v2 0/6] clk: sunxi-ng: Allwinner R528/T113 clock support Date: Sat, 31 Dec 2022 17:14:23 -0600 Message-Id: <20221231231429.18357-1-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org R528 and T113 are SoCs based on the same design as D1/D1s, but with ARM CPUs instead of RISC-V. They use the same CCU implementation, meaning the CCU has gates/resets for all peripherals present on any SoC in this family. I verified the CAN bus bits are also present on D1/D1s. Patches 1-2 clean up the Kconfig in preparation for patch 3, which allows building the driver. Patches 4-6 add the missing binding header and driver bits. Changes in v2: - Expand commit message - Move dt-bindings header changes to a separate patch András Szemző (1): clk: sunxi-ng: d1: Mark cpux clock as critical Fabien Poussin (1): clk: sunxi-ng: d1: Add CAN bus gates and resets Samuel Holland (4): clk: sunxi-ng: Remove duplicate ARCH_SUNXI dependencies clk: sunxi-ng: Move SoC driver conditions to dependencies clk: sunxi-ng: d1: Allow building for R528/T113 dt-bindings: clock: Add D1 CAN bus gates and resets drivers/clk/sunxi-ng/Kconfig | 71 ++++++++++++----------- drivers/clk/sunxi-ng/ccu-sun20i-d1.c | 13 ++++- drivers/clk/sunxi-ng/ccu-sun20i-d1.h | 2 +- include/dt-bindings/clock/sun20i-d1-ccu.h | 2 + include/dt-bindings/reset/sun20i-d1-ccu.h | 2 + 5 files changed, 53 insertions(+), 37 deletions(-) -- 2.37.4