| /OK3568_Linux_fs/kernel/drivers/firmware/imx/ |
| H A D | imx-dsp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2019 NXP 4 * Author: Daniel Baluta <daniel.baluta@nxp.com> 9 #include <linux/firmware/imx/dsp.h> 18 * imx_dsp_ring_doorbell - triggers an interrupt on the other side (DSP) 23 * Returns non-negative value for success, negative value for error 31 return -EINVAL; in imx_dsp_ring_doorbell() 33 dsp_chan = &ipc->chans[idx]; in imx_dsp_ring_doorbell() 34 ret = mbox_send_message(dsp_chan->ch, NULL); in imx_dsp_ring_doorbell() 43 * imx_dsp_handle_rx - rx callback used by imx mailbox [all …]
|
| H A D | imx-scu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018 NXP 4 * Author: Dong Aisheng <aisheng.dong@nxp.com> 11 #include <linux/firmware/imx/ipc.h> 12 #include <linux/firmware/imx/sci.h> 69 -EINVAL, /* IMX_SC_ERR_VERSION */ 70 -EINVAL, /* IMX_SC_ERR_CONFIG */ 71 -EINVAL, /* IMX_SC_ERR_PARM */ 72 -EACCES, /* IMX_SC_ERR_NOACCESS */ 73 -EACCES, /* IMX_SC_ERR_LOCKED */ [all …]
|
| /OK3568_Linux_fs/buildroot/package/freescale-imx/imx-vpu-hantro/ |
| H A D | Config.in | 1 comment "imx-vpu-hantro needs an i.MX-specific Linux kernel to be built" 4 comment "imx-vpu-hantro needs an i.MX platform with Hantro VPU" 9 bool "imx-vpu-hantro" 13 Library of userspace helpers specific for the NXP i.MX SoC 19 This library is provided by NXP as-is and doesn't have an
|
| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A D | imx_sc_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 NXP. 6 #include <dt-bindings/firmware/imx/rsrc.h> 8 #include <linux/firmware/imx/sci.h> 53 msg.data.req.resource_id = sensor->resource_id; in imx_sc_thermal_get_temp() 56 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_thermal_get_temp() 57 hdr->svc = IMX_SC_RPC_SVC_MISC; in imx_sc_thermal_get_temp() 58 hdr->func = IMX_SC_MISC_FUNC_GET_TEMP; in imx_sc_thermal_get_temp() 59 hdr->size = 2; in imx_sc_thermal_get_temp() 63 dev_err(&sensor->tzd->device, "read temp sensor %d failed, ret %d\n", in imx_sc_thermal_get_temp() [all …]
|
| /OK3568_Linux_fs/buildroot/package/freescale-imx/imx-codec/ |
| H A D | Config.in | 2 bool "imx-codec" 6 Binary codec libraries for the NXP i.MX SoCs. 8 This library is provided by NXP as-is and doesn't have 11 comment "imx-codec needs a glibc toolchain"
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/ |
| H A D | sof-of-dev.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 // Copyright 2019 NXP 5 // Author: Daniel Baluta <daniel.baluta@nxp.com> 22 .default_fw_path = "imx/sof", 23 .default_tplg_path = "imx/sof-tplg", 24 .default_fw_filename = "sof-imx8x.ri", 25 .nocodec_tplg_filename = "sof-imx8-nocodec.tplg", 30 .default_fw_path = "imx/sof", 31 .default_tplg_path = "imx/sof-tplg", 32 .default_fw_filename = "sof-imx8.ri", [all …]
|
| /OK3568_Linux_fs/buildroot/package/freescale-imx/imx-vpu/ |
| H A D | Config.in | 1 comment "imx-vpu needs an i.MX platform with VPU support" 5 bool "imx-vpu" 9 Library of userspace helpers specific for the NXP i.MX SoC 13 This library is provided by NXP as-is and doesn't have an
|
| /OK3568_Linux_fs/buildroot/board/freescale/imx8qmmek/ |
| H A D | readme.txt | 5 This file documents the Buildroot support for the NXP i.MX8QM MEK board. 7 You will find a reference to the board on nxp.com: 8 https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/i.mx-8quadmax-… 11 https://www.nxp.com/document/guide/get-started-with-the-i.mx-8quadmax-mek:GS-iMX-8QM-MEK 25 - ahab-container.img 26 - bl31.bin 27 - boot.vfat 28 - fsl-imx8qm-mek.dtb 29 - Image 30 - imx8-boot-sd.bin [all …]
|
| /OK3568_Linux_fs/buildroot/package/freescale-imx/imx-uuc/ |
| H A D | Config.in | 2 bool "imx-uuc" 9 This package provides the Universal Adapter user-space 13 It requires a Freescale/NXP kernel whose configuration 16 This package is provided by Freescale/NXP as-is and doesn't 19 comment "imx-uuc needs a toolchain w/ threads, headers >= 3.18"
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-imx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dwmac-imx.c - DWMAC Specific Glue layer for NXP imx8 5 * Copyright 2020 NXP 55 struct imx_priv_data *dwmac = plat_dat->bsp_priv; in imx8mp_set_intf_mode() 58 switch (plat_dat->interface) { in imx8mp_set_intf_mode() 64 val |= (dwmac->rmii_refclk_ext ? 0 : GPR_ENET_QOS_CLK_TX_CLK_SEL); in imx8mp_set_intf_mode() 74 pr_debug("imx dwmac doesn't support %d interface\n", in imx8mp_set_intf_mode() 75 plat_dat->interface); in imx8mp_set_intf_mode() 76 return -EINVAL; in imx8mp_set_intf_mode() 80 return regmap_update_bits(dwmac->intf_regmap, dwmac->intf_reg_off, in imx8mp_set_intf_mode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/freescale/ |
| H A D | pinctrl-scu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright 2017-2018 NXP 5 * Dong Aisheng <aisheng.dong@nxp.com> 9 #include <linux/firmware/imx/sci.h> 16 #include "pinctrl-imx.h" 55 hdr->ver = IMX_SC_RPC_VERSION; in imx_pinconf_get_scu() 56 hdr->svc = IMX_SC_RPC_SVC_PAD; in imx_pinconf_get_scu() 57 hdr->func = IMX_SC_PAD_FUNC_GET; in imx_pinconf_get_scu() 58 hdr->size = 2; in imx_pinconf_get_scu() 67 *config = resp->val; in imx_pinconf_get_scu() [all …]
|
| H A D | pinctrl-imx8qxp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright 2017-2018 NXP 5 * Dong Aisheng <aisheng.dong@nxp.com> 8 #include <dt-bindings/pinctrl/pads-imx8qxp.h> 10 #include <linux/firmware/imx/sci.h> 18 #include "pinctrl-imx.h" 207 { .compatible = "fsl,imx8qxp-iomuxc", }, 225 .name = "imx8qxp-pinctrl", 238 MODULE_AUTHOR("Aisheng Dong <aisheng.dong@nxp.com>"); 239 MODULE_DESCRIPTION("NXP i.MX8QXP pinctrl driver");
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-imx-sc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018 NXP. 6 #include <dt-bindings/firmware/imx/rsrc.h> 7 #include <linux/arm-smccc.h> 8 #include <linux/firmware/imx/sci.h> 48 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_rtc_read_time() 49 hdr->svc = IMX_SC_RPC_SVC_TIMER; in imx_sc_rtc_read_time() 50 hdr->func = IMX_SC_TIMER_FUNC_GET_RTC_SEC1970; in imx_sc_rtc_read_time() 51 hdr->size = 1; in imx_sc_rtc_read_time() 70 ((tm->tm_year + 1900) << 16) | (tm->tm_mon + 1), in imx_sc_rtc_set_time() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/keyboard/ |
| H A D | imx_sc_key.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2019 NXP. 8 #include <linux/firmware/imx/sci.h> 50 schedule_delayed_work(&priv->check_work, in imx_sc_key_notify() 52 pm_wakeup_event(priv->input->dev.parent, 0); in imx_sc_key_notify() 64 struct input_dev *input = priv->input; in imx_sc_check_for_events() 70 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_check_for_events() 71 hdr->svc = IMX_SC_RPC_SVC_MISC; in imx_sc_check_for_events() 72 hdr->func = IMX_SC_MISC_FUNC_GET_BUTTON_STATUS; in imx_sc_check_for_events() 73 hdr->size = 1; in imx_sc_check_for_events() [all …]
|
| /OK3568_Linux_fs/buildroot/package/freescale-imx/imx-vpuwrap/ |
| H A D | Config.in | 1 comment "imx-vpuwrap needs an imx-specific Linux kernel to be built" 4 comment "imx-vpuwrap needs an i.MX platform with VPU support" 9 bool "imx-vpuwrap" 18 This library is provided by NXP as-is and doesn't have
|
| H A D | imx-vpuwrap.mk | 3 # imx-vpuwrap 9 IMX_VPUWRAP_SOURCE = imx-vpuwrap-$(IMX_VPUWRAP_VERSION).bin 13 IMX_VPUWRAP_DEPENDENCIES += imx-vpu 17 IMX_VPUWRAP_DEPENDENCIES += imx-vpu-hantro 20 IMX_VPUWRAP_LICENSE = NXP Semiconductor Software License Agreement 28 $(eval $(autotools-package))
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/ |
| H A D | SCR.txt | 1 NXP Software Content Register 3 -------------------------------------------- 6 Outgoing License: GPL-2.0 7 License File: mxm_wifiex/wlan_src/gpl-2.0.txt 9 Description and comments: NXP Wi-Fi linux SDK 10 Release Location: https://github.com/nxp-imx/mwifiex 11 Origin: NXP (GPL-2.0) 13 --------------------------------------------
|
| /OK3568_Linux_fs/kernel/drivers/watchdog/ |
| H A D | imx_sc_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2018-2019 NXP. 6 #include <linux/arm-smccc.h> 7 #include <linux/firmware/imx/sci.h> 65 return -EACCES; in imx_sc_wdt_start() 70 return res.a0 ? -EACCES : 0; in imx_sc_wdt_start() 80 return res.a0 ? -EACCES : 0; in imx_sc_wdt_stop() 88 wdog->timeout = timeout; in imx_sc_wdt_set_timeout() 92 return res.a0 ? -EACCES : 0; in imx_sc_wdt_set_timeout() 106 (wdog->timeout - pretimeout) * 1000, 0, 0, 0, in imx_sc_wdt_set_pretimeout() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/firmware/imx/ |
| H A D | sci.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * Copyright 2017~2018 NXP 13 #include <linux/firmware/imx/ipc.h> 15 #include <linux/firmware/imx/svc/misc.h> 16 #include <linux/firmware/imx/svc/pm.h> 17 #include <linux/firmware/imx/svc/rm.h>
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | cdns,salvo-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 # Copyright (c) 2020 NXP 4 --- 5 $id: "http://devicetree.org/schemas/phy/cdns,salvo-phy.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Peter Chen <peter.chen@nxp.com> 16 - nxp,salvo-phy 24 clock-names: 26 - const: salvo_phy_clk 28 power-domains: [all …]
|
| /OK3568_Linux_fs/buildroot/board/freescale/imx6ullevk/ |
| H A D | readme.txt | 16 if you plan to use NXP provided U-Boot and kernel. 22 if you plan to use mainline U-Boot and mainline kernel. 29 - boot.vfat 30 - imx6ull-14x14-evk.dtb 31 - rootfs.ext2 32 - rootfs.ext4 33 - rootfs.tar 34 - sdcard.img 35 - u-boot.bin 36 - u-boot.imx [all …]
|
| /OK3568_Linux_fs/buildroot/package/freescale-imx/kernel-module-imx-gpu-viv/ |
| H A D | Config.in | 1 comment "kernel-module-imx-gpu-viv needs a Linux kernel to be built" 5 bool "kernel-module-imx-gpu-viv" 14 This module is only meant for NXP-based kernel. 16 https://github.com/Freescale/kernel-module-imx-gpu-viv
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | fsl,easrc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP Asynchronous Sample Rate Converter (ASRC) Controller 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 17 const: fsl,imx8mn-easrc 27 - description: Peripheral clock 29 clock-names: 31 - const: mem 36 dma-names: [all …]
|
| /OK3568_Linux_fs/buildroot/package/mfgtools/ |
| H A D | readme.txt | 24 $ mkdir -p "Profiles/Linux/OS Firmware/firmware" 31 -O Profiles/Linux/OS\ Firmware/ucl2.xml 33 4. Copy the U-Boot, Kernel and initramfs images to the appropriate 36 $ cp images/u-boot.imx images/zImage images/imx6q-sabrelite.dtb \ 45 $ ./host/bin/mfgtoolcli -l mmc -s uboot_defconfig=imx \ 46 -s dtbname=imx6q-sabrelite.dtb -s initramfs=rootfs.cpio.uboot \ 47 -s mmc=1 -p 1 51 in every mfgtools package from NXP website[1]. 61 Also, if your U-Boot environment doesn't include mfgtools bootargs, 69 …http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/…
|
| /OK3568_Linux_fs/buildroot/package/freescale-imx/imx-gpu-g2d/ |
| H A D | Config.in | 1 comment "imx-gpu-g2d needs a glibc toolchain with armhf enabled" 5 comment "imx-gpu-g2d needs a glibc toolchain" 10 bool "imx-gpu-g2d" 11 # Pre-built binaries only available for ARM EABIhf 19 This library is provided by NXP as-is and doesn't have an
|