Skip to content
  1. Jul 21, 2020
  2. Jul 13, 2020
  3. Jul 12, 2020
  4. Jul 09, 2020
  5. Jul 07, 2020
  6. Jul 05, 2020
  7. Jul 04, 2020
  8. Jul 03, 2020
  9. Jul 01, 2020
    • Maxim Mikityanskiy's avatar
      ARM: dts: Add Bluetooth nodes for Raspberry Pi · 5a08468e
      Maxim Mikityanskiy authored
      
      
      Add device tree nodes for Bluetooth on supported Raspberry Pi boards.
      It's disabled by default and can be enabled by `krnbt=on` dtparam. It's
      an alternative way of configuring Bluetooth, as compared to hciattach or
      btattach. When the dtparam is enabled, the Bluetooth driver is probed
      automatically and doesn't require any additional bring-up scripts.
      
      Note that Raspberry Pi 3 B rev 1.2 doesn't have the required hardware
      flow control pins of UART0 connected to the Bluetooth module, so the
      user should decrease the baudrate by passing `krnbt_baudrate=921600`
      dtparam to make it more stable. It resembles the behavior of the btuart
      script from Raspbian.
      
      The miniuart-bt overlay was modified to support Bluetooth probing with
      device tree, too. It's disabled by default and can be enabled by
      `krnbt=on` parameter of the miniuart-bt overlay.
      
      Signed-off-by: default avatarMaxim Mikityanskiy <maxtram95@gmail.com>
      5a08468e
    • Maxim Mikityanskiy's avatar
      config: Set CONFIG_SERIAL_DEV_CTRL_TTYPORT=y in Raspberry Pi defconfigs · 68c14bcf
      Maxim Mikityanskiy authored
      
      
      The next patch adds a device tree overlay for Bluetooth. The Bluetooth
      device node is a child of uart0 (pl011). The children of pl011 are not
      registered as platform devices by of_platform_bus_create, because they
      fall into `of_device_is_compatible(bus, "arm,primecell")` check. These
      children are registered by of_serdev_register_devices, called through
      this chain of calls:
      
        - uart_add_one_port (drivers/tty/serial/amba-pl011.c)
        - tty_port_register_device_attr_serdev
        - serdev_tty_port_register
        - serdev_controller_add
        - of_serdev_register_devices
      
      serdev_tty_port_register depends on CONFIG_SERIAL_DEV_CTRL_TTYPORT,
      which in turn depends on CONFIG_SERIAL_DEV_BUS=y. This patch modifies
      the defconfigs of Raspberry Pi devices to set these options and allow
      to bind drivers to subnodes of UART devices that can be added by device
      tree overlays.
      
      Signed-off-by: default avatarMaxim Mikityanskiy <maxtram95@gmail.com>
      68c14bcf
  10. Jun 24, 2020
  11. Jun 18, 2020