From patchwork Thu Apr 11 17:59:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10896555 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 078D21515 for ; Thu, 11 Apr 2019 17:59:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1A2828B73 for ; Thu, 11 Apr 2019 17:59:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D285128D62; Thu, 11 Apr 2019 17:59:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7EAFD28B73 for ; Thu, 11 Apr 2019 17:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ixGuD3I4CUnCiuD2qw3bNjnIvUo0I837o+nyr5eeD50=; b=E8TJ2SKK5YOdmn PXlhlxN/86gEOGZ0lSlQAvj1+jYWay3/SPOLzbJt+lkVmz0ojtry2b9LdqVhma0Vl2aDNcPMjjFR4 PplMzLA0JU4jyLYyV8fbAPeBnR+EkohXuCxJ8/QCCssN/SCSTiQdvCXqnD5MoJDVgI8sEeuHlEZgc EEASfla8XMsAJfidtNYqbNPhL82vgiKY95oD6fqJ1CaXUNuv5ymrj6sge3ubf9YvpLhDQ1kwCUTmX xm5+BSRaMmWj7LiejXV/s9/0TRyN17gZN5uLNxmw9Qjo7/B+7X4EF3aDvmW5KUEwBdPadic7An7zU M9nUzjoXZTtKv2D1hO5w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEdyx-0003W1-5E; Thu, 11 Apr 2019 17:59:27 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEdyt-0003V4-CC for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2019 17:59:24 +0000 Received: by mail-pg1-x543.google.com with SMTP id k19so3889954pgh.0 for ; Thu, 11 Apr 2019 10:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fM6RWzAbIFr1PsVvrEclHdq1XDLHiApauiaIfSN88Kg=; b=Px0T0NZaiEDpf0XprSK8iOu0q39xE9pJuDaKI0b/3DD48jGm5GIxXgKgV0iyLiBCnE OaZ+KNASuZc+xot57LWBwkpaqr51qomxaQfINeA/gr48vDikzcFuvA+md/bVHKxRrdWr DnZa03lFZY33IQz5sOMY/HuKbSxXc66AUDzX8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fM6RWzAbIFr1PsVvrEclHdq1XDLHiApauiaIfSN88Kg=; b=YvCLQ6XuIWNkJ3DcdCL5VgakCtgUcghhpDFP2kiEFBVXTu6ybDTkCH5XEYaYMksanG Rag3vOzGxeharXy/c3cSwyOv4PWeyPa643rgkIU1qytmhqRCR+9gPx7ucpDJl3yXGSG0 4cJXJG79gpjM7me/z+EK99CQ+wyFcGRPZEvjAA+IwiAg52Q/vEeHw1r7rbfDcBGEI/Jt /noF4bLh8qDXZqgOboAcdQYa4DVmynTm6Lbd6LqzoGBcQ76Bmc8SILvg4aFHUOaIa+JP jC9fT21VcBVRq5kjUfl1IcbTH1ft7z+R66jEU2F5R8LbtGY5wGGA5d/nvXC86S0G2xGj Ezcg== X-Gm-Message-State: APjAAAUvSR5wfd4kDPYNM9lnVqKNUlrX+jpLKDM20spa6NRvv8yQvEE/ yWU2rpF/JA2VAvfyIOTcauc1hA== X-Google-Smtp-Source: APXvYqy0hVx1MoV5iIQ0mm5Ph4f3eCbTXpoZFbj78KHkGPPDUfTJAXD1a8MKC4K2zT3LsThydTahlg== X-Received: by 2002:a63:5149:: with SMTP id r9mr46486539pgl.177.1555005562196; Thu, 11 Apr 2019 10:59:22 -0700 (PDT) Received: from localhost ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id g67sm60773947pfg.94.2019.04.11.10.59.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 10:59:21 -0700 (PDT) From: Matthias Kaehlcke To: Michael Turquette , Stephen Boyd , Heiko Stuebner Subject: [PATCH] clk: rockchip: rk3288: Limit use of USB PHY clock to USB Date: Thu, 11 Apr 2019 10:59:17 -0700 Message-Id: <20190411175917.173566-1-mka@chromium.org> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190411_105923_438917_3809B73E X-CRM114-Status: GOOD ( 10.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Douglas Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Matthias Kaehlcke , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The USB PHY clock can be configured as (grand) parent of uart0_sclk and sclk_gpu. It has been observed that UART0 doesn't work reliably in high speed mode with the PHY clock as input when certain USB devices are plugged to the USB HOST1 port (see https://crrev.com/c/320543). Prefix the name of the PHY clock with a '.' in the non-USB muxes to effectively remove the clock as input from these muxes. Signed-off-by: Matthias Kaehlcke --- drivers/clk/rockchip/clk-rk3288.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c index 5a67b7869960..677bc5485201 100644 --- a/drivers/clk/rockchip/clk-rk3288.c +++ b/drivers/clk/rockchip/clk-rk3288.c @@ -200,8 +200,8 @@ PNAME(mux_aclk_cpu_src_p) = { "cpll_aclk_cpu", "gpll_aclk_cpu" }; PNAME(mux_pll_src_cpll_gpll_p) = { "cpll", "gpll" }; PNAME(mux_pll_src_npll_cpll_gpll_p) = { "npll", "cpll", "gpll" }; PNAME(mux_pll_src_cpll_gpll_npll_p) = { "cpll", "gpll", "npll" }; -PNAME(mux_pll_src_cpll_gpll_usb480m_p) = { "cpll", "gpll", "usbphy480m_src" }; -PNAME(mux_pll_src_cpll_gll_usb_npll_p) = { "cpll", "gpll", "usbphy480m_src", "npll" }; +PNAME(mux_pll_src_cpll_gpll_usb480m_p) = { "cpll", "gpll", ".usbphy480m_src" }; +PNAME(mux_pll_src_cpll_gll_usb_npll_p) = { "cpll", "gpll", ".usbphy480m_src", "npll" }; PNAME(mux_mmc_src_p) = { "cpll", "gpll", "xin24m", "xin24m" }; PNAME(mux_i2s_pre_p) = { "i2s_src", "i2s_frac", "ext_i2s", "xin12m" };