From patchwork Tue May 26 03:32:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wang X-Patchwork-Id: 1228 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DB3CD3F08B for ; Tue, 26 May 2020 05:32:59 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id s7sf1602163plp.13 for ; Mon, 25 May 2020 20:32:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590463978; cv=pass; d=google.com; s=arc-20160816; b=x3lFnSH5nuzBny/pdU1L0Moj3y+wm18JtDghq/HZhH+VRo3ycIRv6xdfghUAy9rKUG Qc+eOYty+cHVQl1lXi3Ka/b/K+eVvQF1O8rI48chMfkiT0rQf8QDS+xWqsVUczHQkG8C fjTH430M8YsLSQbWFBcsrtkvjaJaAugmGI5jJ6vv2IwHbZ42WBOcamy5waEunomr/Evj S1QlOVy4wI6qqxiRYBsdGPHOPhAOLR4H8SsiIyc4Gf3hUD73rT+ehxUEqe5TorUTeoMK q/Ssv7fhalMZha4CwO+Hb8Gdlu5e3mTIHRnxI3Ju+kkhZdDXz3OQerzk2L2+cbp6qu2h 0GkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:sender:dkim-signature; bh=ioUW2axSrtd5PfJ6HMRh5+JRUPh5U/qAl/1bbZ8E1AM=; b=Au8tmXYWOKhWGPa/bCqo34Y0bQSA9sSOX2JPQD3hj2hRSc3QkMHzU0Q3mCfRLv1Mvn +pCviZpk0Vnq2TXbviJeGl5w0t3x33r2k+yAuFTO+UFV7pQ5xL3Zj045aMtrmtERkN/B mGeCDAIFsnUxcbzKwlfXvPYTkLMv/bucvT0cK3U71yyR9cHUcLMie3d+F9SsETen5LhH 3suzJAlYr8Pu5LO1YfOIvOWo1BpWZIihHLumJL0fMl2HcDF6r+z7TRMKlR+0h6hGIPWd 3cKr4Cjm3nZMZA/+pL+u3cmux3ZlGJ5YsabRgMPCDgeNfb2d4BpzFr47c4hY2yL39a6v NfCg== ARC-Authentication-Results: i=2; mx.google.com; spf=pass (google.com: domain of frank.wang@rock-chips.com designates 211.157.147.131 as permitted sender) smtp.mailfrom=frank.wang@rock-chips.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=ioUW2axSrtd5PfJ6HMRh5+JRUPh5U/qAl/1bbZ8E1AM=; b=YaFAgv/3nifkzIyxQ6LClnePsqlSwmXeRaGFDTjWu7otjVVTrLT5btLB/mz3KgdIch ulm/KSJfjqqSzGVxcvqnMeK14o/+yHR3GWmLanI1L/q2AoGju6Db69+Ycix4WbBUhEBI gPxTvRY6bTj76q+QOEEkJGX5Ew9sca1QbNrEk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=ioUW2axSrtd5PfJ6HMRh5+JRUPh5U/qAl/1bbZ8E1AM=; b=b9fLB6y254YoTMkY+oLVL842411OPt6XyWrjfw1wOH9gx+j0VH8a9XGlBYyT7YeKLv 7NUCHPyZbv65qFGJ2VGWf2oua4hcNadLc/3ZxZL1CICnOV67mFg09aCOf3/rC7XgenDC J2of4LngtOHnJFVlgNEij26gXT8Ta3qKW3M8H5i/Pb3ku9TQ/tG1uD+5R8M9Vr0aSozS 6ORuQvqmlE408qK8b6+dmGJhVMpGRfLXcTtQPXFrDRLrxjOdQ1jmuTN0cRGtnonpAd8z eveCnoGofb77aRSnVFEPWXNh/0hwACk1qmG9fYHutfYUrCVDOi/EGxxT96oY7iZs4RM+ S5qQ== Sender: linux-amarula@amarulasolutions.com X-Gm-Message-State: AOAM532QSURL5jShyumCkJ058YVaqti9m0lZZt1MNFFHgRD5vc4qoYJ/ 2r1As7Q71Qn8ifXMKa9WeZMPffH/ X-Google-Smtp-Source: ABdhPJzQvG+fpYvbNkA2GIcnrnLs5kVKIG00n7LTl0TDhdHrUchk1lIKyt/qqacMR1Xz3TWL5zWwiQ== X-Received: by 2002:a17:90a:4802:: with SMTP id a2mr24893021pjh.66.1590463977952; Mon, 25 May 2020 20:32:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:7298:: with SMTP id d24ls4412400pll.5.gmail; Mon, 25 May 2020 20:32:57 -0700 (PDT) X-Received: by 2002:a17:90a:a62:: with SMTP id o89mr24410000pjo.217.1590463977335; Mon, 25 May 2020 20:32:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590463977; cv=none; d=google.com; s=arc-20160816; b=NKpo9XWsE2WDiUVbVXDiLHavpQZu97WUTVthZcBNEyK4mWjl4bvpwLCZLlstS7jgcE TgKYaffeTfe1p9L/WZnu4v426d+fQr6CjqE9pnoDPHkMd8VYU49Cke+hhB/ONxk7FMkc RWF4UmyimoYCFyx4/0a08FhCKa1HjtWffKCp+qAmfVzcutFANfLyR9enQS3uIUPUtRJX Fgi54pNEmsxRSqcF+Uo9BCegmTIHha4JNn5fe05XLSj0p9gv7rtVRPsGh8pxBSacHst6 bc8MroVBRG8UoCVkOdmKoKoNsF5POSxbCmJ09uuLfkEi+md5kaRd5bJGKt+19Yapk4J1 qsrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from; bh=O0uYliqwYN+S2uYsZ9mnQm48TqltndKmSLlrsH1j/lc=; b=SfA9bCPyorupfrID9mqT9e9hF3Pjb5bKSUVusME+xx1npInorBFyCcF4kdY1sZN64P o1ZUKcPvDRFKJK6oECG0fEL8Ucjl4ifXSlvUXhLE4k5KKUmyU77/dOIhrOSHIr/mJMvm STfY2Y5POFzSdyABVhzvUlGbWhrN4dmTJGsl+bjbpv9iH27SDihkblbA3IplNR7KHRjT iRfo6zML921ZuhYz4ZE5DTB4q/b6hUowNIQRb3NUZVc5JNObDO+V3CUMzgWTbHW7VQ7X zyoEpewWN8Gm6q7dDSyQSRfPcH9Kv0Y41OvKZ6J/ZsB46K5V90n300fSwxHHSX8UaGpE m/vw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of frank.wang@rock-chips.com designates 211.157.147.131 as permitted sender) smtp.mailfrom=frank.wang@rock-chips.com Received: from lucky1.263xmail.com (lucky1.263xmail.com. [211.157.147.131]) by mx.google.com with ESMTPS id h19si15442850pjt.149.2020.05.25.20.32.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 May 2020 20:32:57 -0700 (PDT) Received-SPF: pass (google.com: domain of frank.wang@rock-chips.com designates 211.157.147.131 as permitted sender) client-ip=211.157.147.131; Received: from localhost (unknown [192.168.167.8]) by lucky1.263xmail.com (Postfix) with ESMTP id 09548A72C9; Tue, 26 May 2020 11:32:25 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-ABS-CHECKED: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P21206T140696379496192S1590463941416434_; Tue, 26 May 2020 11:32:24 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <510c3d685bf73d271eda1519850485d4> X-RL-SENDER: frank.wang@rock-chips.com X-SENDER: wmc@rock-chips.com X-LOGIN-NAME: frank.wang@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 X-System-Flag: 0 From: Frank Wang To: heiko@sntech.de, marex@denx.de, bmeng.cn@gmail.com, philipp.tomsich@theobroma-systems.com, klaus.goger@theobroma-systems.com, jagan@amarulasolutions.com, sjg@chromium.org, kever.yang@rock-chips.com Cc: u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, marek.belisko@gmail.com, william.wu@rock-chips.com, jianing.ren@rock-chips.com, chenjh@rock-chips.com, wmc@rock-chips.com Subject: [PATCH v6 02/16] clk: rk3399: Set empty for TCPHY assigned-clocks Date: Tue, 26 May 2020 11:32:06 +0800 Message-Id: <20200526033220.20047-3-frank.wang@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200526033220.20047-1-frank.wang@rock-chips.com> References: <20200526033220.20047-1-frank.wang@rock-chips.com> X-Original-Sender: frank.wang@rock-chips.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of frank.wang@rock-chips.com designates 211.157.147.131 as permitted sender) smtp.mailfrom=frank.wang@rock-chips.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Jagan Teki Due to v5.7-rc1 sync the SD controller nodes in rk3399.dtsi have SCLK_UPHY0_TCPDCORE, SCLK_UPHY1_TCPDCORE assigned-clocks which are usually required for Linux and don't require to handle them in U-Boot. assigned-clocks = <&cru SCLK_UPHY0_TCPDCORE>; assigned-clocks = <&cru SCLK_UPHY1_TCPDCORE>; So, mark them as empty in clock otherwise device probe on those typec phy driver would fail. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- drivers/clk/rockchip/clk_rk3399.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c index b53f2f984e..98fc6a3267 100644 --- a/drivers/clk/rockchip/clk_rk3399.c +++ b/drivers/clk/rockchip/clk_rk3399.c @@ -997,6 +997,8 @@ static ulong rk3399_clk_set_rate(struct clk *clk, ulong rate) case ACLK_VOP1: case HCLK_VOP1: case HCLK_SD: + case SCLK_UPHY0_TCPDCORE: + case SCLK_UPHY1_TCPDCORE: /** * assigned-clocks handling won't require for vopl, so * return 0 to satisfy clk_set_defaults during device probe.