| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/ |
| D | allwinner,sun9i-a80-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun9i-a80-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A80 USB PHY Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,sun9i-a80-usb-phy 25 - description: Main PHY Clock [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | sun9i-a80.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/clock/sun9i-a80-ccu.h> 48 #include <dt-bindings/clock/sun9i-a80-de.h> 49 #include <dt-bindings/clock/sun9i-a80-usb.h> 50 #include <dt-bindings/reset/sun9i-a80-ccu.h> 51 #include <dt-bindings/reset/sun9i-a80-de.h> 52 #include <dt-bindings/reset/sun9i-a80-usb.h> [all …]
|
| D | sun9i-a80-optimus.dts | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun9i-a80.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 51 model = "Merrii A80 Optimus Board"; 52 compatible = "merrii,a80-optimus", "allwinner,sun9i-a80"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; [all …]
|
| D | sun9i-a80-cubieboard4.dts | 5 * Chen-Yu Tsai <wens@csie.org> 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 47 #include "sun9i-a80.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 53 compatible = "cubietech,a80-cubieboard4", "allwinner,sun9i-a80"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 77 vga-connector { 78 compatible = "vga-connector"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | sun9i-a80.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/clock/sun9i-a80-ccu.h> 48 #include <dt-bindings/clock/sun9i-a80-de.h> 49 #include <dt-bindings/clock/sun9i-a80-usb.h> 50 #include <dt-bindings/reset/sun9i-a80-ccu.h> 51 #include <dt-bindings/reset/sun9i-a80-de.h> 52 #include <dt-bindings/reset/sun9i-a80-usb.h> [all …]
|
| D | sun9i-a80-optimus.dts | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun9i-a80.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 51 model = "Merrii A80 Optimus Board"; 52 compatible = "merrii,a80-optimus", "allwinner,sun9i-a80"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; [all …]
|
| D | sun9i-a80-cubieboard4.dts | 5 * Chen-Yu Tsai <wens@csie.org> 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 47 #include "sun9i-a80.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 53 compatible = "cubietech,a80-cubieboard4", "allwinner,sun9i-a80"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 77 vga-connector { 78 compatible = "vga-connector"; [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/ |
| D | sunxi.txt | 1 Device Tree Clock bindings for arch-sunxi 5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 8 - compatible : shall be one of the following: 9 "allwinner,sun4i-a10-osc-clk" - for a gatable oscillator 10 "allwinner,sun4i-a10-pll1-clk" - for the main PLL clock and PLL4 11 "allwinner,sun6i-a31-pll1-clk" - for the main PLL clock on A31 12 "allwinner,sun8i-a23-pll1-clk" - for the main PLL clock on A23 13 "allwinner,sun4i-a10-pll3-clk" - for the video PLL clock on A10 14 "allwinner,sun9i-a80-pll4-clk" - for the peripheral PLLs on A80 15 "allwinner,sun4i-a10-pll5-clk" - for the PLL5 clock [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | allwinner,sun9i-a80-usb-phy-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-usb-phy-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A80 USB PHY Clock Device Tree Bindings 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 22 "#reset-cells": 26 const: allwinner,sun9i-a80-usb-phy-clk [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/phy/ |
| D | sun9i-usb-phy.txt | 1 Allwinner sun9i USB PHY 2 ----------------------- 5 - compatible : should be one of 6 * allwinner,sun9i-a80-usb-phy 7 - reg : a list of offset + length pairs 8 - #phy-cells : from the generic phy bindings, must be 0 9 - phy_type : "hsic" for HSIC usage; 10 other values or absence of this property indicates normal USB 11 - clocks : phandle + clock specifier for the phy clocks 12 - clock-names : depending on the "phy_type" property, [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
| D | ccu-sun9i-a80-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016 Chen-Yu Tsai. All rights reserved. 7 #include <linux/clk-provider.h> 15 #include "ccu-sun9i-a80-usb.h" 25 static SUNXI_CCU_GATE_DATA(bus_hci0_clk, "bus-hci0", clk_parent_bus, 0x0, BIT(1), 0); 26 static SUNXI_CCU_GATE_DATA(usb_ohci0_clk, "usb-ohci0", clk_parent_hosc, 0x0, BIT(2), 0); 27 static SUNXI_CCU_GATE_DATA(bus_hci1_clk, "bus-hci1", clk_parent_bus, 0x0, BIT(3), 0); 28 static SUNXI_CCU_GATE_DATA(bus_hci2_clk, "bus-hci2", clk_parent_bus, 0x0, BIT(5), 0); 29 static SUNXI_CCU_GATE_DATA(usb_ohci2_clk, "usb-ohci2", clk_parent_hosc, 0x0, BIT(6), 0); 31 static SUNXI_CCU_GATE_DATA(usb0_phy_clk, "usb0-phy", clk_parent_hosc, 0x4, BIT(1), 0); [all …]
|
| /kernel/linux/linux-4.19/drivers/clk/sunxi-ng/ |
| D | ccu-sun9i-a80-usb.c | 2 * Copyright (c) 2016 Chen-Yu Tsai. All rights reserved. 15 #include <linux/clk-provider.h> 23 #include "ccu-sun9i-a80-usb.h" 25 static SUNXI_CCU_GATE(bus_hci0_clk, "bus-hci0", "bus-usb", 0x0, BIT(1), 0); 26 static SUNXI_CCU_GATE(usb_ohci0_clk, "usb-ohci0", "osc24M", 0x0, BIT(2), 0); 27 static SUNXI_CCU_GATE(bus_hci1_clk, "bus-hci1", "bus-usb", 0x0, BIT(3), 0); 28 static SUNXI_CCU_GATE(bus_hci2_clk, "bus-hci2", "bus-usb", 0x0, BIT(5), 0); 29 static SUNXI_CCU_GATE(usb_ohci2_clk, "usb-ohci2", "osc24M", 0x0, BIT(6), 0); 31 static SUNXI_CCU_GATE(usb0_phy_clk, "usb0-phy", "osc24M", 0x4, BIT(1), 0); 32 static SUNXI_CCU_GATE(usb1_hsic_clk, "usb1-hsic", "osc24M", 0x4, BIT(2), 0); [all …]
|
| /kernel/linux/linux-5.10/drivers/phy/allwinner/ |
| D | phy-sun9i-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Allwinner sun9i USB phy driver 5 * Copyright (C) 2014-2015 Chen-Yu Tsai <wens@csie.org> 7 * Based on phy-sun4i-usb.c from 18 #include <linux/phy/phy.h> 19 #include <linux/usb/of.h> 36 struct phy *phy; member 44 static void sun9i_usb_phy_passby(struct sun9i_usb_phy *phy, int enable) in sun9i_usb_phy_passby() argument 52 if (phy->type == USBPHY_INTERFACE_MODE_HSIC) in sun9i_usb_phy_passby() 56 reg_value = readl(phy->pmu); in sun9i_usb_phy_passby() [all …]
|
| /kernel/linux/linux-4.19/drivers/phy/allwinner/ |
| D | phy-sun9i-usb.c | 2 * Allwinner sun9i USB phy driver 4 * Copyright (C) 2014-2015 Chen-Yu Tsai <wens@csie.org> 6 * Based on phy-sun4i-usb.c from 27 #include <linux/phy/phy.h> 28 #include <linux/usb/of.h> 45 struct phy *phy; member 53 static void sun9i_usb_phy_passby(struct sun9i_usb_phy *phy, int enable) in sun9i_usb_phy_passby() argument 61 if (phy->type == USBPHY_INTERFACE_MODE_HSIC) in sun9i_usb_phy_passby() 65 reg_value = readl(phy->pmu); in sun9i_usb_phy_passby() 72 writel(reg_value, phy->pmu); in sun9i_usb_phy_passby() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/sunxi/ |
| D | clk-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2013-2015 Emilio López 9 #include <linux/clk-provider.h> 13 #include <linux/reset-controller.h> 19 * sunxi_usb_reset... - reset bits in usb clk registers handling 38 clk_prepare_enable(data->clk); in sunxi_usb_reset_assert() 39 spin_lock_irqsave(data->lock, flags); in sunxi_usb_reset_assert() 41 reg = readl(data->reg); in sunxi_usb_reset_assert() 42 writel(reg & ~BIT(id), data->reg); in sunxi_usb_reset_assert() 44 spin_unlock_irqrestore(data->lock, flags); in sunxi_usb_reset_assert() [all …]
|
| /kernel/linux/linux-4.19/drivers/clk/sunxi/ |
| D | clk-usb.c | 2 * Copyright 2013-2015 Emilio López 18 #include <linux/clk-provider.h> 21 #include <linux/reset-controller.h> 27 * sunxi_usb_reset... - reset bits in usb clk registers handling 46 clk_prepare_enable(data->clk); in sunxi_usb_reset_assert() 47 spin_lock_irqsave(data->lock, flags); in sunxi_usb_reset_assert() 49 reg = readl(data->reg); in sunxi_usb_reset_assert() 50 writel(reg & ~BIT(id), data->reg); in sunxi_usb_reset_assert() 52 spin_unlock_irqrestore(data->lock, flags); in sunxi_usb_reset_assert() 53 clk_disable_unprepare(data->clk); in sunxi_usb_reset_assert() [all …]
|