History log of /fuchsia/zircon/system/dev/misc/intel-rtc/intel-rtc.c
Revision Date Author Comments
# b66fa0ae 03-Aug-2018 Carlos Pizano <cpu@google.com>

[zircon][rtc] Fixes and some tests for rtclib

The new fallback driver needs to return sizeof(struct)
rather than ZX_OK. I was misled by the DDKTL.

Doing some cleanup and noticed no tests. Also made it
so there are less magic numbers.

TEST= unittest included. Also manual test on Pixelbook.

Change-Id: I5531d3888bae601179b4fcdd0949a3fdcdc6768f


# 9fe1978b 23-May-2018 Christopher Anderson <cja@google.com>

[syscalls] Rename mmap_device_io to ioports_request

The name now better reflects that the syscall grants a process
permission to access a given ioport range and has nothing to do
with memory mappin anything.

Test: compilation and run-tests on x86, as this is a rename CL.

Change-Id: I1e6f2835f9c5ef3eda9628f9220d100c74448492


# d0845c2d 18-Jun-2018 Carl Norum <cjn@google.com>

[rtc] share some common rtc code

- hoist some general-purpose code out of the intel-rtc driver
- call clock adjustment system call from vim2 driver

Test: verified ZX_CLOCK_UTC behaves correctly on a Vim2
Change-Id: I12577779826d99e392e70f29998647a2f111395f


# 5645dc99 01-Jun-2018 Carl Norum <cjn@google.com>

[dev][rtc] basic implementation for VIM RTC

- ZX-1985

Test: 'clock' utility works as expected
Change-Id: I1646342bf8052ed275303a99affd07e0fde8ffcb


# 7320e1d6 13-Mar-2018 Todd Eisenberger <teisenbe@google.com>

[acpi] Bind RTC and i8042 via ACPI rather than MISC_PARENT

Change-Id: I9de8676c9643508c3002d7b3e256a4c862c8aeb5


# ec9928ea 22-Jan-2018 Adam Barth <abarth@google.com>

[syscalls] Rename zx_time_get to zx_clock_get

This change frees up the get() method in for a zx_time_t accessor in the
zx::time class.

Change-Id: Ia4cdc7e3e558df5ba0cfeedb27a442abf4d6f305


# 6bf95881 02-Jan-2018 Todd Eisenberger <teisenbe@google.com>

[intel][rtc] Get rid of hacky time limits in RTC driver

Manually tested that setting the clock to Feb 28, 29, and Mar 1 in 2024
generated correct unix epoc offsets.

ZX-1519 #done

Change-Id: I24d7877ead4b9b96e79765469e42fbb406866355


# 8a4feeaf 16-Dec-2017 George Kulakowski <kulakowski@google.com>

[intel][rtc] Teach the rtc driver about 2018

Change-Id: I8cf8cd9b0e4a67c8cde9879fa4fd7330ab44e5b3


# 2e0fc961 05-Nov-2017 Mike Voydanoff <voydanoff@google.com>

[ddk] Remove driver bind() cookie and unbind() callback

Also removed "owner" and "owner_cookie" from internal zx_device_t struct

Adjusted intel-hda audio drivers to create devices to hold driver context
rather than using the driver bind cookie.

Change-Id: I0eca7f6fa3b155be71843291812e7aa9fea5bf55


# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# d11452d9 14-Jun-2017 Brian Swetland <swetland@google.com>

[ddk] remove legacy protocol wrappers

These are just redirects from ddk/protocol/... to magenta/device/...

Change-Id: Ia17cda5a3505e44e1991ce07096b4b610f4ddc65


# b84f2056 09-Jun-2017 Tim Kilbourn <tkilbourn@google.com>

[dev][misc] Use new magenta error names

Change-Id: Ic468b633392b3a1a89d41d019437761d2b0eec3d


# d0f9964d 07-Jun-2017 Brian Swetland <swetland@google.com>

[udev][intel-rtc] rename

Change-Id: Iffd4dab4e4618b6326f18eeb71fbd30f06b2d650