Commit b710167f authored by Johan Hedberg's avatar Johan Hedberg Committed by Mahesh Mahadevan
Browse files

Bluetooth: drivers: Rename IPM to IPC



This bus type was originally created for what's today the ipc.c HCI driver.
Since this type hasn't yet been synced with BlueZ, rename it for
consistency, however leave the old define to not break backwards
compatibility with existing DT bindings (there are several more that use
"ipm" than ipc.c).

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@silabs.com>
parent af3dac21
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,8 @@ properties:
      - "i2c"
      - "smd"
      - "virtio"
      - "ipm"
      - "ipm"    # Deprecated. "ipc" should be used instead.
      - "ipc"
  bt-hci-quirks:
    type: string-array
    description: HCI device quirks
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ properties:
  bt-hci-name:
    default: "IPC"
  bt-hci-bus:
    default: "ipm"
    default: "ipc"
  bt-hci-quirks:
    default: ["no-auto-dle"]
  bt-hci-ipc-name:
+3 −1
Original line number Diff line number Diff line
@@ -71,7 +71,9 @@ enum bt_hci_bus {
	BT_HCI_BUS_I2C           = 8,
	BT_HCI_BUS_SMD           = 9,
	BT_HCI_BUS_VIRTIO        = 10,
	BT_HCI_BUS_IPM           = 11,
	BT_HCI_BUS_IPC           = 11,
	/* IPM is deprecated and simply an alias for IPC */
	BT_HCI_BUS_IPM           = BT_HCI_BUS_IPC,
};

#define BT_DT_HCI_QUIRK_OR(node_id, prop, idx) \