Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp49847lfv; Tue, 12 Apr 2022 16:51:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfPNLCrC/neADBXZhlChVd3SDPdz8cuVkYDSifU5d3kf5oikthH8bamGiYyS7l8JeMmV90 X-Received: by 2002:aa7:8215:0:b0:4f7:125a:c88c with SMTP id k21-20020aa78215000000b004f7125ac88cmr40949075pfi.70.1649807502050; Tue, 12 Apr 2022 16:51:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649807502; cv=none; d=google.com; s=arc-20160816; b=EUSsgTKhBOnUxApg7iJtR5sc4tFtS4ItxCz+UDjigVhLGTyfUoTKshjqmpCPsj1Hu1 fsKN5BFWxiHLug1M+shoELttLlTfdRUUW4eoTtwhL+WI1Lp0NnNU+ScgukxIl+mnCnKM tlZ3eetmpYIRZtRJ+y3t3YdRzEz8GSmys8OwA2SYoP2NAxDYrOdwseyjaHahXompoTnu 1uG20EXZgE2244WV6ot5lUYr+U4vf77usWjVEURGqzR/noQPlfqoFgnIRpUN1Fe6lhXC boCAz8vTjaPBJbK19gmf0H2mH3s1gG9g/pIJNxzoaxc1DoZD3Rk50s+eRK3a5vBtG/vA GtEg== 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:cc:to:subject:from:date :dkim-signature; bh=xNAG0SZZHvrLl10xQGGWue13a4HRKmHPzD7hJXX4nXw=; b=JG+JhU/7tOxtrOW+/lP/rAmXIc8gdDJSEkKGn8mnn6HLtWjSUfrHtHIFFn5pgoumH+ ZDdo52ZT4CqmSUNNzRtchuz79Xou5+LTJiYiVzzUacgf+Rgblzu4YwMxf1Zb3OrEOQfO WYOLd0Qb+VnvFVS4AeNkLFQJloImrTal2I3QbiMrc++MIHWIzXOObMj+KhNgpCIeq+JA +yEtVVyPEdLwwMfsiKPpxtQg40NEWzUooKQrYEn+3cyGAHdjYjfo0F0Qhx6CxzrycB0B 331tSG+6QGG9v1W45zMC4ALT8tbFERQPFSvLGlsv4txS4krYP+p/ai1QXNlnLHI4eU3b Leyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=JrCsWn2r; 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=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y193-20020a638aca000000b0039d8c2d2b15si4022133pgd.342.2022.04.12.16.51.26; Tue, 12 Apr 2022 16:51:41 -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=@crapouillou.net header.s=mail header.b=JrCsWn2r; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230157AbiDLX1V (ORCPT + 99 others); Tue, 12 Apr 2022 19:27:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbiDLX00 (ORCPT ); Tue, 12 Apr 2022 19:26:26 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 217155E16F; Tue, 12 Apr 2022 15:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1649803132; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xNAG0SZZHvrLl10xQGGWue13a4HRKmHPzD7hJXX4nXw=; b=JrCsWn2rWIljaUBYBbe4lfE1WQfRTPty5lP17RS5P46896a7F0Klgi9OrmOXuP9gLhIkNH SG1EzrVTvrFCtbI+6rPgdFfNjm3BNfEQ+cz4GyEfA1e0Fs3s8MWOnmdedVoks84rkkFpKu qVg9d2d/TTBZq+Y0afxP2tEHOqRfv08= Date: Tue, 12 Apr 2022 23:38:42 +0100 From: Paul Cercueil Subject: Re: [PATCH v5 1/2] mips: dts: ingenic: Add TCU clock to x1000/x1830 tcu device node To: Aidan MacDonald Cc: robh+dt@kernel.org, krzk+dt@kernel.org, tsbogend@alpha.franken.de, mturquette@baylibre.com, sboyd@kernel.org, linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dan.carpenter@oracle.com Message-Id: In-Reply-To: <20220412122750.279058-2-aidanmacdonald.0x0@gmail.com> References: <20220412122750.279058-1-aidanmacdonald.0x0@gmail.com> <20220412122750.279058-2-aidanmacdonald.0x0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 Hi, Le mar., avril 12 2022 at 13:27:49 +0100, Aidan MacDonald=20 a =E9crit : > 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. >=20 > Signed-off-by: Aidan MacDonald Reviewed-by: Paul Cercueil Cheers, -Paul > --- > arch/mips/boot/dts/ingenic/x1000.dtsi | 5 +++-- > arch/mips/boot/dts/ingenic/x1830.dtsi | 5 +++-- > 2 files changed, 6 insertions(+), 4 deletions(-) >=20 > diff --git a/arch/mips/boot/dts/ingenic/x1000.dtsi=20 > 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 { >=20 > clocks =3D <&cgu X1000_CLK_RTCLK>, > <&cgu X1000_CLK_EXCLK>, > - <&cgu X1000_CLK_PCLK>; > - clock-names =3D "rtc", "ext", "pclk"; > + <&cgu X1000_CLK_PCLK>, > + <&cgu X1000_CLK_TCU>; > + clock-names =3D "rtc", "ext", "pclk", "tcu"; >=20 > interrupt-controller; > #interrupt-cells =3D <1>; > diff --git a/arch/mips/boot/dts/ingenic/x1830.dtsi=20 > 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 { >=20 > clocks =3D <&cgu X1830_CLK_RTCLK>, > <&cgu X1830_CLK_EXCLK>, > - <&cgu X1830_CLK_PCLK>; > - clock-names =3D "rtc", "ext", "pclk"; > + <&cgu X1830_CLK_PCLK>, > + <&cgu X1830_CLK_TCU>; > + clock-names =3D "rtc", "ext", "pclk", "tcu"; >=20 > interrupt-controller; > #interrupt-cells =3D <1>; > -- > 2.35.1 >=20