Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1128619iob; Wed, 18 May 2022 23:10:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySgq7KQ5zmmB81AtekGZnbRajuajCyLkZEUv2xXrIQ+dP+oEhuHC4J/YvJHepdCZgo+GR8 X-Received: by 2002:a17:902:8203:b0:15f:4423:6e9c with SMTP id x3-20020a170902820300b0015f44236e9cmr3292528pln.25.1652940613706; Wed, 18 May 2022 23:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652940613; cv=none; d=google.com; s=arc-20160816; b=nqIQJieJWzV3AsQFmV55mZCXgZ+Rixs8SU3Jj1Lz70MqPbB3w4N055gd8M4Q2ZuQUA Y1bODKOzDLzWHoKUNwu+Vt477+kNq9PJszAHmjz57DcV8pPrU6lm38+howeV6AWoaMsL 8UxuxfVkdzD8bIJU0L/m/E0JB/OoCiS7IuYBkNC4FpWMmVIumHMmt4Ty5S0XQpPheDvg /Ifmwd9/VuYsW8FJ10SBe3EAoMgxvPWItADpp6LVbuXqDlHUl//HLs4Pa7FluCp4f0tg ek0HwiIhiXjwbTme2mzaY0ufbsDjyTG4NIiKm9qStLiCCYqYm6ZxXplqS0WVJJgDuf0n Vlww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=3Cy63P/EAdXmjShIGXtNXxNCVW7B/ld963oEc5JgL9U=; b=qKHq1NAB02GwiKwGdiMGgySZtE+Mc/2kjHYQci65RC/9fvGpIT7bRgoZJtOiqfXGwO MDWt1k+u4ej6ymOw6pT08K1uCCzYCKMZjGe6czqECYYwpYnbP2lHWD861NpXtLOcKSU2 L8AtW0ZB2fj6eaW6bOzTdgSaeOWHvtbPFG3Np2Po+jfhq7UvpM4cJJ5vVQ9tD3u1MXEP zt2B8aQHVywZvIl8Undv2km7I6I4NMGXpEYZmORXuLY13x+HK5kdI5ZEeaarR4KwdCL4 /Rqq9eD+xQsVk6yw375l48tsGNhag2u+8aDlkGpYoEeKIwyWdVd7jdIoLmUW0l4qtkO4 qnaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ThGa6TJ4; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id il2-20020a17090b164200b001d28bc0e241si10113101pjb.38.2022.05.18.23.10.01; Wed, 18 May 2022 23:10:13 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=ThGa6TJ4; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231941AbiESAb2 (ORCPT + 99 others); Wed, 18 May 2022 20:31:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232027AbiESAbX (ORCPT ); Wed, 18 May 2022 20:31:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D3DE24F37; Wed, 18 May 2022 17:31:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9B70D617A9; Thu, 19 May 2022 00:31:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFEFAC385A9; Thu, 19 May 2022 00:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652920280; bh=3Cy63P/EAdXmjShIGXtNXxNCVW7B/ld963oEc5JgL9U=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=ThGa6TJ43IXsE06ntiNexs1XPEru39ZR9yRzZKyss8PDt9zx/p4fxHVMQY1ig0Csn xJ/oWm1xW9X8jg+9JFtKiPeoybs0vyCfAGaagw+Vtl11ofhRzRQe4oKXk4iIjUkzJc Me8t6Jzqvl79uzglQ+ODEPIwITj7+l+oan110Xkdn2d+bLxolZGARs04+TzUZ1/huT 6lKDp8GAJdpiUNxLM0toRiW08UyADL55V722Dhm+LJd0LYGUUJo36QeN6ewCjTnLXG RQe75s9/mP5ljd2MzkoZI+iBqUnmqWK3YwWZB/X+qbU2JlrNAzTb+4lQK1s0mgx4tm Sjt1gdGojx5pA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220412122750.279058-3-aidanmacdonald.0x0@gmail.com> References: <20220412122750.279058-1-aidanmacdonald.0x0@gmail.com> <20220412122750.279058-3-aidanmacdonald.0x0@gmail.com> Subject: Re: [PATCH v5 2/2] clk: ingenic-tcu: Fix missing TCU clock for X1000 SoCs From: Stephen Boyd Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dan.carpenter@oracle.com To: Aidan MacDonald , krzk+dt@kernel.org, mturquette@baylibre.com, paul@crapouillou.net, robh+dt@kernel.org, tsbogend@alpha.franken.de Date: Wed, 18 May 2022 17:31:17 -0700 User-Agent: alot/0.10 Message-Id: <20220519003119.DFEFAC385A9@smtp.kernel.org> X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Quoting Aidan MacDonald (2022-04-12 05:27:50) > The TCU clock gate on X1000 wasn't requested by the driver and could > be gated automatically later on in boot, which prevents timers from > running and breaks PWM. >=20 > Add a workaround to support old device trees that don't specify the > "tcu" clock gate. In this case the kernel will print a warning and > attempt to continue without the clock, which is wrong, but it could > work if "clk_ignore_unused" is in the kernel arguments. >=20 > Signed-off-by: Aidan MacDonald > --- Applied to clk-next