summaryrefslogtreecommitdiffstats
path: root/drivers/amba
Commit message (Collapse)AuthorAgeFilesLines
* amba: check if on remove callbackAlexander Aring2015-10-271-1/+2
| | | | | | | | | | | Currently we get a null pointer dereference when booting linux on RPi which use "uart-pl011" driver. This driver doesn't implement a remove driver callback. This patch adds a check before calling the remove callback if the driver which use the amba bus implement such functionality. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* resource: Let request_iomem_region return an error pointerSascha Hauer2014-09-161-2/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: Use dev_add_param_int_ro where possibleSascha Hauer2013-04-111-7/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/vexpress'Sascha Hauer2013-03-041-7/+3
|\
| * amba: introduce amba_device_get_pid/cidJean-Christophe PLAGNIOL-VILLARD2013-02-121-7/+3
| | | | | | | | | | | | | | so we can use it on vexpress to detect the hardware mapping Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | amba: add oftree probe supportJean-Christophe PLAGNIOL-VILLARD2013-02-122-0/+3
|/ | | | | | | move ARM_AMBA Kconfig to drivers/amba/Kconfig Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* amba: add periph id RO params to the deviceJean-Christophe PLAGNIOL-VILLARD2012-10-151-0/+7
| | | | | | | this will allow to knonw the pid probed Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* amba/bus: add missing bus_registerJean-Christophe PLAGNIOL-VILLARD2012-10-041-0/+7
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Introduce ARM AMBA busJean-Christophe PLAGNIOL-VILLARD2012-09-112-0/+212
This will allow to detect the amba device and use the right driver for it at runtime. The code is base on linux 3.5. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>