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 EFD97C7EE24 for ; Fri, 2 Jun 2023 15:28:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4A284863CA; Fri, 2 Jun 2023 17:27:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="kMEJD5XU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 627F3863B0; Fri, 2 Jun 2023 17:27:28 +0200 (CEST) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (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 12F2D863CA for ; Fri, 2 Jun 2023 17:27:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@amarulasolutions.com Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-652d76be8c2so1031200b3a.3 for ; Fri, 02 Jun 2023 08:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685719643; x=1688311643; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+M48AIe8sSCNBevOvSp40wKr9DIBMraxxBuNltGYBmc=; b=kMEJD5XUtYqsaoWEYHicFjXnwZ5/knrAI7IoK3TrZW0pBbIAfGzX2u2uiSh2ekljhR yaUTQRoHRq+sMEfVKRT3oYdqL0ifTWJUhkPq+ASF3ddG/vqZ4VOC4yfghlxv2b/ABmCw O0wM7EmDpHLGjtukVnZcCunBz9q6zi3Ch9+QA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719643; x=1688311643; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+M48AIe8sSCNBevOvSp40wKr9DIBMraxxBuNltGYBmc=; b=dqKmJku8ZlDgfJUA2+LP8I6apvOG0yVrHAg087HYPaqFAuoZdKua+gO0nmeG1QzRJn jS7YPg3bEqq3fwWpli+2E3y+fCrfFzFSO04YnrhGvxMetObPFrFKPomPGukx5mGfdKJ0 8d/IMIK/xqMdjYTyNMABw4tT4aF04jJOlSqp29a+fHUiFbvq36f+2abWGSj+YR5eSTan 6TrEu9711XCRyQWBowAJkjIxOUCf6eJg9QwQfKNjc1tNu7gZgeQg1lOI9WdnkTKILPHQ 4FRWnCHKE/ZRr1PLQ/KlsuWJ4melkAEQFaXWSuwvxvImaFppjRF2npvNwmOSoX0SmQuy 160w== X-Gm-Message-State: AC+VfDzmr2QC5EiNqG+mQRkVT2wfnu5VlUI3+3+iWb30EKsJuvHUZaDs uHUTTsXITRp9ZTX+bn9E6Mw+pg== X-Google-Smtp-Source: ACHHUZ4Pf2JKXfaxDs0cx4rRi+76Cwbk+ejHwXobFaVW0EwG7HhrtPKJ1d9a00lWQe09nG5AElXrgg== X-Received: by 2002:a05:6a21:3884:b0:10e:d3a0:cddf with SMTP id yj4-20020a056a21388400b0010ed3a0cddfmr10584617pzb.12.1685719643446; Fri, 02 Jun 2023 08:27:23 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:2003:4e14:c7e6:b770:ced9:e760]) by smtp.gmail.com with ESMTPSA id l3-20020a62be03000000b0063afb08afeesm1154124pff.67.2023.06.02.08.27.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:27:22 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Jonas Karlman , u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Lukasz Majewski , Sean Anderson Subject: [PATCH 6/7] clk: rockchip: rk3328: Return zero for USB480M clocks Date: Fri, 2 Jun 2023 20:56:30 +0530 Message-Id: <20230602152631.106887-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230602152631.106887-1-jagan@amarulasolutions.com> References: <20230602152631.106887-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.8 at phobos.denx.de X-Virus-Status: Clean RK3328 u2phy has assigned-clock-rates on USB480M, return zero for them since the default rates will work fine. Cc: Lukasz Majewski Cc: Sean Anderson Signed-off-by: Jagan Teki --- drivers/clk/rockchip/clk_rk3328.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk_rk3328.c b/drivers/clk/rockchip/clk_rk3328.c index 969b7a8581..0e9b506890 100644 --- a/drivers/clk/rockchip/clk_rk3328.c +++ b/drivers/clk/rockchip/clk_rk3328.c @@ -681,6 +681,7 @@ static ulong rk3328_clk_set_rate(struct clk *clk, ulong rate) case ACLK_GMAC: case PCLK_GMAC: case SCLK_USB3OTG_SUSPEND: + case USB480M: return 0; default: return -ENOENT; -- 2.25.1