Home
last modified time | relevance | path

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

12345678

/linux/drivers/firmware/imx/
H A 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 …]
H A 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/Documentation/devicetree/bindings/net/
H A 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/Documentation/devicetree/bindings/sound/
H A 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 …]
H A 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 …]
/linux/drivers/gpio/
H A 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/drivers/thermal/
H A 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/Documentation/devicetree/bindings/interrupt-controller/
H A 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/drivers/rtc/
H A 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 …]
H A 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/Documentation/devicetree/bindings/firmware/
H A 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/sound/soc/fsl/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
17 This option is only useful for out-of-tree drivers since
18 in-tree drivers select it automatically.
29 This option is only useful for out-of-tree drivers since
30 in-tree drivers select it automatically.
40 This option is only useful for out-of-tree drivers since
41 in-tree drivers select it automatically.
48 support for the NXP iMX CPUs.
58 This option is only useful for out-of-tree drivers since
59 in-tree drivers select it automatically.
[all …]
/linux/drivers/input/keyboard/
H A 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 …]
H A Dimx-sm-bbm-key.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2024 NXP.
34 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_pwrkey_check_for_events()
35 struct input_dev *input = bbnsm->input; in scmi_imx_bbm_pwrkey_check_for_events()
39 ret = bbnsm->ops->button_get(ph, &state); in scmi_imx_bbm_pwrkey_check_for_events()
45 pr_debug("%s: state: %d, keystate %d\n", __func__, state, bbnsm->keystate); in scmi_imx_bbm_pwrkey_check_for_events()
48 if (state ^ bbnsm->keystate) { in scmi_imx_bbm_pwrkey_check_for_events()
49 bbnsm->keystate = state; in scmi_imx_bbm_pwrkey_check_for_events()
50 input_event(input, EV_KEY, bbnsm->keycode, state); in scmi_imx_bbm_pwrkey_check_for_events()
52 pm_relax(bbnsm->input->dev.parent); in scmi_imx_bbm_pwrkey_check_for_events()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A 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/include/linux/firmware/imx/
H A 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/drivers/pinctrl/freescale/
H A 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/arch/arm64/boot/dts/freescale/
H A 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/Documentation/devicetree/bindings/watchdog/
H A 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/drivers/media/platform/nxp/
H A 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/Documentation/devicetree/bindings/remoteproc/
H A 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 …]
/linux/Documentation/devicetree/bindings/thermal/
H A 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/Documentation/devicetree/bindings/input/
H A 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/drivers/watchdog/
H A Dimx_sc_wdt.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2018-2019 NXP.
6 #include <linux/arm-smccc.h>
7 #include <linux/firmware/imx/sci.h>
87 return -EACCES; in imx_sc_wdt_start()
92 return res.a0 ? -EACCES : 0; in imx_sc_wdt_start()
102 return res.a0 ? -EACCES : 0; in imx_sc_wdt_stop()
110 wdog->timeout = timeout; in imx_sc_wdt_set_timeout()
114 return res.a0 ? -EACCES : 0; in imx_sc_wdt_set_timeout()
128 (wdog->timeout - pretimeout) * 1000, 0, 0, 0, in imx_sc_wdt_set_pretimeout()
[all …]
/linux/drivers/devfreq/
H A Dimx-bus.c1 // 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_property_present(dev->of_node, "#interconnect-cells")) 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 …]

12345678