1. 01 Jul, 2017 38 commits
  2. 30 Jun, 2017 2 commits
    • David S. Miller's avatar
      Merge branch 'PTP-support-for-macb-driver' · 574a6020
      David S. Miller authored
      Rafal Ozieblo says:
      
      ====================
      PTP support for macb driver
      
      This patch series adds support for PTP synchronization protocol
      in Cadence GEM driver based on PHC.
      
      v2 changes:
      * removed alarm's support
      * removed external time stamp support
      * removed PTP event interrupt handling
      * removed ptp_hw_support flag
      * removed all extra sanity checks
      * removed unnecessary #ifdef
      * fixed coding style and alligment issues
      * renamed macb.c to macb_main.c
      
      v3 changes:
      * added checking NULL ptr from ptp_clock_register()
      * fixed error codes return
      * locals list in "upside down Christmas tree" style
      * fixed some other issues from review
      
      v4 changes:
      * respin to the newest next-next (28 Jun 2017)
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      574a6020
    • Rafal Ozieblo's avatar
      net: macb: Add hardware PTP support · ab91f0a9
      Rafal Ozieblo authored
      This patch is based on original Harini's patch and Andrei's patch,
      implemented in a separate file to ease the review/maintanance
      and integration with other platforms.
      
      This driver supports GEM-GXL:
      - Register ptp clock framework
      - Initialize PTP related registers
      - HW time stamp on the PTP Ethernet packets are received using the
        SO_TIMESTAMPING API. Time stamps are obtained from the dma buffer
        descriptors
      - add macb_ptp to compilation chain
      Signed-off-by: default avatarRafal Ozieblo <rafalo@cadence.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ab91f0a9