/Zephyr-latest/dts/bindings/spi/ |
D | nxp,s32-spi.yaml | 1 # Copyright 2022-2023 NXP 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "nxp,s32-spi" 8 include: [spi-controller.yaml, pinctrl-device.yaml] 17 num-cs: 26 pinctrl-0: 29 pinctrl-names: 37 spi-sck-cs-delay: 41 deactivating Chip Select at the stop of transfer. If CS remains 43 If not set, the minimum supported delay is used. [all …]
|
D | litex,spi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: spi-controller.yaml 14 data-width: 20 max-cs: 23 Maximum number of chip selects supported by the SPI controller.
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | renesas,smartbond-nor-psram.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "renesas,smartbond-nor-psram" 14 is-ram: 19 dev-size: 25 dev-type: 31 dev-density: 40 dev-id: 46 reset-delay-us: 52 read-cs-idle-min-ns: 56 Min. time, in nanoseconds, the #CS line should remain inactive between [all …]
|
/Zephyr-latest/drivers/spi/ |
D | spi_b91.c | 4 * SPDX-License-Identifier: Apache-2.0 38 #define SPI_CFG(dev) ((struct spi_b91_cfg *) ((dev)->config)) 44 #define SPI_DATA(dev) ((struct spi_b91_data *) ((dev)->data)) 47 /* disable hardware cs flow control */ 52 /* loop through all cs pins (cs0..cs2) */ in spi_b91_hw_cs_disable() 54 /* get CS pin defined in device tree */ in spi_b91_hw_cs_disable() 55 pin = config->cs_pin[i]; in spi_b91_hw_cs_disable() 57 /* if CS pin is defined in device tree */ in spi_b91_hw_cs_disable() 59 if (config->peripheral_id == PSPI_MODULE) { in spi_b91_hw_cs_disable() 60 /* disable CS pin for PSPI */ in spi_b91_hw_cs_disable() [all …]
|
D | spi_litex.c | 5 * SPDX-License-Identifier: Apache-2.0 38 const struct spi_litex_cfg *dev_config = dev->config; in spi_set_frequency() 40 if (!dev_config->clk_divider_exists) { in spi_set_frequency() 46 uint16_t divisor = DIV_ROUND_UP(sys_clock_hw_cycles_per_sec(), config->frequency); in spi_set_frequency() 48 litex_write16(divisor, dev_config->clk_divider_addr); in spi_set_frequency() 54 const struct spi_litex_cfg *dev_config = dev->config; in spi_config() 55 struct spi_litex_data *dev_data = dev->data; in spi_config() 57 if (config->slave >= dev_config->max_cs) { in spi_config() 58 LOG_ERR("More slaves than supported"); in spi_config() 59 return -ENOTSUP; in spi_config() [all …]
|
D | spi_npcx_spip.c | 4 * SPDX-License-Identifier: Apache-2.0 46 const struct spi_npcx_spip_cfg *const config = dev->config; in spi_npcx_spip_configure() 47 struct spi_npcx_spip_data *const data = dev->data; in spi_npcx_spip_configure() 48 struct spip_reg *const reg_base = config->reg_base; in spi_npcx_spip_configure() 49 spi_operation_t operation = spi_cfg->operation; in spi_npcx_spip_configure() 52 if (spi_context_configured(&data->ctx, spi_cfg)) { in spi_npcx_spip_configure() 58 LOG_ERR("Half duplex mode is not supported"); in spi_npcx_spip_configure() 59 return -ENOTSUP; in spi_npcx_spip_configure() 63 LOG_ERR("Only SPI controller mode is supported"); in spi_npcx_spip_configure() 64 return -ENOTSUP; in spi_npcx_spip_configure() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | cs.h | 8 * SPDX-License-Identifier: Apache-2.0 14 * @brief LE Channel Sounding (CS) 15 * @defgroup bt_le_cs Channel Sounding (CS) 31 * @brief Macro for getting a specific channel bit in CS channel map 41 * @brief Macro for setting a specific channel bit value in CS channel map 65 /** Default CS settings in the local Controller */ 67 /** Enable CS initiator role. */ 69 /** Enable CS reflector role. */ 75 * for all CS transmissions. 83 /** CS Test CS_SYNC Antenna Identifier */ [all …]
|
D | conn.h | 6 * Copyright (c) 2015-2016 Intel Corporation 8 * SPDX-License-Identifier: Apache-2.0 73 * Connection Interval: 30-50 ms 208 * after a packet containing a Link Layer PDU with a non-zero Length 224 * a packet containing a Link Layer PDU with a non-zero Length 240 * a packet containing a Link Layer PDU with a non-zero Length 265 /** Supported AA-Only RTT precision. */ 267 /** AA-Only RTT variant is not supported. */ 269 /** 10ns time-of-flight accuracy. */ 271 /** 150ns time-of-flight accuracy. */ [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_wb05kn1/ |
D | x_nucleo_wb05kn1_spi.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 zephyr,bt-hci = &hci_spi; 14 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ 17 compatible = "st,hci-spi-v2"; 19 reset-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */ 20 irq-gpios = <&arduino_header 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* A0 */ 21 spi-cpol; /* CPOL=1 */ 22 spi-cpha; /* CPHA=1 */ 23 spi-hold-cs; 24 spi-max-frequency = <DT_FREQ_M(8)>; /* the maximum supported SPI speed */ [all …]
|
/Zephyr-latest/boards/nordic/nrf7002dk/ |
D | nrf7002dk_nrf5340_cpuapp_defconfig | 1 # SPDX-License-Identifier: Apache-2.0 9 # Enable TrustZone-M 26 # ISN needs CS-Rand which isn't supported upstream for nRF boards
|
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_shi.h | 4 * SPDX-License-Identifier: Apache-2.0 20 * 1. - - AP asserts chip select (CS#) 21 * 2. EC_SHI_OLD_READY - AP sends first byte(s) of request 22 * 3. - - EC starts handling CS# interrupt 23 * 4. EC_SHI_RECEIVING - AP sends remaining byte(s) of request 24 * 5. EC_SHI_PROCESSING - EC starts processing request; AP is clocking in 26 * 6. - - EC finishes processing and sets up response 27 * 7. EC_SHI_FRAME_START - AP reads frame byte 28 * 8. (response packet) - AP reads response packet 29 * 9. EC_SHI_PAST_END - Any additional bytes read by AP [all …]
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | cs.c | 2 * @brief Bluetooth Channel Sounding (CS) shell 9 * SPDX-License-Identifier: Apache-2.0 24 #include <zephyr/bluetooth/cs.h> 38 return -EINVAL; in check_cs_sync_antenna_selection_input() 50 return -ENOEXEC; in cmd_read_remote_supported_capabilities() 57 return -ENOEXEC; in cmd_read_remote_supported_capabilities() 72 return -ENOEXEC; in cmd_set_default_settings() 116 return -ENOEXEC; in cmd_set_default_settings() 128 return -ENOEXEC; in cmd_read_remote_fae_table() 134 return -ENOEXEC; in cmd_read_remote_fae_table() [all …]
|
/Zephyr-latest/soc/atmel/sam0/common/ |
D | Kconfig.saml2x | 2 # SPDX-License-Identifier: Apache-2.0 44 # NOTE: XOSC is not currently supported 79 As detailed in DS70005356C, LoRa radio SPI pins do not have pull-ups, 80 so when the radio is not in use, it's important that CS is kept high, 83 keeping nRST pin low. When enabling this option, both CS and nRST will
|
/Zephyr-latest/drivers/espi/ |
D | espi_saf_mchp_xec.c | 5 * SPDX-License-Identifier: Apache-2.0 20 /* SAF EC Portal read/write flash access limited to 1-64 bytes */ 44 * Delay before first Poll-1 command after suspend in 20 ns units 72 static inline void mchp_saf_cs_descr_wr(MCHP_SAF_HW_REGS *regs, uint8_t cs, in mchp_saf_cs_descr_wr() argument 75 regs->SAF_CS_OP[cs].OP_DESCR = val; in mchp_saf_cs_descr_wr() 78 static inline void mchp_saf_poll2_mask_wr(MCHP_SAF_HW_REGS *regs, uint8_t cs, in mchp_saf_poll2_mask_wr() argument 81 LOG_DBG("%s cs: %d mask %x", __func__, cs, val); in mchp_saf_poll2_mask_wr() 82 if (cs == 0) { in mchp_saf_poll2_mask_wr() 83 regs->SAF_CS0_CFG_P2M = val; in mchp_saf_poll2_mask_wr() 85 regs->SAF_CS1_CFG_P2M = val; in mchp_saf_poll2_mask_wr() [all …]
|
D | espi_saf_mchp_xec_v2.c | 5 * SPDX-License-Identifier: Apache-2.0 17 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h> 27 /* SAF EC Portal read/write flash access limited to 1-64 bytes */ 61 * Delay before first Poll-1 command after suspend in 20 ns units 96 static inline void mchp_saf_cs_descr_wr(struct mchp_espi_saf *regs, uint8_t cs, in mchp_saf_cs_descr_wr() argument 99 regs->SAF_CS_OP[cs].OP_DESCR = val; in mchp_saf_cs_descr_wr() 102 static inline void mchp_saf_poll2_mask_wr(struct mchp_espi_saf *regs, uint8_t cs, in mchp_saf_poll2_mask_wr() argument 105 LOG_DBG("%s cs: %d mask %x", __func__, cs, val); in mchp_saf_poll2_mask_wr() 106 if (cs == 0) { in mchp_saf_poll2_mask_wr() 107 regs->SAF_CS0_CFG_P2M = val; in mchp_saf_poll2_mask_wr() [all …]
|
/Zephyr-latest/dts/bindings/gpio/ |
D | sparkfun,micromod-gpio.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 swap between a myriad of supported boards and carriers. 11 supported buses: 12 * An 6-pin Power Supply header. No pins on this header are exposed 19 * 2 SPI buses not exposed by this binding. Only SPI CS control pin 24 * 12 General purpose pins (G0 - G11). 29 - 00 -> A0 PIN 34 30 - 01 -> A1 PIN 38 31 - 02 -> D0 PIN 10 32 - 03 -> D1/CAM_TRIG PIN 18 [all …]
|
/Zephyr-latest/subsys/bluetooth/ |
D | Kconfig | 5 # SPDX-License-Identifier: Apache-2.0 9 # Some BT threads use co-op priorities to implement critical sections, 25 bool "HCI-based" 27 HCI-based stack with optional host & controller parts and an 33 Select a custom, non-HCI based stack. If you're not sure what 34 this is, you probably want the HCI-based stack instead. 41 range -256 -1 110 supported. 121 # Enable if building a Host-only build 123 # Enable if building a Controller-only build [all …]
|
/Zephyr-latest/doc/services/device_mgmt/ |
D | ec_host_cmd.rst | 45 discussion <https://github.com/zephyrproject-rtos/zephyr/issues/56091>`_. 51 .. code-block:: devicetree 57 compatible = "st,stm32-spi-host-cmd"; 62 dma-names = "tx", "rx"; 63 /* This field is used to point at our CS pin */ 64 cs-gpios = <&gpioa 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 67 The STM32 SPI host command backend driver supports the :dtcompatible:`st,stm32h7-spi` and 68 :dtcompatible:`st,stm32-spi-fifo` variant implementations. To enable these variants, append the 72 .. code-block:: devicetree 75 compatible = "st,stm32h7-spi", "st,stm32-spi-fifo", "st,stm32-spi-host-cmd"; [all …]
|
/Zephyr-latest/dts/bindings/mipi-dbi/ |
D | zephyr,mipi-dbi-bitbang.yaml | 3 # SPDX-License-Identifier: Apache-2.0 6 MIPI-DBI Mode A and B bit banging controller. This driver emulates MIPI DBI mode A and B (6800 9 compatible: "zephyr,mipi-dbi-bitbang" 11 include: ["mipi-dbi-controller.yaml", "pinctrl-device.yaml"] 15 dc-gpios: 16 type: phandle-array 21 reset-gpios: 22 type: phandle-array 27 rd-gpios: 28 type: phandle-array [all …]
|
/Zephyr-latest/boards/shields/adafruit_2_8_tft_touch_v2/boards/ |
D | rd_rw612_bga.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/spi/spi.h> 18 /delete-node/ mipi_dbi; 19 /delete-node/ adafruit_2_8_tft_touch_v2_mipi_dbi; 23 /* Byte swapping not supported for this display */ 24 /delete-property/ nxp,swap-bytes; 26 nxp,timer0-ratio = <15>; 31 * - R125, R123, R12, R124, R15, R243, R239, R236, R233, R286, R246 33 * - R9, R11, R20, R19, R242, R241, R237, R235, R245 35 * - J5 1-2 [all …]
|
/Zephyr-latest/drivers/adc/ |
D | adc_rpi_pico.c | 5 * SPDX-License-Identifier: Apache-2.0 27 #define ADC_RPI_CHANNEL_NUM (ADC_CS_RROBIN_MSB - ADC_CS_RROBIN_LSB + 1) 35 /** Number of supported channels */ 69 hw_set_bits(&adc_hw->cs, ADC_CS_START_ONCE_BITS); in adc_start_once() 74 return (uint16_t)adc_hw->result; in adc_get_result() 79 return (adc_hw->cs & ADC_CS_ERR_BITS) ? true : false; in adc_get_err() 85 hw_set_bits(&adc_hw->fcs, ADC_FCS_OVER_BITS); in adc_clear_errors() 86 hw_set_bits(&adc_hw->fcs, ADC_FCS_UNDER_BITS); in adc_clear_errors() 87 hw_set_bits(&adc_hw->fcs, ADC_FCS_ERR_BITS); in adc_clear_errors() 88 hw_set_bits(&adc_hw->cs, ADC_CS_ERR_STICKY_BITS); in adc_clear_errors() [all …]
|
/Zephyr-latest/dts/bindings/qspi/ |
D | nxp,s32-qspi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 10 compatible: "nxp,s32-qspi" 12 include: [base.yaml, pinctrl-device.yaml] 20 "#address-cells": 23 "#size-cells": 26 data-rate: 29 - SDR 30 - DDR 33 - Single Data Rate (SDR): sampling of incoming data occurs on single edges. 34 - Double Data Rate (DDR): sampling of incoming data occurs on both edges. [all …]
|
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/boards/ |
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 4 * SPDX-License-Identifier: Apache-2.0 21 low-power-enable; 40 low-power-enable; 52 pinctrl-0 = <&spi22_default_alt>; 53 pinctrl-1 = <&spi22_sleep_alt>; 54 pinctrl-names = "default", "sleep"; 55 overrun-character = <0x00>; 56 cs-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 57 zephyr,pm-device-runtime-auto; 58 dut_spi_dt: test-spi-dev@0 { [all …]
|
/Zephyr-latest/tests/drivers/spi/spi_error_cases/boards/ |
D | nrf54h20dk_nrf54h20_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 21 low-power-enable; 40 low-power-enable; 55 compatible = "nordic,nrf-spim"; 57 pinctrl-0 = <&spi130_default_alt>; 58 pinctrl-1 = <&spi130_sleep_alt>; 59 pinctrl-names = "default", "sleep"; 60 overrun-character = <0x00>; 61 cs-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; 62 dut_spi_dt: test-spi-dev@0 { [all …]
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 4 * SPDX-License-Identifier: Apache-2.0 21 low-power-enable; 40 low-power-enable; 52 pinctrl-0 = <&spi22_default_alt>; 53 pinctrl-1 = <&spi22_sleep_alt>; 54 pinctrl-names = "default", "sleep"; 55 overrun-character = <0x00>; 56 cs-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 57 dut_spi_dt: test-spi-dev@0 { 58 compatible = "vnd,spi-device"; [all …]
|