| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | amlogic,meson-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/net/amlogic,meson-dwmac.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Neil Armstrong <narmstrong@baylibre.com> 12 - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 20 - amlogic,meson6-dwmac 21 - amlogic,meson8b-dwmac 22 - amlogic,meson8m2-dwmac 23 - amlogic,meson-gxbb-dwmac [all …]
|
| H A D | ti,dp83822.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Dan Murphy <dmurphy@ti.com> 14 The DP83822 is a low-power, single-port, 10/100 Mbps Ethernet PHY. It 16 data over standard, twisted-pair cables or to connect to an external, 17 fiber-optic transceiver. Additionally, the DP83822 provides flexibility to 24 - $ref: "ethernet-phy.yaml#" 30 ti,link-loss-low: 39 ti,fiber-mode: [all …]
|
| H A D | ti,dp83867.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - $ref: "ethernet-controller.yaml#" 14 - Dan Murphy <dmurphy@ti.com> 18 transceiver with integrated PMD sublayers to support 10BASE-Te, 100BASE-TX 19 and 1000BASE-T Ethernet protocols. 34 ti,min-output-impedance: 40 ti,max-output-impedance: 45 Note: ti,min-output-impedance and ti,max-output-impedance are mutually [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/spi/ |
| H A D | snps,dw-apb-ssi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Brown <broonie@kernel.org> 13 - $ref: "spi-controller.yaml#" 14 - if: 19 - mscc,ocelot-spi 20 - mscc,jaguar2-spi 25 - if: [all …]
|
| H A D | spi-rockchip.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-rockchip.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - $ref: "spi-controller.yaml#" 17 - Heiko Stuebner <heiko@sntech.de> 23 - const: rockchip,rk3036-spi 24 - const: rockchip,rk3066-spi 25 - const: rockchip,rk3228-spi 26 - const: rockchip,rv1108-spi [all …]
|
| H A D | st,stm32-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/st,stm32-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 the Serial Peripheral Interface. It supports full-duplex, half-duplex and 13 from 4 to 32-bit data size. 16 - Erwan Leray <erwan.leray@st.com> 17 - Fabrice Gasnier <fabrice.gasnier@st.com> 20 - $ref: "spi-controller.yaml#" 21 - if: [all …]
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-dw-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/dma-mapping.h> 14 #include <linux/platform_data/dma-dw.h> 18 #include "spi-dw.h" 29 if (s->dma_dev != chan->device->dev) in dw_spi_dma_chan_filter() 32 chan->private = s; in dw_spi_dma_chan_filter() 42 def_burst = dws->fifo_len / 2; in dw_spi_dma_maxburst_init() 44 ret = dma_get_slave_caps(dws->rxchan, &caps); in dw_spi_dma_maxburst_init() 50 dws->rxburst = min(max_burst, def_burst); in dw_spi_dma_maxburst_init() 51 dw_writel(dws, DW_SPI_DMARDLR, dws->rxburst - 1); in dw_spi_dma_maxburst_init() [all …]
|
| H A D | spi-dw-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/dma-mapping.h> 13 #include <linux/delay.h> 16 #include <linux/spi/spi-mem.h> 20 #include "spi-dw.h" 29 u32 rx_sample_dly; /* RX sample delay */ 63 snprintf(name, 32, "dw_spi%d", dws->master->bus_num); in dw_spi_debugfs_init() 64 dws->debugfs = debugfs_create_dir(name, NULL); in dw_spi_debugfs_init() 65 if (!dws->debugfs) in dw_spi_debugfs_init() 66 return -ENOMEM; in dw_spi_debugfs_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-meson8b.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk-provider.h> 35 /* TX clock delay in ns = "8ns / 4 * tx_dly_val" (where 8ns are exactly one 37 * 0ns = 0x0, 2ns = 0x1, 4ns = 0x2, 6ns = 0x3 56 * input RX rising/falling edge and sent to the Ethernet internals. This sets 57 * the automatically delay and skew automatically (internally). 60 /* An internal counter based on the "timing-adjustment" clock. The counter is 62 * delay (= the counter value) when to start sampling RXEN and RXD[3:0]. 66 * large input delay, the bit for that signal (RXEN = bit 0, RXD[3] = bit 1, 67 * ...) can be configured to be 1 to compensate for a delay of about 1ns. [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | r8a7796.dtsi | 11 #include <dt-bindings/clock/r8a7796-cpg-mssr.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/power/r8a7796-sysc.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 32 compatible = "arm,psci-1.0", "arm,psci-0.2"; 37 #address-cells = <1>; 38 #size-cells = <0>; 41 compatible = "arm,cortex-a57", "arm,armv8"; 44 power-domains = <&sysc R8A7796_PD_CA57_CPU0>; [all …]
|
| H A D | am335x-evm.dts | 2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 8 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/irq.h> 15 compatible = "ti,am335x-evm", "ti,am33xx"; 18 stdout-path = &uart0; 19 tick-timer = &timer2; 24 cpu0-supply = <&vdd1_reg>; 34 compatible = "regulator-fixed"; 35 regulator-name = "vbat"; 36 regulator-min-microvolt = <5000000>; [all …]
|
| H A D | r8a7795.dtsi | 11 #include <dt-bindings/clock/r8a7795-cpg-mssr.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/power/r8a7795-sysc.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 32 compatible = "arm,psci-1.0", "arm,psci-0.2"; 37 #address-cells = <1>; 38 #size-cells = <0>; 41 compatible = "arm,cortex-a57", "arm,armv8"; 44 power-domains = <&sysc R8A7795_PD_CA57_CPU0>; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/renesas/ |
| H A D | r8a77961.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car M3-W+ (R8A77961) SoC 5 * Copyright (C) 2016-2017 Renesas Electronics Corp. 8 #include <dt-bindings/clock/r8a77961-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/power/r8a77961-sysc.h> 16 #address-cells = <2>; 17 #size-cells = <2>; 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; [all …]
|
| H A D | r8a774c0.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2018-2019 Renesas Electronics Corp. 8 #include <dt-bindings/clock/r8a774c0-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/power/r8a774c0-sysc.h> 14 #address-cells = <2>; 15 #size-cells = <2>; 23 compatible = "fixed-clock"; 24 #clock-cells = <0>; 25 clock-frequency = <0>; [all …]
|
| H A D | r8a774a1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a774a1-cpg-mssr.h> 11 #include <dt-bindings/power/r8a774a1-sysc.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 37 compatible = "fixed-clock"; 38 #clock-cells = <0>; 39 clock-frequency = <0>; [all …]
|
| H A D | r8a77960.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car M3-W (R8A77960) SoC 5 * Copyright (C) 2016-2017 Renesas Electronics Corp. 8 #include <dt-bindings/clock/r8a7796-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/power/r8a7796-sysc.h> 16 #address-cells = <2>; 17 #size-cells = <2>; 36 compatible = "fixed-clock"; 37 #clock-cells = <0>; [all …]
|
| H A D | r8a77965.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car M3-N (R8A77965) SoC 11 #include <dt-bindings/clock/r8a77965-cpg-mssr.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/power/r8a77965-sysc.h> 19 #address-cells = <2>; 20 #size-cells = <2>; 39 compatible = "fixed-clock"; 40 #clock-cells = <0>; 41 clock-frequency = <0>; [all …]
|
| H A D | r8a77990.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car E3 (R8A77990) SoC 5 * Copyright (C) 2018-2019 Renesas Electronics Corp. 8 #include <dt-bindings/clock/r8a77990-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/power/r8a77990-sysc.h> 14 #address-cells = <2>; 15 #size-cells = <2>; 34 compatible = "fixed-clock"; 35 #clock-cells = <0>; [all …]
|
| H A D | r8a774e1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a774e1-cpg-mssr.h> 11 #include <dt-bindings/power/r8a774e1-sysc.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 26 compatible = "fixed-clock"; 27 #clock-cells = <0>; 28 clock-frequency = <0>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/phy/ |
| H A D | realtek.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <linux/delay.h> 106 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in rtl8201_config_intr() 118 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in rtl8211b_config_intr() 131 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in rtl8211e_config_intr() 144 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in rtl8211f_config_intr() 163 if (phydev->speed == SPEED_100 && phydev->autoneg == AUTONEG_DISABLE) { in rtl8211_config_aneg() 183 struct device *dev = &phydev->mdio.dev; in rtl8211f_config_init() 197 switch (phydev->interface) { in rtl8211f_config_init() 218 default: /* the rest of the modes imply leaving delay as is. */ in rtl8211f_config_init() [all …]
|
| H A D | micrel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2010-2013 Micrel, Inc. 29 #include <linux/delay.h> 160 const struct kszphy_type *type = phydev->drv->driver_data; in kszphy_config_intr() 164 if (type && type->interrupt_level_mask) in kszphy_config_intr() 165 mask = type->interrupt_level_mask; in kszphy_config_intr() 177 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) in kszphy_config_intr() 213 return -EINVAL; in kszphy_setup_led() 233 * unique (non-broadcast) address on a shared bus. 274 struct kszphy_priv *priv = phydev->priv; in kszphy_config_reset() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/ti/ |
| H A D | k3-j721e-som-p0.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 8 #include "k3-j721e.dtsi" 18 reserved_memory: reserved-memory { 19 #address-cells = <2>; 20 #size-cells = <2>; 26 no-map; 29 c66_1_dma_memory_region: c66-dma-memory@a6000000 { 30 compatible = "shared-dma-pool"; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | r8a7792.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car V2H (R8A77920) SoC 8 #include <dt-bindings/clock/r8a7792-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/r8a7792-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 39 compatible = "fixed-clock"; 40 #clock-cells = <0>; [all …]
|
| H A D | am335x-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 12 compatible = "ti,am335x-evm", "ti,am33xx"; 16 cpu0-supply = <&vdd1_reg>; 26 stdout-path = &uart0; 30 compatible = "regulator-fixed"; 31 regulator-name = "vbat"; 32 regulator-min-microvolt = <5000000>; [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | rk_spi.c | 6 * (C) Copyright 2008-2013 Rockchip Electronics 9 * SPDX-License-Identifier: GPL-2.0+ 15 #include <dt-structs.h> 38 s32 frequency; /* Default clock frequency, -1 for none */ 40 uint deactivate_delay_us; /* Delay to wait after deactivate */ 41 uint activate_delay_us; /* Delay to wait after activate */ 56 u32 rsd; /* Rx sample delay cycles */ 67 debug("ctrl0: \t\t0x%08x\n", readl(®s->ctrlr0)); in rkspi_dump_regs() 68 debug("ctrl1: \t\t0x%08x\n", readl(®s->ctrlr1)); in rkspi_dump_regs() 69 debug("ssienr: \t\t0x%08x\n", readl(®s->enr)); in rkspi_dump_regs() [all …]
|