Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp40263lfv; Tue, 12 Apr 2022 16:24:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPx0r1GPXohc4qKIQNHo7EZ3tC/5D5Q4hPKbsB4IicvSk5oXumFKP9W8atq+Fq6HLzQOtw X-Received: by 2002:a63:444f:0:b0:39d:4a93:844 with SMTP id t15-20020a63444f000000b0039d4a930844mr10907968pgk.229.1649805891783; Tue, 12 Apr 2022 16:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649805891; cv=none; d=google.com; s=arc-20160816; b=V9Q6ZjO/uFFgB6KY0VydVb3VEzy3nrJh6x0eKYnOrQ+TkkzkvPJ/Z5NLWLTkIm6q7O C+LOENtrUAJfNXPS7GSJ7EdMtszD18V5wB8Ea10LT2HdIJwLDYwslcCX97dz6r4SnEtU CXkbDWi5+w9TRFU+F+gbyVME41z65M/hoH6MmlofXFX0e+lQS8xzHfPJ1p9cxl3Uw9JL lkSRY9nbuDYcgAEwAQ9RICLWa+87Uckyv3jFuaVHAk9AgY2q6MpUbGVN369gQ6lDK+7t YfIUYyEblXkud+s94vxBpSVL7aom+izYn8Uy/f9YHajKYfv1xyerDvMPKhQHa2EXrwkO YyNA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2qRlr8ZfTQ3raGd+E44T5DsXd8r35uC0pnPSIlIhBAM=; b=DAH3oUpec4DUx35a0RZMK3TkrxRr1m+K1XBomNWz8NcnQuKA00S0mbGuUMMrm3lAD8 LxQM1LzDIRgEeLY1azfzSCgrt1rpzUuSzSvn/NKX9GqJ/nRXSCSyKIo4vPX87+kQCcp6 839SMWqrDx+Exz1/OtwNb/I4mFFTLgTOjbCMVkJMo2sFyHohI4LQAsbn+TyVGfscjtgI Fq9FYNRUAqZmqtB9hfLTTLJRBycfX/lOXSdxCWb3fjhu1tyHI8lZ3iYt6Ql/EJ4oBr1C ZTWguotsAe9wLAEsOmKH7PKIdINnThZTW/enLHmwpty5PY8ToX5hCMYlJLmWnN+IQFY/ Pm7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="EN/LEY3u"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a71-20020a63904a000000b0039da9ed215fsi1441356pge.107.2022.04.12.16.24.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:24:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="EN/LEY3u"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6742D1A5909; Tue, 12 Apr 2022 14:16:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354826AbiDLM4y (ORCPT + 99 others); Tue, 12 Apr 2022 08:56:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355257AbiDLMxz (ORCPT ); Tue, 12 Apr 2022 08:53:55 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBE8419B; Tue, 12 Apr 2022 05:27:21 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id m14so3086846wrb.6; Tue, 12 Apr 2022 05:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2qRlr8ZfTQ3raGd+E44T5DsXd8r35uC0pnPSIlIhBAM=; b=EN/LEY3ulBnf+PHMFdD98Rpb6d4Ng3RGFht/2ksnjxcf45HDGl2Us7uVW5mwIunbol BjU3fWy9y64h030HvJYdfMtbhpxo8voIkrirbxh7IWkoa5G5IdoLp0piKCoCanlbaJpM PeIujo/ahlHkIZC/VNqWiuYJK3fEcb8DX4tmds3RvDe71SzR0MfzJepVF9LrztaDfQSK youJkZ4/6rx2JZfMkq5T3Nmc2KqBYWyp/PE4F7+qX0te4TyFgAvtkCxcmMwwCailzpe7 XnwBue2uPr/RG95mUE8goezxT9eXN7OX/kPg9w6MlClQc/3VLwYvoEWCJ7TbDt9DiNT/ 9uiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2qRlr8ZfTQ3raGd+E44T5DsXd8r35uC0pnPSIlIhBAM=; b=S862U+xJ79OHRqIekyJsly8V3rSZI7C0NvxorCRqZbjBlmVppupR1aBUZv10e6BB36 VX9IcPSQe5ecWlvzFVYzvIWdkfMTo8c4tQh/tuyfHgke4KCMuqJq/EC3QS8O2+Kpqyqa +1LpBZXtBtfnSnFEsBR2dbXLFo0rWHHnyrCfJyFCC2EqBtsJFc+UOCCLfi8bsDu/DpQ+ zBHdXwLeguzBH8O/ueghiM3Lc1oi6x3SXivgSf1LOENOiyv4xtm+KOSkRzVSpiTah3t7 gcR/BWz+yrjlZvgY6Q5d2yFXVw9UCkyYvFcpeFy4tt5fGCQ/Qa1aG/G0XpD3Nu4AwXQH yzPQ== X-Gm-Message-State: AOAM533ja/hLDh1m5j95rvw1k8UrHgSl9PVpHjJjrfofDIbgy3vyTMqU giLQZoYb8sVZnmh+EU3pKpE= X-Received: by 2002:a5d:6910:0:b0:206:a03:35c with SMTP id t16-20020a5d6910000000b002060a03035cmr28034156wru.174.1649766440296; Tue, 12 Apr 2022 05:27:20 -0700 (PDT) Received: from localhost (92.40.203.131.threembb.co.uk. [92.40.203.131]) by smtp.gmail.com with ESMTPSA id n8-20020a05600c4f8800b0038eb596ab10sm2296064wmq.2.2022.04.12.05.27.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 05:27:19 -0700 (PDT) From: Aidan MacDonald To: paul@crapouillou.net, robh+dt@kernel.org, krzk+dt@kernel.org, tsbogend@alpha.franken.de, mturquette@baylibre.com, sboyd@kernel.org Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dan.carpenter@oracle.com Subject: [PATCH v5 1/2] mips: dts: ingenic: Add TCU clock to x1000/x1830 tcu device node Date: Tue, 12 Apr 2022 13:27:49 +0100 Message-Id: <20220412122750.279058-2-aidanmacdonald.0x0@gmail.com> In-Reply-To: <20220412122750.279058-1-aidanmacdonald.0x0@gmail.com> References: <20220412122750.279058-1-aidanmacdonald.0x0@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 This clock is a gate for the TCU hardware block on these SoCs, but it wasn't included in the device tree since the ingenic-tcu driver erroneously did not request it. Signed-off-by: Aidan MacDonald --- arch/mips/boot/dts/ingenic/x1000.dtsi | 5 +++-- arch/mips/boot/dts/ingenic/x1830.dtsi | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/mips/boot/dts/ingenic/x1000.dtsi b/arch/mips/boot/dts/ingenic/x1000.dtsi index 8bd27edef216..c69df8eb158e 100644 --- a/arch/mips/boot/dts/ingenic/x1000.dtsi +++ b/arch/mips/boot/dts/ingenic/x1000.dtsi @@ -111,8 +111,9 @@ tcu: timer@10002000 { clocks = <&cgu X1000_CLK_RTCLK>, <&cgu X1000_CLK_EXCLK>, - <&cgu X1000_CLK_PCLK>; - clock-names = "rtc", "ext", "pclk"; + <&cgu X1000_CLK_PCLK>, + <&cgu X1000_CLK_TCU>; + clock-names = "rtc", "ext", "pclk", "tcu"; interrupt-controller; #interrupt-cells = <1>; diff --git a/arch/mips/boot/dts/ingenic/x1830.dtsi b/arch/mips/boot/dts/ingenic/x1830.dtsi index 2595df8671c7..4408df24ca98 100644 --- a/arch/mips/boot/dts/ingenic/x1830.dtsi +++ b/arch/mips/boot/dts/ingenic/x1830.dtsi @@ -104,8 +104,9 @@ tcu: timer@10002000 { clocks = <&cgu X1830_CLK_RTCLK>, <&cgu X1830_CLK_EXCLK>, - <&cgu X1830_CLK_PCLK>; - clock-names = "rtc", "ext", "pclk"; + <&cgu X1830_CLK_PCLK>, + <&cgu X1830_CLK_TCU>; + clock-names = "rtc", "ext", "pclk", "tcu"; interrupt-controller; #interrupt-cells = <1>; -- 2.35.1