Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp960296pxb; Fri, 13 Aug 2021 10:05:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU6tv4Y7/jirs+SGxx8vuUgitWwLG6VqujmQJH7Jg3bjoSYbxuhuQYiVAwYuhRMl9SV0dv X-Received: by 2002:a05:6638:303:: with SMTP id w3mr3205245jap.79.1628874344275; Fri, 13 Aug 2021 10:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628874344; cv=none; d=google.com; s=arc-20160816; b=RVVS3Bgeht54XqHbyxz71KcPglZKAxh22xp8Nhylwgv1IgMuQoinlQNsCjoOeHnnvt /hSJ7ZcuvN+60FWvSCao4+agFwQFBnSei6hJ+yFdk6WSnp7uNZVO6JHh77EIkmreZXmB kvd7IyydSrgbiDCDkyqxLvg7KRcNtxJS2fwF8Xu7dyedHAH2tgtN5bFVf/8K6bL56+oY aJX/AsXB3tcxUPRhSg/lCh+BQqsul0BoahZ5rxAVLZkhqbz3aH7jfwxcL4RPQqoC4s6+ wwkSVt6e1CrLy/eMdz7tt9IWwbifqmwdXaiZ9ojrKj5Wnm4YcxLwlvHkIcTTLS8OMAzA Ux1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+bjVZVz0UAmrIq3fwS0J1Yb5xNKI7kjmVw9/qzEh06g=; b=Na6KrZHfn2PK8hDHDSmOu8ClqBH+iPBp110+a8ZDTHf3T54qTpII7kntAi6N1bYh2H DAec35ZSjtyR0xH7Zk1itTa4rT7qd9lDC0R4iXUSlByn/jFtWhjfnXNVjSPBVs8Z/jje TiBMWNhrJH28RalpLZ6ToOQ/iLhOoiPVHSrHCZd3AMhmAczws6ae/Zy2Pu5HqYDgJ/hF p7xRuwLtHQOSdUYnCPxnsTOhgMZcZ2siz0dLoWNMwE2AHBA/BhU5nrMh/C+nqnh65vYE qmheZCNuLEUDe07t0FwI6NzhwBV585mPLoGEJCrQQv8dEoiv2I4ATaNL6DPl4ZUq10J5 GaFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=P3g8gkpy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b4si1967453iln.32.2021.08.13.10.05.32; Fri, 13 Aug 2021 10:05:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=P3g8gkpy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242887AbhHMPTL (ORCPT + 99 others); Fri, 13 Aug 2021 11:19:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:57754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242311AbhHMPPZ (ORCPT ); Fri, 13 Aug 2021 11:15:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0E8856113A; Fri, 13 Aug 2021 15:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628867687; bh=84qQ14dBbcP3nlO/PTktg9P2ufxsokUVx8APQiJluMA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P3g8gkpyzkL825AJNqswY2Nz0Bm13bdK3HZLIc8fOYJA6cUKEwptKTRomyOY2zjph ljVPwsBukIBDUoLV+56af+av54XrkR1MA6MJoBRKOjdcVGuNdLOsyGcFhNatHyVv53 PCRhe8POJGYB0fPGlqVkte8PxgJxTnP96JUE/x+M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adam Ford , Geert Uytterhoeven , Sudip Mukherjee Subject: [PATCH 5.10 10/19] arm64: dts: renesas: beacon: Fix USB ref clock references Date: Fri, 13 Aug 2021 17:07:27 +0200 Message-Id: <20210813150522.965896488@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210813150522.623322501@linuxfoundation.org> References: <20210813150522.623322501@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adam Ford commit ebc666f39ff67a01e748c34d670ddf05a9e45220 upstream The RZ/G2 boards expect there to be an external clock reference for USB2 EHCI controllers. For the Beacon boards, this reference clock is controlled by a programmable versaclock. Because the RZ/G2 family has a special clock driver when using an external clock, the third clock reference in the EHCI node needs to point to this special clock, called usb2_clksel. Since the usb2_clksel does not keep the usb_extal clock enabled, the 4th clock entry for the EHCI nodes needs to reference it to keep the clock running and make USB functional. Signed-off-by: Adam Ford Link: https://lore.kernel.org/r/20210513114617.30191-2-aford173@gmail.com Signed-off-by: Geert Uytterhoeven Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -271,12 +271,12 @@ &ehci0 { dr_mode = "otg"; status = "okay"; - clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>; }; &ehci1 { status = "okay"; - clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>; }; &hdmi0 {