Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id AB393C38142 for ; Sat, 21 Jan 2023 20:55:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 217B385477; Sat, 21 Jan 2023 21:55:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KrqdmB68"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2FBFA85203; Sat, 21 Jan 2023 21:55:53 +0100 (CET) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A020185477 for ; Sat, 21 Jan 2023 21:55:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qt1-x830.google.com with SMTP id j9so6901985qtv.4 for ; Sat, 21 Jan 2023 12:55:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9jpkjRbSnl1nPrUcTySZcNZRwpFWpX08h7RAcCi9czw=; b=KrqdmB68oD646mtyrgC5Oyn/eOCRpxiEstHAYSBfvj5Z66zIa1IfT1zuTrtvZ/ZWPt mEBTP6pwbrwWngzmodF2/9egdy29Ta4B1nqHVb54x/OQ3alUAm01cNAIC+hceFVuAzzZ gCd2r6P64t/7fRQUyQktCnrdAtz0PLwUYIpRvhQkkQRJiZDDQuXQx27YhBssk3EUpHRk 13eAnDLBt1VOxVgGBEgML04v610sDcScA2N5IYjSvN9v5vtHpUZduTqPFvzvWI1stHnY C8PzKjS6vyYew22I2AMvQiGWwIT3ZJO4EFMvGvSh1Bh0x0Riurk6+/DMAe3KXFz4SxqI tLwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9jpkjRbSnl1nPrUcTySZcNZRwpFWpX08h7RAcCi9czw=; b=b6DMoD1Q0VgPYVDkSgHFmfwnGinQ6oXYImhjtf3+pAZlDFwsv+eRqCbNf8ZPwgpxgk +kfECtM1AlKelesK+Bh3pL6alb/IXxxSRH4tVppGKgIFiBEEKLld6a9cuhwfoU01sN8V sufBsiQdi0LmwU83f8DK+BSYAdR21/ktp301B+ngyhDTMFmhCHkigm3vHdYjJjediUxP ld+pnwBxuF0oQVNNgvtJh8mDBBiX4HNecl/mDS+WYzhAsLMNTn5JVHPN2iLuud9TU4TI 4Z2gcXI4v17QudknxjR7opcxeCkSjrYYrAeeWdNgIQLtmgm5/mWiKQQkqkg/blKJgthk CGTw== X-Gm-Message-State: AFqh2kqsuQ4eLIsok0NB79w87wN2nshhTM2CR2dh1P0g8ByUV1Aczkn1 /b82SoMXbvE/RYZ/aXKrA+g= X-Google-Smtp-Source: AMrXdXuGIPpLcSyd3HbAQbfkC5asZqwINc1++UigQtBQI+wn+sy0CN2PqnptlLD3BMSJaMWdsBcI9w== X-Received: by 2002:ac8:7450:0:b0:3b6:320f:7580 with SMTP id h16-20020ac87450000000b003b6320f7580mr32443075qtr.17.1674334548325; Sat, 21 Jan 2023 12:55:48 -0800 (PST) Received: from [192.168.1.201] (pool-173-73-95-180.washdc.fios.verizon.net. [173.73.95.180]) by smtp.gmail.com with ESMTPSA id u24-20020a37ab18000000b006f9c2be0b4bsm12387948qke.135.2023.01.21.12.55.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Jan 2023 12:55:47 -0800 (PST) Message-ID: Date: Sat, 21 Jan 2023 15:55:46 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 0/5] Support the required clocks to enable USB on SAM9X60 Content-Language: en-US To: Sergiu Moga , durai.manickamkr@microchip.com, eugen.hristev@microchip.com, sandeep.sheriker@microchip.com, lukma@denx.de, claudiu.beznea@microchip.com, peng.fan@nxp.com, mihai.sain@microchip.com, marex@denx.de Cc: u-boot@lists.denx.de References: <20221223123313.362676-1-sergiu.moga@microchip.com> From: Sean Anderson In-Reply-To: <20221223123313.362676-1-sergiu.moga@microchip.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean On 12/23/22 07:33, Sergiu Moga wrote: > This patch series originates from a bigger patch series: > https://lists.denx.de/pipermail/u-boot/2022-December/502865.html > > A driver for clock operations on SAM9X60's USB clock has been added as > well as its registration on CCF. In order for USB to work properly, the > UPLL and USBCK need an initial frequency before probing the OHCI/EHCI > driver. Furthermore enable this driver in the defconfigs. > > Claudiu Beznea (1): > clk: at91: pmc: export clock setup to pmc > > Sergiu Moga (4): > clk: at91: Add support for sam9x60 USB clock > clk: at91: sam9x60: Register the required clocks for USB > clk: at91: sam9x60: Add initial setup of UPLL and USBCK rates > configs: at91: sam9x60: Add required configs for the USB clock > > configs/sam9x60_curiosity_mmc_defconfig | 1 + > configs/sam9x60ek_mmc_defconfig | 1 + > configs/sam9x60ek_nandflash_defconfig | 1 + > configs/sam9x60ek_qspiflash_defconfig | 1 + > drivers/clk/at91/Kconfig | 7 ++ > drivers/clk/at91/Makefile | 1 + > drivers/clk/at91/clk-sam9x60-usb.c | 157 ++++++++++++++++++++++++ > drivers/clk/at91/pmc.c | 42 +++++++ > drivers/clk/at91/pmc.h | 27 ++++ > drivers/clk/at91/sam9x60.c | 63 ++++++++++ > drivers/clk/at91/sama7g5.c | 48 +------- > 11 files changed, 307 insertions(+), 42 deletions(-) > create mode 100644 drivers/clk/at91/clk-sam9x60-usb.c > Failing CI pipeline: https://source.denx.de/u-boot/custodians/u-boot-clk/-/jobs/559107 arm-linux-gnueabi-ld.bfd: drivers/clk/at91/sam9x60.o: in function `sam9x60_clk_probe': drivers/clk/at91/sam9x60.c:595: undefined reference to `sam9x60_clk_register_usb' --Sean