Home
last modified time | relevance | path

Searched +full:nxp +full:- +full:imx (Results 1 – 25 of 264) sorted by relevance

1234567891011

/linux-6.12.1/drivers/firmware/imx/
Dsm-misc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2024 NXP
6 #include <linux/firmware/imx/sm.h>
20 return -EPROBE_DEFER; in scmi_imx_misc_ctrl_set()
22 return imx_misc_ctrl_ops->misc_ctrl_set(ph, id, 1, &val); in scmi_imx_misc_ctrl_set()
29 return -EPROBE_DEFER; in scmi_imx_misc_ctrl_get()
31 return imx_misc_ctrl_ops->misc_ctrl_get(ph, id, num, val); in scmi_imx_misc_ctrl_get()
49 const struct scmi_handle *handle = sdev->handle; in scmi_imx_misc_ctrl_probe()
50 struct device_node *np = sdev->dev.of_node; in scmi_imx_misc_ctrl_probe()
55 return -ENODEV; in scmi_imx_misc_ctrl_probe()
[all …]
Dimx-dsp.c1 // 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>
17 * imx_dsp_ring_doorbell - triggers an interrupt on the other side (DSP)
22 * Returns non-negative value for success, negative value for error
30 return -EINVAL; in imx_dsp_ring_doorbell()
32 dsp_chan = &ipc->chans[idx]; in imx_dsp_ring_doorbell()
33 ret = mbox_send_message(dsp_chan->ch, NULL); in imx_dsp_ring_doorbell()
42 * imx_dsp_handle_rx - rx callback used by imx mailbox
[all …]
Dimx-scu.c1 // 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>
70 -EINVAL, /* IMX_SC_ERR_VERSION */
71 -EINVAL, /* IMX_SC_ERR_CONFIG */
72 -EINVAL, /* IMX_SC_ERR_PARM */
73 -EACCES, /* IMX_SC_ERR_NOACCESS */
74 -EACCES, /* IMX_SC_ERR_LOCKED */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dnxp,dwmac-imx.yaml1 # 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/9 DWMAC glue layer
10 - Clark Wang <xiaoning.wang@nxp.com>
11 - Shawn Guo <shawnguo@kernel.org>
12 - NXP Linux Team <linux-imx@nxp.com>
20 - nxp,imx8mp-dwmac-eqos
21 - nxp,imx8dxl-dwmac-eqos
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dimx-audio-hdmi.yaml1 # 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 …]
Dimx-audio-card.yaml1 # 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>
13 - $ref: sound-card-common.yaml#
18 - fsl,imx-audio-card
21 ".*-dai-link$":
29 link-name:
[all …]
Dfsl,easrc.yaml1 # 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>
18 - enum:
19 - fsl,imx8mn-easrc
20 - items:
21 - enum:
22 - fsl,imx8mp-easrc
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-imx-scu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2021~2022 NXP
13 #include <linux/firmware/imx/svc/rm.h>
14 #include <dt-bindings/firmware/imx/rsrc.h>
40 if (offset >= chip->ngpio) in imx_scu_gpio_get()
41 return -EINVAL; in imx_scu_gpio_get()
43 mutex_lock(&priv->lock); in imx_scu_gpio_get()
46 err = imx_sc_misc_get_control(priv->handle, in imx_scu_gpio_get()
48 mutex_unlock(&priv->lock); in imx_scu_gpio_get()
51 dev_err(priv->dev, "SCU get failed: %d\n", err); in imx_scu_gpio_get()
[all …]
/linux-6.12.1/drivers/thermal/
Dimx_sc_thermal.c1 // 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>
51 msg.data.req.resource_id = sensor->resource_id; in imx_sc_thermal_get_temp()
54 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_thermal_get_temp()
55 hdr->svc = IMX_SC_RPC_SVC_MISC; in imx_sc_thermal_get_temp()
56 hdr->func = IMX_SC_MISC_FUNC_GET_TEMP; in imx_sc_thermal_get_temp()
57 hdr->size = 2; in imx_sc_thermal_get_temp()
82 resource_id = of_device_get_match_data(&pdev->dev); in imx_sc_thermal_probe()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/
Dfsl,intmux.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
11 - NXP Linux Team <linux-imx@nxp.com>
15 const: fsl,imx-intmux
27 interrupt-controller: true
29 '#interrupt-cells':
37 clock-names:
[all …]
/linux-6.12.1/drivers/rtc/
Drtc-imx-sc.c1 // 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 …]
Drtc-imx-sm-bbm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2024 NXP.
23 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_read_time()
27 ret = bbnsm->ops->rtc_time_get(ph, 0, &val); in scmi_imx_bbm_read_time()
39 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_set_time()
44 return bbnsm->ops->rtc_time_set(ph, 0, val); in scmi_imx_bbm_set_time()
50 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_alarm_irq_enable()
54 return bbnsm->ops->rtc_alarm_set(ph, 0, false, 0); in scmi_imx_bbm_alarm_irq_enable()
62 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_set_alarm()
63 struct rtc_time *alrm_tm = &alrm->time; in scmi_imx_bbm_set_alarm()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/firmware/
Dfsl,scu.yaml1 # 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-6.12.1/drivers/input/keyboard/
Dimx_sc_key.c1 // 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-6.12.1/sound/soc/fsl/
DKconfig1 # 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-6.12.1/Documentation/devicetree/bindings/usb/
Dfsl,imx8qm-cdns3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2020 NXP
4 ---
5 $id: http://devicetree.org/schemas/usb/fsl,imx8qm-cdns3.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: NXP iMX8QM Soc USB Controller
11 - Frank Li <Frank.Li@nxp.com>
15 const: fsl,imx8qm-usb3
19 - description: Register set for iMX USB3 Platform Control
21 "#address-cells":
[all …]
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-imx.c1 // SPDX-License-Identifier: GPL-2.0
3 * dwmac-imx.c - DWMAC Specific Glue layer for NXP imx8
5 * Copyright 2020 NXP
70 struct imx_priv_data *dwmac = plat_dat->bsp_priv; in imx8mp_set_intf_mode()
73 switch (plat_dat->mac_interface) { in imx8mp_set_intf_mode()
79 val |= (dwmac->rmii_refclk_ext ? 0 : GPR_ENET_QOS_CLK_TX_CLK_SEL); in imx8mp_set_intf_mode()
89 pr_debug("imx dwmac doesn't support %d interface\n", in imx8mp_set_intf_mode()
90 plat_dat->mac_interface); in imx8mp_set_intf_mode()
91 return -EINVAL; in imx8mp_set_intf_mode()
95 return regmap_update_bits(dwmac->intf_regmap, dwmac->intf_reg_off, in imx8mp_set_intf_mode()
[all …]
/linux-6.12.1/include/linux/firmware/imx/
Dsci.h1 /* 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>
29 return -EOPNOTSUPP; in imx_scu_soc_init()
34 return -EOPNOTSUPP; in imx_scu_enable_general_irq_channel()
39 return -EOPNOTSUPP; in imx_scu_irq_register_notifier()
44 return -EOPNOTSUPP; in imx_scu_irq_unregister_notifier()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/watchdog/
Dfsl,scu-wdt.yaml1 # 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 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 - enum:
22 - fsl,imx8dxl-sc-wdt
[all …]
/linux-6.12.1/drivers/pinctrl/freescale/
Dpinctrl-scu.c1 // 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"
68 hdr->ver = IMX_SC_RPC_VERSION; in imx_pinconf_get_scu()
69 hdr->svc = IMX_SC_RPC_SVC_PAD; in imx_pinconf_get_scu()
70 hdr->func = IMX_SC_PAD_FUNC_GET; in imx_pinconf_get_scu()
71 hdr->size = 2; in imx_pinconf_get_scu()
80 *config = resp->val; in imx_pinconf_get_scu()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/thermal/
Dfsl,scu-thermal.yaml1 # 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 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 - enum:
22 - fsl,imx8dxl-sc-thermal
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/input/
Dfsl,scu-key.yaml1 # 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 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-6.12.1/drivers/media/platform/nxp/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 comment "NXP media platform drivers"
8 tristate "NXP CSI Bridge driver"
17 Driver for the NXP Camera Sensor Interface (CSI) Bridge. This device
21 tristate "NXP i.MX8MQ MIPI CSI-2 receiver"
28 Video4Linux2 driver for the MIPI CSI-2 receiver found on the i.MX8MQ
32 tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models"
39 Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver
42 source "drivers/media/platform/nxp/imx8-isi/Kconfig"
47 tristate "NXP i.MX Pixel Pipeline (PXP)"
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx8-ss-cm41.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2024 NXP
4 * Dong Aisheng <aisheng.dong@nxp.com>
7 #include <dt-bindings/firmware/imx/rsrc.h>
8 #include <dt-bindings/clock/imx8-lpcg.h>
10 cm41_ipg_clk: clock-cm41-ipg {
11 compatible = "fixed-clock";
12 #clock-cells = <0>;
13 clock-frequency = <132000000>;
14 clock-output-names = "cm41_ipg_clk";
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/remoteproc/
Dfsl,imx-rproc.yaml1 # 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
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 …]

1234567891011