Received: by 10.223.185.116 with SMTP id b49csp8011649wrg; Thu, 1 Mar 2018 15:25:18 -0800 (PST) X-Google-Smtp-Source: AG47ELtk0YD7VAcOuBo5gSmr14pUZOAHUzXAEcOJaCEoa3lGdBq0X3LZqpMdzfi+EBLk4L+bIq7D X-Received: by 10.101.74.135 with SMTP id b7mr2931821pgu.260.1519946718621; Thu, 01 Mar 2018 15:25:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519946718; cv=none; d=google.com; s=arc-20160816; b=tVvZP3/vHxynrUF2Ye5wPQHpVXjJrGBI/PLUNOz/EUqD4imd/Lor6VgdJKZC7rjjEm 9qo/Afsq565mqrjZIkcgIhYhyhi9OtWgSDiwJbd00dGBxoOY4P+H9+Q6sMq4+eTviHz2 zkStJmlYEIO97zMiNq5cdlfOGHtagL6Q7vuQdazR148e72O6o5t5ObL5HnEUy3d8n2+R HmASCCYL7E0wboUeYd4uXcgBf4pFwC0ibT3Fe0L8n81tQQ46EajR957VmMnJLjsv08xo xhTsNIoVygzXivD7dkvRoP0kz/HxfXBiPvUqlmhoIzfy8CqPJWTWbD/A+DlJW5fEvHqB D8kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=rmA34ofW1ESx4KoZNUstiH9zSHN+s1bCQg8TtY7N3Mw=; b=u68wO4KyikXdgn/sPOyCDvo6oR+YC2fvOiqIRtp6BpGejWN4aQ3LvS7LNKyQPHRzcu NbH+eVuFuxWhICXJ03s79aWyTKaK1dZz+dCLNHd/FtE5hINJPCoyH+nB9KlQus00Ro4z 4gYE08bNrWabqfhvmbjhDNSsaNRjG3phmcwWiJecfZhCb1FVml4syCYpNe2j5OJPt43E 8Bf0sfP6br6HT+2RRmg0E/lsp5CU8M4CyRY37/rGIeeJHY+7BFLKPFgJEA9noypPN82i 8+xYFE2EE38WOnieIgpjRf0qA4toQE8cc4o5dSCMOvOMVc0thtzIJPx2ehkEUQD8w7xb knbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si3089905pgs.585.2018.03.01.15.25.03; Thu, 01 Mar 2018 15:25:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162954AbeCAXYX (ORCPT + 99 others); Thu, 1 Mar 2018 18:24:23 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:45814 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162870AbeCAXYV (ORCPT ); Thu, 1 Mar 2018 18:24:21 -0500 Received: by mail-oi0-f68.google.com with SMTP id j79so5807331oib.12; Thu, 01 Mar 2018 15:24:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rmA34ofW1ESx4KoZNUstiH9zSHN+s1bCQg8TtY7N3Mw=; b=uPsIWNvF9VpWBz0C4xfN4hwrI95c3NJTTGab+mA7q2rnwDVJErjdw7Ju62fEcdkEkZ O1u81wY/kpTeBwTDpS1LOFuVTBpivZAJjbXcLnfxQqUYOXgZTVnjYmw2HVoVDEKrk3LP ztWAO+J3zEsgZQzpVHIbmjewHyGnEexZ8amHmuBMu4OMhPs4T1cGFmA0V2mz0NuYKKaM AL9Qv7XOW99NnoQ6CO6HxxA4OOTlqElCLK0edFJCPbamTSdI37arwrk13tuUxQyYjrtf 1g1NDahJu5Pbm+FCK+yqC736cpY6IwQG4JFcMRF8rEWgezV7wddq5m82aGBdOMsu9RKN ep4w== X-Gm-Message-State: AElRT7F8eORmFAffmL3omhToBhSqb/9jzMmkrKlXaVJJvXmhKCfJuyCH IkZG/MZ84qDiK/ax+RSyww== X-Received: by 10.84.78.131 with SMTP id c3mr2331028oiy.292.1519946660463; Thu, 01 Mar 2018 15:24:20 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id b83sm2473406oia.23.2018.03.01.15.24.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 15:24:19 -0800 (PST) Date: Thu, 1 Mar 2018 17:24:19 -0600 From: Rob Herring To: Marcel Ziswiler Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, Dmitry Osipenko , Marcel Ziswiler , Thierry Reding , Jonathan Hunter , linux-kernel@vger.kernel.org, Mark Rutland , Russell King , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] ARM: tegra: fix ulpi regression on tegra20 Message-ID: <20180301232419.ypehol54rhqrqjds@rob-hp-laptop> References: <20180222143825.1517-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180222143825.1517-1-marcel@ziswiler.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 03:38:25PM +0100, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Since commit f8f8f1d04494 ("clk: Don't touch hardware when reparenting > during registration") ULPI has been broken on Tegra20 leading to the > following error message during boot: > > [ 1.974698] ulpi_phy_power_on: ulpi write failed > [ 1.979384] tegra-ehci c5004000.usb: Failed to power on the phy > [ 1.985434] tegra-ehci: probe of c5004000.usb failed with error -110 > > Debugging through the changes and finally also consulting the TRM > revealed that rather than the CDEV2 clock off OSC requiring such pin > muxing actually the PLL_P_OUT4 clock is in use. It looks like so far it > just worked by chance of that one having been enabled which Stephen's > commit now changed when reparenting sclk away from pll_p_out4 leaving > that one disabled. Fix this by properly assigning the PLL_P_OUT4 clock > as the ULPI PHY clock. > > Signed-off-by: Marcel Ziswiler > > --- > > Changes in v2: > - Updated device tree binding documentation as well. > - CCing Dmitry as well. > > Documentation/devicetree/bindings/phy/nvidia,tegra20-usb-phy.txt | 4 +++- > arch/arm/boot/dts/tegra20.dtsi | 2 +- > 2 files changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Rob Herring