History log of /fuchsia/zircon/system/dev/lib/amlogic/include/soc/aml-s912/s912-hw.h
Revision Date Author Comments
# 63599641 20-Sep-2018 Brijen Raval <braval@google.com>

[vim][ethernet] Re-write ETH driver using new design

This CL breaks the Ethernet driver into 3 parts
1. ETH_BOARD: This driver has all the board specific
initialization and ops. Currently this driver
loads the DWMAC driver and it's hard coded.
In my next CL I will be getting that information
through the metadata.
2. ETH_MAC: This driver has all the MAC specific init and
ops. Same as above, currently hard coded to load
a particular PHY driver. In my next CLs I will get
that information from the metadata and also be adding
new ops. for PHY to register callbacks.
Currently the PHY config part is part of this driver,
it will be cleaned up in next CL.
Also need to add new ops. such that we support
multiple PHY's.
3. ETH_PHY: This is the PHY implementation. Currently it's not doing
much. In the next CL, we will be registering the callbacks
so MAC driver can call PHY APIs.

Design doc:
https://docs.google.com/document/d/1zoqTEJhWtvrQjUcE6pJ1JoaNpceU9nuCA7L9UuOMHso/edit#heading=h.xgjl2srtytjt

ZX-2686 #done

Test: Netboot on VIM2

Change-Id: I3e7202871d4649fa8139627d6d63b8d1f78f6775


# fab4adb5 07-Aug-2018 John Grossman <johngro@google.com>

[s912][audio] Correct the audio register range.

Correct the range for the audio out registers for the AmLogic S912.
The range starts at a 1k offset into a page and was asking for 4KB of
registers. This caused the DDK to round down the start of the
requested range to a 4K boundary, then forced it to ask for 2 pages
worth of mapping (to cover the 4k starting from a 1k offset that we
had asked for).

Recently, something has become locked down and we no longer allow this
request (mostly, because it was wrong to begin with). So...

Don't do this. The entire audio out register block takes up a little
less then 1k, not 4k. Ask for 1k instead, so we end up with just the
registers we want, and nothing extra.

Test: Manual testing on VIM2
Change-Id: I4452577ca3c47b01edfffae769d85d14bc055573


# e4913715 10-Jul-2018 John Grossman <johngro@google.com>

[vim][s912] Additional chip definitions

Add #defs for the following parts of the AmLogic S912...

++ Audio register block locations
++ Additional clock registers
++ The pinmux control of the SPDIF pin
++ Many of the registers/bitfields of the audio out blocks

Test: Build and usage in WiP Vim2 audio driver
Change-Id: I340e0447563081c9562761d6e08cb58d6ae18836


# c91aae7a 04-Jun-2018 Brijen Raval <braval@google.com>

[amlogic][gpu] Refactoring GPU driver

Change-Id: Ic04890b638912982e780b1141c301adf57548fbe


# 0ca2a9e4 23-May-2018 Mike Voydanoff <voydanoff@google.com>

[dev] Rename system/dev/soc to system/dev/lib

Change-Id: I9ebed28956566cc71bdfe142bff633ef50f8a9dc