| /OK3568_Linux_fs/kernel/drivers/pwm/ |
| H A D | pwm-mxs.c | 50 struct mxs_pwm_chip *mxs = to_mxs_pwm_chip(chip); in mxs_pwm_apply() local 63 ret = clk_prepare_enable(mxs->clk); in mxs_pwm_apply() 69 writel(1 << pwm->hwpwm, mxs->base + PWM_CTRL + CLR); in mxs_pwm_apply() 71 rate = clk_get_rate(mxs->clk); in mxs_pwm_apply() 98 mxs->base + PWM_ACTIVE0 + pwm->hwpwm * 0x20); in mxs_pwm_apply() 100 mxs->base + PWM_PERIOD0 + pwm->hwpwm * 0x20); in mxs_pwm_apply() 108 writel(1 << pwm->hwpwm, mxs->base + PWM_CTRL + SET); in mxs_pwm_apply() 111 clk_disable_unprepare(mxs->clk); in mxs_pwm_apply() 124 struct mxs_pwm_chip *mxs; in mxs_pwm_probe() local 127 mxs = devm_kzalloc(&pdev->dev, sizeof(*mxs), GFP_KERNEL); in mxs_pwm_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | mxs-lradc.c | 3 * Freescale MXS Low Resolution Analog-to-Digital Converter driver 16 #include <linux/mfd/mxs-lradc.h> 57 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH0_IRQ, "mxs-lradc-channel0"), 58 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH1_IRQ, "mxs-lradc-channel1"), 59 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH2_IRQ, "mxs-lradc-channel2"), 60 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH3_IRQ, "mxs-lradc-channel3"), 61 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH4_IRQ, "mxs-lradc-channel4"), 62 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH5_IRQ, "mxs-lradc-channel5"), 67 DEFINE_RES_IRQ_NAMED(MX23_LRADC_TS_IRQ, "mxs-lradc-touchscreen"), 68 DEFINE_RES_IRQ_NAMED(MX23_LRADC_CH6_IRQ, "mxs-lradc-channel6"), [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/mxs/ |
| H A D | Makefile | 2 # MXS Platform Support 3 snd-soc-mxs-objs := mxs-saif.o 4 snd-soc-mxs-pcm-objs := mxs-pcm.o 6 obj-$(CONFIG_SND_MXS_SOC) += snd-soc-mxs.o snd-soc-mxs-pcm.o 9 snd-soc-mxs-sgtl5000-objs := mxs-sgtl5000.o 11 obj-$(CONFIG_SND_SOC_MXS_SGTL5000) += snd-soc-mxs-sgtl5000.o
|
| H A D | Kconfig | 3 tristate "SoC Audio for Freescale MXS CPUs" 9 the MXS SAIF interface. 15 tristate "SoC Audio support for MXS boards with sgtl5000" 19 Say Y if you want to add support for SoC audio on an MXS board with
|
| H A D | mxs-sgtl5000.c | 17 #include "mxs-saif.h" 184 { .compatible = "fsl,mxs-audio-sgtl5000", }, 191 .name = "mxs-sgtl5000", 201 MODULE_DESCRIPTION("MXS ALSA SoC Machine driver"); 203 MODULE_ALIAS("platform:mxs-sgtl5000");
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | mxs_i2c.c | 7 * Partly based on Linux kernel i2c-mxs.c driver: 71 printf("MXS I2C: Speed too high (%d Hz)\n", speed); in mxs_i2c_set_bus_speed() 76 printf("MXS I2C: Speed too low (%d Hz)\n", speed); in mxs_i2c_set_bus_speed() 98 debug("MXS I2C: Block reset timeout\n"); in mxs_i2c_reset() 139 debug("MXS I2C: Invalid address length\n"); in mxs_i2c_write() 181 debug("MXS I2C: Failed transmitting data!\n"); in mxs_i2c_write() 197 debug("MXS I2C: No slave ACK\n"); in mxs_i2c_wait_for_ack() 204 debug("MXS I2C: Error (CTRL1 = %08x)\n", tmp); in mxs_i2c_wait_for_ack() 212 debug("MXS I2C: Operation timed out\n"); in mxs_i2c_wait_for_ack() 238 debug("MXS I2C: Failed writing address\n"); in mxs_i2c_if_read() [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.mxs | 1 Booting U-Boot on a MXS processor 4 This document describes the MXS U-Boot port. This document mostly covers topics 10 The term "MXS" refers to a family of Freescale SoCs that is composed by MX23 23 2) Compiling U-Boot for a MXS based board 24 3) Installation of U-Boot for a MXS based board to SD card 31 To make a MXS based board bootable, some tools are necessary. The only 83 2) Compiling U-Boot for a MXS based board 86 Compiling the U-Boot for a MXS board is straightforward and done as compiling 92 Next, configure U-Boot for a MXS based board 115 type of file, which MXS CPUs can boot. This is handled by the following [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | mxs-lradc-adc.c | 3 * Freescale MXS LRADC ADC driver 18 #include <linux/mfd/mxs-lradc.h> 43 "mxs-lradc-channel0", 44 "mxs-lradc-channel1", 45 "mxs-lradc-channel2", 46 "mxs-lradc-channel3", 47 "mxs-lradc-channel4", 48 "mxs-lradc-channel5", 52 "mxs-lradc-thresh0", 53 "mxs-lradc-thresh1", [all …]
|
| /OK3568_Linux_fs/u-boot/board/aries/m28evk/ |
| H A D | m28evk.c | 70 printf("MXS MMC: Invalid card selected (card id = %d)\n", id); in m28_mmc_wp() 136 printf("FEC MXS: Unable to init FEC0\n"); in board_eth_init() 142 printf("FEC MXS: Unable to init FEC1\n"); in board_eth_init() 148 printf("FEC MXS: Unable to get FEC0 device entry\n"); in board_eth_init() 154 printf("FEC MXS: Unable to register FEC0 mii postcall\n"); in board_eth_init() 160 printf("FEC MXS: Unable to get FEC1 device entry\n"); in board_eth_init() 166 printf("FEC MXS: Unable to register FEC1 mii postcall\n"); in board_eth_init()
|
| H A D | README | 7 arch/arm/cpu/arm926ejs/mxs/ - The CPU support code for the Freescale i.MX28 8 arch/arm/include/asm/arch-mxs/ - Header files for the Freescale i.MX28 12 Follow the instructions from doc/README.mxs to generate a bootable SD card or to
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/mach-imx/ |
| H A D | dma.h | 23 * MXS DMA channels 72 * MXS DMA hardware command. 109 * MXS DMA command descriptor. 111 * This structure incorporates an MXS DMA hardware command structure, along 127 * MXS DMA channel 129 * This structure represents a single DMA channel. The MXS platform code
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/ |
| H A D | fsl,mxs-pinctrl.txt | 1 * Freescale MXS Pin Controller 3 The pins controlled by mxs pin controller are organized in banks, each bank 16 The node of mxs pin controller acts as a container for an arbitrary number of 25 Those subnodes under mxs pin controller node will fall into two categories. 32 On mxs, there is no hardware pin group. The pin group in this binding only 117 In this example, group node mmc0-8bit defines a group of pins for mxs SSP0 127 arch/arm/boot/dts/mxs-pinfunc.h.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | mxs-audio-sgtl5000.txt | 1 * Freescale MXS audio complex with SGTL5000 codec 4 - compatible : "fsl,mxs-audio-sgtl5000" 6 - saif-controllers : The phandle list of the MXS SAIF controller 34 "fsl,mxs-audio-sgtl5000";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/crypto/ |
| H A D | fsl-dcp.yaml | 22 description: Should contain MXS DCP interrupt numbers, VMI IRQ and DCP IRQ 26 - description: MXS DCP VMI interrupt 27 - description: MXS DCP DCP interrupt 28 - description: MXS DCP secure interrupt
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/ |
| H A D | gpio-mxs.yaml | 4 $id: http://devicetree.org/schemas/gpio/gpio-mxs.yaml# 7 title: Freescale MXS GPIO controller 14 The Freescale MXS GPIO controller is part of MXS PIN controller. 18 will be represented as sub-nodes of MXS pinctrl node.
|
| /OK3568_Linux_fs/u-boot/board/freescale/mx28evk/ |
| H A D | mx28evk.c | 77 printf("MXS MMC: Invalid card selected (card id = %d)\n", id); in mx28evk_mmc_wp() 123 puts("FEC MXS: Unable to init FEC0\n"); in board_eth_init() 129 puts("FEC MXS: Unable to init FEC1\n"); in board_eth_init() 135 puts("FEC MXS: Unable to get FEC0 device entry\n"); in board_eth_init() 141 puts("FEC MXS: Unable to get FEC1 device entry\n"); in board_eth_init()
|
| H A D | README | 9 arch/arm/cpu/arm926ejs/mxs/ - The CPU support code for the Freescale i.MX28 10 arch/arm/include/asm/arch-mxs/ - Header files for the Freescale i.MX28 61 Follow the instructions from doc/README.mxs to generate a bootable SD card or
|
| /OK3568_Linux_fs/u-boot/board/bluegiga/apx4devkit/ |
| H A D | apx4devkit.c | 85 printf("FEC MXS: Unable to init FEC clocks\n"); in board_eth_init() 91 printf("FEC MXS: Unable to init FEC\n"); in board_eth_init() 97 printf("FEC MXS: Unable to get FEC device entry\n"); in board_eth_init() 103 printf("FEC MXS: Unable to register FEC MII postcall\n"); in board_eth_init() 125 printf("MXS: Can't get serial number from OCOTP\n"); in get_board_serial()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | mxs_nand.c | 86 printf("MXS NAND: Too many DMA descriptors requested\n"); in mxs_nand_get_dma_desc() 279 printf("MXS NAND: Command queue too long\n"); in mxs_nand_cmd_ctrl() 334 printf("MXS NAND: Error sending command\n"); in mxs_nand_cmd_ctrl() 416 printf("MXS NAND: DMA buffer too big\n"); in mxs_nand_read_buf() 421 printf("MXS NAND: DMA buffer is NULL\n"); in mxs_nand_read_buf() 474 printf("MXS NAND: DMA read error\n"); in mxs_nand_read_buf() 500 printf("MXS NAND: DMA buffer too big\n"); in mxs_nand_write_buf() 505 printf("MXS NAND: DMA buffer is NULL\n"); in mxs_nand_write_buf() 536 printf("MXS NAND: DMA write error\n"); in mxs_nand_write_buf() 644 printf("MXS NAND: DMA read error\n"); in mxs_nand_ecc_read_page() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/ |
| H A D | mxs-mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml# 7 title: Freescale MXS MMC controller 13 The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-mxs/ |
| H A D | mach-mxs.c | 8 #include <linux/clk/mxs.h> 14 #include <linux/irqchip/mxs.h> 29 /* MXS DIGCTL SAIF CLKMUX */ 395 soc_dev_attr->family = "Freescale MXS Family"; in mxs_machine_init() 456 DT_MACHINE_START(MXS, "Freescale MXS (Device Tree)")
|
| H A D | Kconfig | 17 bool "Freescale MXS (i.MX23, i.MX28) support" 27 Support for Freescale MXS-based family of processors
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | mxs-lradc-ts.c | 3 * Freescale MXS LRADC touchscreen driver 19 #include <linux/mfd/mxs-lradc.h> 25 "mxs-lradc-touchscreen", 26 "mxs-lradc-channel6", 27 "mxs-lradc-channel7", 585 input->name = "mxs-lradc-ts"; in mxs_lradc_ts_register() 694 .name = "mxs-lradc-ts", 701 MODULE_DESCRIPTION("Freescale MXS LRADC touchscreen driver"); 703 MODULE_ALIAS("platform:mxs-lradc-ts");
|
| /OK3568_Linux_fs/kernel/drivers/nvmem/ |
| H A D | Makefile | 24 obj-$(CONFIG_NVMEM_MXS_OCOTP) += nvmem-mxs-ocotp.o 25 nvmem-mxs-ocotp-y := mxs-ocotp.o
|
| /OK3568_Linux_fs/buildroot/configs/ |
| H A D | freescale_imx28evk_defconfig | 15 BR2_LINUX_KERNEL_DEFCONFIG="mxs" 34 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/mxs/post-image.sh"
|