Received: by 10.213.65.68 with SMTP id h4csp891141imn; Tue, 27 Mar 2018 10:40:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx49E9S3vUinDpqpM79H0bX9x2C3EArNeh9RAatZIO3y6i48bF1l/OwSjqOdtlVMCC/8TYoWW X-Received: by 10.99.163.9 with SMTP id s9mr157044pge.187.1522172437468; Tue, 27 Mar 2018 10:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522172437; cv=none; d=google.com; s=arc-20160816; b=GHcwOh5fZXMZjjAcXq8gbnamz+fOviNYfLhZPPEMQZXH1IsMLfkcBx57m2i4Jnp3fg HeRsJC4Llt+Pae30wYqvAIohQuV6p86c2TTNpvcVlbMGDsVF2/R89h5FyWm6YzENVRic RJFFkz4OfIyMlereKujUFgjgd+uVkQdY5yLx/+WOj31RhRejUUlyIv77j105HcQv+rJM z7ABFil2b94WvIZDg/WV8AS6YFBUg+j4oyK2Bnh4ReFX0vyyAoqscwi+Qc0dPRkoZ8M0 MrM5SKjeGt2R9vrLbKR5jFD7FR3JZt5gBWgB/jU9O3w2QBR7zbC/Ik2yzF72kqClRGWx AZ6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Bw3tvjJSqenHMNcAL/O6pab7HYPGe+zGwL+vsSkWpnM=; b=NXw787vQ9ibzC9dm4W/7rbE4nzG0rhZe6YWP5KAvrRSxvRWm9Wws9E6xK15JIsbWg0 Vg2YYd7taO9eBcBmBRil4nfPx/Eg2yEZxnp34DMRS+3Z+fNrfDTYL1cVTkslOb2Ey6mi DmgiobupRFQ2R7iyOOpB013BCUMFXzc3lAoDJQyY5FUnhhaaUAE5HrqhT8z4/9puGhkC K/DWzqMc35WwCGDLe9sTTLDMbuIGCdkxBJt0wGlBY/KF1UMpfGR+R/ZK9DVs63+h3rPc c3n7EHqRjD01rHs5er9CWGujzMCydbLF6hJRhQppaSUhIRN8C3xhV+DnC+AjN2UrjYax Y6BA== 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 y12si1283567pfk.42.2018.03.27.10.40.23; Tue, 27 Mar 2018 10:40:37 -0700 (PDT) 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 S1754230AbeC0Qe1 (ORCPT + 99 others); Tue, 27 Mar 2018 12:34:27 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44354 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753712AbeC0QeW (ORCPT ); Tue, 27 Mar 2018 12:34:22 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 0D4A411AD; Tue, 27 Mar 2018 16:34:21 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mathias Kresin , Hauke Mehrtens , Martin Blumenstingl , Ralf Baechle , John Crispin , linux-mips@linux-mips.org, James Hogan Subject: [PATCH 4.14 003/101] MIPS: lantiq: Fix Danube USB clock Date: Tue, 27 Mar 2018 18:26:35 +0200 Message-Id: <20180327162750.205847720@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162749.993880276@linuxfoundation.org> References: <20180327162749.993880276@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mathias Kresin commit 214cbc14734958fe533916fdb4194f5983ad4bc4 upstream. On Danube the USB0 controller registers are at 1e101000 and the USB0 PHY register is at 1f203018 similar to all other lantiq SoCs. Activate the USB controller gating clock thorough the USB controller driver and not the PHY. This fixes a problem introduced in a previous commit. Fixes: dea54fbad332 ("phy: Add an USB PHY driver for the Lantiq SoCs using the RCU module") Signed-off-by: Mathias Kresin Signed-off-by: Hauke Mehrtens Acked-by: Martin Blumenstingl Cc: Ralf Baechle Cc: John Crispin Cc: linux-mips@linux-mips.org Cc: # 4.14+ Patchwork: https://patchwork.linux-mips.org/patch/18816/ Signed-off-by: James Hogan Signed-off-by: Greg Kroah-Hartman --- arch/mips/lantiq/xway/sysctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/lantiq/xway/sysctrl.c +++ b/arch/mips/lantiq/xway/sysctrl.c @@ -562,7 +562,7 @@ void __init ltq_soc_init(void) } else { clkdev_add_static(ltq_danube_cpu_hz(), ltq_danube_fpi_hz(), ltq_danube_fpi_hz(), ltq_danube_pp32_hz()); - clkdev_add_pmu("1f203018.usb2-phy", "ctrl", 1, 0, PMU_USB0); + clkdev_add_pmu("1e101000.usb", "otg", 1, 0, PMU_USB0); clkdev_add_pmu("1f203018.usb2-phy", "phy", 1, 0, PMU_USB0_P); clkdev_add_pmu("1e103000.sdio", NULL, 1, 0, PMU_SDIO); clkdev_add_pmu("1e103100.deu", NULL, 1, 0, PMU_DEU);