/openbmc/linux/arch/riscv/boot/dts/starfive/ |
H A D | jh7110-starfive-visionfive-2-v1.3b.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 8 #include "jh7110-starfive-visionfive-2.dtsi" 12 compatible = "starfive,visionfive-2-v1.3b", "starfive,jh7110"; 16 starfive,tx-use-rgmii-clk; 17 assigned-clocks = <&aoncrg JH7110_AONCLK_GMAC0_TX>; 18 assigned-clock-parents = <&aoncrg JH7110_AONCLK_GMAC0_RMII_RTX>; 22 starfive,tx-use-rgmii-clk; 23 assigned-clocks = <&syscrg JH7110_SYSCLK_GMAC1_TX>; 24 assigned-clock-parents = <&syscrg JH7110_SYSCLK_GMAC1_RMII_RTX>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | motorcomm,yt8xxx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Sae <frank.sae@motor-comm.com> 13 - $ref: ethernet-phy.yaml# 18 - ethernet-phy-id4f51.e91a 19 - ethernet-phy-id4f51.e91b 21 rx-internal-delay-ps: 24 internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds. 30 tx-internal-delay-ps: [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | meson-gxbb-odroidc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 14 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; 15 model = "Hardkernel ODROID-C2"; 23 stdout-path = "serial0:115200n8"; 31 usb_otg_pwr: regulator-usb-pwrs { 32 compatible = "regulator-fixed"; 34 regulator-name = "USB_OTG_PWR"; [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | motorcomm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Author: Frank <Frank.Sae@motor-comm.com> 22 * ------------------------------------------------------------ 26 * ------------------------------------------------------------ 28 * ------------------------------------------------------------ 104 /* FIBER Auto-Negotiation link partner ability */ 122 /* RX Delay enabled = 1.8ns 1000T, 8ns 10/100T */ 125 /* TX Gig-E Delay is bits 7:4, default 0x5 126 * TX Fast-E Delay is bits 15:12, default 0xf 127 * Delay = 150ps * N - 250ps [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-omap-uwire.c | 38 #include <linux/clk.h> 47 #include <asm/mach-types.h> 48 #include <linux/soc/ti/omap1-io.h> 49 #include <linux/soc/ti/omap1-soc.h> 50 #include <linux/soc/ti/omap1-mux.h> 90 struct clk *ck; 152 return -1; in wait_uwire_csr_flag() 173 struct uwire_state *ust = spi->controller_state; in uwire_chipselect() 189 uwire_set_clk1_div(ust->div1_idx); in uwire_chipselect() 191 if (spi->mode & SPI_CPOL) in uwire_chipselect() [all …]
|
H A D | spi-omap2-mcspi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/dma-mapping.h> 20 #include <linux/clk.h> 30 #include <linux/platform_data/spi-omap2-mcspi.h> 47 /* per-channe 410 struct dma_async_tx_descriptor *tx; omap2_mcspi_tx_dma() local 448 struct dma_async_tx_descriptor *tx; omap2_mcspi_rx_dma() local 587 const u8 *tx; omap2_mcspi_txrx_dma() local 717 const u8 *tx; omap2_mcspi_txrx_pio() local 767 const u16 *tx; omap2_mcspi_txrx_pio() local 816 const u32 *tx; omap2_mcspi_txrx_pio() local [all...] |
H A D | spi-pl022.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2008-2012 ST-Ericsson AB 11 * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c 24 #include <linux/clk.h> 31 #include <linux/dma-mapping.h> 92 * SSP Control Register 0 - SSP_CR0 110 * SSP Control Register 0 - SSP_CR1 130 * SSP Status Register - SSP_SR 139 * SSP Clock Prescale Register - SSP_CPSR 144 * SSP Interrupt Mask Set/Clear Register - SSP_IMSC [all …]
|
H A D | spi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/clk/clk-conf.h> 13 #include <linux/dma-mapping.h> 35 #include <linux/spi/spi-mem.h> 51 spi_controller_put(spi->controller); in spidev_release() 52 kfree(spi->driver_override); in spidev_release() 53 free_percpu(spi->pcpu_statistics); in spidev_release() 63 len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1); in modalias_show() 64 if (len != -ENODEV) in modalias_show() 67 return sysfs_emit(buf, "%s%s\n", SPI_MODULE_PREFIX, spi->modalias); in modalias_show() [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 21 #include <linux/clk.h> 30 #include <linux/dma-mapping.h> 33 #include <linux/dma/imx-dma.h> 107 #define UCR3_INVT (1<<1) /* Inverted Infrared transmission */ 111 #define UCR4_INVR (1<<9) /* Inverted infrared reception */ 125 #define UFCR_RFDIV_REG(x) (((x) < 7 ? 6 - (x) : 6) << 7) 154 #define UTS_LOOP (1<<12) /* Loop tx and rx */ 161 /* We've been assigned a range on the "Low-density serial ports" major */ 170 * filling the TX fifo incase CTS has been dropped. [all …]
|
H A D | amba-pl011.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (C) 2010 ST-Ericsson SA 11 * This is a generic driver for ARM AMBA-type serial ports. They 12 * have a lot of 16550-like features, but are not register compatible. 32 #include <linux/clk.h> 35 #include <linux/dma-mapping.h> 82 /* The size of the array - must be last */ 257 struct clk *clk; member 262 unsigned int fifosize; /* vendor-specific */ 263 unsigned int fixed_baud; /* vendor-set fixed baud rate */ [all …]
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_dw.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/clk.h> 72 struct clk *clk; member 73 struct clk *pclk; 99 struct dw8250_data *d = to_dw8250_data(p->private_data); in dw8250_modify_msr() 103 value |= d->msr_mask_on; in dw8250_modify_msr() 104 value &= ~d->msr_mask_off; in dw8250_modify_msr() 122 if (up->fcr & UART_FCR_ENABLE_FIFO) { in dw8250_force_idle() 123 lsr = p->serial_in(p, UART_LSR); in dw8250_force_idle() 128 (void)p->serial_in(p, UART_RX); in dw8250_force_idle() [all …]
|
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/a38x/ |
H A D | high_speed_env_spec.c | 1 // SPDX-License-Identifier: GPL-2.0 24 * serdes_seq_db - holds all serdes sequences, their size and the 30 #define ENDED_OK "High speed PHY - Ended Successfully\n" 63 /* Selector mapping for A380-A0 and A390-Z1 */ 158 /* Rx clk and Tx clk select non-inverted mode */ 177 /* Rx clk and Tx clk select non-inverted mode */ 185 /* SATA and SGMII - power up seq */ 202 /* SATA and SGMII - speed config seq */ 213 /* Phy Gen RX and TX */ 219 /* SATA and SGMII - TX config seq */ [all …]
|
/openbmc/linux/sound/soc/ti/ |
H A D | davinci-mcasp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Multi-channel Audio Serial Port Driver 7 * Author: Nirmal Pandey <n-pandey@ti.com>, 21 #include <linux/clk.h> 39 #include "edma-pcm.h" 40 #include "sdma-pcm.h" 41 #include "udma-pcm.h" 42 #include "davinci-mcasp.h" 136 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits() 143 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits() [all …]
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | bytcr_rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * byt_cr_dpcm_rt5640.c - ASoc Machine driver for Intel Byt CR platform 18 #include <linux/clk.h> 30 #include <sound/soc-acpi.h> 31 #include <dt-bindings/sound/rt5640.h> 33 #include "../atom/sst-atom-controls.h" 34 #include "../common/soc-intel-quirks.h" 36 #define BYT_RT5640_FALLBACK_CODEC_DEV_NAME "i2c-rt5640" 77 #define BYT_RT5640_DIFF_MIC BIT(18) /* default is single-ended */ 98 /* in-diff or dmic-pin + jdsrc + ovcd-th + -sf + jd-inv + terminating entry */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-gta04.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Based on omap3-beagle-xm.dts 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 17 cpu0-supply = <&vcc>; 27 stdout-path = &uart3; 33 /delete-property/ mmc2; 34 /delete-property/ mmc3; 38 compatible = "regulator-fixed"; 39 regulator-name = "ldo_3v3"; [all …]
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | samsung-dsim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/clk.h> 18 #include <linux/media-bus-format.h> 25 #include <drm/bridge/samsung-dsim.h> 111 #define DSIM_MAIN_VRESOL(x, num_bits) (((x) & ((1 << (num_bits)) - 1)) << 16) 112 #define DSIM_MAIN_HRESOL(x, num_bits) (((x) & ((1 << (num_bits)) - 1)) << 0) 408 .max_freq = 1000, 425 .max_freq = 1000, 440 .max_freq = 1000, 490 * downstream driver - drivers/gpu/drm/bridge/sec-dsim.c [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * of the original driver such as link fail-over and link management because 19 #include <linux/dma-mapping.h> 53 #define RX_MAX_PENDING (RX_LE_SIZE/6 - 2) 65 #define PHY_RETRIES 1000 69 #define RING_NEXT(x, s) (((x)+1) & ((s)-1)) 76 static int debug = -1; /* defaults above */ 84 static int disable_msi = -1; 93 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9000) }, /* SK-9Sxx */ 94 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E00) }, /* SK-9Exx */ [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl18xx/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include "../wlcore/tx.h" 28 #include "tx.h" 40 static int num_rx_desc_param = -1; 43 static int dc2dc_param = -1; 44 static int n_antennas_2_param = -1; 45 static int n_antennas_5_param = -1; 46 static int low_band_component_param = -1; 47 static int low_band_component_type_param = -1; 48 static int high_band_component_param = -1; [all …]
|
/openbmc/linux/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* cx25840 - Conexant CX25840 audio/video decoder driver 10 * - cleanup/rewrite for V4L2 API (2005) 36 #include <media/v4l2-common.h> 37 #include <media/drv-intf/cx25840.h> 39 #include "cx25840-core.h" 73 /* ----------------------------------------------------------------------- */ 107 msgs[0].addr = client->addr; in cx25840_read() 113 msgs[1].addr = client->addr; in cx25840_read() 118 if (i2c_transfer(client->adapter, msgs, 2) < 2) in cx25840_read() [all …]
|