History log of /seL4-test-master/projects/util_libs/libplatsupport/src/plat/tk1/mux.c
Revision Date Author Comments
# 7e7cabc1 10-Aug-2020 Oliver Scott <Oliver.Scott@data61.csiro.au>

supress-gcc-warnings: util-libs

-Use const in correct places
-Use casts
-Return correct interface type

Signed-off-by: Oliver Scott <Oliver.Scott@data61.csiro.au>


# 1ed304fb 01-Dec-2019 Damon Lee <Damon.Lee@data61.csiro.au>

trivial: Style changed files


# 75eb541b 21-Oct-2019 Damon Lee <Damon.Lee@data61.csiro.au>

tk1: Fix improper bit OR'ing in MUX driver

The tristate bit in the registers were not being set properly.


# bb01ae81 10-Dec-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

platsupport: Don't require plat/mux.h on all plats

As mux_sys_init is currently required on all Arm platforms, having a
enum definition for all mux features that a platform has requires
defining the enum on all platforms.
We instead replace enum mux_feature with a typedef'd ssize_t and allow
platforms to define enum mux_feature definitions at an implementation
level rather than interface level.


# 3f9cdc14 19-May-2019 Yu Hou <Yu.Hou@data61.csiro.au>

util_libs: remove autoconf.h from util_libs

this commit removes autoconf.h generation from each lib and
append '#include <<lib_name>/gen_config.h>' after each
'#include <autoconf.h>' since autoconf.h is only the for the
kernel config now. This is a temporarily solution, since we
currently don't have a way to tell which header files each file
is trying to include when it includes 'autoconf.h'


# d6084084 02-May-2018 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

platsupport: Tk1 mux: Soften the drive strength on signals

This change is meant to ensure that the drive strength isn't so strong that
signals being toggled causes the voltage to drop


# 65eea27b 02-May-2018 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

platsupport: TK1 mux: PA3 PPM input is an input; not bidirectional


# d91ff0fe 13-Mar-2018 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

platsupport: TK1: Fix build error by properly guarding debugging name


# 602b0580 12-Mar-2018 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

platsupport: mux: Fix build errors for platforms that haven't been directly targeted


# 8679b870 13-Dec-2017 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

platsupport: TK1 Mux: I2C3 doesn't support the open-drain bit


# 77e0a237 29-Oct-2017 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

platsupport: TK1 Mux: Add mux config for using UARTB pins as GPIOs

* This new mux feature will steal 2 of UART-B's pinouts (RTS and CTS)
and use them as GPIOs for debugging.


# 4f8ecb75 26-Sep-2017 Sebastian Holzapfel <seb.holzapfel@data61.csiro.au>

platsupport: TK1 Mux: Add PA3 to mux driver


# df2c7f0c 09-Nov-2017 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

platsupport: TK1: Add a MUX driver and define mux pinout configs

This driver properly support pin output drivers and drive strengths as
well as the different output drivers supported by each pin - push-pull,
open-drain, tristate, pullup and pulldown.

Furthermore, it also adds the code to determine the strength of the slew rate
at which these signals are driven out. This feature was originally added to
investigate whether or not the I2C0 lines could be forced up to 3.3v from 1.8v.


# 18964a17 21-Nov-2017 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

platsupport: TK1 Mux: Use the dependencies argument in mux_sys_init


# 1db007cc 21-Nov-2017 Kofi Doku Atuah <kofidoku.atuah@data61.csiro.au>

platsupport: Mux API: Add a dependencies parameter to mux_sys_init

This is a workaround for the fact that we have no real dependency tree at the
moment. The two approaches to this problem were either:
* Add a gpio_sys_t member inside of ps_io_ops_t, similar to the way we already have
a clock_sys_t and a mux_sys_t in there.
* Add a void *dependencies argument to the mux_init function that will enable us to
pass arbitrary extra dependencies in.

The latter was chosen because while it is more intrusive, it is slightly more
flexible.


# 398af6af 13-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix whitespace

- remove trailing whitespace
- remove duplicate blank lines
- remove blank lines at end of file


# a7130f9f 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

fix licenses


# dafda718 15-Nov-2016 Adrian Danis <Adrian.Danis@data61.csiro.au>

libplatsupport: Refactor tk1 gpio/mux code

This commit refactors the mux and gpio code of the tk1 in the following ways
* Put GPIO code in gpio.c, not mux.c
* Bring back platform generic mux_sys_init and gpio_sys_init functions
* Make GPIO depend upon a mux without the mux initializing the GPIO
* Remove globals and use the provided 'priv' parts of the 'sys' structs
* Require gpio_sys_t be passed to 'gpio_*' functions instead of using
global variables
* Remove circular dependencies in headers and '#ifndef CONFIG_PLAT_TK1's from
generic arm headers


# 76c06450 26-Oct-2016 Jason Butler <jason.butler@data61.csiro.au>

Integrating changes from DARPA repo to trunk


# 755a5c6f 31-May-2016 Yanyan Shen <yanyan.shen@nicta.com.au>

libplatsupport/tk1: add dummy functions