/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-nanopi-k2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb"; 20 stdout-path = "serial0:115200n8"; 29 compatible = "gpio-leds"; 32 label = "nanopi-k2:blue:stat"; 34 default-state = "on"; 35 panic-indicator; [all …]
|
H A D | armada-388-clearfog.dts | 11 * This file is dual-licensed: you can use it either under the terms 49 /dts-v1/; 50 #include <dt-bindings/input/input.h> 51 #include <dt-bindings/gpio/gpio.h> 52 #include "armada-388.dtsi" 53 #include "armada-38x-solidrun-microsom.dtsi" 57 compatible = "solidrun,clearfog-a1", "marvell,armada388", 61 /* So that mvebu u-boot can update the MAC addresses */ 71 stdout-path = "serial0:115200n8"; 74 reg_3p3v: regulator-3p3v { [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/sound/soc/fsl/ |
H A D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Copyright 2007-2010 Freescale Semiconductor, Inc. 9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards: 16 // we receive in our (PCM-) data stream. The only chance we have is to 32 #include <linux/clk.h> 43 #include <linux/dma/imx-dma.h> 53 #include "imx-pcm.h" 55 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ 57 #define TX 1 macro 66 * (bit-endianness must match byte-endianness). Processors typically write [all …]
|
/openbmc/linux/sound/soc/ti/ |
H A D | davinci-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * based on davinci-mcasp.c DT support 21 #include <linux/clk.h> 31 #include "edma-pcm.h" 32 #include "davinci-i2s.h" 34 #define DRV_NAME "davinci-i2s" 39 * - This driver supports the "Audio Serial Port" (ASP), 42 * - But it labels it a "Multi-channel Buffered Serial Port" 44 * backward-compatible, possibly explaining that confusion. 46 * - OMAP chips have a controller called McBSP, which is [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/Documentation/devicetree/bindings/input/ |
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | bytcr_rt5651.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bytcr_rt5651.c - ASoc Machine driver for Intel Byt CR platform 18 #include <linux/clk.h> 29 #include <sound/soc-acpi.h> 31 #include "../atom/sst-atom-controls.h" 32 #include "../common/soc-intel-quirks.h" 80 /* jack-detect-source + inv + dmic-en + ovcd-th + -sf + terminating entry */ 84 struct clk *mclk; 93 /* Default: jack-detect on JD1_1, internal mic on in2, headsetmic on in3 */ 97 static int quirk_override = -1; [all …]
|
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/sound/soc/codecs/ |
H A D | wm8960.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8960.c -- WM8960 ALSA SoC Audio driver 5 * Copyright 2007-11 Wolfson Microelectronics, plc 15 #include <linux/clk.h> 29 /* R25 - Power 1 */ 33 /* R26 - Power 2 */ 38 /* R28 - Anti-pop 1 */ 45 /* R29 - Anti-pop 2 */ 133 struct clk *mclk; 155 static const char *wm8960_polarity[] = {"No Inversion", "Left Inverted", [all …]
|
H A D | cs4234.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // cs4234.c -- ALSA SoC CS4234 driver 8 #include <linux/clk.h> 36 struct clk *mclk; 44 /* -89.92dB to +6.02dB with step of 0.38dB */ 45 static const DECLARE_TLV_DB_SCALE(dac_tlv, -8992, 38, 0); 48 "0us", "100us", "150us", "200us", "225us", "250us", "275us", "300us", 96 regmap_read(cs4234->regmap, CS4234_ADC_CTRL2, &val); in cs4234_dac14_grp_delay_put() 98 ret = -EBUSY; in cs4234_dac14_grp_delay_put() 99 dev_err(component->dev, "Can't change group delay while ADC are ON\n"); in cs4234_dac14_grp_delay_put() [all …]
|
H A D | rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver 27 #include <sound/soc-dapm.h> 340 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 341 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0); 342 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 343 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000); 451 * set_dmic_clk - Set parameter of dmic. 461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 465 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk() [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" 32 #define LINK_WAIT_CNTR 100 33 #define LINK_WAIT_SLEEP 100 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 */ [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wil6210.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 67 return (x >> b0) & ((1 << (b1 - b0 + 1)) - 1); in WIL_GET_BITS() 90 #define WIL_WMI_CALL_GENERAL_TO_MS 100 96 * 26 bytes - 3-address QoS data header 97 * 8 bytes - IV + EIV (for GCMP) 98 * 8 bytes - SNAP 99 * 16 bytes - MIC (for GCMP) 100 * 4 bytes - CRC [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/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/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) 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 */ 95 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E01) }, /* SK-9E21M */ [all …]
|
/openbmc/linux/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Driver for PowerPC 4xx on-chip ethernet controller. 50 #include <asm/dcr-regs.h> 57 * API-correct usage requires additional support state information to be 58 * maintained for every RX and TX buffer descriptor (BD). Unfortunately, due to 59 * EMAC design (e.g. TX buffer passed from network stack can be split into 67 * controversial, but I really tried to make code API-correct and efficient 68 * at the same time and didn't come up with code I liked :(. --ebs 80 /* minimum number of free TX descriptors required to wake up TX process */ 89 * to avoid re-using the same PHY ID in cases where the arch didn't [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) 219 #define DSI_XFER_TIMEOUT_MS 100 490 * downstream driver - drivers/gpu/drm/bridge/sec-dsim.c 523 writel(val, dsi->reg_base + dsi->driver_data->reg_ofs[idx]); in samsung_dsim_write() 528 return readl(dsi->reg_base + dsi->driver_data->reg_ofs[idx]); in samsung_dsim_read() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_reg.h | 3 * Copyright (c) 2007-2013 Broadcom Corporation 13 * R - Read only 14 * RC - Clear on read 15 * RW - Read/Write 16 * ST - Statistics register (clear on read) 17 * W - Write only 18 * WB - Wide bus register - the size is over 32 bits and it should be 20 * WR - Write Clear (write 1 to clear the bit) 32 /* [RW 1] Initiate the ATC array - reset all the valid bits */ 56 * BRB1_IND_FREE_LIST_PRS_CRDT+2 initialize parser initial credit. Warning - [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 …]
|