Received: by 10.213.65.68 with SMTP id h4csp865692imn; Tue, 27 Mar 2018 10:11:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/yd8M3dyoqpHZExTyH6+mhfCcJG7yhNSwHe1PhPNh2oaMrhE9q87rvZRCPjjb8DUQ0xHtX X-Received: by 10.99.185.74 with SMTP id v10mr108756pgo.372.1522170691915; Tue, 27 Mar 2018 10:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522170691; cv=none; d=google.com; s=arc-20160816; b=I6i883fgEhgRmOVSMkO1VVVNEvnNHLPG5fEZJ6GC+pJRIrDTPhoCaYq2/cTziRaF5T NONTJsUe00u08FeBELwNnLYhEiaIzMtz/YfRIqoBP/YraMogmvuDhvpkxEOgS2hyHjej vAqloH49ixGyQ63TLfkOHd+H+40a7T9fId1SHw08o1GKaQB9Jw3bvCmlXRRUZuJpLHxH hU5TYBr65IPctH/sya/AxQslP98qLUsBr+jqpgysxOfgfi3JPESmBonFQkUgsj6zJUqh aZz4HKpkEX9LH+6QZKfndyQH8pOSqpNDamGF422x9C4qycqz8TQJunKa5uES3T+VIc5D qPGg== 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=iJXaK04BHClSdWpEwU6jTkd4R7MSsVFCc4Hb238+Hi8=; b=OsML1FT7M0hR6SXG3HdwmlKYQCG0H0VRAyMVmtiPjxp9HunCbxkCj4tdLnoeU1Gqyh X0hUJofITceha8YHfzwyNrdH0YLuaS7FsSvb0CsB1vBdmyZXzeQ3THPO+jwY97hn4Tg5 m0ZgRM57QrzxOUTfzevWQXT8m4rCjG//zju4fWAx5ltV2Ym/7Jr0J7/wkombYYlpPkgI mSmuzfQEZyxldcKxhh5kzb+nSxSY3owpQxsIWh3KYleAHUUnhZXKb8f9RjcnLw9KgEMb 4+ggln5yxEu+6jSYb7AgSf0aqHdSDZzYopT4TnnguOomIBr8ptGwaplMM+bC/u5FbqkY cW9g== 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 l8si1181418pff.237.2018.03.27.10.11.17; Tue, 27 Mar 2018 10:11:31 -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 S932359AbeC0Qjs (ORCPT + 99 others); Tue, 27 Mar 2018 12:39:48 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47346 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932303AbeC0Qjn (ORCPT ); Tue, 27 Mar 2018 12:39:43 -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 390361057; Tue, 27 Mar 2018 16:39:43 +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.15 003/105] MIPS: lantiq: Fix Danube USB clock Date: Tue, 27 Mar 2018 18:26:43 +0200 Message-Id: <20180327162757.965016021@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162757.813009222@linuxfoundation.org> References: <20180327162757.813009222@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.15-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 @@ -560,7 +560,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);