1. 21 Jul, 2020 3 commits
  2. 13 Jul, 2020 1 commit
  3. 12 Jul, 2020 9 commits
  4. 09 Jul, 2020 1 commit
  5. 07 Jul, 2020 2 commits
  6. 05 Jul, 2020 1 commit
  7. 04 Jul, 2020 2 commits
  8. 03 Jul, 2020 4 commits
  9. 01 Jul, 2020 2 commits
    • 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. 24 Jun, 2020 1 commit
  11. 18 Jun, 2020 14 commits