Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp960351pxb; Fri, 13 Aug 2021 10:05:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5GdCpJWJiff41bG0dJYC/TJr5GEgPSwenznzWla1x7AeQ89erAUNBketgo3v93nPUeDhv X-Received: by 2002:a92:b111:: with SMTP id t17mr2543621ilh.208.1628874346787; Fri, 13 Aug 2021 10:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628874346; cv=none; d=google.com; s=arc-20160816; b=DaIGTXwFyIxrSea2oYT0S2nf68oKuZF9vpx4aAHrsI5h2CCVU3WpD0G7M8kAICd3Ga EJYzDiiodWEOmxcr1yI6TPm+4gjZmqOxLidNA352oBE2p+BTR5MkrDsCjIxxDYA9Ph05 AP6sP12Twgy6bVmJryLWoe85sM17/FtiBkBgvXrd05Pq8AaBTDefCiNHsImtZqDNJtQe J106jv47YoCXh295Qb3ZxHxgpqPzlla/PsNon2c2AuNUZQj/UJGt21MFCeD3HMz6OKn7 nrSvrnNEyY/q9y4RNjQAVaYmuAKYz4BH2r7wVYeVKI625LkXZ5soRiBnan1tsIQ+Vwdy 96jw== 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=WrBXhS6KPL9eQpdVe7U9cbXL315jxl9i5c4jk7291Vs=; b=fEVFI/35agDTK55v9VMf+NLl1DkBJ+PgimwAcc2FcDTp55WU1qx3jRFS4Jj5Tlh4X3 Rt/JVGQrRDg3yRIT4YpYAhuRGMUTE4dAit+7R+P2pMzZ0Kqo7MW6+O8dqEiIoGFeugek mJ3GERKioPnNJ5xW16w8SsbtGnFoATmkScXkjwU1eYtHKaMtSk6o7q8VkY62+o+chQ2I PDFTCUt2hwcbI3dngliyPIiq2pAq/Dsj3ZYbrTEjx70gZCtx70cCuf/DpbD+7QXlwv8O bA+ymLZydMM2tA/pljBH2yw/hinXHKS93pRkGZHqmQNfeE0pWipSM+0pqkH3MUzmPdaF PleA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="L4/nRSRH"; 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 u6si2018982ilq.19.2021.08.13.10.05.35; Fri, 13 Aug 2021 10:05:46 -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="L4/nRSRH"; 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 S242863AbhHMPTK (ORCPT + 99 others); Fri, 13 Aug 2021 11:19:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:57690 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242312AbhHMPP0 (ORCPT ); Fri, 13 Aug 2021 11:15:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7FFFD604D7; Fri, 13 Aug 2021 15:14:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628867682; bh=LYGzPv9vuZNyAL2IV1hnZqXStAXSYWZq271uf7NndUk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L4/nRSRHOV/xFSQsa5IRaZiWXh5Iq+N4XaMhcU5xlIt3Xaqx+0epRk71M/bP/vZrF uQEj0psBVDpRvTdG8Dpa5D+n3pc+5n2/e9FMlu1vJvtXk84AOyFGAU3sLRygqLaeyy ap98GnDTcoc1Zd2vf+h65bW9en6DQ7Y236iqHxrI= 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 08/19] arm64: dts: renesas: rzg2: Add usb2_clksel to RZ/G2 M/N/H Date: Fri, 13 Aug 2021 17:07:25 +0200 Message-Id: <20210813150522.900346161@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 e1076ce07b7736aed269c5d8154f2442970d9137 upstream Per the reference manual for the RZ/G Series, 2nd Generation, the RZ/G2M, RZ/G2N, and RZ/G2H have a bit that can be set to choose between a crystal oscillator and an external oscillator. Because only boards that need this should enable it, it's marked as disabled by default for backwards compatibility with existing boards. Signed-off-by: Adam Ford Link: https://lore.kernel.org/r/20201228202221.2327468-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/r8a774a1.dtsi | 15 +++++++++++++++ arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 15 +++++++++++++++ arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 15 +++++++++++++++ 3 files changed, 45 insertions(+) --- a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi @@ -836,6 +836,21 @@ status = "disabled"; }; + usb2_clksel: clock-controller@e6590630 { + compatible = "renesas,r8a774a1-rcar-usb2-clock-sel", + "renesas,rcar-gen3-usb2-clock-sel"; + reg = <0 0xe6590630 0 0x02>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, + <&usb_extal_clk>, <&usb3s0_clk>; + clock-names = "ehci_ohci", "hs-usb-if", + "usb_extal", "usb_xtal"; + #clock-cells = <0>; + power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>; + resets = <&cpg 703>, <&cpg 704>; + reset-names = "ehci_ohci", "hs-usb-if"; + status = "disabled"; + }; + usb_dmac0: dma-controller@e65a0000 { compatible = "renesas,r8a774a1-usb-dmac", "renesas,usb-dmac"; --- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi @@ -709,6 +709,21 @@ status = "disabled"; }; + usb2_clksel: clock-controller@e6590630 { + compatible = "renesas,r8a774b1-rcar-usb2-clock-sel", + "renesas,rcar-gen3-usb2-clock-sel"; + reg = <0 0xe6590630 0 0x02>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, + <&usb_extal_clk>, <&usb3s0_clk>; + clock-names = "ehci_ohci", "hs-usb-if", + "usb_extal", "usb_xtal"; + #clock-cells = <0>; + power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>; + resets = <&cpg 703>, <&cpg 704>; + reset-names = "ehci_ohci", "hs-usb-if"; + status = "disabled"; + }; + usb_dmac0: dma-controller@e65a0000 { compatible = "renesas,r8a774b1-usb-dmac", "renesas,usb-dmac"; --- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi @@ -890,6 +890,21 @@ status = "disabled"; }; + usb2_clksel: clock-controller@e6590630 { + compatible = "renesas,r8a774e1-rcar-usb2-clock-sel", + "renesas,rcar-gen3-usb2-clock-sel"; + reg = <0 0xe6590630 0 0x02>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, + <&usb_extal_clk>, <&usb3s0_clk>; + clock-names = "ehci_ohci", "hs-usb-if", + "usb_extal", "usb_xtal"; + #clock-cells = <0>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 703>, <&cpg 704>; + reset-names = "ehci_ohci", "hs-usb-if"; + status = "disabled"; + }; + usb_dmac0: dma-controller@e65a0000 { compatible = "renesas,r8a774e1-usb-dmac", "renesas,usb-dmac";