kernel: update kernel 4.4 to 4.4.52
[openwrt/staging/yousong.git] / target / linux / layerscape / patches-4.4 / 8238-irqchip-ls-scfg-msi-fix-typo-of-MSI-compatible-strin.patch
1 From 5cb8ea9dfcea4092fd3710cce3980a44433dc58f Mon Sep 17 00:00:00 2001
2 From: Minghuan Lian <Minghuan.Lian@nxp.com>
3 Date: Tue, 17 Jan 2017 17:32:35 +0800
4 Subject: [PATCH 04/13] irqchip/ls-scfg-msi: fix typo of MSI compatible strings
5
6 Cherry-pick patchwork patch with context adjustment.
7
8 The patch is to fix typo of the Layerscape SCFG MSI dts compatible
9 strings. "1" is replaced by "l".
10
11 Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
12 Acked-by: Rob Herring <robh@kernel.org>
13 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
14 ---
15 .../devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt | 6 +++---
16 drivers/irqchip/irq-ls-scfg-msi.c | 6 ++++--
17 2 files changed, 7 insertions(+), 5 deletions(-)
18
19 --- a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt
20 +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt
21 @@ -4,8 +4,8 @@ Required properties:
22
23 - compatible: should be "fsl,<soc-name>-msi" to identify
24 Layerscape PCIe MSI controller block such as:
25 - "fsl,1s1021a-msi"
26 - "fsl,1s1043a-msi"
27 + "fsl,ls1021a-msi"
28 + "fsl,ls1043a-msi"
29 - msi-controller: indicates that this is a PCIe MSI controller node
30 - reg: physical base address of the controller and length of memory mapped.
31 - interrupts: an interrupt to the parent interrupt controller.
32 @@ -23,7 +23,7 @@ MSI controller node
33 Examples:
34
35 msi1: msi-controller@1571000 {
36 - compatible = "fsl,1s1043a-msi";
37 + compatible = "fsl,ls1043a-msi";
38 reg = <0x0 0x1571000 0x0 0x8>,
39 msi-controller;
40 interrupts = <0 116 0x4>;
41 --- a/drivers/irqchip/irq-ls-scfg-msi.c
42 +++ b/drivers/irqchip/irq-ls-scfg-msi.c
43 @@ -220,8 +220,10 @@ static int ls_scfg_msi_remove(struct pla
44
45 static const struct of_device_id ls_scfg_msi_id[] = {
46 { .compatible = "fsl,ls1012a-msi", },
47 - { .compatible = "fsl,1s1021a-msi", },
48 - { .compatible = "fsl,1s1043a-msi", },
49 + { .compatible = "fsl,1s1021a-msi", }, /* a typo */
50 + { .compatible = "fsl,1s1043a-msi", }, /* a typo */
51 + { .compatible = "fsl,ls1021a-msi", },
52 + { .compatible = "fsl,ls1043a-msi", },
53 { .compatible = "fsl,ls1046a-msi", },
54 {},
55 };