Module Name: src Committed By: marty Date: Fri Dec 11 04:12:21 UTC 2015
Modified Files: src/sys/arch/evbarm/exynos: exynos_machdep.c Log Message: EXYNOS rewrite step 3 of N: Add aliases for gpio pins This adds the GPIO aliases that will be used for board-independent driver lookup until we have FDT. The idea here is that each pin used by any driver is given a name that the driver knows that is independent of the gpio bank name. The mapping from the alias to the actual gpio bank + pin number is done in this file and a lookup function is added to exynos_gpio.c that allows a driver to ask for a gpio pin by the alias name, blisssfully unaware that there is an underlying GPIO bank name. Once set up with all the drivers, it should then be possible to move to a different vendor's board simply by modifying exynos_machdep.c To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/exynos/exynos_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.