| /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 46 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0 47 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0 [all …]
|
| /linux/Documentation/devicetree/bindings/firmware/xilinx/ |
| H A D | xlnx,zynqmp-firmware.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/xilinx/xlnx,zynqmp-firmware.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx firmware driver 10 - Nava kishore Manne <nava.kishore.manne@amd.com> 12 description: The zynqmp-firmware node describes the interface to platform 13 firmware. ZynqMP has an interface to communicate with secure firmware. 14 Firmware driver provides an interface to firmware APIs. Interface APIs 23 - description: For implementations complying for Zynq Ultrascale+ MPSoC. [all …]
|
| /linux/Documentation/devicetree/bindings/crypto/ |
| H A D | xlnx,zynqmp-aes.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/crypto/xlnx,zynqmp-aes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx ZynqMP AES-GCM Hardware Accelerator 10 - Kalyani Akula <kalyani.akula@amd.com> 11 - Michal Simek <michal.simek@amd.com> 14 The ZynqMP AES-GCM hardened cryptographic accelerator is used to 19 const: xlnx,zynqmp-aes 22 - compatible [all …]
|
| /linux/Documentation/devicetree/bindings/fpga/ |
| H A D | xlnx,zynqmp-pcap-fpga.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/fpga/xlnx,zynqmp-pcap-fpga.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nava kishore Manne <nava.kishore.manne@amd.com> 14 The ZynqMP SoC uses the PCAP (Processor Configuration Port) to 16 firmware interface. 20 const: xlnx,zynqmp-pcap-fpga 23 - compatible 28 - | [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | xlnx,versal-clk.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/xlnx,versal-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michal Simek <michal.simek@amd.com> 20 - enum: 21 - xlnx,versal-clk 22 - xlnx,zynqmp-clk 23 - items: 24 - enum: [all …]
|
| /linux/drivers/firmware/xilinx/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 menu "Zynq MPSoC Firmware Drivers" 8 bool "Enable Xilinx Zynq MPSoC firmware interface" 13 Firmware interface driver is used by different 14 drivers to communicate with the firmware for 16 Say yes to enable ZynqMP firmware interface driver. 20 bool "Enable Xilinx Zynq MPSoC firmware debug APIs" 23 Say yes to enable ZynqMP firmware interface debug APIs.
|
| H A D | zynqmp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Xilinx Zynq MPSoC Firmware layer 5 * Copyright (C) 2014-2022 Xilinx, Inc. 6 * Copyright (C) 2022 - 2024, Advanced Micro Devices, Inc. 14 #include <linux/arm-smccc.h> 28 #include <linux/firmware/xlnx-zynqmp.h> 29 #include <linux/firmware/xlnx-event-manager.h> 30 #include "zynqmp-debug.h" 37 /* BOOT_PIN_CTRL- Used to control the mode pins after boot */ 39 /* BOOT_PIN_CTRL_MASK- out_val[11:8], out_en[3:0] */ [all …]
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | xlnx,zynqmp-gpio-modepin.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/xlnx,zynqmp-gpio-modepin.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ZynqMP Mode Pin GPIO controller 10 PS_MODE is 4-bits boot mode pins sampled on POR deassertion. Mode Pin 15 - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> 19 const: xlnx,zynqmp-gpio-modepin 21 gpio-controller: true 23 "#gpio-cells": [all …]
|
| /linux/Documentation/driver-api/xilinx/ |
| H A D | eemi.rst | 5 Xilinx Zynq MPSoC Firmware Interface 6 ------------------------------------- 7 The zynqmp-firmware node describes the interface to platform firmware. 8 ZynqMP has an interface to communicate with secure firmware. Firmware 9 driver provides an interface to firmware APIs. Interface APIs can be 13 ---------------------------------------------- 23 ------ 30 - IOCTL_SET_PLL_FRAC_MODE 8 31 - IOCTL_GET_PLL_FRAC_MODE 9 32 - IOCTL_SET_PLL_FRAC_DATA 10 [all …]
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | xlnx,zynqmp-r5fss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/xlnx,zynqmp-r5fss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ben Levinsky <ben.levinsky@amd.com> 11 - Tanmay Shah <tanmay.shah@amd.com> 14 The Xilinx platforms include a pair of Cortex-R5F processors (RPU) for 15 real-time processing based on the Cortex-R5F processor core from ARM. 16 The Cortex-R5F processor implements the Arm v7-R architecture and includes a 17 floating-point unit that implements the Arm VFPv3 instruction set. [all …]
|
| /linux/drivers/clk/zynqmp/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "Support for Xilinx ZynqMP Ultrascale+ clock controllers" 8 Support for the Zynqmp Ultrascale clock controller. 9 It has a dependency on the PMU firmware.
|
| H A D | clk-zynqmp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2016-2018 Xilinx 11 #include <linux/firmware/xlnx-zynqmp.h> 16 /* must be gated across re-parent */ 22 /* don't re-parent on rate change */ 55 * struct clock_topology - Clock topology
|
| H A D | clkc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2019 Xilinx 12 #include <linux/clk-provider.h> 19 #include "clk-zynqmp.h" 49 * struct clock_parent - Clock parent 61 * struct zynqmp_clock - Clock 141 * zynqmp_is_valid_clock() - Check whether clock is valid or not 149 return -ENODEV; in zynqmp_is_valid_clock() 155 * zynqmp_get_clock_name() - Get name of clock from Clock index 171 return ret == 0 ? -EINVAL : ret; in zynqmp_get_clock_name() [all …]
|
| /linux/drivers/fpga/ |
| H A D | zynqmp-fpga.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <linux/dma-mapping.h> 7 #include <linux/fpga/fpga-mgr.h> 13 #include <linux/firmware/xlnx-zynqmp.h> 19 * struct zynqmp_fpga_priv - Private data structure 34 priv = mgr->priv; in zynqmp_fpga_ops_write_init() 35 priv->flags = info->flags; in zynqmp_fpga_ops_write_init() 49 priv = mgr->priv; in zynqmp_fpga_ops_write() 51 kbuf = dma_alloc_coherent(priv->dev, size, &dma_addr, GFP_KERNEL); in zynqmp_fpga_ops_write() 53 return -ENOMEM; in zynqmp_fpga_ops_write() [all …]
|
| /linux/Documentation/devicetree/bindings/mailbox/ |
| H A D | xlnx,zynqmp-ipi-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/xlnx,zynqmp-ipi-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 +-------------------------------------+ 15 | Xilinx ZynqMP IPI Controller | 16 +-------------------------------------+ 17 +--------------------------------------------------+ 18 TF-A | | 21 +--------------------------+ | [all …]
|
| /linux/drivers/nvmem/ |
| H A D | zynqmp_nvmem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2022 - 2023, Advanced Micro Devices, Inc. 7 #include <linux/dma-mapping.h> 9 #include <linux/nvmem-provider.h> 12 #include <linux/firmware/xlnx-zynqmp.h> 40 * struct xilinx_efuse - the basic structure 44 * @flag: 0 - represents efuse read and 1- represents efuse write 45 * @pufuserfuse:0 - represents non-puf efuses, offset is used for read/write 46 * 1 - represents puf user fuse row number. 74 return -EOPNOTSUPP; in zynqmp_efuse_access() [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | xlnx,zynqmp-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/xlnx,zynqmp-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx ZynqMP Pinctrl 10 - Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> 13 Please refer to pinctrl-bindings.txt in this directory for details of the 17 ZynqMP's pin configuration nodes act as a container for an arbitrary number of 21 parameters, such as pull-up, slew rate, etc. 31 const: xlnx,zynqmp-pinctrl [all …]
|
| /linux/drivers/remoteproc/ |
| H A D | xlnx_r5_remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP R5 Remote Processor driver 7 #include <dt-bindings/power/xlnx-zynqmp-power.h> 8 #include <linux/dma-mapping.h> 9 #include <linux/firmware/xlnx-zynqmp.h> 12 #include <linux/mailbox/zynqmp-ipi-message.h> 34 * reflects possible values of xlnx,cluster-mode dt-property 38 LOCKSTEP_MODE = 1, /* cores execute same code in lockstep,clk-for-clk */ 43 * struct mem_bank_data - Memory Bank description 48 * @pm_domain_id: Power-domains id of memory bank for firmware to turn on/off [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-zynqmp-modepin.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for the ps-mode pin configuration. 16 #include <linux/firmware/xlnx-zynqmp.h> 18 /* 4-bit boot mode pins */ 22 * modepin_gpio_get_value - Get the state of the specified pin of GPIO device 28 * Return: 0 if the pin is low, 1 if pin is high, -EINVAL wrong pin configured 50 * modepin_gpio_set_value - Modify the state of the pin with specified value 85 * modepin_gpio_dir_in - Set the direction of the specified GPIO pin as input 97 * modepin_gpio_dir_out - Set the direction of the specified GPIO pin as output 111 * modepin_gpio_probe - Initialization method for modepin_gpio [all …]
|
| /linux/drivers/pmdomain/xilinx/ |
| H A D | zynqmp-pm-domains.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP Generic PM domain support 5 * Copyright (C) 2015-2019 Xilinx, Inc. 20 #include <linux/firmware/xlnx-zynqmp.h> 27 * struct zynqmp_pm_domain - Wrapper around struct generic_pm_domain 42 * zynqmp_gpd_is_active_wakeup_path() - Check if device is in wakeup source 65 * zynqmp_gpd_power_on() - Power on PM domain 78 ret = zynqmp_pm_set_requirement(pd->node_id, in zynqmp_gpd_power_on() 83 dev_err(&domain->dev, in zynqmp_gpd_power_on() 85 ZYNQMP_PM_CAPABILITY_ACCESS, pd->node_id, ret); in zynqmp_gpd_power_on() [all …]
|
| /linux/drivers/reset/ |
| H A D | reset-zynqmp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/reset-controller.h> 11 #include <linux/firmware/xlnx-zynqmp.h> 13 #define ZYNQMP_NR_RESETS (ZYNQMP_PM_RESET_END - ZYNQMP_PM_RESET_START) 39 return zynqmp_pm_reset_assert(priv->data->reset_id + id, in zynqmp_reset_assert() 48 return zynqmp_pm_reset_assert(priv->data->reset_id + id, in zynqmp_reset_deassert() 59 err = zynqmp_pm_reset_get_status(priv->data->reset_id + id, &val); in zynqmp_reset_status() 71 return zynqmp_pm_reset_assert(priv->data->reset_id + id, in zynqmp_reset_reset() 78 return reset_spec->args[0]; in zynqmp_reset_of_xlate() 107 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in zynqmp_reset_probe() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 via GPIOs or SoC-internal reset controller modules. 94 GPIOs. Typically for OF platforms this driver expects "reset-gpios" 97 If compiled as module, it will be called reset-gpio. 146 Support for the Canaan Kendryte K210 RISC-V SoC reset controller. 155 Support for the Canaan Kendryte K230 RISC-V SoC reset controller. 227 tristate "Raspberry Pi 4 Firmware Reset Driver" 231 Raspberry Pi 4's co-processor controls some of the board's HW 234 interfacing with RPi4's co-processor and model these firmware 257 controlled by firmware that implements the SCMI interface. [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-zynqmp-fpga | 1 What: /sys/bus/platform/drivers/zynqmp_fpga_manager/firmware:zynqmp-firmware:pcap/status 9 https://docs.xilinx.com/v/u/en-US/ug570-ultrascale-configuration 24 BIT(4) 0: Start-up sequence has not finished 25 1: Start-up sequence has finished 27 BIT(5) 0: All I/Os are placed in High-Z state 30 BIT(6) 0: Flip-flops and block RAM are write disabled 31 1: Flip-flops and block RAM are write enabled 54 BIT(17) System Monitor over-temperature if set 56 BIT(18) to BIT(20) Start-up state machine (0 to 7)
|
| /linux/include/linux/firmware/ |
| H A D | xlnx-event-manager.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/firmware/xlnx-zynqmp.h> 36 return -ENODEV; in xlnx_register_event() 42 return -ENODEV; in xlnx_unregister_event()
|
| /linux/drivers/edac/ |
| H A D | Kconfig | 16 EDAC is a subsystem along with hardware-specific drivers designed to 17 report hardware errors. These are low-level errors that are reported 22 The mailing list for the EDAC project is linux-edac@vger.kernel.org. 40 levels are 0-4 (from low to high) and by default it is set to 2. 44 tristate "Decode MCEs in human-readable form (only on AMD for now)" 49 occurring on your machine in human-readable form. 60 Not all machines support hardware-driven error report. Some of those 61 provide a BIOS-driven error report mechanism via ACPI, using the 65 When this option is enabled, it will disable the hardware-driven 67 "Firmware First" mode. [all …]
|