/openbmc/linux/arch/powerpc/platforms/83xx/ |
H A D | mcu_mpc8349emitx.c | 3 * Power Management and GPIO expander driver for MPC8349E-mITX-compatible MCU 24 * I don't have specifications for the MCU firmware, I found this register 33 struct mcu { struct 40 static struct mcu *glob_mcu; argument 46 struct mcu *mcu = glob_mcu; in shutdown_thread_fn() local 49 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in shutdown_thread_fn() 51 pr_err("MCU status reg read failed.\n"); in shutdown_thread_fn() 52 mcu->reg_ctrl = ret; in shutdown_thread_fn() 55 if (mcu->reg_ctrl & MCU_CTRL_BTN) { in shutdown_thread_fn() 56 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, in shutdown_thread_fn() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/ |
H A D | samsung,sensorhub-rinato.yaml | 13 Sensorhub is a MCU which manages several sensors and also plays the role 28 ap-mcu-gpios: 33 mcu-ap-gpios: 38 mcu-reset-gpios: 47 - ap-mcu-gpios 48 - mcu-ap-gpios 49 - mcu-reset-gpios 68 ap-mcu-gpios = <&gpx0 0 0>; 69 mcu-ap-gpios = <&gpx0 4 0>; 70 mcu-reset-gpios = <&gpx0 5 0>;
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_usb_mcu.c | 26 WARN_ON_ONCE(len / 8 != usb->mcu.rp_len); in mt76x02u_multiple_mcu_reads() 28 for (i = 0; i < usb->mcu.rp_len; i++) { in mt76x02u_multiple_mcu_reads() 29 u32 reg = get_unaligned_le32(data + 8 * i) - usb->mcu.base; in mt76x02u_multiple_mcu_reads() 32 WARN_ON_ONCE(usb->mcu.rp[i].reg != reg); in mt76x02u_multiple_mcu_reads() 33 usb->mcu.rp[i].value = val; in mt76x02u_multiple_mcu_reads() 40 u8 *data = usb->mcu.data; in mt76x02u_mcu_wait_resp() 52 if (usb->mcu.rp) in mt76x02u_mcu_wait_resp() 60 dev_err(dev->dev, "error: MCU resp evt:%lx seq:%hhx-%lx\n", in mt76x02u_mcu_wait_resp() 83 seq = ++dev->mcu.msg_seq & 0xf; in __mt76x02u_mcu_send_msg() 85 seq = ++dev->mcu.msg_seq & 0xf; in __mt76x02u_mcu_send_msg() [all …]
|
H A D | mcu.c | 41 wait_event_timeout(dev->mcu.wait, in mt76_mcu_get_response() 42 (!skb_queue_empty(&dev->mcu.res_q) || in mt76_mcu_get_response() 45 return skb_dequeue(&dev->mcu.res_q); in mt76_mcu_get_response() 51 skb_queue_tail(&dev->mcu.res_q, skb); in mt76_mcu_rx_event() 52 wake_up(&dev->mcu.wait); in mt76_mcu_rx_event() 82 mutex_lock(&dev->mcu.mutex); in mt76_mcu_skb_send_and_get_msg() 93 expires = jiffies + dev->mcu.timeout; in mt76_mcu_skb_send_and_get_msg() 105 mutex_unlock(&dev->mcu.mutex); in mt76_mcu_skb_send_and_get_msg()
|
H A D | mt76x02_mcu.c | 20 dev_err(mdev->dev, "MCU message %02x (seq %d) timed out\n", in mt76x02_mcu_parse_response() 51 mutex_lock(&mdev->mcu.mutex); in mt76x02_mcu_msg_send() 53 seq = ++mdev->mcu.msg_seq & 0xf; in mt76x02_mcu_msg_send() 55 seq = ++mdev->mcu.msg_seq & 0xf; in mt76x02_mcu_msg_send() 76 mutex_unlock(&mdev->mcu.mutex); in mt76x02_mcu_msg_send() 153 while ((skb = skb_dequeue(&dev->mt76.mcu.res_q)) != NULL) in mt76x02_mcu_cleanup()
|
/openbmc/linux/drivers/thermal/ |
H A D | khadas_mcu_fan.c | 3 * Khadas MCU Controlled FAN driver 12 #include <linux/mfd/khadas-mcu.h> 20 struct khadas_mcu *mcu; member 30 ret = regmap_write(ctx->mcu->regmap, KHADAS_MCU_CMD_FAN_STATUS_CTRL_REG, in khadas_mcu_fan_set_level() 81 struct khadas_mcu *mcu = dev_get_drvdata(pdev->dev.parent); in khadas_mcu_fan_probe() local 90 ctx->mcu = mcu; in khadas_mcu_fan_probe() 94 dev->parent->of_node, "khadas-mcu-fan", ctx, in khadas_mcu_fan_probe() 98 dev_err(dev, "Failed to register khadas-mcu-fan as cooling device: %d\n", in khadas_mcu_fan_probe() 142 { .name = "khadas-mcu-fan-ctrl", }, 151 .name = "khadas-mcu-fan-ctrl", [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | mcu.c | 16 #include "mcu.h" 70 struct urb *urb = dev->mcu.resp.urb; in mt7601u_mcu_wait_resp() 75 if (!wait_for_completion_timeout(&dev->mcu.resp_cmpl, in mt7601u_mcu_wait_resp() 82 rxfce = get_unaligned_le32(dev->mcu.resp.buf); in mt7601u_mcu_wait_resp() 86 &dev->mcu.resp, GFP_KERNEL, in mt7601u_mcu_wait_resp() 88 &dev->mcu.resp_cmpl); in mt7601u_mcu_wait_resp() 93 dev_err(dev->dev, "Error: MCU resp urb failed:%d\n", in mt7601u_mcu_wait_resp() 100 dev_err(dev->dev, "Error: MCU resp evt:%lx seq:%hhx-%lx!\n", in mt7601u_mcu_wait_resp() 124 mutex_lock(&dev->mcu.mutex); in mt7601u_mcu_msg_send() 128 seq = ++dev->mcu.msg_seq & 0xf; in mt7601u_mcu_msg_send() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | mcu-mpc8349emitx.txt | 1 Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU) 4 - compatible : "fsl,<mcu-chip>-<board>", "fsl,mcu-mpc8349emitx". 11 mcu@a { 14 "fsl,mcu-mpc8349emitx";
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | nsa320-mcu.txt | 5 - compatible : "zyxel,nsa320-mcu" 6 - data-gpios : The GPIO pin connected to the data line on the MCU 7 - clk-gpios : The GPIO pin connected to the clock line on the MCU 8 - act-gpios : The GPIO pin connected to the active line on the MCU 13 compatible = "zyxel,nsa320-mcu";
|
/openbmc/qemu/hw/rx/ |
H A D | rx-gdbsim.c | 49 RX62NState mcu; member 101 /* Initialize MCU */ in rx_gdbsim_init() 102 object_initialize_child(OBJECT(machine), "mcu", &s->mcu, rxc->mcu_name); in rx_gdbsim_init() 103 object_property_set_link(OBJECT(&s->mcu), "main-bus", OBJECT(sysmem), in rx_gdbsim_init() 105 object_property_set_uint(OBJECT(&s->mcu), "xtal-frequency-hz", in rx_gdbsim_init() 107 object_property_set_bool(OBJECT(&s->mcu), "load-kernel", in rx_gdbsim_init() 119 qdev_realize(DEVICE(&s->mcu), NULL, &error_abort); in rx_gdbsim_init() 178 mc->desc = "gdb simulator (R5F562N7 MCU and external RAM)"; in rx62n7_class_init() 188 mc->desc = "gdb simulator (R5F562N8 MCU and external RAM)"; in rx62n8_class_init()
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am62a.dtsi | 82 /* MCU Domain Range */ 84 <0x00 0x79000000 0x00 0x79000000 0x00 0x00008000>, /* MCU R5 ATCM */ 85 <0x00 0x79020000 0x00 0x79020000 0x00 0x00008000>, /* MCU R5 BTCM */ 86 <0x00 0x79100000 0x00 0x79100000 0x00 0x00040000>, /* MCU R5 IRAM0 */ 87 <0x00 0x79140000 0x00 0x79140000 0x00 0x00040000>, /* MCU R5 IRAM1 */ 101 <0x00 0x79000000 0x00 0x79000000 0x00 0x00008000>, /* MCU R5 ATCM */ 102 <0x00 0x79020000 0x00 0x79020000 0x00 0x00008000>, /* MCU R5 BTCM */ 103 <0x00 0x79100000 0x00 0x79100000 0x00 0x00040000>, /* MCU IRAM0 */ 104 <0x00 0x79140000 0x00 0x79140000 0x00 0x00040000>; /* MCU IRAM1 */ 124 #include "k3-am62a-mcu.dtsi"
|
H A D | k3-am62p.dtsi | 80 /* MCU Domain Range */ 99 <0x00 0x79000000 0x00 0x79000000 0x00 0x00008000>, /* MCU R5 ATCM */ 100 <0x00 0x79020000 0x00 0x79020000 0x00 0x00008000>, /* MCU R5 BTCM */ 101 <0x00 0x79100000 0x00 0x79100000 0x00 0x00040000>, /* MCU IRAM0 */ 102 <0x00 0x79140000 0x00 0x79140000 0x00 0x00040000>; /* MCU IRAM1 */ 121 #include "k3-am62p-mcu.dtsi"
|
H A D | k3-am65.dtsi | 82 ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS*/ 85 <0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>, /* MCU R5F Core0 */ 86 <0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>, /* MCU R5F Core1 */ 87 <0x00 0x41c00000 0x00 0x41c00000 0x00 0x00080000>, /* MCU SRAM */ 109 #include "k3-am65-mcu.dtsi"
|
/openbmc/openbmc-test-automation/oem/nuvoton/ |
H A D | test_redfish_mcu_fw_update.robot | 2 Documentation Update firmware on a target MCU via Redifsh. 5 # IMAGE_MCU_FILE_PATH The path to the MCU image file. 34 Redfish Mcu Code Update With ApplyTime OnReset 43 Redfish Mcu Code Update With ApplyTime Immediate 66 Redfish Verify MCU Version 67 [Documentation] Verify that the version on the MCU is the same as the 108 Redfish Verify MCU Version ${image_file_path}
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed_mcu.c | 53 wait_event_timeout(wo->mcu.wait, !skb_queue_empty(&wo->mcu.res_q), in mtk_wed_mcu_get_response() 55 return skb_dequeue(&wo->mcu.res_q); in mtk_wed_mcu_get_response() 60 skb_queue_tail(&wo->mcu.res_q, skb); in mtk_wed_mcu_rx_event() 61 wake_up(&wo->mcu.wait); in mtk_wed_mcu_rx_event() 124 wo->mcu.timeout = 20 * HZ; in mtk_wed_mcu_skb_send_msg() 131 u16 seq = ++wo->mcu.seq; in mtk_wed_mcu_skb_send_msg() 134 seq = ++wo->mcu.seq; in mtk_wed_mcu_skb_send_msg() 186 mutex_lock(&wo->mcu.mutex); in mtk_wed_mcu_send_msg() 192 expires = jiffies + wo->mcu.timeout; in mtk_wed_mcu_send_msg() 200 mutex_unlock(&wo->mcu.mutex); in mtk_wed_mcu_send_msg() [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | khadas-mcu.c | 12 #include <linux/mfd/khadas-mcu.h> 80 { .name = "khadas-mcu-fan-ctrl", }, 84 { .name = "khadas-mcu-user-mem", }, 126 { .compatible = "khadas,mcu", }, 134 .name = "khadas-mcu-core", 141 MODULE_DESCRIPTION("Khadas MCU core driver");
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | mediatek,lvts-thermal.yaml | 22 - mediatek,mt8192-lvts-mcu 24 - mediatek,mt8195-lvts-mcu 37 description: LVTS reset for clearing temporary data on AP/MCU. 63 - mediatek,mt8192-lvts-mcu 78 - mediatek,mt8195-lvts-mcu 111 compatible = "mediatek,mt8195-lvts-mcu";
|
/openbmc/qemu/hw/avr/ |
H A D | arduino.c | 23 AtmegaMcuState mcu; member 46 object_initialize_child(OBJECT(machine), "mcu", &ams->mcu, amc->mcu_type); in DECLARE_OBJ_CHECKERS() 47 object_property_set_uint(OBJECT(&ams->mcu), "xtal-frequency-hz", in DECLARE_OBJ_CHECKERS() 49 sysbus_realize(SYS_BUS_DEVICE(&ams->mcu), &error_abort); in DECLARE_OBJ_CHECKERS() 52 if (!avr_load_firmware(&ams->mcu.cpu, machine, in DECLARE_OBJ_CHECKERS() 53 &ams->mcu.flash, machine->firmware)) { in DECLARE_OBJ_CHECKERS()
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | khadas,mcu.yaml | 4 $id: http://devicetree.org/schemas/mfd/khadas,mcu.yaml# 20 - khadas,mcu # MCU revision is discoverable 40 compatible = "khadas,mcu";
|
/openbmc/qemu/include/hw/rx/ |
H A D | rx62n.h | 2 * RX62N MCU Object 34 #define TYPE_RX62N_MCU "rx62n-mcu" 39 #define TYPE_R5F562N7_MCU "r5f562n7-mcu" 40 #define TYPE_R5F562N8_MCU "r5f562n8-mcu"
|
/openbmc/linux/arch/arm/mach-sa1100/ |
H A D | jornada720_ssp.c | 31 * we need to reverse all data we receive from the mcu due to its physical location 53 * timeout after <timeout> rounds. Needs mcu running before its called. 55 * returns : %mcu output on success 109 * jornada_ssp_start - enable mcu 122 * jornada_ssp_end - disable mcu and turn off lock 157 /* enable MCU */ in jornada_ssp_probe()
|
/openbmc/linux/drivers/iio/common/ssp_sensors/ |
H A D | ssp.h | 148 * @work_refresh: refresh work queue for reset request from MCU 150 * @mcu_dump_mode: mcu dump mode for debug 161 * @last_ap_state: (obsolete) sleep notification for MCU 171 * @mcu_reset_gpiod: mcu reset line 172 * @ap_mcu_gpiod: ap to mcu gpio line 173 * @mcu_ap_gpiod: mcu to ap gpio line
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | allegro,al5e.yaml | 16 Each actual codec engine is controlled by a microcontroller (MCU). Host 17 software uses a provided mailbox interface to communicate with the MCU. The 46 - description: MCU clock 48 - description: MCU AXI master port clock
|
/openbmc/u-boot/arch/arm/mach-k3/ |
H A D | Kconfig | 19 Describes the total size of the MCU MSRAM. This doesn't 35 Describes the base address of MCU Scratchpad RAM. 41 Describes the size of MCU Scratchpad RAM.
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12b-s922x-khadas-vim3.dts | 19 * The VIM3 on-board MCU can mux the PCIe/USB3.0 shared differential 25 * If the MCU is configured to mux the PCIe/USB3.0 differential lines 30 * update these nodes accordingly if PCIe mode is selected by the MCU.
|