kernel: bump to 4.4.40
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 6 Jan 2017 12:53:27 +0000 (13:53 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 6 Jan 2017 18:38:55 +0000 (19:38 +0100)
Refresh patches on all 4.4 supported platforms.
Compile & run tested: lantiq/xrx200

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
24 files changed:
include/kernel-version.mk
target/linux/brcm2708/patches-4.4/0029-Add-dwc_otg-driver.patch
target/linux/brcm2708/patches-4.4/0081-spidev-Add-spidev-compatible-string-to-silence-warni.patch
target/linux/generic/patches-4.4/048-mtd-spi-nor-backport-SPI_NOR_HAS_LOCK-flag.patch
target/linux/generic/patches-4.4/105-add-linux-spidev-compatible.patch
target/linux/generic/patches-4.4/479-enable_mtd_has_lock_for_f25l32pa.patch
target/linux/kirkwood/patches-4.4/130-iconnect.patch
target/linux/layerscape/patches-4.4/0238-arm64-disable-CONFIG_EEPROM_AT24-for-freescale.confi.patch
target/linux/layerscape/patches-4.4/1239-mtd-extend-physmap_of-to-let-the-device-tree-specify.patch
target/linux/layerscape/patches-4.4/3226-mtd-spi-nor-fsl-quadspi-Enable-fast-read-for-LS1088A.patch
target/linux/layerscape/patches-4.4/3227-ls2088a-dts-add-ls2088a-dts.patch
target/linux/layerscape/patches-4.4/3228-ls2088a-add-ls2088a-its.patch
target/linux/layerscape/patches-4.4/4234-fsl-ifc-fix-compilation-error-when-COMPAT-not-enable.patch
target/linux/layerscape/patches-4.4/8138-pci-layerscape-add-MSI-interrupt-support.patch
target/linux/layerscape/patches-4.4/8229-drivers-clk-qoriq-Add-ls2088a-key-to-chipinfo-table.patch
target/linux/layerscape/patches-4.4/8230-layerscape-pci-fix-linkup-issue.patch
target/linux/layerscape/patches-4.4/8231-driver-clk-qoriq-Add-ls2088a-clk-support.patch
target/linux/layerscape/patches-4.4/8233-i2c-pca954x-Add-option-to-skip-disabling-PCA954x-Mux.patch
target/linux/layerscape/patches-4.4/8235-pci-layerscape-fix-pci-lut-offset-issue.patch
target/linux/layerscape/patches-4.4/8236-clk-add-API-of-clks.patch
target/linux/layerscape/patches-4.4/8237-pcie-ls208x-use-unified-compatible-fsl-ls2080a-pcie-.patch
target/linux/oxnas/patches-4.4/400-oxnas-nand.patch
target/linux/ramips/patches-4.4/102-add-dlink-dwr158-in-usb-serial-option.patch [deleted file]
target/linux/rb532/patches-4.4/100-korina_fix_napi_disable.patch

index 41d2df3451978e08de5a2eeb7313c6f0e52c7477..faf0e23e5da22012a37d36dc4d83bc39a6b54415 100644 (file)
@@ -4,11 +4,11 @@ LINUX_RELEASE?=1
 
 LINUX_VERSION-3.18 = .43
 LINUX_VERSION-4.1 = .34
-LINUX_VERSION-4.4 = .39
+LINUX_VERSION-4.4 = .40
 
 LINUX_KERNEL_HASH-3.18.43 = 1236e8123a6ce537d5029232560966feed054ae31776fe8481dd7d18cdd5492c
 LINUX_KERNEL_HASH-4.1.34 = 412316b32b5c7a513ba3ab8e68fc443db4d9423f07b577473089def0ee7406af
-LINUX_KERNEL_HASH-4.4.39 = 864bc186b02bf62974676efa282eda775fe12e5729a3416cfe4b17f0c59111a1
+LINUX_KERNEL_HASH-4.4.40 = c4bc5ed6e73ed7393cc1b3714b822664224ab866db114eed663de1315718a4e1
 
 ifdef KERNEL_PATCHVER
   LINUX_VERSION:=$(KERNEL_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_PATCHVER)))
