/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-peripheral-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-peripheral-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Peripheral-specific properties for a SPI bus. 10 Many SPI controllers need to add properties to peripheral devices. They could 11 be common properties like spi-max-frequency, spi-cpha, etc. or they could be 12 controller specific like delay in clock or data lines, etc. These properties 13 need to be defined in the peripheral node because they are per-peripheral and 19 - Mark Brown <broonie@kernel.org> [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-bitbang.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * polling/bitbanging SPI master controller driver utilities 10 #include <linux/delay.h> 15 #include <linux/spi/spi.h> 16 #include <linux/spi/spi_bitbang.h> 21 /*----------------------------------------------------------------------*/ 24 * FIRST PART (OPTIONAL): word-at-a-time spi_transfer support. 25 * Use this for GPIO or shift-register level hardware APIs. 27 * spi_bitbang_cs is in spi_device->controller_state, which is unavailable 28 * to glue code. These bitbang setup() and cleanup() routines are always [all …]
|
H A D | spi-dw-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Designware SPI core controller driver (refer pxa2xx_spi.c) 9 #include <linux/dma-mapping.h> 14 #include <linux/delay.h> 16 #include <linux/spi/spi.h> 17 #include <linux/spi/spi-mem.h> 21 #include "spi-dw.h" 30 u32 rx_sample_dly; /* RX sample delay */ 64 snprintf(name, 32, "dw_spi%d", dws->host->bus_num); in dw_spi_debugfs_init() 65 dws->debugfs = debugfs_create_dir(name, NULL); in dw_spi_debugfs_init() [all …]
|
H A D | spi-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Addy Ke <addy.ke@rock-chips.com> 14 #include <linux/spi/spi.h> 18 #define DRIVER_NAME "rockchip-spi" 25 /* SPI register offsets */ 67 /* ss_n to sclk_out delay */ 154 /* sclk_out: spi host internal logic in rk3x can support 50Mhz */ 158 * SPI_CTRLR1 is 16-bits, so we should support lengths of 0xffff + 1. However, 163 /* 2 for native cs, 2 for cs-gpio */ 198 bool cs_inactive; /* spi target tansmition stop when cs inactive */ [all …]
|
H A D | spi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 // SPI init/core code 9 #include <linux/clk/clk-conf.h> 10 #include <linux/delay.h> 13 #include <linux/dma-mapping.h> 34 #include <linux/spi/spi.h> 35 #include <linux/spi/spi-mem.h> 39 #include <trace/events/spi.h> 49 struct spi_device *spi = to_spi_device(dev); in spidev_release() local 51 spi_controller_put(spi->controller); in spidev_release() [all …]
|
H A D | spi-cadence-quadspi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 // Copyright Altera Corporation (C) 2012-2014. All rights reserved. 6 // Copyright Intel Corporation (C) 2019-2020. All rights reserved. 7 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com 11 #include <linux/delay.h> 12 #include <linux/dma-mapping.h> 16 #include <linux/firmware/xlnx-zynqmp.h> 29 #include <linux/spi/spi.h> 30 #include <linux/spi/spi-mem.h> 33 #define CQSPI_NAME "cadence-qspi" [all …]
|
H A D | spi-fsl-dspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/delay.h> 12 #include <linux/dma-mapping.h> 20 #include <linux/spi/spi.h> 21 #include <linux/spi/spi-fsl-dspi.h> 23 #define DRIVER_NAME "fsl-dspi" 106 #define SPI_FRAME_BITS(bits) SPI_CTAR_FMSZ((bits) - 1) 107 #define SPI_FRAME_EBITS(bits) SPI_CTARE_FMSZE(((bits) - 1) >> 4) 146 /* Has A-011218 DMA erratum */ 152 /* Has A-011218 DMA erratum */ [all …]
|
H A D | spi-loopback-test.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/spi/spi-loopback-test.c 12 #include <linux/delay.h> 21 #include <linux/spi/spi.h> 23 #include "spi-test.h" 28 MODULE_PARM_DESC(simulate_only, "if not 0 do not execute the spi message"); 30 /* dump spi messages */ 37 /* the device is jumpered for loopback - enabling some rx_buf tests */ 54 "if set Chip Select (CS) will not be used"); 57 static int run_only_iter_len = -1; [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp15xx-dhcor-drc-compact.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 21 stdout-path = "serial0:115200n8"; 25 compatible = "gpio-leds"; 29 default-state = "off"; 35 default-state = "off"; 40 compatible = "regulator-fixed"; 41 regulator-name = "vio"; 42 regulator-min-microvolt = <3300000>; 43 regulator-max-microvolt = <3300000>; 45 regulator-always-on; [all …]
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-sama5d2_icp.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board 11 /dts-v1/; 13 #include "sama5d2-pinfunc.h" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/mfd/atmel-flexcom.h> 19 model = "Microchip SAMA5D2-ICP"; 20 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; 32 stdout-path = "serial0:115200n8"; [all …]
|
H A D | at91-sam9x60ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sam9x60ek.dts - Device Tree file for Microchip SAM9X60-EK board 9 /dts-v1/; 11 #include <dt-bindings/input/input.h> 14 model = "Microchip SAM9X60-EK"; 24 stdout-path = "serial0:115200n8"; 29 clock-frequency = <32768>; 33 clock-frequency = <24000000>; 37 gpio-keys { 38 compatible = "gpio-keys"; [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.sifive-fu540 | 1 FU540-C000 RISC-V SoC 3 The FU540-C000 is the world’s first 4+1 64-bit RISC‑V SoC from SiFive. 5 The HiFive Unleashed development platform is based on FU540-C000 and capable 16 1. SPI driver is still missing. So MMC card can't be used in U-Boot as of now. 17 2. U-Boot expects the serial console device entry to be present under /chosen 20 stdout-path = "/soc/serial@10010000:115200"; 23 Without a serial console U-Boot will panic. 27 1. Add the RISC-V toolchain to your PATH. 28 2. Setup ARCH & cross compilation enviornment variable. 36 The current U-Boot port is supported in S-mode only and loaded from DRAM. [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | cadence_qspi_apb.c | 7 * - Redistributions of source code must retain the above copyright 9 * - Redistributions in binary form must reproduce the above copyright 12 * - Neither the name of the Altera Corporation nor the 32 #include <spi.h> 231 unsigned int bypass, unsigned int delay) in cadence_qspi_apb_readdata_capture() argument 246 reg |= (delay & CQSPI_REG_RD_DATA_CAPTURE_DELAY_MASK) in cadence_qspi_apb_readdata_capture() 267 * SPI clock rate is less than or equal to the requested clock rate. in cadence_qspi_apb_config_baudrate_div() 269 div = DIV_ROUND_UP(ref_clk_hz, sclk_hz * 2) - 1; in cadence_qspi_apb_config_baudrate_div() 318 /* Convert CS if without decoder. in cadence_qspi_apb_chipselect() 348 /* Convert to ns. */ in cadence_qspi_apb_delay() [all …]
|
/openbmc/linux/arch/arm/common/ |
H A D | locomo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/delay.h> 46 /* DAC setup and hold times (expressed in us) */ 53 #define DAC_DATA_SETUP_TIME 1 /* 250 ns */ 54 #define DAC_DATA_HOLD_TIME 1 /* 300 ns */ 55 #define DAC_LOW_SETUP_TIME 1 /* 300 ns */ 56 #define DAC_HIGH_SETUP_TIME 1 /* 1000 ns */ 79 /* All the locomo devices. If offset is non-zero, the mapbase for the 88 .name = "locomo-keyboard", 95 .name = "locomo-frontlight", [all …]
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-pmic-wrap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 1346 * struct pwrap_slv_type - PMIC device wrapper definitions 1395 return readl(wrp->base + wrp->master->regs[reg]); in pwrap_readl() 1400 writel(val, wrp->base + wrp->master->regs[reg]); in pwrap_writel() 1408 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_get_fsm_state() 1464 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16() 1475 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) in pwrap_read16() 1520 return wrp->slave->regops->pwrap_read(wrp, adr, rdata); in pwrap_read() 1535 if (HAS_CAP(wrp->master->caps, PWRAP_CAP_ARB)) { in pwrap_write16() 1565 * for the synchronization between two successive 16-bit in pwrap_write32() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | e1000.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 Intel Pro 1000 for ppcboot/das-u-boot 4 Drivers are port from Intel's Linux driver e1000-4.3.15 11 Copyright(c) 1999 - 2002 Intel Corporation. All rights reserved. 16 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 60 * Normally U-Boot does not support this anyway. To fix it in this driver, 160 * hw - Struct containing variables accessed by shared code 161 * eecd - EECD's current value 177 * hw - Struct containing variables accessed by shared code 178 * eecd - EECD's current value [all …]
|
/openbmc/u-boot/ |
H A D | README | 1 # SPDX-License-Identifier: GPL-2.0+ 3 # (C) Copyright 2000 - 2013 9 This directory contains the source code for U-Boot, a boot loader for 15 The development of U-Boot is closely related to Linux: some parts of 37 scattered throughout the U-Boot source identifying the people or 41 actual U-Boot source tree; however, it can be created dynamically 51 U-Boot, you should send a message to the U-Boot mailing list at 52 <u-boot@lists.denx.de>. There is also an archive of previous traffic 53 on the mailing list - please search the archive before asking FAQ's. 54 Please see http://lists.denx.de/pipermail/u-boot and [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-pxa/ |
H A D | pxa-regs.h | 2 * linux/include/asm-arm/arch-pxa/pxa-regs.h 12 * - 2003/01/20: Robert Schwebel <r.schwebel@pengutronix.de 13 * Original file taken from linux-2.4.19-rmk4-pxa1. Added some definitions. 22 /* FIXME hack so that SA-1111.h will work [cb] */ 134 #define DCSR_NODESC (1 << 30) /* No-Descriptor Fetch (read / write) */ 147 #define DCSR_REQPEND (1 << 8) /* Request Pending (read-only) */ 148 #define DCSR_STOPSTATE (1 << 3) /* Stop State (read-only) */ 302 #define DCMD_ENDIAN (1 << 18) /* Device Endian-ness. */ 309 #define DCMD_LENGTH 0x01fff /* length mask (max = 8K - 1) */ 354 #define SACR1 0x40400004 /* Serial Audio I 2 S/MSB-Justified Control Register */ [all …]
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 4 * Copyright (c) 1994-2002 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 78 { DPARERR, "Data-path Parity Error" }, 87 { P_DATAOUT, NOP, "in Data-out phase" }, 88 { P_DATAIN, INITIATOR_ERROR, "in Data-in phase" }, 89 { P_DATAOUT_DT, NOP, "in DT Data-out phase" }, 90 { P_DATAIN_DT, INITIATOR_ERROR, "in DT Data-in phase" }, 92 { P_MESGOUT, NOP, "in Message-out phase" }, 94 { P_MESGIN, MSG_PARITY_ERROR, "in Message-in phase" }, [all …]
|
/openbmc/linux/ |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok2.0.log | 1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms) 2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c' 3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms) 4 2024-1 [all...] |
/openbmc/ |
D | opengrok1.0.log | 1 2025-01-09 03:00:44.932-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-01-09 03:00:45.045-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
D | opengrok2.0.log | 1 2025-01-08 03:00:39.311-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-01-08 03:00:39.421-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |