aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fsl
AgeCommit message (Collapse)AuthorFilesLines
2016-11-29soc: fsl: add GUTS driver for QorIQ platformsyangbo lu1-48/+77
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds a driver to manage and access global utilities block. Initially only reading SVR and registering soc device are supported. Other guts accesses, such as reading RCW, should eventually be moved into this driver as well. Signed-off-by: Yangbo Lu <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
2016-03-04powerpc/rcpm: add RCPM driverchenhui zhao1-0/+105
There is a RCPM (Run Control/Power Management) in Freescale QorIQ series processors. The device performs tasks associated with device run control and power management. The driver implements some features: mask/unmask irq, enter/exit low power states, freeze time base, etc. Signed-off-by: Chenhui Zhao <[email protected]> Signed-off-by: Tang Yuantian <[email protected]> [scottwood: remove __KERNEL__ ifdef] Signed-off-by: Scott Wood <[email protected]>
2015-12-11EDAC, mpc85xx: Make mpc85xx-pci-edac a platform deviceScott Wood1-0/+8
Originally the mpc85xx-pci-edac driver bound directly to the PCI controller node. Commit 905e75c46dba ("powerpc/fsl-pci: Unify pci/pcie initialization code") turned the PCI controller code into a platform device. Since we can't have two drivers binding to the same device, the EDAC code was changed to be called into as a library-style submodule. However, this doesn't work if the EDAC driver is built as a module. Commit 8d8fcba6d1ea ("EDAC: Rip out the edac_subsys reference counting") exposed another problem with this approach -- mpc85xx_pci_err_probe() was being called in the same early boot phase that the PCI controller is initialized, rather than in the device_initcall phase that the EDAC layer expects. This caused a crash on boot. To fix this, the PCI controller code now creates a child platform device specifically for EDAC, which the mpc85xx-pci-edac driver binds to. Reported-by: Michael Ellerman <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Scott Wood <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Daniel Axtens <[email protected]> Cc: Doug Thompson <[email protected]> Cc: Jia Hongtao <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Kim Phillips <[email protected]> Cc: linux-edac <[email protected]> Cc: [email protected] Cc: Masanari Iida <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: Rob Herring <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
2015-10-21powerpc/fsl: Move fsl_guts.h out of arch/powerpcScott Wood1-0/+192
Freescale's Layerscape ARM chips use the same structure. Signed-off-by: Scott Wood <[email protected]>
2013-08-19dma: mxs-dma: remove code left from generic DMA binding conversionShawn Guo1-20/+0
With all mxs-dma clients moved to use generic DMA helper, the code left from generic DMA binding conversion can be removed now. Signed-off-by: Shawn Guo <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
2013-01-03powerpc, dma: move bestcomm driver from arch/powerpc/sysdev to drivers/dmaPhilippe De Muyter6-0/+761
The bestcomm dma hardware, and some of its users like the FEC ethernet component, is used in different FreeScale parts, including non-powerpc parts like the ColdFire MCF547x & MCF548x families. Don't keep the driver hidden in arch/powerpc where it is inaccessible for other arches. .c files are moved to drivers/dma/bestcomm, while .h files are moved to include/linux/fsl/bestcomm. Makefiles, Kconfigs and #include directives are updated for the new file locations. Tested by recompiling for MPC5200 with all bestcomm users enabled. Signed-off-by: Philippe De Muyter <[email protected]> Signed-off-by: Anatolij Gustschin <[email protected]>
2012-05-12dma: mxs-dma: make platform_device_id more genericShawn Guo1-10/+2
Rewrite mxs_dma_is_apbh and mxs_dma_is_apbx in order to support other SoCs like imx6q and reform the platform_device_id for the better further dt support. Cc: Dan Williams <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Huang Shijie <[email protected]> Signed-off-by: Dong Aisheng <[email protected]> Signed-off-by: Shawn Guo <[email protected]> Acked-by: Marek Vasut <[email protected]> Acked-by: Vinod Koul <[email protected]>
2012-03-27mxs-dma : move the mxs dma.h to a more common placeHuang Shijie1-0/+28
Move the header to a more common place. The mxs dma engine is not only used in mx23/mx28, but also used in mx50/mx6q. It will also be used in the future chips. Rename it to mxs-dma.h, and create a new folder include/linux/fsl/ to store the Freescale's header files. change mxs-dma driver, mxs-mmc driver, gpmi-nand driver, mxs-saif driver to the new header file. Acked-by: Shawn Guo <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Huang Shijie <[email protected]> Acked-by: Vinod Koul <[email protected]> Acked-by: Chris Ball <[email protected]> Signed-off-by: David Woodhouse <[email protected]>