void test_add_device_master(void) { spi_device_handle_t devs[SOC_SPI_MAX_CS_NUM] = {}; uint8_t cs_pins[SOC_SPI_MAX_CS_NUM] = DUMMY_CS_PINS(); uint8_t master_sendbuf[TEST_TRANS_LEN] = {0}; uint8_t master_recvbuf[TEST_TRANS_LEN] = {0}; uint8_t master_expect[TEST_TR...
net: dsa: microchip: add spi_device_id tables Browse files Add spi_device_id tables to avoid logs like "SPI driver ksz9477-switch has no spi_device_id". Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>...
staticvoid__initek_add_device_spi(void){if(machine_is_usb_a9263())at91_add_device_spi(usb_a9263_spi_devices, ARRAY_SIZE(usb_a9263_spi_devices));elseif(machine_is_usb_a9g20())at91_add_device_spi(usb_a9g20_spi_devices, ARRAY_SIZE(usb_a9g20_spi_devices)); } 开发者ID:08opt,...
+ * @pdev_data: wlcore device parameters + */ +static int wlcore_probe_of(struct spi_device *spi, struct wl12xx_spi_glue *glue, + struct wlcore_platdev_data *pdev_data) +{ + struct device_node *dt_node = spi->dev.of_node; + int ret; + + if (of_find_property(dt_node,...
@@ -329,6 +329,12 @@ esp_err_t spi_bus_add_device(spi_host_device_t host_id, const spi_device_interfa SPI_CHECK(dev_config->cs_ena_pretrans <= 1 || (dev_config->address_bits == 0 && dev_config->command_bits == 0) || ...
Development Kit: ESP32 DevKitC V4 Module or chip used: ESP32-WROOM-32 IDF version: V4.2 Build System: idf.py Compiler version: (crosstool-NG esp-2020r3) 8.4.0 Operating System:Windows Power Supply: USB After initializing the SPI bus, I t...
changes: Added node for spi nor flash disable useless rk809 rtc ( because theres another rtc hym8563 with battery connector ) enable rockchip crypto v2 device tested with user-overlays: flashed u-boot to spi : u-boot console and linux boot work