Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp674096pxv; Wed, 14 Jul 2021 12:43:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV6HfnKXq/1DVy/7Bw0KPoadTbSAI2YTNYydIQBdFewga0QknM8i1qNMmeJWnV+fGXDuWp X-Received: by 2002:a05:6402:520c:: with SMTP id s12mr16459178edd.357.1626291838108; Wed, 14 Jul 2021 12:43:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626291838; cv=none; d=google.com; s=arc-20160816; b=ZaxHd0QEj57wGw7kr4yYjAzHqaImgngALGPn0ZhN2rjL5pAKDl347TToDXNTEn2ruh ss5JIhW5WFAy89qbUQ/5Vq2IGxdTKlrgZ/oxe6bBckrw2mmy0HbFawh62kgEwG2MfZjr Nq6OPRNoWqDupll7dvgf3yiH53OwMOhU8+KJtqiZ8kzZ2Aret0K7IR77G0P1CkZ8zfS6 YeS49eB7z1/gQmwktjfMAn7sJdXQ2PzahtiQqbpyi3NqAaoHNrJlwHsdpGnX4L6eZShA PhpxYVJMbEzelWih9rb4WyjzsATOzS+k3EMmPKBwnUHkT1XxXVgnR2gBDUHXaqhec+Cp 3w4A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=j2ze7T3FZEc2l7gG2/l95RdcZQvd98qZC2V27CjJ7GY=; b=e9/edP9V5YOTrEQAf4Ov/G2uwk05n9cJvL0uLiMOCOd0lF3E1g6Skz8Z4yzMQ5H2sH /kRcdRLsxavQhmGaAYOmYsZN/fm8RNxFgQNluqd/V2L+0SfnGZmNQUb2JnbC255+pupi /utw2EnksxixsFrxy2LTaGzvpspa0PSY92r9Zly/nEqUG/P0HV/aCsX7dckeaXtpFxg7 4SG8dHyo3QZMtrk6BV58uI8ac3l9v+4oLXTPqgoxCMsriTvFSdPKi2wjftYtV3F7u1oc Y/fT88dUwQaeUsJBbMzH3s4y8yo2HorktFfq6LLpagiVyvKAzKW96xyN1eVyFaKN00mg GuFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u64DflQ3; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si3528840ejj.178.2021.07.14.12.43.26; Wed, 14 Jul 2021 12:43:58 -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=@kernel.org header.s=k20201202 header.b=u64DflQ3; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234591AbhGNTm1 (ORCPT + 99 others); Wed, 14 Jul 2021 15:42:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:36600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233997AbhGNTlt (ORCPT ); Wed, 14 Jul 2021 15:41:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 28FBD613D3; Wed, 14 Jul 2021 19:38:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626291536; bh=/LXC0pSLzFR6Suf13tw4eNPfaJ/VSEg952gbNu7tODY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u64DflQ3ofOTKBPLnn+IijjEsmkdR8aMU8c6I9aJuBhJJkgILoqoS8xCl4PQYGbNR vZmysKNy5aQj+QuluJs4jEg6/NObatIY15P+uF+QzOw3YHj3ajwcDHubzaSxtdMuXS ndI9legW9G6clbc4eujhmuatZoMJCffyDVRUgmJ/8mvYmG3QBsuIPKXPO6C0bCBr3p 8OIfCZViPfxo+GHYNVtjM1Ez0QIHLZec9Be1uNfIyPwfO+Sty8gtyU5qw01HwEW5Kv Qh1j8NqSuoIABUPmp/njTAtS07QNLST/jmLUgd/TavFWHYLn7vY/kS6E0j7cHCrmsr ImYJDE9AyLmgA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Adam Ford , Geert Uytterhoeven , Sasha Levin , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 5.13 038/108] arm64: dts: renesas: beacon: Fix USB ref clock references Date: Wed, 14 Jul 2021 15:36:50 -0400 Message-Id: <20210714193800.52097-38-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210714193800.52097-1-sashal@kernel.org> References: <20210714193800.52097-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adam Ford [ Upstream commit ebc666f39ff67a01e748c34d670ddf05a9e45220 ] 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: Sasha Levin --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index d8046fedf9c1..e3c8b2fe143e 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -271,12 +271,12 @@ &du_out_rgb { &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 { -- 2.30.2