1. 22 Mar, 2016 1 commit
  2. 17 Mar, 2016 8 commits
  3. 10 Mar, 2016 21 commits
  4. 08 Mar, 2016 2 commits
  5. 05 Mar, 2016 7 commits
  6. 03 Mar, 2016 1 commit
    • Bryan O'Donoghue's avatar
      greybus: control: Add TimeSync control commands · 8fd9466b
      Bryan O'Donoghue authored
      Simple addition of the TimeSync commands defined in the specification.
      Note for the case of timesync_authoritative we're passing the request
      structure directly so as not to have to pass eight parameters into the
      function.
      
      Adds:
      - control.c::timesync_enable(u8 count, u64 frame_time,
                                   u32 strobe_delay, u32 refclk)
        Informs an Interface to expect count TimeSync strobe pulses with
        strobe_delay milliseconds delay between each strobe. Once enabled
        an Interface may not enter a low-power mode which will result in the
        reference timer used to track time switching off.
      
      - control.c::timesync_disable(void)
        Commands an Interface to immediately halt TimeSync logic. This will allow
        an Interface to transition into low-power modes where the reference time
        being used for TimeSync may switch off.
      
      - control.c::timesync_authoritative(u64 *frame_time, u8 count)
        Used by the AP Module to inform an Interface of the authoritative
        TimeSync clock-master time at each strobe pulse. Down-stream clock slaves
        shall adjust their local frame-time appropriately based on the
        diseminated authoritative frame-time.
      Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      8fd9466b