index 5326a99c7cba1cf35d2f8757a944df67a906d111..54586c14237ccf2dff8e0324a3c50339a08a7562 100644 (file)
@@ -659,7 +659,7 @@ dwc_otg: Remove duplicate gadget probe/unregister function
  }
 --- a/drivers/usb/core/hub.c
 +++ b/drivers/usb/core/hub.c
-@@ -4972,7 +4972,7 @@ static void port_event(struct usb_hub *h
+@@ -4943,7 +4943,7 @@ static void port_event(struct usb_hub *h
        if (portchange & USB_PORT_STAT_C_OVERCURRENT) {
                u16 status = 0, unused;
  
index b8859524c9d1d150a1c1e6c143f75687ad804a51..10779aa3e542fc890462cccdff997fbb21af9aa8 100644 (file)
@@ -8,11 +8,9 @@ See: https://github.com/raspberrypi/linux/issues/1054
  drivers/spi/spidev.c | 1 +
  1 file changed, 1 insertion(+)
 
-Index: linux-4.4.39/drivers/spi/spidev.c
-===================================================================
---- linux-4.4.39.orig/drivers/spi/spidev.c     2016-12-20 13:45:27.000000000 +0100
-+++ linux-4.4.39/drivers/spi/spidev.c  2016-12-20 13:46:06.627326840 +0100
-@@ -696,6 +696,7 @@
+--- a/drivers/spi/spidev.c
++++ b/drivers/spi/spidev.c
+@@ -696,6 +696,7 @@ static const struct of_device_id spidev_
        { .compatible = "rohm,dh2228fv" },
        { .compatible = "lineartechnology,ltc2488" },
        { .compatible = "siliconlabs,si3210" },
index 1966e32aaf19b54e5c0e3d3686a05c86dfc70bf7..5048bcca7d3601eae7d9694a7e7e0fceb995e30e 100644 (file)
@@ -15,8 +15,6 @@ Tested-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
  drivers/mtd/spi-nor/spi-nor.c | 7 +++++--
  1 file changed, 5 insertions(+), 2 deletions(-)
 
-diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
-index 72d87c2..d1edafc 100644
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
 @@ -68,6 +68,7 @@ struct flash_info {
index e3f750a6e1e8303de0f04753088dba70c6f6fb82..cae20a532acc3abac0b3de27da505ad23f11f00d 100644 (file)
@@ -3,8 +3,8 @@ Several device in ramips have this binding in the dts
 
 Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
 ---
---- a/drivers/spi/spidev.c     2016-12-11 09:43:30.502270523 +0100
-+++ b/drivers/spi/spidev.c     2016-12-11 09:45:54.688430012 +0100
+--- a/drivers/spi/spidev.c
++++ b/drivers/spi/spidev.c
 @@ -695,6 +695,7 @@ static struct class *spidev_class;
  static const struct of_device_id spidev_dt_ids[] = {
        { .compatible = "rohm,dh2228fv" },
index 2e3d3d1db2b3579c6e2a13d2e0f71c4407542d96..ec67056c659001d76daac5d84cdcd080739307a2 100644 (file)
@@ -9,8 +9,6 @@ Acked-by: Marek Vasut <marek.vasut@gmail.com>
  drivers/mtd/spi-nor/spi-nor.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
-index da7cd69..f325925 100644
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
 @@ -689,7 +689,7 @@ static const struct flash_info spi_nor_i
index 3d464e79ea20b3c5590e0cb2c118ecc8c74d24ea..2d0a376d026f4dd841b56abe9c0d78fcfffdd4f1 100644 (file)
        partition@100000 {
 -              label = "zImage";
 -              reg = <0x100000 0x300000>;
--      };
--
--      partition@540000 {
--              label = "initrd";
--              reg = <0x540000 0x300000>;
 +              label = "second stage u-boot";
 +              reg = <0x100000 0x200000>;
        };
  
+-      partition@540000 {
+-              label = "initrd";
+-              reg = <0x540000 0x300000>;
+-      };
+-
 -      partition@980000 {
 -              label = "boot";
 -              reg = <0x980000 0x1f400000>;
index d8f6c2b7df47ff59d7359176a257eb37fa3a1b0d..a16524a67117b5faf68b2a42ead097bbd8c58a43 100644 (file)
@@ -12,8 +12,6 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
  arch/arm64/configs/freescale.config |    1 -
  1 file changed, 1 deletion(-)
 
-diff --git a/arch/arm64/configs/freescale.config b/arch/arm64/configs/freescale.config
-index a31951c..5447d7a 100644
 --- a/arch/arm64/configs/freescale.config
 +++ b/arch/arm64/configs/freescale.config
 @@ -121,7 +121,6 @@ CONFIG_IMX2_WDT=y
@@ -24,6 +22,3 @@ index a31951c..5447d7a 100644
  # lpuart
  CONFIG_SERIAL_FSL_LPUART=y
  CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
--- 
-1.7.9.5
-
index 8254490bb0f153128c002505ebb2b55201d4ea28..0fdbb7ea386d0ba04e6cf9bac35b6cfc45ada7e0 100644 (file)
@@ -17,11 +17,9 @@ Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  drivers/mtd/maps/physmap_of.c |   46 ++++++++++++++++++++++++++++++++++++++++-
  1 file changed, 45 insertions(+), 1 deletion(-)
 
-diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c
-index fef1d1b..e46b4e9 100644
 --- a/drivers/mtd/maps/physmap_of.c
 +++ b/drivers/mtd/maps/physmap_of.c
-@@ -112,9 +112,47 @@ static struct mtd_info *obsolete_probe(struct platform_device *dev,
+@@ -112,9 +112,47 @@ static struct mtd_info *obsolete_probe(s
  static const char * const part_probe_types_def[] = {
        "cmdlinepart", "RedBoot", "ofpart", "ofoldpart", NULL };
  
@@ -69,7 +67,7 @@ index fef1d1b..e46b4e9 100644
        const struct of_device_id *match;
        struct device_node *dp = dev->dev.of_node;
        struct resource res;
-@@ -273,8 +311,14 @@ static int of_flash_probe(struct platform_device *dev)
+@@ -273,8 +311,14 @@ static int of_flash_probe(struct platfor
                goto err_out;
  
        ppdata.of_node = dp;
@@ -85,6 +83,3 @@ index fef1d1b..e46b4e9 100644
  
        kfree(mtd_list);
  
--- 
-1.7.9.5
-
index 91de6f4019a666723ae90e23c2d5a81a41425531..b3b6991dd7b2cb6b64be3032eff56e811dff096f 100644 (file)
@@ -14,11 +14,9 @@ Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
  create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
  create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
 
-diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
-index b599645..e6c2a9f 100644
 --- a/arch/arm64/boot/dts/freescale/Makefile
 +++ b/arch/arm64/boot/dts/freescale/Makefile
-@@ -6,6 +6,8 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-rdb.dtb
+@@ -6,6 +6,8 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1
  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frdm.dtb
  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb
  dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb
@@ -27,9 +25,6 @@ index b599645..e6c2a9f 100644
   
  always                := $(dtb-y)
  subdir-y      := $(dts-dirs)
-diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts
-new file mode 100644
-index 0000000..04d3726
 --- /dev/null
 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts
 @@ -0,0 +1,241 @@
@@ -274,9 +269,6 @@ index 0000000..04d3726
 +&dpmac12 {
 +      phy-handle = <&mdio0_phy15>;
 +};
-diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
-new file mode 100644
-index 0000000..ce553fb
 --- /dev/null
 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
 @@ -0,0 +1,207 @@
@@ -487,9 +479,6 @@ index 0000000..ce553fb
 +&dpmac8 {
 +      phy-handle = <&mdio2_phy4>;
 +};
-diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
-new file mode 100644
-index 0000000..bd69942
 --- /dev/null
 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
 @@ -0,0 +1,854 @@
@@ -1347,6 +1336,3 @@ index 0000000..bd69942
 +                    /* DRAM space 1 - 2 GB DRAM */
 +      };
 +};
--- 
-1.7.9.5
-
index 7fb9b17d43d3073e52ce6f4510a65fe084bd4e4c..7aa6382575efae548f291a25b7aa82a2091be670 100644 (file)
@@ -11,9 +11,6 @@ Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
  create mode 100644 kernel2088a-qds.its
  create mode 100644 kernel2088a-rdb.its
 
-diff --git a/kernel2088a-qds.its b/kernel2088a-qds.its
-new file mode 100644
-index 0000000..4732954
 --- /dev/null
 +++ b/kernel2088a-qds.its
 @@ -0,0 +1,55 @@
@@ -72,9 +69,6 @@ index 0000000..4732954
 +              };
 +      };
 +};
-diff --git a/kernel2088a-rdb.its b/kernel2088a-rdb.its
-new file mode 100644
-index 0000000..151241f
 --- /dev/null
 +++ b/kernel2088a-rdb.its
 @@ -0,0 +1,55 @@
@@ -133,6 +127,3 @@ index 0000000..151241f
 +              };
 +      };
 +};
--- 
-1.7.9.5
-
index f3079a51d635715171b65e1a1d939f8bcc4ed425..2097be0c7f8744923866880310fe6ee127f8d2e8 100644 (file)
@@ -17,8 +17,6 @@ Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
  drivers/memory/fsl_ifc.c |    1 +
  1 file changed, 1 insertion(+)
 
-diff --git a/drivers/memory/fsl_ifc.c b/drivers/memory/fsl_ifc.c
-index 03584dc..32c7752 100644
 --- a/drivers/memory/fsl_ifc.c
 +++ b/drivers/memory/fsl_ifc.c
 @@ -35,6 +35,7 @@
@@ -29,6 +27,3 @@ index 03584dc..32c7752 100644
  
  struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev;
  EXPORT_SYMBOL(fsl_ifc_ctrl_dev);
--- 
-1.7.9.5
-
index 96c69f38320b098a4974fe29abd7b9279e2b778d..0db0a6b6d3bf5ef51a29eb67599dea83de592ddb 100644 (file)
@@ -129,7 +129,7 @@ Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
  static bool ls_pcie_is_bridge(struct ls_pcie *pcie)
  {
        u32 header_type;
-@@ -276,10 +301,28 @@ static int __init ls_pcie_probe(struct p
+@@ -284,10 +309,28 @@ static int __init ls_pcie_probe(struct p
  
        pcie->drvdata = match->data;
        pcie->lut = pcie->dbi + pcie->drvdata->lut_offset;
index 5c1fcd010b2b516b92b994f32cd16c546d2ff7cb..efc6467b09cf8a5bd7a14e280a17092e869e02b9 100644 (file)
@@ -8,11 +8,9 @@ Subject: [PATCH 229/238] drivers: clk: qoriq: Add ls2088a key to chipinfo
  drivers/clk/clk-qoriq.c |   11 +++++++++++
  1 file changed, 11 insertions(+)
 
-diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c
-index 164ac41..6185d6a 100644
 --- a/drivers/clk/clk-qoriq.c
 +++ b/drivers/clk/clk-qoriq.c
-@@ -559,6 +559,17 @@ static const struct clockgen_chipinfo chipinfo[] = {
+@@ -559,6 +559,17 @@ static const struct clockgen_chipinfo ch
                .flags = CG_VER3 | CG_LITTLE_ENDIAN,
        },
        {
@@ -30,6 +28,3 @@ index 164ac41..6185d6a 100644
                .compat = "fsl,p2041-clockgen",
                .guts_compat = "fsl,qoriq-device-config-1.0",
                .init_periph = p2041_init_periph,
--- 
-1.7.9.5
-
index 0feb800367381c8db56eba4ee08f78c461e6c2a8..f28776cba17ea144886e0f927e8c27bc732afa36 100644 (file)
@@ -12,31 +12,26 @@ Integrated-by: Zhao Qiang <qiang.zhao@nxp.com>
  drivers/pci/host/pci-layerscape.c |   13 +++++++++----
  1 file changed, 9 insertions(+), 4 deletions(-)
 
-diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c
-index 00feabf..f85ebcf 100644
 --- a/drivers/pci/host/pci-layerscape.c
 +++ b/drivers/pci/host/pci-layerscape.c
-@@ -158,11 +158,16 @@ static void ls1021_pcie_host_init(struct pcie_port *pp)
+@@ -158,11 +158,16 @@ static void ls1021_pcie_host_init(struct
  static int ls_pcie_link_up(struct pcie_port *pp)
  {
        struct ls_pcie *pcie = to_ls_pcie(pp);
 -      u32 state;
 +      u32 state, offset;
-+
-+      if (of_get_property(pp->dev->of_node, "fsl,lut_diff", NULL))
-+              offset = 0x407fc;
-+      else
-+              offset = PCIE_LUT_DBG;
  
 -      state = (ioread32(pcie->lut + pcie->drvdata->lut_dbg) >>
 -               pcie->drvdata->ltssm_shift) &
 -               LTSSM_STATE_MASK;
++      if (of_get_property(pp->dev->of_node, "fsl,lut_diff", NULL))
++              offset = 0x407fc;
++      else
++              offset = PCIE_LUT_DBG;
++
 +      state = (ioread32(pcie->lut + offset) >>
 +                      pcie->drvdata->ltssm_shift) &
 +              LTSSM_STATE_MASK;
  
        if (state < LTSSM_PCIE_L0)
                return 0;
--- 
-1.7.9.5
-
index e98e5022abaed50860fa4670b4fc771330426234..6c95cd0250ecad261b4dbb30ebe410b3d9fd3ddb 100644 (file)
@@ -8,11 +8,9 @@ Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>wq
  drivers/clk/clk-qoriq.c |    1 +
  1 file changed, 1 insertion(+)
 
-diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c
-index 6185d6a..efaa9c1 100644
 --- a/drivers/clk/clk-qoriq.c
 +++ b/drivers/clk/clk-qoriq.c
-@@ -1339,6 +1339,7 @@ CLK_OF_DECLARE(qoriq_clockgen_ls1043a, "fsl,ls1043a-clockgen", clockgen_init);
+@@ -1346,6 +1346,7 @@ CLK_OF_DECLARE(qoriq_clockgen_ls1043a, "
  CLK_OF_DECLARE(qoriq_clockgen_ls1046a, "fsl,ls1046a-clockgen", clockgen_init);
  CLK_OF_DECLARE(qoriq_clockgen_ls2080a, "fsl,ls2080a-clockgen", clockgen_init);
  CLK_OF_DECLARE(qoriq_clockgen_ls1012a, "fsl,ls1012a-clockgen", clockgen_init);
@@ -20,6 +18,3 @@ index 6185d6a..efaa9c1 100644
  
  /* Legacy nodes */
  CLK_OF_DECLARE(qoriq_sysclk_1, "fsl,qoriq-sysclk-1.0", sysclk_init);
--- 
-1.7.9.5
-
index 0967aeb6982f6752a42b1297fbe9bf5c6f65b499..3cb39764fd8b98b931efe72a52d9e68385068253 100644 (file)
@@ -21,8 +21,6 @@ Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
  drivers/i2c/muxes/i2c-mux-pca954x.c |   38 +++++++++++++++++++++++++++++++++++
  1 file changed, 38 insertions(+)
 
-diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c b/drivers/i2c/muxes/i2c-mux-pca954x.c
-index acfcef3..386f86f 100644
 --- a/drivers/i2c/muxes/i2c-mux-pca954x.c
 +++ b/drivers/i2c/muxes/i2c-mux-pca954x.c
 @@ -63,6 +63,7 @@ struct pca954x {
@@ -33,7 +31,7 @@ index acfcef3..386f86f 100644
  };
  
  struct chip_desc {
-@@ -174,6 +175,13 @@ static int pca954x_deselect_mux(struct i2c_adapter *adap,
+@@ -174,6 +175,13 @@ static int pca954x_deselect_mux(struct i
  {
        struct pca954x *data = i2c_get_clientdata(client);
  
@@ -47,7 +45,7 @@ index acfcef3..386f86f 100644
        /* Deselect active channel */
        data->last_chan = 0;
        return pca954x_reg_write(adap, client, data->last_chan);
-@@ -201,6 +209,23 @@ static int pca954x_probe(struct i2c_client *client,
+@@ -201,6 +209,23 @@ static int pca954x_probe(struct i2c_clie
        if (!data)
                return -ENOMEM;
  
@@ -71,7 +69,7 @@ index acfcef3..386f86f 100644
        i2c_set_clientdata(client, data);
  
        /* Get the mux out of reset if a reset GPIO is specified. */
-@@ -212,13 +237,19 @@ static int pca954x_probe(struct i2c_client *client,
+@@ -212,13 +237,19 @@ static int pca954x_probe(struct i2c_clie
         * that the mux is in fact present. This also
         * initializes the mux to disconnected state.
         */
@@ -91,7 +89,7 @@ index acfcef3..386f86f 100644
  
        idle_disconnect_dt = of_node &&
                of_property_read_bool(of_node, "i2c-mux-idle-disconnect");
-@@ -289,6 +320,13 @@ static int pca954x_resume(struct device *dev)
+@@ -289,6 +320,13 @@ static int pca954x_resume(struct device
        struct i2c_client *client = to_i2c_client(dev);
        struct pca954x *data = i2c_get_clientdata(client);
  
@@ -105,6 +103,3 @@ index acfcef3..386f86f 100644
        data->last_chan = 0;
        return i2c_smbus_write_byte(client, 0);
  }
--- 
-1.7.9.5
-
index be91046ac13e78b78e0944ec32924eb4682a5b2b..def79412d79fb6d3bdb19c26cdb54d8de347d93d 100644 (file)
@@ -8,22 +8,20 @@ Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
  drivers/pci/host/pci-layerscape.c |   13 ++++---------
  1 file changed, 4 insertions(+), 9 deletions(-)
 
-diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c
-index f85ebcf..00feabf 100644
 --- a/drivers/pci/host/pci-layerscape.c
 +++ b/drivers/pci/host/pci-layerscape.c
-@@ -158,16 +158,11 @@ static void ls1021_pcie_host_init(struct pcie_port *pp)
+@@ -158,16 +158,11 @@ static void ls1021_pcie_host_init(struct
  static int ls_pcie_link_up(struct pcie_port *pp)
  {
        struct ls_pcie *pcie = to_ls_pcie(pp);
 -      u32 state, offset;
--
++      u32 state;
 -      if (of_get_property(pp->dev->of_node, "fsl,lut_diff", NULL))
 -              offset = 0x407fc;
 -      else
 -              offset = PCIE_LUT_DBG;
-+      u32 state;
+-
 -      state = (ioread32(pcie->lut + offset) >>
 -                      pcie->drvdata->ltssm_shift) &
 -              LTSSM_STATE_MASK;
@@ -33,6 +31,3 @@ index f85ebcf..00feabf 100644
  
        if (state < LTSSM_PCIE_L0)
                return 0;
--- 
-1.7.9.5
-
index f5947f7e062c366d95191e6f723b510e015c8d3e..ce8b518303942da4f640cbc93dfd31906ec16f8d 100644 (file)
@@ -10,11 +10,9 @@ Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
  include/linux/clk.h          |    9 +++++++++
  3 files changed, 29 insertions(+)
 
-diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
-index f13c3f4..0f6bcf5 100644
 --- a/drivers/clk/clk.c
 +++ b/drivers/clk/clk.c
-@@ -359,6 +359,19 @@ static struct clk_core *clk_core_get_parent_by_index(struct clk_core *core,
+@@ -359,6 +359,19 @@ static struct clk_core *clk_core_get_par
                return core->parents[index];
  }
  
@@ -34,7 +32,7 @@ index f13c3f4..0f6bcf5 100644
  struct clk_hw *
  clk_hw_get_parent_by_index(const struct clk_hw *hw, unsigned int index)
  {
-@@ -2033,6 +2046,12 @@ static const struct file_operations clk_summary_fops = {
+@@ -2033,6 +2046,12 @@ static const struct file_operations clk_
        .release        = single_release,
  };
  
@@ -47,11 +45,9 @@ index f13c3f4..0f6bcf5 100644
  static void clk_dump_one(struct seq_file *s, struct clk_core *c, int level)
  {
        if (!c)
-diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
-index 7cd0171..77dfd61 100644
 --- a/include/linux/clk-provider.h
 +++ b/include/linux/clk-provider.h
-@@ -650,6 +650,7 @@ unsigned int clk_hw_get_num_parents(const struct clk_hw *hw);
+@@ -656,6 +656,7 @@ unsigned int clk_hw_get_num_parents(cons
  struct clk_hw *clk_hw_get_parent(const struct clk_hw *hw);
  struct clk_hw *clk_hw_get_parent_by_index(const struct clk_hw *hw,
                                          unsigned int index);
@@ -59,11 +55,9 @@ index 7cd0171..77dfd61 100644
  unsigned int __clk_get_enable_count(struct clk *clk);
  unsigned long clk_hw_get_rate(const struct clk_hw *hw);
  unsigned long __clk_get_flags(struct clk *clk);
-diff --git a/include/linux/clk.h b/include/linux/clk.h
-index 0df4a51..1df90e3 100644
 --- a/include/linux/clk.h
 +++ b/include/linux/clk.h
-@@ -392,6 +392,15 @@ int clk_set_parent(struct clk *clk, struct clk *parent);
+@@ -392,6 +392,15 @@ int clk_set_parent(struct clk *clk, stru
  struct clk *clk_get_parent(struct clk *clk);
  
  /**
@@ -79,6 +73,3 @@ index 0df4a51..1df90e3 100644
   * clk_get_sys - get a clock based upon the device name
   * @dev_id: device name
   * @con_id: connection ID
--- 
-1.7.9.5
-
index 08e1ecba9a0b3d1f55a1b74c888801ad594cfc96..6162e2b25774529d82c634fc8794829df5143d4c 100644 (file)
@@ -15,8 +15,6 @@ Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
  drivers/pci/host/pci-layerscape.c              |   13 ++++++++-----
  2 files changed, 12 insertions(+), 13 deletions(-)
 
-diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
-index bd69942..07c917b 100644
 --- a/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
 @@ -513,8 +513,7 @@
@@ -59,28 +57,26 @@ index bd69942..07c917b 100644
                reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
                       0x38 0x00000000 0x0 0x00002000>; /* configuration space */
                reg-names = "regs", "config";
-diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c
-index 00feabf..3e2100d 100644
 --- a/drivers/pci/host/pci-layerscape.c
 +++ b/drivers/pci/host/pci-layerscape.c
-@@ -158,9 +158,14 @@ static void ls1021_pcie_host_init(struct pcie_port *pp)
+@@ -158,9 +158,14 @@ static void ls1021_pcie_host_init(struct
  static int ls_pcie_link_up(struct pcie_port *pp)
  {
        struct ls_pcie *pcie = to_ls_pcie(pp);
 -      u32 state;
 +      u32 state, offset;
-+
+-      state = (ioread32(pcie->lut + pcie->drvdata->lut_dbg) >>
 +        if (of_get_property(pp->dev->of_node, "fsl,lut_diff", NULL))
 +                offset = 0x407fc;
 +        else
 +                offset = pcie->drvdata->lut_dbg;
--      state = (ioread32(pcie->lut + pcie->drvdata->lut_dbg) >>
++
 +      state = (ioread32(pcie->lut + offset) >>
                 pcie->drvdata->ltssm_shift) &
                 LTSSM_STATE_MASK;
  
-@@ -261,7 +266,6 @@ static const struct of_device_id ls_pcie_of_match[] = {
+@@ -261,7 +266,6 @@ static const struct of_device_id ls_pcie
        { .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
        { .compatible = "fsl,ls1088a-pcie", .data = &ls1088_drvdata },
        { .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
@@ -88,7 +84,7 @@ index 00feabf..3e2100d 100644
        { },
  };
  MODULE_DEVICE_TABLE(of, ls_pcie_of_match);
-@@ -315,8 +319,7 @@ static int __init ls_pcie_probe(struct platform_device *pdev)
+@@ -315,8 +319,7 @@ static int __init ls_pcie_probe(struct p
        if (!ls_pcie_is_bridge(pcie))
                return -ENODEV;
  
@@ -98,6 +94,3 @@ index 00feabf..3e2100d 100644
        of_device_is_compatible(pdev->dev.of_node, "fsl,ls1088a-pcie")) {
                int len;
                const u32 *prop;
--- 
-1.7.9.5
-
index 053cd1db3602fe234bd27ae5966fc0f805624af7..fbc3edbbe8192dd3b28e31cc7efe45842bc01c03 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/mtd/nand/Kconfig
 +++ b/drivers/mtd/nand/Kconfig
-@@ -546,4 +546,11 @@ config MTD_NAND_HISI504
-       help
-         Enables support for NAND controller on Hisilicon SoC Hip04.
+@@ -563,4 +563,11 @@ config MTD_NAND_QCOM
+         Enables support for NAND flash chips on SoCs containing the EBI2 NAND
+         controller. This controller is found on IPQ806x SoC.
  
 +config MTD_NAND_OXNAS
 +      tristate "Support for NAND on Plxtech NAS782X SoC"
diff --git a/target/linux/ramips/patches-4.4/102-add-dlink-dwr158-in-usb-serial-option.patch b/target/linux/ramips/patches-4.4/102-add-dlink-dwr158-in-usb-serial-option.patch
deleted file mode 100644 (file)
index 59743e7..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Adding registration for 3G modem DWM-158 in usb-serial-option
-
-Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
-
---- a/drivers/usb/serial/option.c
-+++ b/drivers/usb/serial/option.c
-@@ -1989,6 +1989,7 @@ static const struct usb_device_id option
-       { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x7d02, 0xff, 0x00, 0x00) },
-       { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x7d03, 0xff, 0x02, 0x01) },
-       { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x7d03, 0xff, 0x00, 0x00) },
-+      { USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7d04, 0xff) },                   /* D-Link DWM-158 */
-       { USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7e19, 0xff),                     /* D-Link DWM-221 B1 */
-         .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
-       { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e01, 0xff, 0xff, 0xff) }, /* D-Link DWM-152/C1 */
index 3f80e0937d028847e4ad2e18801ea0d20b3f2617..3a67297df0a7b7d91d3376c5ef65df5ee82c0d6e 100644 (file)
@@ -19,11 +19,9 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  drivers/net/ethernet/korina.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
 
-diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c
-index cbeea915f026..8037426ec50f 100644
 --- a/drivers/net/ethernet/korina.c
 +++ b/drivers/net/ethernet/korina.c
-@@ -900,10 +900,10 @@ static void korina_restart_task(struct work_struct *work)
+@@ -900,10 +900,10 @@ static void korina_restart_task(struct w
                                DMA_STAT_DONE | DMA_STAT_HALT | DMA_STAT_ERR,
                                &lp->rx_dma_regs->dmasm);
  
@@ -36,7 +34,7 @@ index cbeea915f026..8037426ec50f 100644
        if (korina_init(dev) < 0) {
                printk(KERN_ERR "%s: cannot restart device\n", dev->name);
                return;
-@@ -1064,12 +1064,12 @@ static int korina_close(struct net_device *dev)
+@@ -1064,12 +1064,12 @@ static int korina_close(struct net_devic
        tmp = tmp | DMA_STAT_DONE | DMA_STAT_HALT | DMA_STAT_ERR;
        writel(tmp, &lp->rx_dma_regs->dmasm);
  
@@ -51,6 +49,3 @@ index cbeea915f026..8037426ec50f 100644
        free_irq(lp->rx_irq, dev);
        free_irq(lp->tx_irq, dev);
        free_irq(lp->ovr_irq, dev);
--- 
-2.9.3
-