#
fd59259f |
|
16-Aug-2018 |
Gurjant Kalsi <gkalsi@google.com> |
[pci][dw][aml] Refactor AMLogic PCIe Driver Refactor the AMLogic PCIe driver into two halves: (1) The DesignWare PCIe Library (2) The AMLogic PCIe Driver The AMLogic Driver statically links against the DesignWare PCIe Library. Logic that is common to the DesignWare IP exists only in the library whereas individual SoCs can implement their own drivers that use the common DesignWare code. Subsequent CLs will introduce the HiSilicon implementation of the DW PCIe block as well. TEST: Booted on gauss and confirmed that PCI bus driver started, published devices and that devices were able to bind. Change-Id: I76a438c5781e649d3f274de20378bd6d29e21868
|
#
4e528ac2 |
|
30-Jul-2018 |
Gurjant Kalsi <gkalsi@google.com> |
[dw][pcie] Pass ATU config as Device Metadata The DesignWare PCI controller has an internal address translation unit (iATU) that translates memory addresses to PCI bus addresses. For example, a memory read at address X might translate to a PCI IO read for a particular device. The memory addresses designated for the iATU differ by platform and are only known by the board driver so we devise a scheme where these ranges are passed as private device metadata to the designware PCIe driver. Test: Build and run on Gauss. Previously IO writes weren't generating IO TLPs on the PCIe bus which prevented drivers that relied on IO BARs from binding correctly. Verified that IO TLPs are now generated on the bus by reading data from drivers' IO space. Change-Id: I8832415fe15578e0f7aca87e4a06decf5c79e421
|
#
1fcd2dc2 |
|
24-May-2018 |
Mohan Srinivasan <srmohan@google.com> |
[gauss] Gauss board driver for Amlogic RAW_NAND. Change-Id: I0d7b657e184c43aa4b4d61bc7c1be0cb0f02dc54
|
#
0ca2a9e4 |
|
23-May-2018 |
Mike Voydanoff <voydanoff@google.com> |
[dev] Rename system/dev/soc to system/dev/lib Change-Id: I9ebed28956566cc71bdfe142bff633ef50f8a9dc
|
#
0c0b48d9 |
|
28-Mar-2018 |
Gurjant Kalsi <gkalsi@google.com> |
[aml][pcie][dw] DW/Amlogic PCIe for Gauss Implements a low level PCIe driver for the Amlogic configuration of the DesignWare PCIe controller. The DW controller provides an address translation unit that can be programmed to translate addresses from the host address space into PCI address space. This driver configures one segment of the host's address space to translate into the PCI ECAM registers and programs the rest of the host's PCI address space to be reserved for BARs. A follow up patch will instantiate the PCI bus driver using these address spaces. Change-Id: I423f14ea2229af8f12b6f03882270b59acbc7a7b
|
#
8a8271fa |
|
15-Feb-2018 |
Gurjant Kalsi <gkalsi@google.com> |
[clk][amlogic][a113] Clock Protocol Driver Implements the clock enable/disable protocol for the aml113 (meson-axg) Change-Id: Id8d835f5fd9a384c2b8e783fb2e89088000f73b9
|
#
7578cdac |
|
01-Feb-2018 |
Brian Swetland <swetland@google.com> |
[gauss][led] disable this driver for now iotxn_queue() is going away, which will break it, and it does a few things that are not really correct relative to the driver model, such that it'd be preferable to do a more significant cleanup than just hack around the iotxn change. Change-Id: Ica5574469cd26cd422f997bcc5e2b88f622a5983
|
#
fdda19c4 |
|
30-Jan-2018 |
Mike Voydanoff <voydanoff@google.com> |
[soc][amlogic] Reorganize Amlogic SOC support Now we have a single system/dev/soc/amlogic directory with subdirectories of include/ for different Amlogic SOC variants. Other than the gauss board file, other modules now depend on this via MODULE_HEADER_DEPS. The gauss board file still needs to include this as a static library fora113-clocks.c, but eventually this will likely move to a separate driver and this will become a header-only module. Change-Id: I8c3cb5e39e9ed56d56c120e2de435ac020a0e54e
|
#
9a1a58e4 |
|
28-Jan-2018 |
Mike Voydanoff <voydanoff@google.com> |
[amlogic][i2c] Refactor the aml-a113 I2C driver The driver is now separately loadable and the a113 specific configuration is now in the gauss board driver. This will allow us to use the driver for other Amlogic platforms. Change-Id: I821c56562016fe449bc0896e81294ebe314fd9e3
|
#
fc9d21de |
|
17-Jan-2018 |
Mike Voydanoff <voydanoff@google.com> |
[soc][aml-a113] GPIO driver refactoring Refactor the aml-a113 driver so we can use it for other Amlogic platforms Change-Id: I25f7a703e7006200643ae917317df4014e255de1
|
#
bccbefc6 |
|
02-Jan-2018 |
Mike Voydanoff <voydanoff@google.com> |
[ddk][i2c] Add helper for synchronous i2c transfers Change-Id: I885bfc8df72617571d5ea8ca030362d459ed3efe
|
#
15b77498 |
|
14-Nov-2017 |
Bailey Forrest <bcf@google.com> |
[dev][gauss led] Implement LED driver for gauss Example usage: echo "1"> /dev/sys/platform/0003:0001:0004/gauss-led/reset echo "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24" > /dev/sys/platform/0003:0001:0004/gauss-led/pwm echo "153" > /dev/sys/platform/0003:0001:0004/gauss-led/duty_cycle cat /dev/sys/platform/0003:0001:0004/gauss-led/pwm cat /dev/sys/platform/0003:0001:0004/gauss-led/duty_cycle Bug: 69431907 Test: Manual on device. Change-Id: Ic229d214af4d7fe389e9ff757d23195fc5bfe2f4
|
#
2d321c39 |
|
14-Nov-2017 |
Mike Voydanoff <voydanoff@google.com> |
[gauss] Refactor gauss platform bus driver Move platform bus support driver for gauss to system/dev/board/gauss. Also move gauss i2c test driver to system/dev/board/gauss. Amlogic A113 specific code remains in system/dev/soc/aml-a113, which is now a static library. Later we may move code (i2c, gpio, etc) that works for other Amlogic SOCs may get broken out into separate libraries. Change-Id: If2133824563be3086a8ea41064e5955d6ae4d609
|