From 0e5d67d483ced4e4d4022916cbad158d484b0a70 Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Fri, 17 Feb 2017 22:21:56 +0800 Subject: layerscape: add LS1043A Rev1.1 support Backport kernel patches for LS1043A Rev1.1 support from upstream, patchwork, and SDK. And update to latest u-boot to support LS1043A Rev1.1. Signed-off-by: Yangbo Lu --- ...scfg-msi-fix-typo-of-MSI-compatible-strin.patch | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 target/linux/layerscape/patches-4.4/8238-irqchip-ls-scfg-msi-fix-typo-of-MSI-compatible-strin.patch (limited to 'target/linux/layerscape/patches-4.4/8238-irqchip-ls-scfg-msi-fix-typo-of-MSI-compatible-strin.patch') diff --git a/target/linux/layerscape/patches-4.4/8238-irqchip-ls-scfg-msi-fix-typo-of-MSI-compatible-strin.patch b/target/linux/layerscape/patches-4.4/8238-irqchip-ls-scfg-msi-fix-typo-of-MSI-compatible-strin.patch new file mode 100644 index 0000000000..c5dad9c490 --- /dev/null +++ b/target/linux/layerscape/patches-4.4/8238-irqchip-ls-scfg-msi-fix-typo-of-MSI-compatible-strin.patch @@ -0,0 +1,62 @@ +From 5cb8ea9dfcea4092fd3710cce3980a44433dc58f Mon Sep 17 00:00:00 2001 +From: Minghuan Lian +Date: Tue, 17 Jan 2017 17:32:35 +0800 +Subject: [PATCH 04/13] irqchip/ls-scfg-msi: fix typo of MSI compatible strings + +Cherry-pick patchwork patch with context adjustment. + +The patch is to fix typo of the Layerscape SCFG MSI dts compatible +strings. "1" is replaced by "l". + +Signed-off-by: Minghuan Lian +Acked-by: Rob Herring +Signed-off-by: Yangbo Lu +--- + .../devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt | 6 +++--- + drivers/irqchip/irq-ls-scfg-msi.c | 6 ++++-- + 2 files changed, 7 insertions(+), 5 deletions(-) + +diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt +index 9e38949..2755cd1 100644 +--- a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt ++++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt +@@ -4,8 +4,8 @@ Required properties: + + - compatible: should be "fsl,-msi" to identify + Layerscape PCIe MSI controller block such as: +- "fsl,1s1021a-msi" +- "fsl,1s1043a-msi" ++ "fsl,ls1021a-msi" ++ "fsl,ls1043a-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. +@@ -23,7 +23,7 @@ MSI controller node + Examples: + + msi1: msi-controller@1571000 { +- compatible = "fsl,1s1043a-msi"; ++ compatible = "fsl,ls1043a-msi"; + reg = <0x0 0x1571000 0x0 0x8>, + msi-controller; + interrupts = <0 116 0x4>; +diff --git a/drivers/irqchip/irq-ls-scfg-msi.c b/drivers/irqchip/irq-ls-scfg-msi.c +index 47520fa..5b16f4a 100644 +--- a/drivers/irqchip/irq-ls-scfg-msi.c ++++ b/drivers/irqchip/irq-ls-scfg-msi.c +@@ -220,8 +220,10 @@ static int ls_scfg_msi_remove(struct platform_device *pdev) + + static const struct of_device_id ls_scfg_msi_id[] = { + { .compatible = "fsl,ls1012a-msi", }, +- { .compatible = "fsl,1s1021a-msi", }, +- { .compatible = "fsl,1s1043a-msi", }, ++ { .compatible = "fsl,1s1021a-msi", }, /* a typo */ ++ { .compatible = "fsl,1s1043a-msi", }, /* a typo */ ++ { .compatible = "fsl,ls1021a-msi", }, ++ { .compatible = "fsl,ls1043a-msi", }, + { .compatible = "fsl,ls1046a-msi", }, + {}, + }; +-- +2.1.0.27.g96db324 + -- cgit v1.2.3