Message ID | 20230602152631.106887-7-jagan@amarulasolutions.com |
---|---|
State | Superseded |
Delegated to: | Kever Yang |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=kMEJD5XU; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QXn2l2PGpz20Tj for <incoming@patchwork.ozlabs.org>; Sat, 3 Jun 2023 01:28:31 +1000 (AEST) 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) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: 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_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 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 <u-boot@lists.denx.de>; 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 <u-boot@lists.denx.de>; 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 <jagan@amarulasolutions.com> To: Kever Yang <kever.yang@rock-chips.com>, Simon Glass <sjg@chromium.org>, Philipp Tomsich <philipp.tomsich@vrull.eu> Cc: Jonas Karlman <jonas@kwiboo.se>, u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com>, Lukasz Majewski <lukma@denx.de>, Sean Anderson <seanga2@gmail.com> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
rockchip: Fix RK3328 USB support
|
expand
|
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;
RK3328 u2phy has assigned-clock-rates on USB480M, return zero for them since the default rates will work fine. Cc: Lukasz Majewski <lukma@denx.de> Cc: Sean Anderson <seanga2@gmail.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- drivers/clk/rockchip/clk_rk3328.c | 1 + 1 file changed, 1 insertion(+)