From patchwork Tue Apr 28 10:00:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1126 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1540A3F0CC for ; Tue, 28 Apr 2020 12:00:44 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id x76sf206654pfc.17 for ; Tue, 28 Apr 2020 03:00:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1588068043; cv=pass; d=google.com; s=arc-20160816; b=WY6dywGm5VP5PO1M73OPJezODs8xVegP59y9UoEPaXn0BKOVM0+inQLFF3tnsJtDS0 QPG/cdmzabr0/XON0nvZFEEA9v3k1uGjJE3AytY+c73bp8ER675E2WZr0W6KZC5smj4Q QP8rQIevJTvIm4O8NWAaM4GM/1OHlxf6DIwqqNJ6k1dKGIMrKRxi2riUBOZyl4bKipK9 oDrCpJw4IxNgqI6fekoYXR0l0enirtibajYVNPkMNdZK3ydpa1B7spEMDBcQXiIXI1rK Px5IFn85FAhZ+VHzB4KE2UQqkd1Y3JJVtzVUeUKD0dg/CWPwWnLq7JNgHzAN+G9wUaNF pDUw== 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=rPgf4PWauBv+qq5q8CcyGT5/nmv+lv/cewFDuREX3JM=; b=Q4JBqpmxsf5HeY9XPryjaqXtktl4sZF8P5mpkZ6WrTzYCP9HGmCNnSk2qxSPVY2Mvn pfx9f+k1Y6oTV59eEa+5Myx4HqlJorD8VK9YZKtdmehVo9iR0IHY47uysL26rM3WMc8S ns07QMn8seau5oVT4F8nxMU9iR86nT4HkmBB0GzkQW/4FJrM0bMQUurwHDqGCE3DiwX7 empgNTuUMGMKBnpE9HqoofEKWGh8g7uXDitgtOp4MD5deXL2nJ8R5wehw09zEM1p++Eo lBH3NehSblBH6X3iydKnWZX54NobwurczuzwkBbnEazH4Mr7TuY+qctABF6BPaw2MLJ/ 15WA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bcvi1ZH9; 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=rPgf4PWauBv+qq5q8CcyGT5/nmv+lv/cewFDuREX3JM=; b=G/UqfX95ofkzHs8AMNUfDLqNkZHQtS/ZTHIhLNBCaVn45Lb7oJMhMc8t0qvdrzPBeE bc9twsyJ1iOyXAdxgtIPlMmYn4C4+uMrWwnNKv7+auKs9SBPh0XkE5DHsT7faeaTodmf fSRjlJ03N7xmMSPIZFOHXmfsgCKDt54z0GuoU= 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=rPgf4PWauBv+qq5q8CcyGT5/nmv+lv/cewFDuREX3JM=; b=PZXVYm1hiHQvtjnfhpbANKgPpRxUei/gO2reziNcoNH14R4VNxUIwn9MA7Dohh8tP9 MjGV63A3lsFYuuclEWXgDReaXMv3hl5lci0RSED5NbruBlh20c7yiMolbdWbCtd3qBvA 3TwlZ4DVlKOVOhfcoT7vVoi6SECTgWjgb7Cn1eRJwbqn3wED9ESnrIR6MOQ8v1EJERsk nfjKZvuttA3oGLpyAe82VNYWn3hMq7PsvHVB6GK7xUh3WlirG73V2BhTQHSezk2Ycxxs lr8JKrhs7+y2OjTl+0QH4arj14ua8OSjI4IXSwz4obOJywa0SZ63Fn8dVGLr+gFf4lD/ aa0A== X-Gm-Message-State: AGi0Pub33bK6MN9YWgZO4OaU6p+TKt3G/4NVy3Nv++8iSeQsX9AoVfOl ezYBSSN/FFuy+GmHgFbPPFzRO9/E X-Google-Smtp-Source: APiQypKIHzuuXImrNnzxFHfMh3c8wtGPMStPhoszmb3tuh5S3dwOcC7a6xLR/N5eI+0AAxun7l+1+w== X-Received: by 2002:a63:310:: with SMTP id 16mr26601926pgd.287.1588068042866; Tue, 28 Apr 2020 03:00:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:1657:: with SMTP id 84ls15753440pfw.7.gmail; Tue, 28 Apr 2020 03:00:42 -0700 (PDT) X-Received: by 2002:aa7:9252:: with SMTP id 18mr7066164pfp.17.1588068042359; Tue, 28 Apr 2020 03:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588068042; cv=none; d=google.com; s=arc-20160816; b=M+ltZ6Nfo95fNWHpPqTVbrFAJi2pwi9wKQ69Hml47yYHGghXo+OxKYHjM11kUYwSoT AklPh8ZJssej7PQwNBYhvZFe8P90J2/fLokgjnk44qa5sE7kmObNejzI2jHfOOU220/2 CDusXVK/2d7fJxOKvYIP4Atu64cfsaPRidakP0phGeRvPEdFiSJ+IqRdfDPLWj4W3iNV z3pFe37eIQ4P3fQ+sU7ccewiy9/Cufuz4Qsy5x4IWQdQVDWn211LxZniUsple1IK0KAr +KSAb0d/Ojt8E4Ckve7REiD/rGkj2U9dHKirPX3Ks5qeGfAaYlurib/DvJ4deGC2rZ2F YE6w== 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=KR2whTHceCQ+mLrFReJk4bmkutHvPrzu2O46gqDbnB0=; b=E9nzFsq53QlInNFu03iw50h1VtndXtgKNiWBl4hHBsHjqU+7hC3k0QbZNrD1EuzTn0 6myxo/3O1W8kfPgaCr/uRMBIHBEfPqnRm1zR9zAdbe8o6KywDWC8uTikfJ+rENt7nKLz 9IMYQdV4Jy8hVRW8VvpSGNRzQnDZsn4WG3/MumRj7+nnbh3vuoNsNbH0Jlhhm151lRlW 9QlczPX1aayLv0nfBcNonDbH4mLisX2o7/vFh3cpjeeCo6oniq3QIMvjn6XKHL95/fpO haMbxjASf2Wo8nfeBjOq7R5pLtcimLNEUdufaXVVTvNV1V+gQ0rqDYqcRMQxOTyvJnHA FrtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bcvi1ZH9; 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 r14sor22462640pgi.67.2020.04.28.03.00.42 for (Google Transport Security); Tue, 28 Apr 2020 03:00:42 -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:741a:: with SMTP id p26mr28759114pgc.40.1588068041709; Tue, 28 Apr 2020 03:00:41 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:f9c1:1c6a:49dc:267d]) by smtp.gmail.com with ESMTPSA id j32sm12676379pgb.55.2020.04.28.03.00.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2020 03:00:40 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: sunil@amarulasolutions.com, u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 3/6] clk: rk3399: Set empty for HCLK_SD assigned-clocks Date: Tue, 28 Apr 2020 15:30:16 +0530 Message-Id: <20200428100019.19155-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200428100019.19155-1-jagan@amarulasolutions.com> References: <20200428100019.19155-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=bcvi1ZH9; 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 HCLK_SD assigned-clocks which are usually required for Linux and don't require to handle them in U-Boot. assigned-clocks = <&cru HCLK_SD>; So, mark them as empty in clock otherwise device probe on those SD controllers would fail. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - none drivers/clk/rockchip/clk_rk3399.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c index 1f62376595..d822acace1 100644 --- a/drivers/clk/rockchip/clk_rk3399.c +++ b/drivers/clk/rockchip/clk_rk3399.c @@ -996,6 +996,7 @@ static ulong rk3399_clk_set_rate(struct clk *clk, ulong rate) break; case ACLK_VOP1: case HCLK_VOP1: + case HCLK_SD: /** * assigned-clocks handling won't require for vopl, so * return 0 to satisfy clk_set_defaults during device probe.