New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 767103 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

rtc-cros-ec interfaces should support both calendar date and seconds since epoch

Project Member Reported by philipchen@chromium.org, Sep 20 2017

Issue description

Related discussion comes from here: https://chromium-review.googlesource.com/#/c/chromiumos/platform/ec/+/666985/

To support different on-ec-chip rtc easier, in kernel rtc-cros-ec driver we want to add extra params for Y/M/D/H/M/S, in additions to "seconds since epoch".

Vincent said:
"For RTC_SET host fills in both, for RTC_GET, EC puts a special value in the 'time' field (aka seconds since epoch) e.g 0xFFFFFFFF if it uses the splitted format, so it's backward compatible with the existing command.
On the kernel side, it's probably a 5-line change given the kernel has all the primitives in rtc-core."

 

Sign in to add a comment