/openbmc/linux/Documentation/devicetree/bindings/arm/bcm/ |
H A D | raspberrypi,bcm2835-firmware.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Raspberry Pi VideoCore firmware driver 10 - Eric Anholt <eric@anholt.net> 11 - Stefan Wahren <wahrenst@gmx.net> 17 const: raspberrypi,bcm2835-firmware 20 - compatible 25 - const: raspberrypi,bcm2835-firmware [all …]
|
/openbmc/linux/drivers/reset/ |
H A D | reset-raspberrypi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Raspberry Pi 4 firmware reset driver 12 #include <linux/reset-controller.h> 13 #include <soc/bcm2835/raspberrypi-firmware.h> 14 #include <dt-bindings/reset/raspberrypi,firmware-reset.h> 36 * PCIe chip that implements xHCI. After a PCI reset, VL805's in rpi_reset_reset() 37 * firmware may either be loaded directly from an EEPROM or, if in rpi_reset_reset() 38 * not present, by the SoC's co-processor, VideoCore. rpi's in rpi_reset_reset() 39 * VideoCore OS contains both the non public firmware load in rpi_reset_reset() 40 * logic and the VL805 firmware blob. This triggers the in rpi_reset_reset() [all …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | capsule.c | 1 // SPDX-License-Identifier: GPL-2.0 25 static int efi_reset_type = -1; 34 * efi_capsule_pending - has a capsule been passed to the firmware? 35 * @reset_type: store the type of EFI reset if capsule is pending 38 * firmware we need to perform a specific type of reset. If a capsule is 39 * pending return the reset type in @reset_type. 47 * A non-racy use is from platform reboot code because we use 48 * system_state to ensure no capsules can be sent to the firmware once 74 * efi_capsule_supported - does the firmware support the capsule? 78 * @reset: the reset type required for this capsule [all …]
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-driver-firmware-zynqmp | 1 What: /sys/devices/platform/firmware\:zynqmp-firmware/ggs* 11 The register is reset during system or power-on 17 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 18 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 22 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 23 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 27 What: /sys/devices/platform/firmware\:zynqmp-firmware/pggs* 38 This register is only reset by the power-on reset 39 and maintains its value through a system reset. 42 Register is reset only by a POR reset. [all …]
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | ipmi_sel.h | 22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 157 { 0xC0 , 0xFF , 0xff, IPMI_EVENT_CLASS_DISCRETE , "OEM Firmware Info", NULL }, 158 { 0xC0 , 0xFF , 0xff, IPMI_EVENT_CLASS_DISCRETE , "OEM Firmware Info", NULL }, 160 { 0xC1 , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Push Button" }, 161 { 0xC1 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Bridge Reset" }, 162 { 0xC1 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Backplane" }, 163 { 0xC1 , 0x03 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Hotswap Fault" }, 164 { 0xC1 , 0x04 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Hotswap Healty" }, 165 { 0xC1 , 0x05 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Unknown" }, 166 { 0xC1 , 0x06 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "ITP" }, [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fw_update.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2019, Intel Corporation. */ 20 /* Track the firmware response of the required reset to complete the 23 * 0 - ICE_AQC_NVM_POR_FLAG - A full power on is required 24 * 1 - ICE_AQC_NVM_PERST_FLAG - A cold PCIe reset is required 25 * 2 - ICE_AQC_NVM_EMPR_FLAG - An EMP reset is required 29 /* Track if EMP reset is available */ 34 * ice_send_package_data - Send record package data to firmware 40 * this device to the firmware. 51 struct netlink_ext_ack *extack = priv->extack; in ice_send_package_data() [all …]
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | snic_stats.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 29 atomic64_t fw_tmo; /* Abort Firmware Timeouts */ 35 atomic64_t dev_resets; /* Device Reset Counter */ 36 atomic64_t dev_reset_fail; /* Device Reset Failures */ 37 atomic64_t dev_reset_aborts; /* Device Reset Aborts */ 38 atomic64_t dev_reset_tmo; /* Device Reset Timeout */ 39 atomic64_t dev_reset_terms; /* Device Reset terminate */ 40 atomic64_t hba_resets; /* hba/firmware resets */ 41 atomic64_t hba_reset_cmpl; /* hba/firmware reset completions */ 42 atomic64_t hba_reset_fail; /* hba/firmware failures */ [all …]
|
H A D | snic_fwint.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 SNIC_REQ_HBA_RESET, /* SNIC Reset */ 31 SNIC_RSP_HBA_RESET_CMPL, /* SNIC Reset Completion */ 44 * Header status codes from firmware 81 * snic_io_hdr : host <--> firmware 83 * for any other message that will be queued to firmware should 103 hdr->type = typ; in snic_io_hdr_enc() 104 hdr->status = status; in snic_io_hdr_enc() 105 hdr->protocol = 0; in snic_io_hdr_enc() 106 hdr->hid = cpu_to_le32(hid); in snic_io_hdr_enc() [all …]
|
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.c 11 #include <linux/firmware.h> 22 /* Allocate memory for firmware */ 25 struct s5p_mfc_priv_buf *fw_buf = &dev->fw_buf; in s5p_mfc_alloc_firmware() 28 fw_buf->size = dev->variant->buf_size->fw; in s5p_mfc_alloc_firmware() 30 if (fw_buf->virt) { in s5p_mfc_alloc_firmware() 31 mfc_err("Attempting to allocate firmware when it seems that it is already loaded\n"); in s5p_mfc_alloc_firmware() 32 return -ENOMEM; in s5p_mfc_alloc_firmware() 35 err = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->fw_buf); in s5p_mfc_alloc_firmware() [all …]
|
/openbmc/linux/Documentation/networking/devlink/ |
H A D | devlink-flash.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 9 The ``devlink-flash`` API allows updating device firmware. It replaces the 10 older ``ethtool-flash`` mechanism, and doesn't require taking any 13 $ devlink dev flash pci/0000:05:00.0 file flash-boot.bin 15 Note that the file name is a path relative to the firmware loading path 16 (usually ``/lib/firmware/``). Drivers may send status updates to inform 22 The ``devlink-flash`` command allows optionally specifying a mask indicating 26 .. list-table:: List of overwrite mask bits 29 * - Name 30 - Description [all …]
|
H A D | devlink-params.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 level device functionality. Since devlink can operate at the device-wide 22 .. list-table:: Possible configuration modes 25 * - Name 26 - Description 27 * - ``runtime`` 28 - set while the driver is running, and takes effect immediately. No 29 reset is required. 30 * - ``driverinit`` 31 - applied while the driver initializes. Requires the user to restart [all …]
|
H A D | devlink-reload.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ``devlink-reload`` provides mechanism to reinit driver entities, applying 8 ``devlink-params`` and ``devlink-resources`` new values. It also provides 9 mechanism to activate firmware. 17 .. list-table:: Possible reload actions 20 * - Name 21 - Description 22 * - ``driver-reinit`` 23 - Devlink driver entities re-initialization, including applying 25 load such as ``devlink-params`` in configuration mode [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm2711-rpi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "bcm2835-rpi.dtsi" 4 #include <dt-bindings/reset/raspberrypi,firmware-reset.h> 21 &firmware { 23 compatible = "raspberrypi,firmware-clocks"; 24 #clock-cells = <1>; 28 compatible = "raspberrypi,firmware-gpio"; 29 gpio-controller; 30 #gpio-cells = <2>; 34 reset: reset { label [all …]
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_firmware_boot_side.robot | 3 Documentation Test firmware boot side switch using pldmtool. 6 # 1. Power off the host or post firmware is updated. 7 # 2. Check the firmware boot side ( login to BMC and execute ) 9 # pldmtool bios GetBIOSAttributeCurrentValueByHandle -a fw_boot_side 12 # 3. Set the firmware boot side to Temp or Perm accordingly 14 # pldmtool bios SetBIOSAttributeCurrentValue -a fw_boot_side -d Temp 17 # 5. BMC take reset during power on ( expected ) 36 # This dictionary is for Temp -> Perm or vice versa in the test code. 41 Test Firmware Boot Side Using Pldmtool 42 [Documentation] Power off the host , set the firmware boot side via pldmtool, [all …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | btintel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include <linux/firmware.h> 66 if (skb->len != sizeof(*bda)) { in btintel_check_bdaddr() 69 return -EIO; in btintel_check_bdaddr() 72 bda = (struct hci_rp_read_bd_addr *)skb->data; in btintel_check_bdaddr() 79 if (!bacmp(&bda->bdaddr, BDADDR_INTEL)) { in btintel_check_bdaddr() 81 &bda->bdaddr); in btintel_check_bdaddr() 82 set_bit(HCI_QUIRK_INVALID_BDADDR, &hdev->quirks); in btintel_check_bdaddr() 108 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() argument 115 * 0x01: Disable manufacturing mode and reset with patches deactivated. in btintel_exit_mfg() [all …]
|
/openbmc/openbmc/meta-ibm/meta-system1/recipes-phosphor/flash/phosphor-software-manager/ |
H A D | bios-update.sh | 3 set -e 6 # host firmware update 8 # Find the GPIO pin associated with "pch-ready" 10 PCH_READY_GPIO_PIN=$(gpiofind "pch-ready") 12 if [ -z "${PCH_READY_GPIO_PIN}" ]; then 13 echo "gpio 'pch-ready' not found in device tree. Exiting." 17 read -r PCH_READY_GPIO_CHIP PCH_READY_GPIO_LINE <<< "$PCH_READY_GPIO_PIN" 21 echo "PCH is not on standby. Exiting host firmware version read." 25 IMAGE_FILE=$(find "$1" -name "*.rom") 31 # me address, 0x2e oen, 0x00 - lun, 0xdf - force recovery [all …]
|
/openbmc/linux/drivers/usb/misc/ |
H A D | emi26.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Emagic EMI 2|6 usb audio interface firmware loader. 15 #include <linux/firmware.h> 18 #define EMI26_VENDOR_ID 0x086a /* Emagic Soft-und Hardware GmBH */ 19 #define EMI26_PRODUCT_ID 0x0100 /* EMI 2|6 without firmware */ 20 #define EMI26B_PRODUCT_ID 0x0102 /* EMI 2|6 without firmware */ 23 #define ANCHOR_LOAD_EXTERNAL 0xA3 /* This command is not implemented in the core. Requires firmware… 24 #define ANCHOR_LOAD_FPGA 0xA5 /* This command is not implemented in the core. Requires firmware. Em… 26 #define CPUCS_REG 0x7F92 /* EZ-USB Control and Status Register. Bit 0 controls 8051 reset */ 46 dev_err(&dev->dev, "kmalloc(%d) failed.\n", length); in emi26_writememory() [all …]
|
H A D | emi62.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Emagic EMI 2|6 usb audio interface firmware loader. 13 #include <linux/firmware.h> 16 /* include firmware (variables)*/ 28 #define EMI62_VENDOR_ID 0x086a /* Emagic Soft-und Hardware GmBH */ 29 #define EMI62_PRODUCT_ID 0x0110 /* EMI 6|2m without firmware */ 32 #define ANCHOR_LOAD_EXTERNAL 0xA3 /* This command is not implemented in the core. Requires firmware… 33 #define ANCHOR_LOAD_FPGA 0xA5 /* This command is not implemented in the core. Requires firmware. Em… 35 #define CPUCS_REG 0x7F92 /* EZ-USB Control and Status Register. Bit 0 controls 8051 reset */ 55 dev_err(&dev->dev, "kmalloc(%d) failed.\n", length); in emi62_writememory() [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-kernel/linux/files/corstone1000/ |
H A D | 0003-dt-bindings-remoteproc-Add-Arm-remoteproc.patch | 4 Subject: [PATCH 3/6] dt-bindings: remoteproc: Add Arm remoteproc 8 Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> 9 Upstream-Status: Submitted [cover letter: https://lore.kernel.org/all/20240301164227.339208-1-abdel… 10 --- 16 diff --git a/Documentation/devicetree/bindings/remoteproc/arm,rproc.yaml b/Documentation/devicetree… 19 --- /dev/null 21 @@ -0,0 +1,69 @@ 22 +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 24 +--- 26 +$schema: http://devicetree.org/meta-schemas/core.yaml# [all …]
|
/openbmc/docs/designs/ |
H A D | power-recovery.md | 11 Modern computer systems have a feature, automated power-on recovery, which in 19 occur. For example, some systems have op-panels, and on these op-panels there 20 can be a pin hole reset. This is a manual mechanism for the user to force a hard 21 reset to the BMC in situations where it is hung or not responding. In these 30 A brownout is another scenario that commonly utilizes automated power-on 31 recovery features. A brownout is a scenario where BMC firmware detects (or is 33 be retained. On some systems, it's desired to utilize the automated power-on 40 host firmware. 42 The goal of this design document is to describe how OpenBMC firmware will deal 48 [PowerRestorePolicy][pdi-restore] property out in phosphor-dbus-interface [all …]
|
/openbmc/linux/drivers/hid/intel-ish-hid/ |
H A D | ishtp-fw-loader.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ISH-TP client driver for ISH firmware loading 8 #include <linux/firmware.h> 11 #include <linux/intel-ish-client-if.h> 15 /* Number of times we attempt to load the firmware before giving up */ 23 * ISH Shim firmware loader reserves 4 Kb buffer in SRAM. The buffer is 25 * firmware loader. Reason for the odd size of 3968 bytes? Each IPC 33 * enum ish_loader_commands - ISH loader host commands. 34 * @LOADER_CMD_XFER_QUERY: Query the Shim firmware loader for 36 * @LOADER_CMD_XFER_FRAGMENT: Transfer one firmware image fragment at a [all …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | nvdec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2015-2022, NVIDIA Corporation. 8 #include <linux/dma-mapping.h> 16 #include <linux/reset.h> 29 const char *firmware; member 45 struct reset_control *reset; member 50 /* RISC-V specific data */ 63 writel(value, nvdec->regs + offset); in nvdec_writel() 71 if (nvdec->config->supports_sid && tegra_dev_iommu_get_stream_id(nvdec->dev, &stream_id)) { in nvdec_boot_falcon() 81 err = falcon_boot(&nvdec->falcon); in nvdec_boot_falcon() [all …]
|
/openbmc/openbmc-test-automation/redfish/update_service/ |
H A D | test_redfish_bmc_code_update.robot | 2 Documentation Update firmware on a target BMC via Redifsh. 7 # Firmware update states: 46 [Documentation] Update the firmware image with ApplyTime of OnReset. 48 [Template] Redfish Update Firmware 55 [Documentation] Update the firmware image with ApplyTime of Immediate. 57 [Template] Redfish Update Firmware 63 Redfish Code Update Same Firmware Multiple Times 64 [Documentation] Multiple times update the firmware image for update service. 74 Redfish Update Firmware apply_time=OnReset 79 Redfish Code Update With Multiple Firmware [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpu/host1x/ |
H A D | nvidia,tegra234-nvdec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra234-nvdec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Thierry Reding <treding@gmail.com> 16 - Mikko Perttunen <mperttunen@nvidia.com> 20 pattern: "^nvdec@[0-9a-f]*$" 24 - nvidia,tegra234-nvdec 32 clock-names: 34 - const: nvdec [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv8/ |
H A D | Kconfig | 15 bool "Enable multiple CPUs to enter into U-Boot" 20 Say Y here if there is not any trust firmware to set 21 CPUECTLR_EL1.SMPEN bit before U-Boot. 28 register may be controlled by EL3/EL2 firmware. To be more 29 precise, by default (if there is EL2/EL3 firmware running) 36 bool "Support spin-table enable method" 39 Say Y here to support "spin-table" enable method for booting Linux. 42 - Specify enable-method = "spin-table" in each CPU node in the 44 - Bring secondary CPUs into U-Boot proper in a board specific 49 U-Boot automatically does: [all …]
|