From patchwork Wed May 13 07:13:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wang X-Patchwork-Id: 1185 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E581B3F03F for ; Wed, 13 May 2020 09:13:56 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id g9sf12099624plm.1 for ; Wed, 13 May 2020 00:13:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589354034; cv=pass; d=google.com; s=arc-20160816; b=cDhz8tov3FW10vqfYGX5stM+x+ESJJmKTbuZpK31cKU4ODqL2yiwDdu7rPQyrLRgRE 1wrGjMeSCtUEVr3fVbzjrnbBmsL61oTcxa1/SOwjLhKNW66YA4O3k122OVInhKoxMH3e AEijIMeDjVv1ZTuAt4/Z08MMHoZtG3nAqmBfEt2L+xjUeajRIPIFoCu6FSBlhvruAgte 6zifRN9VQL5fZy2NxQ7Nd4cPo5FAELq3q7QcO6ptqb6eVgUMuJJhJcFfxKoECnplrq3k 6Xfg6ZB1XF8yr4sz0r/vZbtin21AuK6EfTAVta1RvAqCLteSOeOHTvxxGlLXWjUmGpMa 1g7w== 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=HTHTSp3kgPWzlIkp+cyyUThZtM0ivwEGXl3+152HevFz/lRiitDZplCwADiAaOlzss o+nAIT43cfEXZfFyzdENOoC1oT5Y2Mp3xzLKY5W62C4VFmS0YloKzXnq02chsR6UIZhg qDmUo4LPvTOaeRcA7thE/u1GpAKa3avn00nYjgdsV1Yp0KgSI2/uFo2Syv6cImpmHttL JAqNc+VAtia2+QCFk+Y2Kc/J3AA59aMWxtqs2L/gIsw76MfUunf4hiNeqRxL7vcS2aEb SGGuw2C4xvfkei/IbPA8cfQBgV9BTuooBOz+kBpN8XL+5oandMmrHzxbO+T8K1SZZ4KC P29g== 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=YedkSHS3njE3KK/0TDbbt6LsNzfhh2v2zFSsl0IUyjNXcPiyZTCEbd5UTlYx7xoBgg dzJ7t38dcKRP7e4NAAhyh6+9+VbQJ3W3e+2A4WTtW9Q3dp26K+O7BXiCa5dCnjQplKZA btQwc8GRz1E82fWB4DTrmmbt64ovD6hQ3UzLs= 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=KeZATSvJPfm6b7PzoX08CJL1n77yOkfzQghhqZGhK2V0BuNkH4dw40/8q+PoC1uwJ5 5LEL8UbkJAsc2ThmgROutUX1SghgVs9IXINwH3OBjf6gdtP8lNen33OnMX93dn//5lTl z6qLnsvdTfGjBXyoPj/zW+3bE7W54KWjiTX3U9ZP5Vz44VCmfsoypNcTkpB/ztcQgyK5 JEJ2wxZnjE2D/7zFzJ2++CgqQBKIIKk9uj9MANBodtRXDL3gn2GpaTwACA9bPftVVuiL tZBYaIrekzLYb/HdDmhdnHtSgMOkXGidCFvzRjsYDe8sALcMLVnP5ohI0NTj3I9NBCEG Jd1A== Sender: linux-amarula@amarulasolutions.com X-Gm-Message-State: AGi0PubcTwP7GHVNL63F1BwN+fkvF0AZAgi62NZo/t4vTiXvzeErz7di nlZToY8BFgp2k2IKaVt9vcRNl7fH X-Google-Smtp-Source: APiQypKDQIrYg18jVDRvy+gr5Xia3rAJWAOGM8vPOC51jdTVrAOAePgY4TXe+cbTDxtre2dO+uFEgw== X-Received: by 2002:a62:1ccb:: with SMTP id c194mr23827166pfc.325.1589354034655; Wed, 13 May 2020 00:13:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:1657:: with SMTP id 84ls463419pfw.7.gmail; Wed, 13 May 2020 00:13:54 -0700 (PDT) X-Received: by 2002:a65:62d5:: with SMTP id m21mr22411531pgv.75.1589354034195; Wed, 13 May 2020 00:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589354034; cv=none; d=google.com; s=arc-20160816; b=a7lBMf89xozQaNnD2eqzk13XVPwgUYq47bCPuZnkLZd8eHGhryV478o446npHFPk0F M1EIsS5S/DL2wrYFeJitroCb1/7rP51z4rLrB0F/PG8LlpA0Spmj8fHFS2Afg0BIIEo1 kNqaGD7x95RDz+/KZYg64NEqaIJNi9C0XQhmg2ibTbMdVO8l6PUc3bPldoKmM+ufM2bT OMOm6QSlJPHCzumDhFFBCU2QdcXzeVnXCmmBsi0pDEV3ZXzUBhv1rCnpyqltqiO2HNS4 7Gf7SWBjmYvrhU9WQaJgDKxXvZVn3OP/Plsz5WPadFMDKsz6wZF0+2Td/0e7UuWMll5/ kZHg== 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=GmdR7S/ynree0uxDDs35Gv1St8fNJ5zTcBNmlu57CvzSUdjmuYFMTKEiZ/LADEDxVh Yea35VNRfOfxAU51QaEfZOfcNyrAwEXhgtRY0mIHrIBoH52Eta1qZ5zizUdhRody9wE0 M7GlXQnkMLLEOGcc4c0Njyyr07Ns86iGrrKXdfwA4UAb08v/2fKKNdpKW38N0lafz4qU u1J9AcSNeGVSBAwlE0EyizA+EOrWocrWBBOgyBJ/5bpQmxdHRg+1kzO6+vY0MbQTiJvV BnqGaHls0/Xoi1y32PtA7gekvDrT5qp8J+bIosRs9/angRDBKn6ZoqGnPlcUbKcCKzRe CpPQ== 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 31si8168988pgq.580.2020.05.13.00.13.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2020 00:13:54 -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.32]) by lucky1.263xmail.com (Postfix) with ESMTP id 45DBF82BEB; Wed, 13 May 2020 15:13:52 +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 P33519T140426061264640S1589354025823852_; Wed, 13 May 2020 15:13:49 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <893927603098aef32c501ab97553f5ae> 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 v5 02/16] clk: rk3399: Set empty for TCPHY assigned-clocks Date: Wed, 13 May 2020 15:13:30 +0800 Message-Id: <20200513071344.5430-3-frank.wang@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200513071344.5430-1-frank.wang@rock-chips.com> References: <20200513071344.5430-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 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.