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=-18.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 9EDDDC4338F for ; Tue, 24 Aug 2021 18:02:26 +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 BD085610D0 for ; Tue, 24 Aug 2021 18:02:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BD085610D0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA99682DFE; Tue, 24 Aug 2021 20:02:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1629828144; bh=Ehve0MHAXRVyJPKgtKuFOW68UpHjuIUXFBW03O4vqaU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=h6oz/lEaIm2Wsl2KjRcV8G6ZdijsQcXWSi7LVY/dYTr1cFkibQYBoBA+1BaG66zZo /63agPwdMPuFX4reHrmJNqAAsX8XEMiiL/H6f90MRnNjWOSBbMEEpPvEM1m3N30UE7 LVnYi8ialMvtIFZ4SU/f8i+9MNrqUuN7ruWpXtgl/RAKLer3VF/5/M14+5SQYAD4Ux xA+6dhKAK8WWuNv0lAlLCZykYjoHR689gmUwAeuA4xsvOxGhVbPkLtUzyMJGCLsR9M qd7FyXJ+rBd7mXszM5Yr1HNJLH9NbY4fW7ufe2jkgSjdWDd+ZbruTBhHSFdA79AqbR zHE5bj2/lu/Zg== Received: from [IPv6:::1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 03F8481BC0; Tue, 24 Aug 2021 20:02:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1629828142; bh=Ehve0MHAXRVyJPKgtKuFOW68UpHjuIUXFBW03O4vqaU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=RvD1IcZGKzjHiOhsjdGyiWD6diSLsyD47Xy1yXrCUkT725E6cxkO2HEOxdT2vyGly IajuD27ylm1DMqRUDcOQO4CH9yM99yFX37IdnT+DP0DLLbHlN6Y4u/Mm/dsa+vKceh ppVI1S3u4d8QNBeSj/1+8uOVRZw32q0VLgt0XaYKciBzkITFtENifYYOYy6u4Y5m+O ckHXi+pahuecg1qPKNYfQ4L1CZZMfnJwoPUMNmI/aYsMvDe+XkjztIvdRkSn3xW8tY jWghPkGVTGgHzaAEa7EojnZ/mvE+9I7KKuBPTu31b/+ms5BJyeu0GRw5yMEe8KdM8D FsYuO4h5I1Umg== Subject: Re: [PATCH 1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks To: Adam Ford , u-boot@lists.denx.de Cc: biju.das.jz@bp.renesas.com References: <20210824164314.70779-1-aford173@gmail.com> From: Marek Vasut Message-ID: <4567dbcd-d57e-0fb1-d8f5-034a7e699996@denx.de> Date: Tue, 24 Aug 2021 20:02:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210824164314.70779-1-aford173@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US 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 8/24/21 6:43 PM, Adam Ford wrote: > There are two versaclock programmable clock chips used to provide > reference clocks for both USB and Ethernet. Enable the driver > in the configs to run these clocks. > > Signed-off-by: Adam Ford > > diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig > index 7ba4ac05f5..002b91176f 100644 > --- a/configs/r8a774a1_beacon_defconfig > +++ b/configs/r8a774a1_beacon_defconfig > @@ -39,7 +39,9 @@ CONFIG_VERSION_VARIABLE=y > CONFIG_REGMAP=y > CONFIG_SYSCON=y > CONFIG_CLK=y > +CONFIG_CLK_CCF=y > CONFIG_CLK_RENESAS=y > +CONFIG_CLK_VERSACLOCK=y There is a lot of duplication here, look into arch/arm/mach-rmobile/Kconfig.64 and for TARGET_BEACON_RZG2M (where are the others?) add "select CLK_VERSACLOCK" . You can also fix it up and add whatever other mandatory config options should be enabled for that platform. And then you reduce the defconfig too.