diff options
author | Olof Johansson <olof@lixom.net> | 2019-11-08 10:27:55 -0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-11-08 10:27:57 -0800 |
commit | 44a39847787b022c9f64b48b41c9d2f9dcd815f4 (patch) | |
tree | 197fdf07ebab080177683febdf2126d56ff77f1e /drivers/firmware | |
parent | d4b0c97a80891d5fb8d73230730f28a42f16fe28 (diff) | |
parent | af3f1afac38d34083faad852172d0ec82749c046 (diff) | |
download | linux-44a39847787b022c9f64b48b41c9d2f9dcd815f4.tar.gz linux-44a39847787b022c9f64b48b41c9d2f9dcd815f4.tar.bz2 linux-44a39847787b022c9f64b48b41c9d2f9dcd815f4.zip |
Merge tag 'zynqmp-soc-for-v5.5' of https://github.com/Xilinx/linux-xlnx into arm/drivers
arm64: soc: Xilinx SoC changes for v5.5
- Extend firmware interface to cover Versal chip
* tag 'zynqmp-soc-for-v5.5' of https://github.com/Xilinx/linux-xlnx:
firmware: xilinx: Add support for versal soc
dt-bindings: firmware: Add bindings for Versal firmware
soc: xilinx: Set CAP_UNUSABLE requirement for versal while powering down domain
Link: https://lore.kernel.org/r/6954a53c-6dab-c7a3-7257-58460ca952cb@monstr.eu
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/xilinx/zynqmp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c index fd3d83745208..75bdfaa08380 100644 --- a/drivers/firmware/xilinx/zynqmp.c +++ b/drivers/firmware/xilinx/zynqmp.c @@ -711,8 +711,11 @@ static int zynqmp_firmware_probe(struct platform_device *pdev) int ret; np = of_find_compatible_node(NULL, NULL, "xlnx,zynqmp"); - if (!np) - return 0; + if (!np) { + np = of_find_compatible_node(NULL, NULL, "xlnx,versal"); + if (!np) + return 0; + } of_node_put(np); ret = get_set_conduit_method(dev->of_node); @@ -770,6 +773,7 @@ static int zynqmp_firmware_remove(struct platform_device *pdev) static const struct of_device_id zynqmp_firmware_of_match[] = { {.compatible = "xlnx,zynqmp-firmware"}, + {.compatible = "xlnx,versal-firmware"}, {}, }; MODULE_DEVICE_TABLE(of, zynqmp_firmware_of_match); |