Commit 6e584a47 authored by Johan Hedberg's avatar Johan Hedberg Committed by Anas Nashif
Browse files

Bluetooth: drivers: Convert IPC driver to new API

Convert the ipc.c HCI driver to the new HCI driver API.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@gmail.com>
parent af750cd5
Loading
Loading
Loading
Loading
+1 −1
Changes for boards/ezurio/bl5340_dvk/bl5340_dvk_nrf5340_cpuapp_common.dtsi: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
		zephyr,bt-mon-uart = &uart0;
		zephyr,bt-c2h-uart = &uart0;
		zephyr,display = &ili9340;
		zephyr,bt-hci-ipc = &ipc0;
		zephyr,bt-hci = &bt_hci_ipc0;
	};

	/* Main LEDs and buttons are on an I2C TCA9538 GPIO port expander */
+1 −1
Changes for boards/native/nrf_bsim/nrf5340bsim_nrf5340_cpuapp.dts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@
	chosen {
		zephyr,entropy = &rng_hci;
		zephyr,flash = &flash0;
		zephyr,bt-hci-ipc = &ipc0;
		zephyr,bt-hci = &bt_hci_ipc0;
		nordic,802154-spinel-ipc = &ipc0;
		zephyr,ieee802154 = &ieee802154;
	};
+1 −1
Changes for boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
		zephyr,uart-mcumgr = &uart0;
		zephyr,bt-mon-uart = &uart0;
		zephyr,bt-c2h-uart = &uart0;
		zephyr,bt-hci-ipc = &ipc0;
		zephyr,bt-hci = &bt_hci_ipc0;
		watchdog0 = &wdt0;
	};

+1 −1
Changes for boards/nordic/nrf5340dk/nrf5340_cpuapp_common.dtsi: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
		zephyr,uart-mcumgr = &uart0;
		zephyr,bt-mon-uart = &uart0;
		zephyr,bt-c2h-uart = &uart0;
		zephyr,bt-hci-ipc = &ipc0;
		zephyr,bt-hci = &bt_hci_ipc0;
		nordic,802154-spinel-ipc = &ipc0;
		zephyr,ieee802154 = &ieee802154;
	};
+6 −1
Changes for boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
		zephyr,sram = &cpuapp_data;
		zephyr,shell-uart = &uart136;
		zephyr,ieee802154 = &cpuapp_ieee802154;
		zephyr,bt-hci-ipc = &ipc0;
		zephyr,bt-hci = &bt_hci_ipc0;
		nordic,802154-spinel-ipc = &ipc0;
		zephyr,canbus = &can120;
	};
@@ -155,6 +155,11 @@ ipc0: &cpuapp_cpurad_ipc {
	rx-region = <&cpurad_cpuapp_ipc_shm>;
	tx-blocks = <32>;
	rx-blocks = <32>;

	bt_hci_ipc0: bt_hci_ipc0 {
		compatible = "zephyr,bt-hci-ipc";
		status = "okay";
	};
};

&cpuapp_cpusys_ipc {
Loading