1. 01 Oct, 2013 1 commit
  2. 22 Aug, 2013 1 commit
  3. 11 Jul, 2013 1 commit
  4. 12 Jun, 2013 1 commit
  5. 16 May, 2013 1 commit
  6. 03 Dec, 2012 1 commit
  7. 27 Nov, 2012 2 commits
    • Marc Kleine-Budde's avatar
      can: c_can_platform: add MODULE_DEVICE_TABLE · 69c0c5b1
      Marc Kleine-Budde authored
      This patch adds a MODULE_DEVICE_TABLE for the of and platform bindings, so that
      the module can be loaded automatically by udev.
      Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    • AnilKumar Ch's avatar
      can: c_can: Add d_can raminit support · 52cde85a
      AnilKumar Ch authored
      Add D_CAN raminit support to C_CAN driver to enable D_CAN RAM,
      which holds all the message objects during transmission or
      receiving of data. This initialization/de-initialization should
      be done in synchronous with D_CAN clock.
      In case of AM335X-EVM (current user of D_CAN driver) message RAM is
      controlled through control module register for both instances. So
      control module register details is required to initialization or
      de-initialization of message RAM according to instance number.
      Control module memory resource is obtained from D_CAN dt node and
      instance number obtained from device tree aliases node.
      This patch was tested on AM335x-EVM along with pinctrl data addition
      patch, d_can dt aliases addition and control module data addition.
      pinctrl data addition is not added to am335x-evm.dts (only supports
      CPLD profile#0) because d_can1 is supported under CPLD profile#1.
      Signed-off-by: default avatarAnilKumar Ch <anilkumar@ti.com>
      [mkl: fix instance for non DT in probe, cleaned up raminit]
      Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
  8. 21 Sep, 2012 5 commits
  9. 30 Jul, 2012 1 commit
  10. 07 Jun, 2012 2 commits
    • AnilKumar Ch's avatar
      can: c_can: Add support for Bosch D_CAN controller · 69927fcc
      AnilKumar Ch authored
      This patch adds the support for D_CAN controller driver to the existing
      C_CAN driver.
      Bosch D_CAN controller is a full-CAN implementation which is compliant
      to CAN protocol version 2.0 part A and B. Bosch D_CAN user manual can be
      obtained from: http://www.semiconductors.bosch.de/media/en/pdf/
      A new array is added for accessing the d_can registers, according to d_can
      controller register space.
      Current D_CAN implementation has following limitations, this is done
      to avoid large changes to the C_CAN driver.
      1. Message objects are limited to 32, 16 for RX and 16 for TX. C_CAN IP
         supports upto 32 message objects but in case of D_CAN we can configure
         upto 128 message objects.
      2. Using two 16bit reads/writes for accessing the 32bit D_CAN registers.
      3. These patches have been tested on little endian machine, there might
         be some hidden endian-related issues due to the nature of the accesses
         (32-bit registers accessed as 2 16-bit registers). However, I do not
         have a big-endian D_CAN implementation to confirm.
      Signed-off-by: default avatarAnilKumar Ch <anilkumar@ti.com>
      Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    • AnilKumar Ch's avatar
      can: c_can: Move overlay structure to array with offset as index · 33f81009
      AnilKumar Ch authored
      c_can uses overlay structure for accessing c_can module registers.
      With this kind of implementation it is difficult to add one more ip
      which is similar to c_can in functionality but different register
      This patch changes the overlay structure implementation to an array
      with register offset as index. This way we can overcome the above
      Signed-off-by: default avatarAnilKumar Ch <anilkumar@ti.com>
      Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
  11. 28 Nov, 2011 1 commit
  12. 23 Jul, 2011 1 commit
  13. 24 Jun, 2011 1 commit
  14. 20 Jun, 2011 1 commit
  15. 28 Mar, 2011 1 commit
  16. 13 Feb, 2011 1 commit