Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/drivers/firmware/imx/
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>
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 …]
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>
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 …]
/kernel/linux/linux-5.10/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>
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 …]
/kernel/linux/linux-5.10/sound/soc/sof/
Dsof-of-dev.c1 // 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 …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0029_linux_drivers_mfd.patch7 Change-Id: I6657300647d765d5784880d32917e080e86881dc
9 diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
11 --- a/drivers/mfd/Kconfig
13 @@ -497,6 +497,17 @@ config MFD_MX25_TSADC
18 + tristate "NXP i.MX Generic Mix Control Driver"
31 diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
33 --- a/drivers/mfd/Makefile
35 @@ -115,6 +115,7 @@ obj-$(CONFIG_MFD_TWL4030_AUDIO) += twl4030-audio.o
36 obj-$(CONFIG_TWL6040_CORE) += twl6040.o
38 obj-$(CONFIG_MFD_MX25_TSADC) += fsl-imx25-tsadc.o
[all …]
D0018_linux_drivers_firmware.patch7 Change-Id: I36b7f7c1c8a25ed6657505008ad1251ef7273f99
9 diff --git a/drivers/firmware/arm_scmi/common.h b/drivers/firmware/arm_scmi/common.h
11 --- a/drivers/firmware/arm_scmi/common.h
13 @@ -169,6 +169,7 @@ DECLARE_SCMI_REGISTER_UNREGISTER(perf);
21 diff --git a/drivers/firmware/arm_scmi/smc.c b/drivers/firmware/arm_scmi/smc.c
23 --- a/drivers/firmware/arm_scmi/smc.c
25 @@ -9,9 +9,11 @@
26 #include <linux/arm-smccc.h>
37 @@ -23,6 +25,8 @@
46 @@ -30,8 +34,19 @@ struct scmi_smc {
[all …]
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch7 Change-Id: I1ba947d26a24ae6708961a663867e136c1171c8d
9 diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
11 --- a/drivers/scsi/scsi_error.c
13 @@ -63,6 +63,13 @@ static int scsi_eh_try_stu(struct scsi_cmnd *scmd);
23 +/* called with shost->host_lock held */
26 lockdep_assert_held(shost->host_lock);
27 @@ -72,6 +79,11 @@ void scsi_eh_wakeup(struct Scsi_Host *shost)
28 wake_up_process(shost->ehandler);
31 + } else if ((shost->host_failed > 0) || (sg_io_buffer_hack != NULL)) {
33 + wake_up_process(shost->ehandler);
[all …]
D0015_linux_drivers_clk.patch7 Change-Id: Iad3fba6c51f290df25555d1136fd2cc4761d3324
9 diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
11 --- a/drivers/clk/Kconfig
13 @@ -374,6 +374,7 @@ source "drivers/clk/mvebu/Kconfig"
21 diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
23 --- a/drivers/clk/Makefile
25 @@ -102,6 +102,7 @@ obj-$(CONFIG_COMMON_CLK_PXA) += pxa/
26 obj-$(CONFIG_COMMON_CLK_QCOM) += qcom/
27 obj-y += renesas/
28 obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
[all …]
/kernel/linux/linux-5.10/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>
/kernel/linux/linux-5.10/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"
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 …]
Dpinctrl-imx8qxp.c1 // 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");
Dpinctrl-imx8dxl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2019~2020 NXP
6 #include <dt-bindings/pinctrl/pads-imx8dxl.h>
8 #include <linux/firmware/imx/sci.h>
16 #include "pinctrl-imx.h"
168 { .compatible = "fsl,imx8dxl-iomuxc", },
186 .name = "fsl,imx8dxl-iomuxc",
199 MODULE_AUTHOR("Anson Huang <Anson.Huang@nxp.com>");
200 MODULE_DESCRIPTION("NXP i.MX8DXL pinctrl driver");
/kernel/linux/linux-5.10/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
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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dcdns,salvo-phy.yaml1 # 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 …]
/kernel/linux/linux-5.10/drivers/watchdog/
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>
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
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>
17 const: fsl,imx8mn-easrc
27 - description: Peripheral clock
29 clock-names:
31 - const: mem
36 dma-names:
[all …]
/kernel/linux/linux-5.10/drivers/devfreq/
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 stat->busy_time = 0; in imx_bus_get_dev_status()
54 stat->total_time = 0; in imx_bus_get_dev_status()
55 stat->current_frequency = clk_get_rate(priv->clk); in imx_bus_get_dev_status()
65 platform_device_unregister(priv->icc_pdev); in imx_bus_exit()
68 /* imx_bus_init_icc() - register matching icc provider if required */
74 if (!of_get_property(dev->of_node, "#interconnect-cells", 0)) in imx_bus_init_icc()
77 dev_warn(dev, "imx interconnect drivers disabled\n"); in imx_bus_init_icc()
[all …]
/kernel/linux/linux-5.10/drivers/clk/imx/
Dclk-scu.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2018 NXP
4 * Dong Aisheng <aisheng.dong@nxp.com>
10 #include <linux/firmware/imx/sci.h>
/kernel/linux/linux-5.10/drivers/nvmem/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
33 will be called nvmem-imx-iim.
36 tristate "i.MX 6/7/8 On-Chip OTP Controller support"
40 This is a driver for the On-Chip OTP Controller (OCOTP) available on
41 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
45 will be called nvmem-imx-ocotp.
48 tristate "i.MX8 SCU On-Chip OTP Controller support"
52 This is a driver for the SCU On-Chip OTP Controller (OCOTP)
68 tristate "NXP LPC18XX EEPROM Memory Support"
72 Say Y here to include support for NXP LPC18xx EEPROM memory found in
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/
Dimx-rproc.txt1 NXP iMX6SX/iMX7D Co-Processor Bindings
2 ----------------------------------------
4 This binding provides support for ARM Cortex M4 Co-processor found on some
5 NXP iMX SoCs.
8 - compatible Should be one of:
9 "fsl,imx7d-cm4"
10 "fsl,imx6sx-cm4"
11 - clocks Clock for co-processor (See: ../clock/clock-bindings.txt)
12 - syscon Phandle to syscon block which provide access to
16 - memory-region list of phandels to the reserved memory regions.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Drohm,bd71847-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is
18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica…
19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic…
24 - rohm,bd71847
25 - rohm,bd71850
[all …]
/kernel/linux/linux-5.10/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 - Joakim Zhang <qiangqing.zhang@nxp.com>
14 const: fsl,imx-intmux
26 interrupt-controller: true
28 '#interrupt-cells':
36 clock-names:
40 - compatible
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/perf/
Dfsl-imx-ddr.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/perf/fsl-imx-ddr.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale(NXP) IMX8 DDR performance monitor
10 - Frank Li <frank.li@nxp.com>
15 - enum:
16 - fsl,imx8-ddr-pmu
17 - fsl,imx8m-ddr-pmu
18 - fsl,imx8mp-ddr-pmu
[all …]

1234567