From patchwork Wed May 6 07:50:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1150 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 BB5D73F1D2 for ; Wed, 6 May 2020 09:50:54 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id g9sf1200541plm.1 for ; Wed, 06 May 2020 00:50:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1588751453; cv=pass; d=google.com; s=arc-20160816; b=SjI+ejNpqqGDeCBrsKVgEsf8bAqExc3WoujWXpTOWznEA+eM/YcljTPN8c5TjrWfjN vgvH4SJkF86Muq7RTW4DW0MRbN3l6e4749JZg1VUVrY8xqyWPOmW7i6rvOptyql+Wvf6 pa+IWI+EvvNw9TTdTjKK0WPET4QgZUEoSFf6/Fd/2vb/88u2+9OGOuYr6tRMByoHI1NO Aq6ciCTI0yb3RCPEw3VR1XT2FTrMI+fMQGQFQZ0hdB+lJTMs9ErBCaBTZYAGwA4twh47 5Zwe4nzrJxeSE0SSgEbBUVq9IQdHeaVTPLNKAK9x8pY/KgvmbksoSUx8EogwOmX35fkU qdrA== 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:dkim-signature; bh=H1vwFTYH8+e9hqblTobeItw+YmVeZMJNsG5N/xawR7w=; b=OW9UZNsXKJiSjtFUMUQVN4rZMr1UKwO1qUq/s1V/j5LmV25JatKQRGImUoIwHUkxoP 6gOHVj3+0o7tzh3g2S23vfDlOee3ZxyjkRCTllmfCXXZ7g8VMFUR5c/GnsEbl9L+YZpA IjJ7PCFH/Ac6rAX7YbXY4I4C2Y+7b9wKaYZ06osaZ9tNj+7Fmb0oxsmkWZMjfqKXx9Hx U7xOKrOAphkAg6b+XgoFHIUs/2keQXGNwfperI79GSc+LA1rLNeabLdLnARqt5N4QA2w uHt8YSN3hKBg7JwLOeBjgZUP+TgGPv6sv7XI0QhLpCi+0kH3YxktvFYQ7bcbLlEjqnLT xeZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="FrA/H7Y9"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=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=H1vwFTYH8+e9hqblTobeItw+YmVeZMJNsG5N/xawR7w=; b=qgk/WDs25W7k+bu/jXG4un3m4omYVXtBrC0YS+RN+AtI7Rq37rWbAbl+19pqHPknze e71VeWCyffbjttPhjw+7l7iSan/CKivNX8RUVhrYDQQDF2Vu8pJdpijFirrWSWOcVFs9 k/6JQ6kxZmiq6AtugG6sTPcnn4JKp3T3CbbbI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=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=H1vwFTYH8+e9hqblTobeItw+YmVeZMJNsG5N/xawR7w=; b=evz/XXY9M1XaYkLvdPo0kD3D9uvB3kSeBoFmdKA+xIuYnsRh8nbsoRHKCr3KCb0O4e +fk7GVHjcPt3wyRVRGHF8I4xz50epLOk0K+6cDX8viLz2uOIqvyv2HcJiAM19lj5owj7 HfNq80OLxMTvRfTgS9j7lpBAfiIYKqDtUnMOXYe8udAnhSF11SIHjGbpDhMoXAj8Wern pWbYsN3uRX/dl9EECriCnBHT8yu/I/RDVUH7URw3r0A614E1bPas3KM7/Cl+VJN/LbdM 4jrlb6zEtj9r+kH7SUNRyok5BkMeqt2yGqaFNEjLEN5nxWGWbxOnexLpARj0QZ0Yqpga vXiw== X-Gm-Message-State: AGi0PuYqHxp9igxxUUCwocY8mo1HkcPCKhK8wadRLj9PEm6oprJ4BuMv O6zluTxCcCuFc1FjGMOQTtl79OYP X-Google-Smtp-Source: APiQypLWQSsjnH6XBPi94Kd5hJq01bOvPV5WuDDVwik4FYZPJz9yraCOUFIo55xnwolIataumTjmDg== X-Received: by 2002:a62:25c6:: with SMTP id l189mr7117981pfl.28.1588751453047; Wed, 06 May 2020 00:50:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:3543:: with SMTP id lt3ls2647902pjb.3.gmail; Wed, 06 May 2020 00:50:52 -0700 (PDT) X-Received: by 2002:a17:902:9a8a:: with SMTP id w10mr6911299plp.259.1588751452616; Wed, 06 May 2020 00:50:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588751452; cv=none; d=google.com; s=arc-20160816; b=hComKr5unoAAtvLcvhyr1nGF5bQ2lQIGSdHZLMtKFl0D7RZ2qAGxF8To42tu3T3dgY +knxFSN9wX1AGshQGxr0AgqJA0DF4NmCOVcm2Z15H5eblek/b6sEBtufQdYmrsUT4ez+ bo7OfmYBCCJtAfoMdkcmp7Vhh5Pne2AjZrSW6sTx9J/lNJBMBI3/zHZmM/u0N/H4XnMr DH8dzcWtMuAWYrogAZQzYAM90eiLvTiFfm0NLCRORdwaCN35AffV+MolzhEyKlpOK1PS m9C6dnzNC82LUJcG4ahIyFOZpu3jizL8WNNMI5urVSnJmbP/jyQ7adEzHt+Evc9G0VU2 YswQ== 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 :dkim-signature; bh=paY+YkRuYb6W0hB7a23R4UOoM/sR3R+9HnDYwp25OD4=; b=oYabbpv+SevZoECN2ob78fxkowse9r09KunAvknOuLt5QOIOTdYPywYvQOPYzTWt2m hObHUV4NH4plBiCm/AHR3hLgT8gcV3SAGuhPXnZfcx1jKdeZO4O0yNzIbRN7S3PNjt0b UAKtHOQuNtGXfHIJtSDb2DJk+AOOw7x7sk/a8bA9vcI4dXXh21SbYGdqJONTZphl+QH+ EXzb5ASGCxHNl2TMpzFyD4Ix7IgMTbuwbKb23tliEIKEFe/0TmhHDd0OYciSmKVkWgDA 5rdD5jcIkkkhS6oBJg7nNX2bomaQu0a8/M7/mCyWh9NcpWOne2JI2jqdG5BqmhYERlpC W1YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="FrA/H7Y9"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id q12sor1386401pgh.55.2020.05.06.00.50.52 for (Google Transport Security); Wed, 06 May 2020 00:50:52 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:6e8a:: with SMTP id j132mr5261850pgc.301.1588751452324; Wed, 06 May 2020 00:50:52 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:c598:8eeb:af7:7f36]) by smtp.gmail.com with ESMTPSA id y186sm1011133pfy.66.2020.05.06.00.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 May 2020 00:50:51 -0700 (PDT) From: Jagan Teki To: kever.yang@rock-chips.com, philipp.tomsich@theobroma-systems.com, Simon Glass , Frank Wang , wmc@rock-chips.com, chenjh@rock-chips.com, heiko@sntech.de Cc: u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, Belisko Marek , linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 2/7] clk: rk3399: Set empty for TCPHY assigned-clocks Date: Wed, 6 May 2020 13:20:20 +0530 Message-Id: <20200506075025.1677-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200506075025.1677-1-jagan@amarulasolutions.com> References: <20200506075025.1677-1-jagan@amarulasolutions.com> X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="FrA/H7Y9"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.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: , 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 --- Changes for v2: - new patch 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 b1c89ea127..4d48f70685 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.