From patchwork Mon May 11 07:53:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wang X-Patchwork-Id: 1167 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9663F3FA4F for ; Mon, 11 May 2020 09:53:38 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id q5sf7126274pgp.18 for ; Mon, 11 May 2020 00:53:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589183616; cv=pass; d=google.com; s=arc-20160816; b=s8yF3B1oNKQqb03/FxXlPG6bPbPBeDNhgdn+TLH8gerkX2FHZky3LID5UbbiBRn0nO ea+p5v7j6zOTbYNSLut2IIfUD4iW2J/5jnzWwYjPa7bsUfyugcBz2crTHZ8+w4QATNw0 VbAN+fVQp+XTg+ulrUD/+DZcjt1c+9pm/z3OcCSqLWjRkrtEdySzMxdFAXJllcTlOJfD 2jaDFWLOTFfK0y/Bop+ooYaoXNNwIRns9TziAHsPO8L2XUS2Iwqeahnxj1rHG1iWO+AJ 6H/yflBLDmS8xYgBOojaPHzW8d0Q2IO+l5USJR671aqM1EQE4EfM7lXgkt6YddBA7yq+ 67mg== 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=67DKE1tBO1oq54v2ZqLw2g4yTppIXRGgNcXeRyr1FNw=; b=bc0MprUDBNbH2/4xveOBecHTL2oiG3l8sIqSk/B/5A7kaX6ZYy0pSELN1fmv21aI21 SPPWCoumMXUYlatyK8BAq7wCg/b5ZX+/edAhoWCmZcIBnT8CmS+ujg6NdEMAE8YV5e1b xcLdZzc59H0VF5EEwTAXUlmRmvwDa6JaqcJu5FMiunwek7wKXRrtrW9ZgUlkWbcgKCY6 mEpKVeqElV22kuiSfjqzVX68bAP6LwyZCuV2JT6Sqit/IZmIIZaQGNPwYWTEmd0QrISi FsstOELjdVu3oI15U/Wto6xV9ZB+lbCyuL1iKdbL4cTky0WAttvPy8W2M85oScoF0CwA JH8g== ARC-Authentication-Results: i=2; mx.google.com; spf=pass (google.com: domain of frank.wang@rock-chips.com designates 211.157.147.135 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=67DKE1tBO1oq54v2ZqLw2g4yTppIXRGgNcXeRyr1FNw=; b=FnD+3fkQ1QIklEEZk+AnX5E3/CQIZyLNjt5utAq/+JrnyxGBS73pkn0eg41C8BslFk Lti+QmvbWe7YQ8rwq3EQDGazWmsbtQgJ3M+dAEgx3ERmAGt+R/iDc9ev6p0pBsQ2IGoj jkEfTM75PX1xbXgEYfo8H/OBsmjI+RcA4MNj4= 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=67DKE1tBO1oq54v2ZqLw2g4yTppIXRGgNcXeRyr1FNw=; b=DPzrEHeAMKRdXzYkw8AyAc2P6kUXSqqXSr+BB0fBG4u3NGn2xBAp69ED0/mFGiQ0Tn q5bWG/ug50u7+AsFHFTX5ydXSFBQAliHiIOzS7HMLP0QJrO5X4cLdZGdPFajyjSIhH2B d9mUJSGczFixp6bgyTQx2FWYTcG2pHScZ7AS+Bd9hHPpkw/xsEmfPs/2drGVlc6eEhix f4uBuI+bz7Yo7IntS6O6X7KHsmJ86F7qFJeOI5IsjKZkGqDYs7Zgswe93AxIPN9MpIrr H2DBTogTLGfyZRf5RaN9V8HKqrtgg863YQW1jGCGLOLLSrU3jVY2pChoiVb8fLD+rqWA 8PoQ== Sender: linux-amarula@amarulasolutions.com X-Gm-Message-State: AGi0PuaCf1F1Ty5f6LLvtwzvmM7Nkp0XQiwneUCS+RvRrxiVnFEGEAWE ODoLok56tZDAPFgqe4miIva9XyQL X-Google-Smtp-Source: APiQypISDcI7z7OD7n+S5o0W/5SJG/ETnEyAWgHaGa4Ez0tdzz+ZfxknP4zIILHXLH06zkV8RL2nbA== X-Received: by 2002:a17:902:694b:: with SMTP id k11mr14444228plt.59.1589183616746; Mon, 11 May 2020 00:53:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:c713:: with SMTP id o19ls16186325pjt.1.gmail; Mon, 11 May 2020 00:53:36 -0700 (PDT) X-Received: by 2002:a17:90a:4d4e:: with SMTP id l14mr20369194pjh.136.1589183616104; Mon, 11 May 2020 00:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589183616; cv=none; d=google.com; s=arc-20160816; b=T0RKOP5KeYco3ExXAIUUR8K+G0gTPzuBLn/77FpExKKG5nf36y6sJxZtSOoPvZ6kcB 4Yyqq2+C4ohmZDbAElxRhEquCPMzdArWX+N3kySNr+d5PoY5MXRbP6b1Hp/FD4EzwX6q KriiGcHhy9QLHGDk596DBikjffVbN5TZkCGLultHS63vbUdeksEiBICMuNqkwMiRKkJe Sw/HXz3g3FIfXzD+GF4CzSX/aXQ82EwE9y+whkIsmw3z+YfXsAOvbforVHL5SaDIGIUG M+1z3VW0lKEzjOmq0bBRHgZ/Cri2UiZ+P+5W7Kq4SOjpMCgnWXpd2ZdGzFGWqhqmYlhP 0OAg== 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=OZ1ETU+eldI2OY3ShbFht/7FzHTxFV+8pZqUAvGabvU=; b=aIm+EmU/gJo0O9lh70Pa6Jgj3wYFcVLukpty3R5G10jxBFneUXOplg/jO3GvPU2TTM gq3M0uZMYFwNoVowluSFh7IuBsNQ25cOWwmcYNwRTYDfa6DJjDeP3X8G5PNEM91um32O Bek5biHReuwNAeVD6v6IMrwwRWhqRiCMJfF752iCK7HfCi2waQ+gwoM86IfPMVisyS4f MIw+ensF/owOm2lZssnHJlz3zZEx2xbhXjEAM41qo51tEEh9/VxjLLogPnfCMNwpez19 0tfJzY6nCedvIBgBz1AREsS5udkS1CdVgEvNxEbnQ/XVxEzVYLz/IDzWVPX3PWhSvOw9 e4Iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of frank.wang@rock-chips.com designates 211.157.147.135 as permitted sender) smtp.mailfrom=frank.wang@rock-chips.com Received: from lucky1.263xmail.com (lucky1.263xmail.com. [211.157.147.135]) by mx.google.com with ESMTPS id z186si3651569pgz.341.2020.05.11.00.53.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2020 00:53:36 -0700 (PDT) Received-SPF: pass (google.com: domain of frank.wang@rock-chips.com designates 211.157.147.135 as permitted sender) client-ip=211.157.147.135; Received: from localhost (unknown [192.168.167.69]) by lucky1.263xmail.com (Postfix) with ESMTP id 28AF38255C; Mon, 11 May 2020 15:53:34 +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 P27329T140438906509056S1589183610459145_; Mon, 11 May 2020 15:53:33 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <95950efd630bd0b3b9e1de52904f83e3> 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 v4 02/16] clk: rk3399: Set empty for TCPHY assigned-clocks Date: Mon, 11 May 2020 15:53:16 +0800 Message-Id: <20200511075330.26462-3-frank.wang@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200511075330.26462-1-frank.wang@rock-chips.com> References: <20200511075330.26462-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.135 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 --- 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.