/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | imx-audio-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX audio complex with HDMI 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 15 - fsl,imx-audio-hdmi 16 - fsl,imx-audio-sii902x 22 audio-cpu: 26 hdmi-out: [all …]
|
D | imx-audio-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX audio sound card. 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 15 - fsl,imx-audio-card 21 audio-routing: 22 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 30 ".*-dai-link$": [all …]
|
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 …]
|
/Linux-v6.1/drivers/gpio/ |
D | gpio-imx-scu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2021~2022 NXP 12 #include <linux/firmware/imx/svc/rm.h> 13 #include <dt-bindings/firmware/imx/rsrc.h> 39 if (offset >= chip->ngpio) in imx_scu_gpio_get() 40 return -EINVAL; in imx_scu_gpio_get() 42 mutex_lock(&priv->lock); in imx_scu_gpio_get() 45 err = imx_sc_misc_get_control(priv->handle, in imx_scu_gpio_get() 47 mutex_unlock(&priv->lock); in imx_scu_gpio_get() 50 dev_err(priv->dev, "SCU get failed: %d\n", err); in imx_scu_gpio_get() [all …]
|
/Linux-v6.1/drivers/thermal/ |
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> 50 struct imx_sc_sensor *sensor = tz->devdata; in imx_sc_thermal_get_temp() 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() [all …]
|
/Linux-v6.1/drivers/firmware/imx/ |
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 …]
|
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 …]
|
/Linux-v6.1/drivers/pinctrl/freescale/ |
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 …]
|
/Linux-v6.1/drivers/rtc/ |
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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/remoteproc/ |
D | fsl,imx-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/remoteproc/fsl,imx-rproc.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: NXP i.MX Co-Processor Bindings 10 This binding provides support for ARM Cortex M4 Co-processor found on some NXP iMX SoCs. 13 - Peng Fan <peng.fan@nxp.com> 18 - fsl,imx6sx-cm4 19 - fsl,imx7d-cm4 20 - fsl,imx7ulp-cm4 [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/firmware/ |
D | fsl,scu.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 i.MX System Controller Firmware (SCFW) 10 - Dong Aisheng <aisheng.dong@nxp.com> 13 The System Controller Firmware (SCFW) is a low-level system function 14 which runs on a dedicated Cortex-M core to provide power, clock, and 17 The AP communicates with the SC using a multi-ported MU module found 26 const: fsl,imx-scu 28 clock-controller: [all …]
|
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
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 …]
|
/Linux-v6.1/drivers/input/keyboard/ |
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 …]
|
/Linux-v6.1/include/linux/firmware/imx/ |
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> 28 return -ENOTSUPP; in imx_scu_soc_init() 33 return -ENOTSUPP; in imx_scu_enable_general_irq_channel() 38 return -ENOTSUPP; in imx_scu_irq_register_notifier() 43 return -ENOTSUPP; in imx_scu_irq_unregister_notifier() [all …]
|
/Linux-v6.1/drivers/media/platform/nxp/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 comment "NXP media platform drivers" 8 tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" 15 Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver 21 tristate "NXP i.MX Pixel Pipeline (PXP)" 27 The i.MX Pixel Pipeline is a memory-to-memory engine for scaling, 31 tristate "NXP MX2 eMMa-PrP support" 42 source "drivers/media/platform/nxp/dw100/Kconfig" 43 source "drivers/media/platform/nxp/imx-jpeg/Kconfig"
|
/Linux-v6.1/sound/soc/fsl/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 This option is only useful for out-of-tree drivers since 15 in-tree drivers select it automatically. 26 This option is only useful for out-of-tree drivers since 27 in-tree drivers select it automatically. 36 This option is only useful for out-of-tree drivers since 37 in-tree drivers select it automatically. 44 support for the NXP iMX CPUs. 54 This option is only useful for out-of-tree drivers since 55 in-tree drivers select it automatically. [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/watchdog/ |
D | fsl,scu-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/fsl,scu-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: i.MX SCU Client Device Node - Watchdog bindings based on SCU Message Protocol 10 - Dong Aisheng <aisheng.dong@nxp.com> 13 Client nodes are maintained as children of the relevant IMX-SCU device node. 16 - $ref: watchdog.yaml# 21 - const: fsl,imx8qxp-sc-wdt 22 - const: fsl,imx-sc-wdt [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/thermal/ |
D | fsl,scu-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: i.MX SCU Client Device Node - Thermal bindings based on SCU Message Protocol 10 - Dong Aisheng <aisheng.dong@nxp.com> 13 Client nodes are maintained as children of the relevant IMX-SCU device node. 16 - $ref: thermal-sensor.yaml# 21 - const: fsl,imx8qxp-sc-thermal 22 - const: fsl,imx-sc-thermal [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/input/ |
D | fsl,scu-key.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/fsl,scu-key.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: i.MX SCU Client Device Node - SCU key bindings based on SCU Message Protocol 10 - Dong Aisheng <aisheng.dong@nxp.com> 13 Client nodes are maintained as children of the relevant IMX-SCU device node. 16 - $ref: input.yaml# 21 - const: fsl,imx8qxp-sc-key 22 - const: fsl,imx-sc-key [all …]
|
/Linux-v6.1/drivers/watchdog/ |
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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | nxp,imx8-jpeg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/nxp,imx8-jpeg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mirela Rabulea <mirela.rabulea@nxp.com> 12 description: |- 14 ISO/IEC 10918-1 JPEG standard compliant decoder/encoder, for Baseline 20 - items: 22 - nxp,imx8qxp-jpgdec 23 - nxp,imx8qxp-jpgenc [all …]
|
/Linux-v6.1/drivers/devfreq/ |
D | imx-bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2019 NXP 43 *freq = clk_get_rate(priv->clk); in imx_bus_get_cur_freq() 53 platform_device_unregister(priv->icc_pdev); in imx_bus_exit() 56 /* imx_bus_init_icc() - register matching icc provider if required */ 62 if (!of_get_property(dev->of_node, "#interconnect-cells", NULL)) in imx_bus_init_icc() 65 dev_warn(dev, "imx interconnect drivers disabled\n"); in imx_bus_init_icc() 75 priv->icc_pdev = platform_device_register_data( in imx_bus_init_icc() 76 dev, icc_driver_name, -1, NULL, 0); in imx_bus_init_icc() 77 if (IS_ERR(priv->icc_pdev)) { in imx_bus_init_icc() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | nxp,dwmac-imx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8 DWMAC glue layer 10 - Joakim Zhang <qiangqing.zhang@nxp.com> 18 - nxp,imx8mp-dwmac-eqos 19 - nxp,imx8dxl-dwmac-eqos 21 - compatible 24 - $ref: "snps,dwmac.yaml#" [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/ |
D | nxp,imx8qxp-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/nxp,imx8qxp-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP IMX8QXP ADC bindings 10 - Cai Huoqing <caihuoqing@baidu.com> 17 const: nxp,imx8qxp-adc 28 clock-names: 30 - const: per 31 - const: ipg [all …]
|