mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
0a827ebd2f
This patch is to upgrade kernel to 4.14 for layerscape. patches-4.14 for layerscape included two categories. - NXP Layerscape SDK kernel-4.14 patches All patches on tag LSDK-18.09-V4.14 were ported to OpenWrt kernel. Since there were hundreds patches, we had to make an all-in-one patch for each IP/feature. See below links for LSDK kernel. https://lsdk.github.io/components.html https://source.codeaurora.org/external/qoriq/qoriq-components/linux - Non-LSDK kernel patches Other patches which were not in LSDK were just put in patches-4.14. Kept below patches from patches-4.9. 303-dts-layerscape-add-traverse-ls1043.patch 821-add-esdhc-vsel-to-ls1043.patch 822-rgmii-fixed-link.patch Renamed and rebase them as below in patches-4.14, 303-add-DTS-for-Traverse-LS1043-Boards.patch 712-sdk-dpaa-rgmii-fixed-link.patch 824-mmc-sdhci-of-esdhc-add-voltage-switch-support-for-ls.patch Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: Biwen Li <biwen.li@nxp.com>
34 lines
1.6 KiB
Diff
34 lines
1.6 KiB
Diff
From 56d12979923250799d651b75029ff281928635a4 Mon Sep 17 00:00:00 2001
|
|
From: Biwen Li <biwen.li@nxp.com>
|
|
Date: Tue, 30 Oct 2018 18:26:53 +0800
|
|
Subject: [PATCH 32/40] msi: support layerscape
|
|
This is an integrated patch of msi for layerscape
|
|
|
|
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
|
|
Signed-off-by: Biwen Li <biwen.li@nxp.com>
|
|
---
|
|
.../devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt | 1 +
|
|
drivers/irqchip/irq-ls-scfg-msi.c | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
--- a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt
|
|
+++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt
|
|
@@ -8,6 +8,7 @@ Required properties:
|
|
"fsl,ls1043a-msi"
|
|
"fsl,ls1046a-msi"
|
|
"fsl,ls1043a-v1.1-msi"
|
|
+ "fsl,ls1012a-msi"
|
|
- msi-controller: indicates that this is a PCIe MSI controller node
|
|
- reg: physical base address of the controller and length of memory mapped.
|
|
- interrupts: an interrupt to the parent interrupt controller.
|
|
--- a/drivers/irqchip/irq-ls-scfg-msi.c
|
|
+++ b/drivers/irqchip/irq-ls-scfg-msi.c
|
|
@@ -319,6 +319,7 @@ static const struct of_device_id ls_scfg
|
|
{ .compatible = "fsl,1s1021a-msi", .data = &ls1021_msi_cfg},
|
|
{ .compatible = "fsl,1s1043a-msi", .data = &ls1021_msi_cfg},
|
|
|
|
+ { .compatible = "fsl,ls1012a-msi", .data = &ls1021_msi_cfg },
|
|
{ .compatible = "fsl,ls1021a-msi", .data = &ls1021_msi_cfg },
|
|
{ .compatible = "fsl,ls1043a-msi", .data = &ls1021_msi_cfg },
|
|
{ .compatible = "fsl,ls1043a-v1.1-msi", .data = &ls1043_v1_1_msi_cfg },
|