/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | lbc.txt | 1 * Chipselect/Local Bus 6 chipselect number, and the remaining cells are the 7 offset into the chipselect. 8 - #size-cells : Either one or two, depending on how large each chipselect 10 - ranges : Each range corresponds to a single chipselect, and cover
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | davinci-nand.txt | 20 - ti,davinci-chipselect: number of chipselect. Indicates on the 21 davinci_nand driver which chipselect is used 39 - ti,davinci-mask-chipsel: mask for chipselect address. Needed to mask 40 addresses for given chipselect. 82 ti,davinci-chipselect = <1>;
|
/openbmc/linux/drivers/spi/ |
H A D | spi-xcomm.c | 36 uint16_t chipselect; member 53 put_unaligned_be16(spi_xcomm->chipselect, &buf[3]); in spi_xcomm_sync_config() 62 uint16_t chipselect = spi_xcomm->chipselect; in spi_xcomm_chipselect() local 65 chipselect |= BIT(cs); in spi_xcomm_chipselect() 67 chipselect &= ~BIT(cs); in spi_xcomm_chipselect() 69 spi_xcomm->chipselect = chipselect; in spi_xcomm_chipselect()
|
H A D | spi-bitbang-txrx.h | 6 * - GPIO/parport bitbangers. Provide chipselect() and txrx_word[](), 10 * chipselect() and txrx_word[](), with custom setup()/cleanup() methods 11 * that use your controller's clock and chipselect registers. 16 * duplex (MicroWire) controllers. Provide chipselect() and txrx_bufs(),
|
H A D | spi-bitbang.c | 31 * chipselect() and friends may use spi_device->controller_data and 335 bitbang->chipselect(spi, enable ? BITBANG_CS_ACTIVE : in spi_bitbang_set_cs() 350 * We only need the chipselect callback if we are actually using it. in spi_bitbang_init() 353 * driver-specific chipselect routine. in spi_bitbang_init() 358 if (custom_cs && !bitbang->chipselect) in spi_bitbang_init()
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/fsl/ |
H A D | fsl,ifc.yaml | 29 Should be either two or three. The first cell is the chipselect 30 number, and the remaining cells are the offset into the chipselect. 35 Either one or two, depending on how large each chipselect can be. 57 Each range corresponds to a single chipselect, and covers the entire
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | renesas,rcar-gyroadc.yaml | 13 The GyroADC block is a reduced SPI block with up to 8 chipselect lines, 72 operation, single MB88101A is required. The Cx chipselect lines 81 A 3:8 chipselect demuxer is required to connect the nCS line 89 A 3:8 chipselect demuxer is required to connect the nCS line
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | spear_spics.txt | 5 PL022 control. If chipselect remain under PL022 control then they would be 12 directly control each PL022 chipselect. Hence, it is natural for SPEAr to export 21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | hisi504_nand.c | 133 int chipselect; member 215 | ((host->chipselect & HINFC504_DMA_CTRL_CS_MASK) in hisi_nfc_dma_transfer() 289 | ((host->chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_erase() 308 | ((host->chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_readid() 323 | ((host->chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_status() 332 static int hisi_nfc_send_cmd_reset(struct hinfc_host *host, int chipselect) in hisi_nfc_send_cmd_reset() argument 337 | ((chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_reset() 347 static void hisi_nfc_select_chip(struct nand_chip *chip, int chipselect) in hisi_nfc_select_chip() argument 351 if (chipselect < 0) in hisi_nfc_select_chip() 354 host->chipselect = chipselect; in hisi_nfc_select_chip() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/rtc/ |
H A D | nxp,rtc-2123.txt | 6 - reg: should be the SPI slave chipselect address 9 - spi-cs-high: PCF2123 needs chipselect high
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti-aemif.txt | 73 - ti,cs-chipselect: number of chipselect. Indicates on the aemif driver 74 which chipselect is used for accessing the memory. For 163 ti,cs-chipselect = <2>; 192 ti,cs-chipselect = <0>;
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-spear-spics.c | 3 * SPEAr platform SPI chipselect abstraction over gpiolib 25 * It provides control for spi chip select lines so that any chipselect 35 * @cs_value_bit: bit to program high or low chipselect 36 * @cs_enable_mask: mask to select bits required to select chipselect
|
/openbmc/linux/arch/mips/bcm63xx/ |
H A D | cs.c | 32 * Configure chipselect base address and size (bytes). 64 * configure chipselect timing (ns) 92 * configure other chipselect parameter (data bus size, ...)
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl-mcp23s08.txt | 26 SPI uses this to specify the chipselect line which the chip is 28 multiple chips on the same chipselect. Have a look at 35 SPI chipselect. Set a bit in bit0-7 in this mask to 1 if there is a 39 possible to mix mcp23s08 and mcp23s17 on the same chipselect. Set at
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | revo.h | 33 #define VT1724_REVO_CS0 0x10 /* AK5365 chipselect for (revo51) */ 34 #define VT1724_REVO_CS1 0x20 /* front AKM4381 chipselect */
|
/openbmc/linux/include/linux/platform_data/ |
H A D | spi-s3c64xx.h | 16 * struct s3c64xx_spi_csinfo - ChipSelect description 20 * This is per SPI-Slave Chipselect information.
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-gpio.yaml | 36 description: GPIOs to use for chipselect lines. 42 description: Number of chipselect lines. Should be <0> if a single device
|
H A D | spi-fsl-dspi.txt | 21 - spi-num-chipselects : the number of the chipselect signals. 26 - bus-num : the slave chip chipselect signal number.
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mmc_spi.c | 44 * - MMC depends on a different chipselect management policy than the 46 * to issue multiple spi_message requests with the chipselect active, 52 * - We tell the controller to keep the chipselect active from the 56 * However, many cards seem OK with chipselect flapping up/down 141 /* chipselect will always be inactive after setup() */ in mmc_cs_off() 382 /* disable chipselect on errors and some success cases */ in mmc_spi_response_get() 480 /* send command, leaving chipselect active */ in mmc_spi_command_send() 497 /* after no-data commands and STOP_TRANSMISSION, chipselect off */ in mmc_spi_command_send() 682 * before dropping chipselect. 989 * Do a burst with chipselect active-high. We need to do this to in mmc_spi_initsequence() [all …]
|
/openbmc/linux/include/uapi/linux/spi/ |
H A D | spi.h | 16 #define SPI_CS_HIGH _BITUL(2) /* chipselect active high? */ 20 #define SPI_NO_CS _BITUL(6) /* 1 dev/bus, no chipselect */
|
/openbmc/linux/include/linux/spi/ |
H A D | spi.h | 135 * @chip_select: Chipselect, distinguishing chips handled by @controller. 138 * The "active low" default for chipselect mode can be overridden 160 * @cs_gpiod: GPIO descriptor of the chipselect line (optional, NULL when 231 * - chipselect delays 285 static inline void spi_set_chipselect(struct spi_device *spi, u8 idx, u8 chipselect) in spi_set_chipselect() argument 287 spi->chip_select = chipselect; in spi_set_chipselect() 377 * each slave has a chipselect signal, but it's common that not 378 * every chipselect is connected to a slave. 398 * @add_lock: mutex to avoid adding devices to the same chipselect 482 * the cs_gpiod assigned if a GPIO line is found for the chipselect. [all …]
|
/openbmc/u-boot/arch/m68k/cpu/mcf52x2/ |
H A D | cpu_init.c | 32 /* Only 5272 Flexbus chipselect is different from the rest */ 110 /* FlexBus Chipselect */ in cpu_init_f() 211 /* FlexBus Chipselect */ in cpu_init_f() 260 /* FlexBus Chipselect */ in cpu_init_f() 468 /* FlexBus Chipselect */ in cpu_init_f() 609 /* FlexBus Chipselect */ in cpu_init_f() 719 /* FlexBus Chipselect */ in cpu_init_f()
|
/openbmc/linux/drivers/mtd/spi-nor/controllers/ |
H A D | hisi-sfc.c | 83 u32 chipselect; member 192 reg = OP_CFG_FM_CS(priv->chipselect); in hisi_spi_nor_op_reg() 248 reg = OP_CFG_FM_CS(priv->chipselect); in hisi_spi_nor_dma_transfer() 353 ret = of_property_read_u32(np, "reg", &priv->chipselect); in hisi_spi_nor_register() 408 dev_warn(dev, "Flash device number exceeds the maximum chipselect number\n"); in hisi_spi_nor_register_all()
|
/openbmc/u-boot/drivers/spi/ |
H A D | fsl_dspi.c | 33 /* max chipselect signals number */ 65 * @num_chipselect: Number of DSPI chipselect signals 84 * @num_chipselect: Number of DSPI chipselect signals 85 * @ctar_val: CTAR register configure value of per chipselect slave device 523 debug("DSPI invalid chipselect number %d(max %d)!\n", in fsl_dspi_child_pre_probe() 688 * We store some chipselect special configure value in priv->ctar_val, in fsl_dspi_set_mode() 689 * and we can't get the correct chipselect number here, in fsl_dspi_set_mode()
|
/openbmc/linux/arch/powerpc/boot/dts/ |
H A D | ac14xx.dts | 105 chipselect = <2 0x00009000 0x00009100>; 112 chipselect = <6 0x00009000 0x00009100>; 120 chipselect = <3 0x00101140 0x00203100>; 128 chipselect = <5 0x00009000 0x00009100>;
|