From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6872C2B9F4 for ; Fri, 25 Jun 2021 13:38:42 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 20D006197F for ; Fri, 25 Jun 2021 13:38:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 20D006197F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 21B7582C11; Fri, 25 Jun 2021 15:38:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 7102C82C14; Fri, 25 Jun 2021 15:38:37 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id C3E3082C11 for ; Fri, 25 Jun 2021 15:38:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DB80031B; Fri, 25 Jun 2021 06:38:32 -0700 (PDT) Received: from slackpad.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9D6ED3F694; Fri, 25 Jun 2021 06:38:31 -0700 (PDT) Date: Fri, 25 Jun 2021 14:38:10 +0100 From: Andre Przywara To: Maxime Ripard Cc: u-boot@lists.denx.de, Peng Fan , Li Jun , Marek Vasut , Tom Rini , Miquel Raynal , Jagan Teki Subject: Re: [PATCH 08/12] clk: sunxi: Add missing clock compatible Message-ID: <20210625143810.27784414@slackpad.fritz.box> In-Reply-To: <20210625130547.2177920-9-maxime@cerno.tech> References: <20210625130547.2177920-1-maxime@cerno.tech> <20210625130547.2177920-9-maxime@cerno.tech> Organization: Arm Ltd. X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Fri, 25 Jun 2021 15:05:43 +0200 Maxime Ripard wrote: > The NextThingCo GR8 is a derivative of the sun5i family, and thus should > be considered similar to the A10s and A13 as far as clocks go. > > The compatible was missing from the clock driver so far, leading to all > the drivers depending on it being non-functional. > > Signed-off-by: Maxime Ripard Compared the Linux clock drivers between the two compatibles, and the GR8 has just a few clocks more, mostly audio related, so they are indeed compatible as far as U-Boot is concerned: Reviewed-by: Andre Przywara Cheers, Andre > --- > drivers/clk/sunxi/clk_a10s.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/clk/sunxi/clk_a10s.c b/drivers/clk/sunxi/clk_a10s.c > index 184f61ab234c..99d8a8ab1b2e 100644 > --- a/drivers/clk/sunxi/clk_a10s.c > +++ b/drivers/clk/sunxi/clk_a10s.c > @@ -59,6 +59,8 @@ static const struct udevice_id a10s_ccu_ids[] = { > .data = (ulong)&a10s_ccu_desc }, > { .compatible = "allwinner,sun5i-a13-ccu", > .data = (ulong)&a10s_ccu_desc }, > + { .compatible = "nextthing,gr8-ccu", > + .data = (ulong)&a10s_ccu_desc }, > { } > }; >