1. 30 Mar, 2015 2 commits
  2. 29 Mar, 2015 3 commits
  3. 28 Mar, 2015 5 commits
  4. 27 Mar, 2015 3 commits
  5. 26 Mar, 2015 9 commits
  6. 25 Mar, 2015 2 commits
  7. 24 Mar, 2015 7 commits
  8. 23 Mar, 2015 1 commit
  9. 22 Mar, 2015 1 commit
  10. 21 Mar, 2015 1 commit
  11. 20 Mar, 2015 3 commits
  12. 19 Mar, 2015 1 commit
  13. 18 Mar, 2015 2 commits
    • Brad Campbell's avatar
      cc2520: Add support for CC2591 amplifier. · f0b7d43c
      Brad Campbell authored
      The TI CC2521 is an RF power amplifier that is designed to interface
      with the CC2520. Conveniently, it directly interfaces with the CC2520
      and does not require any pins to be connected to a
      microcontroller/processor. Adding a CC2591 increases the CC2520's range,
      which is useful for border router and other wall-powered applications.
      
      Using the CC2591 with the CC2520 requires configuring the CC2520 GPIOs
      that are connected to the CC2591 to correctly set the CC2591 into TX and
      RX modes. Further, TI recommends that the CC2520_TXPOWER and
      CC2520_AGCCTRL1 registers are set differently to maximize the CC2591's
      performance. These settings are covered in TI Application Note AN065.
      
      This patch adds an optional `amplified` field to the cc2520 entry in the
      device tree. If present, the CC2520 will be configured to operate with a
      CC2591.
      
      The expected pin mapping is:
      CC2520 GPIO0 --> CC2591 EN
      CC2520 GPIO5 --> CC2591 PAEN
      Signed-off-by: default avatarBrad Campbell <bradjc5@gmail.com>
      Acked-by: default avatarVarka Bhadram <varkabhadram@gmail.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      f0b7d43c
    • Brad Campbell's avatar
      cc2520: Do not store platform_data in spi_device · 0db055c9
      Brad Campbell authored
      Storing the `platform_data` struct inside of the SPI struct when using
      the device tree allows for a later function to edit the content of that
      struct. This patch refactors the `cc2520_get_platformat_data` function
      to accept a pointer to a `cc2520_platform_data` struct and populates
      the fields inside of it.
      
      This change mirrors commit aaa1c4d2
      ("at86rf230: copy pdata to driver allocated space").
      Signed-off-by: default avatarBrad Campbell <bradjc5@gmail.com>
      Acked-by: default avatarVarka Bhadram <varkabhadram@gmail.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      0db055c9