Home
last modified time | relevance | path

Searched +full:rcar +full:- +full:gen3 +full:- +full:usb2 +full:- +full:clock +full:- +full:sel (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/clock/
H A Drenesas,rcar-usb2-clock-sel.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/renesas,rcar-usb2-clock-sel.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Car USB 2.0 clock selector
10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
13 If you connect an external clock to the USB_EXTAL pin only, you should set
14 the clock rate to "usb_extal" node only.
17 clock rates to both "usb_extal" and "usb_xtal" nodes.
19 Case 1: An external clock connects to R-Car SoC
[all …]
/linux/drivers/clk/renesas/
H A Drcar-usb2-clock-sel.c1 // SPDX-License-Identifier: GPL-2.0
3 * Renesas R-Car USB2.0 clock selector
7 * Based on renesas-cpg-mssr.c
13 #include <linux/clk-provider.h>
31 { .id = "hs-usb-if", },
46 u16 val = readw(priv->base + USB20_CLKSET0); in usb2_clock_sel_enable_extal_only()
49 priv->extal, priv->xtal, val); in usb2_clock_sel_enable_extal_only()
51 if (priv->extal && !priv->xtal && val != CLKSET0_EXTAL_ONLY) in usb2_clock_sel_enable_extal_only()
52 writew(CLKSET0_EXTAL_ONLY, priv->base + USB20_CLKSET0); in usb2_clock_sel_enable_extal_only()
57 if (priv->extal && !priv->xtal) in usb2_clock_sel_disable_extal_only()
[all …]