Home
last modified time | relevance | path

Searched +full:spi +full:- +full:cs +full:- +full:setup +full:- +full:delay +full:- +full:ns (Results 1 – 12 of 12) sorted by relevance

/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1043a-rdb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
5 * Copyright 2014-2015 Freescale Semiconductor, Inc.
11 /dts-v1/;
12 #include "fsl-ls1043a.dtsi"
16 compatible = "fsl,ls1043a-rdb", "fsl,ls1043a";
26 stdout-path = "serial0:115200n8";
36 shunt-resistor = <1000>;
67 #address-cells = <2>;
68 #size-cells = <1>;
[all …]
/linux/Documentation/devicetree/bindings/spi/
H A Dspi-peripheral-props.yaml1 # 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 …]
H A Dfsl,dspi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/fsl,dspi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Frank Li <Frank.Li@nxp.com>
15 - enum:
16 - fsl,vf610-dspi
17 - fsl,ls1021a-v1.0-dspi
18 - fsl,ls1012a-dspi
19 - fsl,ls1028a-dspi
[all …]
/linux/drivers/spi/
H A Dspi-dw-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Designware SPI core controller driver (refer pxa2xx_spi.c)
10 #include <linux/dma-mapping.h>
15 #include <linux/delay.h>
17 #include <linux/spi/spi.h>
18 #include <linux/spi/spi-mem.h>
23 #include "spi-dw.h"
32 u32 rx_sample_dly; /* RX sample delay */
66 snprintf(name, 32, "dw_spi%d", dws->host->bus_num); in dw_spi_debugfs_init()
67 dws->debugfs = debugfs_create_dir(name, NULL); in dw_spi_debugfs_init()
[all …]
H A Dspi-rockchip.c1 // 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,
195 bool cs_inactive; /* spi target tansmition stop when cs inactive */
196 bool cs_high_supported; /* native CS supports active-high polarity */
[all …]
H A Dspi-cadence-quadspi.c1 // 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 Dspi-fsl-dspi.c1 // 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 Dspi-loopback-test.c1 // 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 …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xx-dhcor-drc-compact.dtsi1 // 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 …]
/linux/arch/arm/common/
H A Dlocomo.c1 // 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 */
81 /* All the locomo devices. If offset is non-zero, the mapbase for the
90 .name = "locomo-keyboard",
97 .name = "locomo-frontlight",
[all …]
/linux/drivers/soc/mediatek/
H A Dmtk-pmic-wrap.c1 // SPDX-License-Identifier: GPL-2.0-only
1346 * struct pwrap_slv_type - PMIC device wrapper definitions
1391 return readl(wrp->base + wrp->master->regs[reg]);
1396 writel(val, wrp->base + wrp->maste in pwrap_readl()
[all...]
/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c4 * 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 …]