Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp871792pxr; Mon, 11 Apr 2022 09:11:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4ohNShA1PjLs/fXawbxXxoQ9GqBxDN1jGQGBop/Ae+T9rXbMXrXYeD7nZw1BmFtCDB/rR X-Received: by 2002:a05:6402:10d5:b0:408:f881:f0f3 with SMTP id p21-20020a05640210d500b00408f881f0f3mr33919360edu.112.1649693473060; Mon, 11 Apr 2022 09:11:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649693473; cv=none; d=google.com; s=arc-20160816; b=ac9ztyi75zLGF1W04Su/r2myTuhs9izr0CZ4YfWlZjcAe+5UXxPAjPN03KxPAW2JkU gAVH7gJAEPHdygRy5slj/nceKBb3ZH/u8vg6ZjsxixmCqlSv6nHEqevES4fodVM5x/ME f1Ej3rC4i8gI+PFL/x+0pHw3/KHZ52UqqZhiTZD+Vc4QR0JQTcE2mwt9tCMpfJ1Nmqx5 amQ4Fz86QMbY6lDT1dzNxKCRnAaayQ6fiw8d9Pv315wAnE46DRm3Cdv5VpYKEkJ9SJIL buh4Hy1fHf7gIiNZymhNwZwhnTrODA3hmBY9msKsfrSIYFEXmxF0gdaGPdQ3M5VZ+Zok EhKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Npwd1NR+2YSvNNjvX+QNw1tjWOx5Q1TUzlNzWzha29g=; b=nzs3kv2dm5ehdhLcR7Sty1DLyT1wPd8W0gIwTQnxPN5FtZG4Kc0cHJZ/HQszv0lEAz W4Z6O2c2Vto9nII9WchlSYVAAAJFH2xbg4Va1eM7Ocvw+mMaL+DexhBmBOcNKsdXKRb5 cQqYGPpmoI7FhX9BTszbjvrt5GF9WFKz1AbMZb8mS7Vfz+XM6a7bnnx0BW2H0gUXTws2 w549VklX5rtwp4K6sUWioX6s1ZG4y6Otuxl2zzn7aCPWgNS+oklimWrq+flrYBfetNln bjIxixdYSDfMR5GcXs/TGSxQEsLquILs+i1Zg1hydqlBNN2kyCadiNqM2yyGs6jMs6VY m4Pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m20-20020a1709062ad400b006dfd2b1e251si6395996eje.578.2022.04.11.09.10.46; Mon, 11 Apr 2022 09:11:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243261AbiDJQzn (ORCPT + 99 others); Sun, 10 Apr 2022 12:55:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240762AbiDJQzj (ORCPT ); Sun, 10 Apr 2022 12:55:39 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A019E4B436; Sun, 10 Apr 2022 09:53:26 -0700 (PDT) Received: from p508fdda7.dip0.t-ipconnect.de ([80.143.221.167] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndaoQ-0006ci-8W; Sun, 10 Apr 2022 18:53:18 +0200 From: Heiko Stuebner To: Frank Wunderlich , Peter Geis Cc: Dan Johansen , Frank Wunderlich , "open list:ARM/Rockchip SoC..." , Rob Herring , Krzysztof Kozlowski , Michael Riesch , devicetree , arm-mail-list , Linux Kernel Mailing List Subject: Re: [PATCH] arm64: dts: rockchip: Fix clocks for rk356x usb Date: Sun, 10 Apr 2022 18:53:17 +0200 Message-ID: <10062144.nUPlyArG6x@phil> In-Reply-To: References: <20220409075147.136187-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Samstag, 9. April 2022, 17:26:01 CEST schrieb Peter Geis: > On Sat, Apr 9, 2022 at 7:56 AM Frank Wunderlich wrote: > > > > Hi, > > > > so to not break the binding and other boards the right Patch should be like this > > > > +++ b/drivers/usb/dwc3/core.c > > @@ -1691,17 +1691,17 @@ static int dwc3_probe(struct platform_device *pdev) > > * Clocks are optional, but new DT platforms should support all > > * clocks as required by the DT-binding. > > */ > > - dwc->bus_clk = devm_clk_get_optional(dev, "bus_early"); > > + dwc->bus_clk = devm_clk_get_optional(dev, "bus_clk"); > > if (IS_ERR(dwc->bus_clk)) > > return dev_err_probe(dev, PTR_ERR(dwc->bus_clk), > > "could not get bus clock\n"); > > > > - dwc->ref_clk = devm_clk_get_optional(dev, "ref"); > > + dwc->ref_clk = devm_clk_get_optional(dev, "ref_clk"); > > if (IS_ERR(dwc->ref_clk)) > > return dev_err_probe(dev, PTR_ERR(dwc->ref_clk), > > "could not get ref clock\n"); > > > > - dwc->susp_clk = devm_clk_get_optional(dev, "suspend"); > > + dwc->susp_clk = devm_clk_get_optional(dev, "suspend_clk"); > > if (IS_ERR(dwc->susp_clk)) > > return dev_err_probe(dev, PTR_ERR(dwc->susp_clk), > > "could not get suspend clock\n"); > > > > but this needs fixing dts using the new clock names > > > > this is a link to the series moving from bulk_clk to named clocks: > > > > https://patchwork.kernel.org/project/linux-usb/patch/20220127200636.1456175-3-sean.anderson@seco.com/ > > > > regards Frank > > I've submitted a fix for the backwards compatibility issue. > https://patchwork.kernel.org/project/linux-rockchip/patch/20220409152116.3834354-1-pgwipeout@gmail.com/ > > This fix is standalone and necessary no matter which route we decide > to go with this series (and the rk3328/rk3399 support as well). > With this patch, dwc3 is functional on the rk356x as the series was > submitted, so if we decide to fix everything all at once, that is a > viable option. Thanks for doing that fix. As the usb-dt-series is actually following the rockchip,dwc3 binding, and "just" the driver does ignore it, I've now applied the usb series and hope for a resolution of the general problem :-) Heiko