kernel: refresh patches for kernel 4.4
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 12 Jan 2016 20:50:41 +0000 (20:50 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 12 Jan 2016 20:50:41 +0000 (20:50 +0000)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48222

44 files changed:
target/linux/bcm53xx/patches-4.4/020-ARM-BCM5301X-remove-workaround-imprecise-abort-fault.patch
target/linux/bcm53xx/patches-4.4/022-ARM-BCM-Clean-up-SMP-support-for-Broadcom-Kona.patch
target/linux/bcm53xx/patches-4.4/023-ARM-BCM-Add-SMP-support-for-Broadcom-NSP.patch
target/linux/bcm53xx/patches-4.4/024-ARM-BCM-Add-SMP-support-for-Broadcom-4708.patch
target/linux/bcm53xx/patches-4.4/031-ARM-dts-enable-clock-support-for-BCM5301X.patch
target/linux/bcm53xx/patches-4.4/033-dt-bindings-add-SMP-enable-method-for-Broadcom-NSP.patch
target/linux/bcm53xx/patches-4.4/080-USB-bcma-switch-to-GPIO-descriptor-for-power-control.patch
target/linux/bcm53xx/patches-4.4/153-PCI-iproc-Add-iProc-PCIe-MSI-support.patch
target/linux/bcm53xx/patches-4.4/810-USB-bcma-use-simpler-devm_gpiod_get.patch
target/linux/brcm47xx/patches-4.4/400-mtd-bcm47xxpart-get-nvram.patch
target/linux/generic/patches-4.4/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
target/linux/generic/patches-4.4/735-net-phy-at803x-fix-at8033-sgmii-mode.patch
target/linux/mvebu/patches-4.4/100-find_active_root.patch
target/linux/omap/patches/001-omap4_pandaboard-wlan_fix.patch
target/linux/sunxi/patches-4.4/100-clk-sunxi-add-dram-gates-support.patch
target/linux/sunxi/patches-4.4/101-dt-sun4i-add-dram-gates.patch
target/linux/sunxi/patches-4.4/102-dt-sun7i-add-dram-gates.patch
target/linux/sunxi/patches-4.4/103-clk-sunxi-add-h3-clksupport.patch
target/linux/sunxi/patches-4.4/104-1-dt-sunxi-add-h3-dtsi.patch
target/linux/sunxi/patches-4.4/104-2-dt-sun8i-add-orangepi-plus.patch
target/linux/sunxi/patches-4.4/105-phy-use_of_match_node.patch
target/linux/sunxi/patches-4.4/106-phy-add-h3-usbphys.patch
target/linux/sunxi/patches-4.4/107-clk-sunxi-add-h3-usbphy-clocks.patch
target/linux/sunxi/patches-4.4/110-clk-sunxi-add-ve-for-sun457i.patch
target/linux/sunxi/patches-4.4/111-1-dt-sun4i-add-ve-clock-module.patch
target/linux/sunxi/patches-4.4/111-2-dt-sun7i-add-ve-clock-module.patch
target/linux/sunxi/patches-4.4/115-musb-ignore-vbus-errors.patch
target/linux/sunxi/patches-4.4/116-crypto-add-missing-statesize.patch
target/linux/sunxi/patches-4.4/130-pinctrl-sunxi-add-h3-pio.patch
target/linux/sunxi/patches-4.4/131-reset-add-h3-resets.patch
target/linux/sunxi/patches-4.4/132-dt-sun8i-add-h3-usbclocks.patch
target/linux/sunxi/patches-4.4/133-dt-sun8i-add-usbphy-usbhost-ctrl-nodes.patch
target/linux/sunxi/patches-4.4/134-dt-sun8i-orangepiplus-enable-usbhost.patch
target/linux/sunxi/patches-4.4/135-clk-sunxi-fix-signedness-bug.patch
target/linux/sunxi/patches-4.4/140-reset-add-of_reset_control_get_by_index.patch
target/linux/sunxi/patches-4.4/141-reset-fix-of_reset_control_get.patch
target/linux/sunxi/patches-4.4/142-reset-use-ENOTSUPP-instead-of-ENOSYS.patch
target/linux/sunxi/patches-4.4/143-reset-add-shared-resetcontrol-asserts.patch
target/linux/sunxi/patches-4.4/144-usb-ehci-plat-support-multiple-reset-ctrllines.patch
target/linux/sunxi/patches-4.4/145-usb-ohci-plat-support-multiple-reset-ctrllines.patch
target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch
target/linux/sunxi/patches-4.4/200-dt-sun7i-add-lamobo-r1.patch
target/linux/x86/patches-4.4/011-tune_lzma_options.patch
target/linux/x86/patches-4.4/120-panic_on_unrecovered_nmi.patch

index bc115b11f8c4eae50fd824c3e10fc9c9f2f08718..30acc8c31171f0bd202348f3a3b3eb4163940247 100644 (file)
@@ -59,7 +59,7 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  
  static const char *const bcm5301x_dt_compat[] __initconst = {
        "brcm,bcm4708",
  
  static const char *const bcm5301x_dt_compat[] __initconst = {
        "brcm,bcm4708",
-@@ -52,6 +18,5 @@ static const char *const bcm5301x_dt_compat[] __initconst = {
+@@ -52,6 +18,5 @@ static const char *const bcm5301x_dt_com
  DT_MACHINE_START(BCM5301X, "BCM5301X")
        .l2c_aux_val    = 0,
        .l2c_aux_mask   = ~0,
  DT_MACHINE_START(BCM5301X, "BCM5301X")
        .l2c_aux_val    = 0,
        .l2c_aux_mask   = ~0,
index c79cf95fd8d22b33b8b7d62cbc2e951f1e85db15..fecaec4b491fe8dc0db40469d474ca6d0916c6b2 100644 (file)
@@ -217,7 +217,7 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  {
        void __iomem *boot_reg;
        phys_addr_t boot_func;
  {
        void __iomem *boot_reg;
        phys_addr_t boot_func;
-@@ -154,15 +179,16 @@ static int bcm_boot_secondary(unsigned int cpu, struct task_struct *idle)
+@@ -154,15 +179,16 @@ static int bcm_boot_secondary(unsigned i
                return -EINVAL;
        }
  
                return -EINVAL;
        }
  
@@ -237,7 +237,7 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
        }
  
        /*
        }
  
        /*
-@@ -191,12 +217,12 @@ static int bcm_boot_secondary(unsigned int cpu, struct task_struct *idle)
+@@ -191,12 +217,12 @@ static int bcm_boot_secondary(unsigned i
  
        pr_err("timeout waiting for cpu %u to start\n", cpu_id);
  
  
        pr_err("timeout waiting for cpu %u to start\n", cpu_id);
  
index fb592415e9e7b65e654298ca424d22525e36d70e..5fbf213700c80f89aaa2a53e2c06f67d527941fb 100644 (file)
@@ -50,7 +50,7 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  
  # BCM281XX
  obj-$(CONFIG_ARCH_BCM_281XX)  += board_bcm281xx.o
  
  # BCM281XX
  obj-$(CONFIG_ARCH_BCM_281XX)  += board_bcm281xx.o
-@@ -23,7 +27,7 @@ obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
+@@ -23,7 +27,7 @@ obj-$(CONFIG_ARCH_BCM_281XX) += board_bc
  obj-$(CONFIG_ARCH_BCM_21664)  += board_bcm21664.o
  
  # BCM281XX and BCM21664 SMP support
  obj-$(CONFIG_ARCH_BCM_21664)  += board_bcm21664.o
  
  # BCM281XX and BCM21664 SMP support
index 8fbc064dbf0c7e94b445d465cf803032bae28ee8..ca75fad53bceec0b3590d58592a73e51e3b2bf2c 100644 (file)
@@ -46,7 +46,7 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
          Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
 --- a/arch/arm/mach-bcm/Makefile
 +++ b/arch/arm/mach-bcm/Makefile
          Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
 --- a/arch/arm/mach-bcm/Makefile
 +++ b/arch/arm/mach-bcm/Makefile
-@@ -43,6 +43,9 @@ obj-$(CONFIG_ARCH_BCM2835)   += board_bcm2835.o
+@@ -43,6 +43,9 @@ obj-$(CONFIG_ARCH_BCM2835)   += board_bcm2
  
  # BCM5301X
  obj-$(CONFIG_ARCH_BCM_5301X)  += bcm_5301x.o
  
  # BCM5301X
  obj-$(CONFIG_ARCH_BCM_5301X)  += bcm_5301x.o
index e8dd0cdd5c9900c4072454f2ebc224a7d757cff7..db47006218537cb530ca24cd6b5d98a8179e7d3f 100644 (file)
@@ -121,7 +121,8 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
 +              };
 +
 +              iprocmed: iprocmed {
 +              };
 +
 +              iprocmed: iprocmed {
-+                      #clock-cells = <0>;
+                       #clock-cells = <0>;
+-                      clock-frequency = <400000000>;
 +                      compatible = "fixed-factor-clock";
 +                      clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
 +                      clock-div = <2>;
 +                      compatible = "fixed-factor-clock";
 +                      clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
 +                      clock-div = <2>;
@@ -137,8 +138,7 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
 +              };
 +
 +              periph_clk: periph_clk {
 +              };
 +
 +              periph_clk: periph_clk {
-                       #clock-cells = <0>;
--                      clock-frequency = <400000000>;
++                      #clock-cells = <0>;
 +                      compatible = "fixed-factor-clock";
 +                      clocks = <&a9pll>;
 +                      clock-div = <2>;
 +                      compatible = "fixed-factor-clock";
 +                      clocks = <&a9pll>;
 +                      clock-div = <2>;
index ad560261d31eaf6249cc329e8aed5cb0907b4bf8..ff3fa0b80c9b135856cbad58b54058d8f1a41764 100644 (file)
@@ -60,7 +60,7 @@ Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
 +      };
 --- a/Documentation/devicetree/bindings/arm/cpus.txt
 +++ b/Documentation/devicetree/bindings/arm/cpus.txt
 +      };
 --- a/Documentation/devicetree/bindings/arm/cpus.txt
 +++ b/Documentation/devicetree/bindings/arm/cpus.txt
-@@ -190,6 +190,7 @@ nodes to be present and contain the properties described below.
+@@ -190,6 +190,7 @@ nodes to be present and contain the prop
                            "allwinner,sun6i-a31"
                            "allwinner,sun8i-a23"
                            "arm,psci"
                            "allwinner,sun6i-a31"
                            "allwinner,sun8i-a23"
                            "arm,psci"
index deb0e4e459b876d6999591313f199f56b836e381..bc735a234e1035fcd4723d8fb7b3e9d6319b1048 100644 (file)
@@ -37,7 +37,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  };
  
  /* Wait for bitmask in a register to get set or cleared.
  };
  
  /* Wait for bitmask in a register to get set or cleared.
-@@ -228,19 +230,12 @@ static void bcma_hcd_init_chip_arm(struct bcma_device *dev)
+@@ -228,19 +230,12 @@ static void bcma_hcd_init_chip_arm(struc
  
  static void bcma_hci_platform_power_gpio(struct bcma_device *dev, bool val)
  {
  
  static void bcma_hci_platform_power_gpio(struct bcma_device *dev, bool val)
  {
@@ -60,7 +60,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  }
  
  static const struct usb_ehci_pdata ehci_pdata = {
  }
  
  static const struct usb_ehci_pdata ehci_pdata = {
-@@ -314,7 +309,11 @@ static int bcma_hcd_probe(struct bcma_device *dev)
+@@ -314,7 +309,11 @@ static int bcma_hcd_probe(struct bcma_de
        if (!usb_dev)
                return -ENOMEM;
  
        if (!usb_dev)
                return -ENOMEM;
  
index d52e557f507cb7b954f5addb9e5c5f323684d264..bcaccaa4578c54b1844eb61145b757cf89b52edb 100644 (file)
@@ -52,7 +52,7 @@ Reviewed-by: Scott Branden <sbranden@broadcom.com>
 
 --- a/drivers/pci/host/Kconfig
 +++ b/drivers/pci/host/Kconfig
 
 --- a/drivers/pci/host/Kconfig
 +++ b/drivers/pci/host/Kconfig
-@@ -126,6 +126,15 @@ config PCIE_IPROC
+@@ -127,6 +127,15 @@ config PCIE_IPROC
          iProc family of SoCs. An appropriate bus interface driver also needs
          to be enabled
  
          iProc family of SoCs. An appropriate bus interface driver also needs
          to be enabled
  
index a2c9b12051aaed7ad75e007698fbfde5c4b91ae5..ec6ef9ea59a75030ef5a01523b329a5f7ab5741f 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: RafaÅ‚ MiÅ‚ecki <zajec5@gmail.com>
 
 --- a/drivers/usb/host/bcma-hcd.c
 +++ b/drivers/usb/host/bcma-hcd.c
 
 --- a/drivers/usb/host/bcma-hcd.c
 +++ b/drivers/usb/host/bcma-hcd.c
-@@ -568,8 +568,7 @@ static int bcma_hcd_probe(struct bcma_device *dev)
+@@ -568,8 +568,7 @@ static int bcma_hcd_probe(struct bcma_de
        usb_dev->core = dev;
  
        if (dev->dev.of_node)
        usb_dev->core = dev;
  
        if (dev->dev.of_node)
index de109e35f4da61850dd5a22f60ed904764a8f667..4fb8a87d4c2d2df7fd3e45eed1cd84b3cd06e93e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/bcm47xxpart.c
 +++ b/drivers/mtd/bcm47xxpart.c
 --- a/drivers/mtd/bcm47xxpart.c
 +++ b/drivers/mtd/bcm47xxpart.c
-@@ -100,6 +100,7 @@ static int bcm47xxpart_parse(struct mtd_
+@@ -127,6 +127,7 @@ static int bcm47xxpart_parse(struct mtd_
        int last_trx_part = -1;
        int possible_nvram_sizes[] = { 0x8000, 0xF000, 0x10000, };
        int err;
        int last_trx_part = -1;
        int possible_nvram_sizes[] = { 0x8000, 0xF000, 0x10000, };
        int err;
@@ -8,7 +8,7 @@
  
        /*
         * Some really old flashes (like AT45DB*) had smaller erasesize-s, but
  
        /*
         * Some really old flashes (like AT45DB*) had smaller erasesize-s, but
-@@ -306,12 +307,23 @@ static int bcm47xxpart_parse(struct mtd_
+@@ -334,12 +335,23 @@ static int bcm47xxpart_parse(struct mtd_
                if (buf[0] == NVRAM_HEADER) {
                        bcm47xxpart_add_part(&parts[curr_part++], "nvram",
                                             master->size - blocksize, 0);
                if (buf[0] == NVRAM_HEADER) {
                        bcm47xxpart_add_part(&parts[curr_part++], "nvram",
                                             master->size - blocksize, 0);
index 6adac7766959d6e4025792a0e0d9f65cfc3a2194..5ad82f1f51d3fb39b24c6aad31c38d8ba420397c 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: RafaÅ‚ MiÅ‚ecki <zajec5@gmail.com>
 
 --- a/drivers/mtd/bcm47xxpart.c
 +++ b/drivers/mtd/bcm47xxpart.c
 
 --- a/drivers/mtd/bcm47xxpart.c
 +++ b/drivers/mtd/bcm47xxpart.c
-@@ -61,6 +61,34 @@ static void bcm47xxpart_add_part(struct mtd_partition *part, const char *name,
+@@ -61,6 +61,34 @@ static void bcm47xxpart_add_part(struct
        part->mask_flags = mask_flags;
  }
  
        part->mask_flags = mask_flags;
  }
  
@@ -48,7 +48,7 @@ Signed-off-by: RafaÅ‚ MiÅ‚ecki <zajec5@gmail.com>
  static const char *bcm47xxpart_trx_data_part_name(struct mtd_info *master,
                                                  size_t offset)
  {
  static const char *bcm47xxpart_trx_data_part_name(struct mtd_info *master,
                                                  size_t offset)
  {
-@@ -182,6 +210,8 @@ static int bcm47xxpart_parse(struct mtd_info *master,
+@@ -182,6 +210,8 @@ static int bcm47xxpart_parse(struct mtd_
  
                /* TRX */
                if (buf[0x000 / 4] == TRX_MAGIC) {
  
                /* TRX */
                if (buf[0x000 / 4] == TRX_MAGIC) {
@@ -57,7 +57,7 @@ Signed-off-by: RafaÅ‚ MiÅ‚ecki <zajec5@gmail.com>
                        if (BCM47XXPART_MAX_PARTS - curr_part < 4) {
                                pr_warn("Not enough partitions left to register trx, scanning stopped!\n");
                                break;
                        if (BCM47XXPART_MAX_PARTS - curr_part < 4) {
                                pr_warn("Not enough partitions left to register trx, scanning stopped!\n");
                                break;
-@@ -196,18 +226,18 @@ static int bcm47xxpart_parse(struct mtd_info *master,
+@@ -196,18 +226,18 @@ static int bcm47xxpart_parse(struct mtd_
                        i = 0;
                        /* We have LZMA loader if offset[2] points to sth */
                        if (trx->offset[2]) {
                        i = 0;
                        /* We have LZMA loader if offset[2] points to sth */
                        if (trx->offset[2]) {
@@ -82,7 +82,7 @@ Signed-off-by: RafaÅ‚ MiÅ‚ecki <zajec5@gmail.com>
                                i++;
                        }
  
                                i++;
                        }
  
-@@ -219,11 +249,11 @@ static int bcm47xxpart_parse(struct mtd_info *master,
+@@ -219,11 +249,11 @@ static int bcm47xxpart_parse(struct mtd_
                        if (trx->offset[i]) {
                                const char *name;
  
                        if (trx->offset[i]) {
                                const char *name;
  
index 117f15d634e6601360435097a6be6389d5e0a6f3..60de6b4f7df10be0a4288ad5733785360242053c 100644 (file)
@@ -61,7 +61,7 @@
        .probe                  = at803x_probe,
        .config_init            = at803x_config_init,
        .link_change_notify     = at803x_link_change_notify,
        .probe                  = at803x_probe,
        .config_init            = at803x_config_init,
        .link_change_notify     = at803x_link_change_notify,
-@@ -413,7 +438,7 @@ static struct phy_driver at803x_driver[]
+@@ -415,7 +440,7 @@ static struct phy_driver at803x_driver[]
        /* ATHEROS 8030 */
        .phy_id                 = ATH8030_PHY_ID,
        .name                   = "Atheros 8030 ethernet",
        /* ATHEROS 8030 */
        .phy_id                 = ATH8030_PHY_ID,
        .name                   = "Atheros 8030 ethernet",
@@ -70,7 +70,7 @@
        .probe                  = at803x_probe,
        .config_init            = at803x_config_init,
        .link_change_notify     = at803x_link_change_notify,
        .probe                  = at803x_probe,
        .config_init            = at803x_config_init,
        .link_change_notify     = at803x_link_change_notify,
-@@ -431,8 +456,8 @@ static struct phy_driver at803x_driver[]
+@@ -435,8 +460,8 @@ static struct phy_driver at803x_driver[]
  }, {
        /* ATHEROS 8031 */
        .phy_id                 = ATH8031_PHY_ID,
  }, {
        /* ATHEROS 8031 */
        .phy_id                 = ATH8031_PHY_ID,
@@ -81,7 +81,7 @@
        .probe                  = at803x_probe,
        .config_init            = at803x_config_init,
        .link_change_notify     = at803x_link_change_notify,
        .probe                  = at803x_probe,
        .config_init            = at803x_config_init,
        .link_change_notify     = at803x_link_change_notify,
-@@ -454,9 +479,9 @@ static struct phy_driver at803x_driver[]
+@@ -458,9 +483,9 @@ static struct phy_driver at803x_driver[]
  module_phy_driver(at803x_driver);
  
  static struct mdio_device_id __maybe_unused atheros_tbl[] = {
  module_phy_driver(at803x_driver);
  
  static struct mdio_device_id __maybe_unused atheros_tbl[] = {
index cd5dd02f2e92e66d6cce4e0857757c6657ffa8f5..c997f5b342be17ef5b9ebbfe71fcf6402ad9f3a3 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
        struct device_node *pp;
        int nr_parts, i, ret = 0;
        bool dedicated = true;
        struct device_node *pp;
        int nr_parts, i, ret = 0;
        bool dedicated = true;
-@@ -102,9 +105,15 @@ static int parse_ofpart_partitions(struc
+@@ -110,9 +113,15 @@ static int parse_ofpart_partitions(struc
                (*pparts)[i].offset = of_read_number(reg, a_cells);
                (*pparts)[i].size = of_read_number(reg + a_cells, s_cells);
  
                (*pparts)[i].offset = of_read_number(reg, a_cells);
                (*pparts)[i].size = of_read_number(reg + a_cells, s_cells);
  
@@ -41,7 +41,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
                (*pparts)[i].name = partname;
  
                if (of_get_property(pp, "read-only", &len))
                (*pparts)[i].name = partname;
  
                if (of_get_property(pp, "read-only", &len))
-@@ -207,6 +216,18 @@ static int __init ofpart_parser_init(voi
+@@ -215,6 +224,18 @@ static int __init ofpart_parser_init(voi
        return 0;
  }
  
        return 0;
  }
  
index 9499e3b8aff30d02fddca6d3c34fddeeba7d88d2..5a6f76fd1584a2e0a416b80fb7abcd6180e68a50 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/arm/mach-omap2/twl-common.c
 +++ b/arch/arm/mach-omap2/twl-common.c
 --- a/arch/arm/mach-omap2/twl-common.c
 +++ b/arch/arm/mach-omap2/twl-common.c
-@@ -280,6 +280,7 @@ static struct regulator_init_data omap4_
+@@ -368,6 +368,7 @@ static struct regulator_init_data omap4_
  static struct regulator_init_data omap4_clk32kg_idata = {
        .constraints = {
                .valid_ops_mask         = REGULATOR_CHANGE_STATUS,
  static struct regulator_init_data omap4_clk32kg_idata = {
        .constraints = {
                .valid_ops_mask         = REGULATOR_CHANGE_STATUS,
index f9caaa014c97dfef54c0bcc61c5f147bb22a95a9..4d353f378977a959fa625446758cb40d7a90f27d 100644 (file)
@@ -19,13 +19,9 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  drivers/clk/sunxi/clk-simple-gates.c              | 12 ++++++++++++
  2 files changed, 13 insertions(+)
 
  drivers/clk/sunxi/clk-simple-gates.c              | 12 ++++++++++++
  2 files changed, 13 insertions(+)
 
-diff --git a/Documentation/devicetree/bindings/clock/sunxi.txt b/Documentation/devicetree/bindings/clock/sunxi.txt
-index 153ac72..ef0b452 100644
-diff --git a/drivers/clk/sunxi/clk-simple-gates.c b/drivers/clk/sunxi/clk-simple-gates.c
-index c8acc06..f4da52b 100644
 --- a/drivers/clk/sunxi/clk-simple-gates.c
 +++ b/drivers/clk/sunxi/clk-simple-gates.c
 --- a/drivers/clk/sunxi/clk-simple-gates.c
 +++ b/drivers/clk/sunxi/clk-simple-gates.c
-@@ -160,3 +160,15 @@ CLK_OF_DECLARE(sun5i_a13_ahb, "allwinner,sun5i-a13-ahb-gates-clk",
+@@ -158,3 +158,15 @@ CLK_OF_DECLARE(sun5i_a13_ahb, "allwinner
               sun4i_a10_ahb_init);
  CLK_OF_DECLARE(sun7i_a20_ahb, "allwinner,sun7i-a20-ahb-gates-clk",
               sun4i_a10_ahb_init);
               sun4i_a10_ahb_init);
  CLK_OF_DECLARE(sun7i_a20_ahb, "allwinner,sun7i-a20-ahb-gates-clk",
               sun4i_a10_ahb_init);
index 9bdf400c9c14389d1a7be8f1ce3b92783564b14f..e21eca4e1f66b6377fde46648e47d593db77ec70 100644 (file)
@@ -13,8 +13,6 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  arch/arm/boot/dts/sun4i-a10.dtsi | 36 ++++++++++++++++++++++++++++++++----
  1 file changed, 32 insertions(+), 4 deletions(-)
 
  arch/arm/boot/dts/sun4i-a10.dtsi | 36 ++++++++++++++++++++++++++++++++----
  1 file changed, 32 insertions(+), 4 deletions(-)
 
-diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
-index aa90f31..849d024 100644
 --- a/arch/arm/boot/dts/sun4i-a10.dtsi
 +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
 @@ -66,7 +66,7 @@
 --- a/arch/arm/boot/dts/sun4i-a10.dtsi
 +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
 @@ -66,7 +66,7 @@
index 981ef5ba781b9cdb2ae84588bb5b6231388c61cb..397269076cd85ebc8c0f0854504bb9692ea77764 100644 (file)
@@ -13,8 +13,6 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  arch/arm/boot/dts/sun7i-a20.dtsi | 32 +++++++++++++++++++++++++++++---
  1 file changed, 29 insertions(+), 3 deletions(-)
 
  arch/arm/boot/dts/sun7i-a20.dtsi | 32 +++++++++++++++++++++++++++++---
  1 file changed, 29 insertions(+), 3 deletions(-)
 
-diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
-index e02eb72..21169c0 100644
 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
 @@ -68,7 +68,7 @@
 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
 @@ -68,7 +68,7 @@
index 04a536f330850e081b648f7ee369ee9875c4d2a5..8bc66274c373d426d7832ee45516245457a90ce4 100644 (file)
@@ -24,10 +24,6 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  4 files changed, 121 insertions(+)
  create mode 100644 drivers/clk/sunxi/clk-sun8i-bus-gates.c
 
  4 files changed, 121 insertions(+)
  create mode 100644 drivers/clk/sunxi/clk-sun8i-bus-gates.c
 
-diff --git a/Documentation/devicetree/bindings/clock/sunxi.txt b/Documentation/devicetree/bindings/clock/sunxi.txt
-index ef0b452..014eab8 100644
-diff --git a/drivers/clk/sunxi/Makefile b/drivers/clk/sunxi/Makefile
-index 103efab..abf4916 100644
 --- a/drivers/clk/sunxi/Makefile
 +++ b/drivers/clk/sunxi/Makefile
 @@ -10,6 +10,7 @@ obj-y += clk-a10-pll2.o
 --- a/drivers/clk/sunxi/Makefile
 +++ b/drivers/clk/sunxi/Makefile
 @@ -10,6 +10,7 @@ obj-y += clk-a10-pll2.o
@@ -38,9 +34,6 @@ index 103efab..abf4916 100644
  obj-y += clk-sun8i-mbus.o
  obj-y += clk-sun9i-core.o
  obj-y += clk-sun9i-mmc.o
  obj-y += clk-sun8i-mbus.o
  obj-y += clk-sun9i-core.o
  obj-y += clk-sun9i-mmc.o
-diff --git a/drivers/clk/sunxi/clk-sun8i-bus-gates.c b/drivers/clk/sunxi/clk-sun8i-bus-gates.c
-new file mode 100644
-index 0000000..7ab60c5
 --- /dev/null
 +++ b/drivers/clk/sunxi/clk-sun8i-bus-gates.c
 @@ -0,0 +1,112 @@
 --- /dev/null
 +++ b/drivers/clk/sunxi/clk-sun8i-bus-gates.c
 @@ -0,0 +1,112 @@
@@ -156,11 +149,9 @@ index 0000000..7ab60c5
 +
 +CLK_OF_DECLARE(sun8i_h3_bus_gates, "allwinner,sun8i-h3-bus-gates-clk",
 +             sun8i_h3_bus_gates_init);
 +
 +CLK_OF_DECLARE(sun8i_h3_bus_gates, "allwinner,sun8i-h3-bus-gates-clk",
 +             sun8i_h3_bus_gates_init);
-diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
-index 9c79af0c..5ba2188 100644
 --- a/drivers/clk/sunxi/clk-sunxi.c
 +++ b/drivers/clk/sunxi/clk-sunxi.c
 --- a/drivers/clk/sunxi/clk-sunxi.c
 +++ b/drivers/clk/sunxi/clk-sunxi.c
-@@ -778,6 +778,10 @@ static const struct mux_data sun6i_a31_ahb1_mux_data __initconst = {
+@@ -778,6 +778,10 @@ static const struct mux_data sun6i_a31_a
        .shift = 12,
  };
  
        .shift = 12,
  };
  
@@ -171,7 +162,7 @@ index 9c79af0c..5ba2188 100644
  static void __init sunxi_mux_clk_setup(struct device_node *node,
                                       struct mux_data *data)
  {
  static void __init sunxi_mux_clk_setup(struct device_node *node,
                                       struct mux_data *data)
  {
-@@ -1130,6 +1134,7 @@ static const struct of_device_id clk_divs_match[] __initconst = {
+@@ -1130,6 +1134,7 @@ static const struct of_device_id clk_div
  static const struct of_device_id clk_mux_match[] __initconst = {
        {.compatible = "allwinner,sun4i-a10-cpu-clk", .data = &sun4i_cpu_mux_data,},
        {.compatible = "allwinner,sun6i-a31-ahb1-mux-clk", .data = &sun6i_a31_ahb1_mux_data,},
  static const struct of_device_id clk_mux_match[] __initconst = {
        {.compatible = "allwinner,sun4i-a10-cpu-clk", .data = &sun4i_cpu_mux_data,},
        {.compatible = "allwinner,sun6i-a31-ahb1-mux-clk", .data = &sun6i_a31_ahb1_mux_data,},
@@ -179,7 +170,7 @@ index 9c79af0c..5ba2188 100644
        {}
  };
  
        {}
  };
  
-@@ -1212,6 +1217,7 @@ CLK_OF_DECLARE(sun6i_a31_clk_init, "allwinner,sun6i-a31", sun6i_init_clocks);
+@@ -1212,6 +1217,7 @@ CLK_OF_DECLARE(sun6i_a31_clk_init, "allw
  CLK_OF_DECLARE(sun6i_a31s_clk_init, "allwinner,sun6i-a31s", sun6i_init_clocks);
  CLK_OF_DECLARE(sun8i_a23_clk_init, "allwinner,sun8i-a23", sun6i_init_clocks);
  CLK_OF_DECLARE(sun8i_a33_clk_init, "allwinner,sun8i-a33", sun6i_init_clocks);
  CLK_OF_DECLARE(sun6i_a31s_clk_init, "allwinner,sun6i-a31s", sun6i_init_clocks);
  CLK_OF_DECLARE(sun8i_a23_clk_init, "allwinner,sun8i-a23", sun6i_init_clocks);
  CLK_OF_DECLARE(sun8i_a33_clk_init, "allwinner,sun8i-a33", sun6i_init_clocks);
index 19e957bd61ad9eeffc1515519be11317236cf85b..35a653c5fe3ad583d3bd8e5332d8f9193d6022cc 100644 (file)
@@ -13,9 +13,6 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  1 file changed, 497 insertions(+)
  create mode 100644 arch/arm/boot/dts/sun8i-h3.dtsi
 
  1 file changed, 497 insertions(+)
  create mode 100644 arch/arm/boot/dts/sun8i-h3.dtsi
 
-diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
-new file mode 100644
-index 0000000..1524130e
 --- /dev/null
 +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
 @@ -0,0 +1,497 @@
 --- /dev/null
 +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
 @@ -0,0 +1,497 @@
index 589a85856c9cbe26a6cab589b737554d984df7f5..67094a4beb076c1e2dbd83680bf5680baa596e5d 100644 (file)
@@ -17,11 +17,9 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  2 files changed, 79 insertions(+), 1 deletion(-)
  create mode 100644 arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
 
  2 files changed, 79 insertions(+), 1 deletion(-)
  create mode 100644 arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
 
-diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
-index e8f44c7..cc7309b 100644
 --- a/arch/arm/boot/dts/Makefile
 +++ b/arch/arm/boot/dts/Makefile
 --- a/arch/arm/boot/dts/Makefile
 +++ b/arch/arm/boot/dts/Makefile
-@@ -661,7 +661,8 @@ dtb-$(CONFIG_MACH_SUN8I) += \
+@@ -660,7 +660,8 @@ dtb-$(CONFIG_MACH_SUN8I) += \
        sun8i-a33-ga10h-v1.1.dtb \
        sun8i-a33-ippo-q8h-v1.2.dtb \
        sun8i-a33-q8-tablet.dtb \
        sun8i-a33-ga10h-v1.1.dtb \
        sun8i-a33-ippo-q8h-v1.2.dtb \
        sun8i-a33-q8-tablet.dtb \
@@ -31,9 +29,6 @@ index e8f44c7..cc7309b 100644
  dtb-$(CONFIG_MACH_SUN9I) += \
        sun9i-a80-optimus.dtb \
        sun9i-a80-cubieboard4.dtb
  dtb-$(CONFIG_MACH_SUN9I) += \
        sun9i-a80-optimus.dtb \
        sun9i-a80-cubieboard4.dtb
-diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
-new file mode 100644
-index 0000000..e67df59
 --- /dev/null
 +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
 @@ -0,0 +1,77 @@
 --- /dev/null
 +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
 @@ -0,0 +1,77 @@
index 970de980f180d71f0e002d3b4fc1b7fab8cb6b50..7715b585d0a6bb17a7ad90a45a1b1634c3565f68 100644 (file)
@@ -13,8 +13,6 @@ Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
  drivers/phy/phy-sun4i-usb.c | 121 +++++++++++++++++++++++++++++---------------
  1 file changed, 79 insertions(+), 42 deletions(-)
 
  drivers/phy/phy-sun4i-usb.c | 121 +++++++++++++++++++++++++++++---------------
  1 file changed, 79 insertions(+), 42 deletions(-)
 
-diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c
-index b12964b..35b1fa3 100644
 --- a/drivers/phy/phy-sun4i-usb.c
 +++ b/drivers/phy/phy-sun4i-usb.c
 @@ -32,6 +32,7 @@
 --- a/drivers/phy/phy-sun4i-usb.c
 +++ b/drivers/phy/phy-sun4i-usb.c
 @@ -32,6 +32,7 @@
@@ -52,7 +50,7 @@ index b12964b..35b1fa3 100644
        struct sun4i_usb_phy {
                struct phy *phy;
                void __iomem *pmu;
        struct sun4i_usb_phy {
                struct phy *phy;
                void __iomem *pmu;
-@@ -159,17 +171,14 @@ static void sun4i_usb_phy_write(struct sun4i_usb_phy *phy, u32 addr, u32 data,
+@@ -159,17 +171,14 @@ static void sun4i_usb_phy_write(struct s
  {
        struct sun4i_usb_phy_data *phy_data = to_sun4i_usb_phy_data(phy);
        u32 temp, usbc_bit = BIT(phy->index * 2);
  {
        struct sun4i_usb_phy_data *phy_data = to_sun4i_usb_phy_data(phy);
        u32 temp, usbc_bit = BIT(phy->index * 2);
@@ -72,7 +70,7 @@ index b12964b..35b1fa3 100644
        }
  
        for (i = 0; i < len; i++) {
        }
  
        for (i = 0; i < len; i++) {
-@@ -249,7 +258,8 @@ static int sun4i_usb_phy_init(struct phy *_phy)
+@@ -249,7 +258,8 @@ static int sun4i_usb_phy_init(struct phy
        sun4i_usb_phy_write(phy, PHY_TX_AMPLITUDE_TUNE, 0x14, 5);
  
        /* Disconnect threshold adjustment */
        sun4i_usb_phy_write(phy, PHY_TX_AMPLITUDE_TUNE, 0x14, 5);
  
        /* Disconnect threshold adjustment */
@@ -82,7 +80,7 @@ index b12964b..35b1fa3 100644
  
        sun4i_usb_phy_passby(phy, 1);
  
  
        sun4i_usb_phy_passby(phy, 1);
  
-@@ -476,7 +486,7 @@ static struct phy *sun4i_usb_phy_xlate(struct device *dev,
+@@ -476,7 +486,7 @@ static struct phy *sun4i_usb_phy_xlate(s
  {
        struct sun4i_usb_phy_data *data = dev_get_drvdata(dev);
  
  {
        struct sun4i_usb_phy_data *data = dev_get_drvdata(dev);
  
@@ -91,7 +89,7 @@ index b12964b..35b1fa3 100644
                return ERR_PTR(-ENODEV);
  
        return data->phys[args->args[0]].phy;
                return ERR_PTR(-ENODEV);
  
        return data->phys[args->args[0]].phy;
-@@ -511,7 +521,6 @@ static int sun4i_usb_phy_probe(struct platform_device *pdev)
+@@ -511,7 +521,6 @@ static int sun4i_usb_phy_probe(struct pl
        struct device *dev = &pdev->dev;
        struct device_node *np = dev->of_node;
        struct phy_provider *phy_provider;
        struct device *dev = &pdev->dev;
        struct device_node *np = dev->of_node;
        struct phy_provider *phy_provider;
@@ -99,7 +97,7 @@ index b12964b..35b1fa3 100644
        struct resource *res;
        int i, ret;
  
        struct resource *res;
        int i, ret;
  
-@@ -522,29 +531,9 @@ static int sun4i_usb_phy_probe(struct platform_device *pdev)
+@@ -522,29 +531,9 @@ static int sun4i_usb_phy_probe(struct pl
        mutex_init(&data->mutex);
        INIT_DELAYED_WORK(&data->detect, sun4i_usb_phy0_id_vbus_det_scan);
        dev_set_drvdata(dev, data);
        mutex_init(&data->mutex);
        INIT_DELAYED_WORK(&data->detect, sun4i_usb_phy0_id_vbus_det_scan);
        dev_set_drvdata(dev, data);
@@ -132,7 +130,7 @@ index b12964b..35b1fa3 100644
  
        res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "phy_ctrl");
        data->base = devm_ioremap_resource(dev, res);
  
        res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "phy_ctrl");
        data->base = devm_ioremap_resource(dev, res);
-@@ -590,7 +579,7 @@ static int sun4i_usb_phy_probe(struct platform_device *pdev)
+@@ -590,7 +579,7 @@ static int sun4i_usb_phy_probe(struct pl
                }
        }
  
                }
        }
  
@@ -141,7 +139,7 @@ index b12964b..35b1fa3 100644
                struct sun4i_usb_phy *phy = data->phys + i;
                char name[16];
  
                struct sun4i_usb_phy *phy = data->phys + i;
                char name[16];
  
-@@ -602,7 +591,7 @@ static int sun4i_usb_phy_probe(struct platform_device *pdev)
+@@ -602,7 +591,7 @@ static int sun4i_usb_phy_probe(struct pl
                        phy->vbus = NULL;
                }
  
                        phy->vbus = NULL;
                }
  
@@ -150,7 +148,7 @@ index b12964b..35b1fa3 100644
                        snprintf(name, sizeof(name), "usb%d_phy", i);
                else
                        strlcpy(name, "usb_phy", sizeof(name));
                        snprintf(name, sizeof(name), "usb%d_phy", i);
                else
                        strlcpy(name, "usb_phy", sizeof(name));
-@@ -689,13 +678,61 @@ static int sun4i_usb_phy_probe(struct platform_device *pdev)
+@@ -689,13 +678,61 @@ static int sun4i_usb_phy_probe(struct pl
        return 0;
  }
  
        return 0;
  }
  
index 47c6332a772aea23d1ec345969a444b65d0dc392..33943230e8efb891c7109b973d9be06f267beee0 100644 (file)
@@ -16,8 +16,6 @@ Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
  drivers/phy/phy-sun4i-usb.c                        | 41 +++++++++++++++++-----
  2 files changed, 33 insertions(+), 9 deletions(-)
 
  drivers/phy/phy-sun4i-usb.c                        | 41 +++++++++++++++++-----
  2 files changed, 33 insertions(+), 9 deletions(-)
 
-diff --git a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt
-index 0cebf74..95736d7 100644
 --- a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt
 +++ b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt
 @@ -9,6 +9,7 @@ Required properties:
 --- a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt
 +++ b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt
 @@ -9,6 +9,7 @@ Required properties:
@@ -28,8 +26,6 @@ index 0cebf74..95736d7 100644
  - reg : a list of offset + length pairs
  - reg-names :
    * "phy_ctrl"
  - reg : a list of offset + length pairs
  - reg-names :
    * "phy_ctrl"
-diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c
-index 35b1fa3..bae54f7 100644
 --- a/drivers/phy/phy-sun4i-usb.c
 +++ b/drivers/phy/phy-sun4i-usb.c
 @@ -47,6 +47,9 @@
 --- a/drivers/phy/phy-sun4i-usb.c
 +++ b/drivers/phy/phy-sun4i-usb.c
 @@ -47,6 +47,9 @@
@@ -59,7 +55,7 @@ index 35b1fa3..bae54f7 100644
  };
  
  struct sun4i_usb_phy_cfg {
  };
  
  struct sun4i_usb_phy_cfg {
-@@ -239,6 +243,7 @@ static int sun4i_usb_phy_init(struct phy *_phy)
+@@ -239,6 +243,7 @@ static int sun4i_usb_phy_init(struct phy
        struct sun4i_usb_phy *phy = phy_get_drvdata(_phy);
        struct sun4i_usb_phy_data *data = to_sun4i_usb_phy_data(phy);
        int ret;
        struct sun4i_usb_phy *phy = phy_get_drvdata(_phy);
        struct sun4i_usb_phy_data *data = to_sun4i_usb_phy_data(phy);
        int ret;
@@ -67,13 +63,20 @@ index 35b1fa3..bae54f7 100644
  
        ret = clk_prepare_enable(phy->clk);
        if (ret)
  
        ret = clk_prepare_enable(phy->clk);
        if (ret)
-@@ -250,16 +255,26 @@ static int sun4i_usb_phy_init(struct phy *_phy)
+@@ -250,16 +255,26 @@ static int sun4i_usb_phy_init(struct phy
                return ret;
        }
  
 -      /* Enable USB 45 Ohm resistor calibration */
 -      if (phy->index == 0)
 -              sun4i_usb_phy_write(phy, PHY_RES45_CAL_EN, 0x01, 1);
                return ret;
        }
  
 -      /* Enable USB 45 Ohm resistor calibration */
 -      if (phy->index == 0)
 -              sun4i_usb_phy_write(phy, PHY_RES45_CAL_EN, 0x01, 1);
+-
+-      /* Adjust PHY's magnitude and rate */
+-      sun4i_usb_phy_write(phy, PHY_TX_AMPLITUDE_TUNE, 0x14, 5);
+-
+-      /* Disconnect threshold adjustment */
+-      sun4i_usb_phy_write(phy, PHY_DISCON_TH_SEL,
+-                          data->cfg->disc_thresh, 2);
 +      if (data->cfg->type == sun8i_h3_phy) {
 +              if (phy->index == 0) {
 +                      val = readl(data->base + REG_PHY_UNK_H3);
 +      if (data->cfg->type == sun8i_h3_phy) {
 +              if (phy->index == 0) {
 +                      val = readl(data->base + REG_PHY_UNK_H3);
@@ -86,15 +89,10 @@ index 35b1fa3..bae54f7 100644
 +              /* Enable USB 45 Ohm resistor calibration */
 +              if (phy->index == 0)
 +                      sun4i_usb_phy_write(phy, PHY_RES45_CAL_EN, 0x01, 1);
 +              /* Enable USB 45 Ohm resistor calibration */
 +              if (phy->index == 0)
 +                      sun4i_usb_phy_write(phy, PHY_RES45_CAL_EN, 0x01, 1);
--      /* Adjust PHY's magnitude and rate */
--      sun4i_usb_phy_write(phy, PHY_TX_AMPLITUDE_TUNE, 0x14, 5);
++
 +              /* Adjust PHY's magnitude and rate */
 +              sun4i_usb_phy_write(phy, PHY_TX_AMPLITUDE_TUNE, 0x14, 5);
 +              /* Adjust PHY's magnitude and rate */
 +              sun4i_usb_phy_write(phy, PHY_TX_AMPLITUDE_TUNE, 0x14, 5);
--      /* Disconnect threshold adjustment */
--      sun4i_usb_phy_write(phy, PHY_DISCON_TH_SEL,
--                          data->cfg->disc_thresh, 2);
++
 +              /* Disconnect threshold adjustment */
 +              sun4i_usb_phy_write(phy, PHY_DISCON_TH_SEL,
 +                                  data->cfg->disc_thresh, 2);
 +              /* Disconnect threshold adjustment */
 +              sun4i_usb_phy_write(phy, PHY_DISCON_TH_SEL,
 +                                  data->cfg->disc_thresh, 2);
@@ -102,7 +100,7 @@ index 35b1fa3..bae54f7 100644
  
        sun4i_usb_phy_passby(phy, 1);
  
  
        sun4i_usb_phy_passby(phy, 1);
  
-@@ -726,6 +741,13 @@ static const struct sun4i_usb_phy_cfg sun8i_a33_cfg = {
+@@ -726,6 +741,13 @@ static const struct sun4i_usb_phy_cfg su
        .dedicated_clocks = true,
  };
  
        .dedicated_clocks = true,
  };
  
@@ -116,7 +114,7 @@ index 35b1fa3..bae54f7 100644
  static const struct of_device_id sun4i_usb_phy_of_match[] = {
        { .compatible = "allwinner,sun4i-a10-usb-phy", .data = &sun4i_a10_cfg },
        { .compatible = "allwinner,sun5i-a13-usb-phy", .data = &sun5i_a13_cfg },
  static const struct of_device_id sun4i_usb_phy_of_match[] = {
        { .compatible = "allwinner,sun4i-a10-usb-phy", .data = &sun4i_a10_cfg },
        { .compatible = "allwinner,sun5i-a13-usb-phy", .data = &sun5i_a13_cfg },
-@@ -733,6 +755,7 @@ static const struct of_device_id sun4i_usb_phy_of_match[] = {
+@@ -733,6 +755,7 @@ static const struct of_device_id sun4i_u
        { .compatible = "allwinner,sun7i-a20-usb-phy", .data = &sun7i_a20_cfg },
        { .compatible = "allwinner,sun8i-a23-usb-phy", .data = &sun8i_a23_cfg },
        { .compatible = "allwinner,sun8i-a33-usb-phy", .data = &sun8i_a33_cfg },
        { .compatible = "allwinner,sun7i-a20-usb-phy", .data = &sun7i_a20_cfg },
        { .compatible = "allwinner,sun8i-a23-usb-phy", .data = &sun8i_a23_cfg },
        { .compatible = "allwinner,sun8i-a33-usb-phy", .data = &sun8i_a33_cfg },
index 7cd0a625574691864a20fa5a7a822e5a1f98cbed..ddd5e978f4ef5875ecc1aafd87da473997028c16 100644 (file)
@@ -17,8 +17,6 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  drivers/clk/sunxi/clk-usb.c                       | 12 ++++++++++++
  2 files changed, 13 insertions(+)
 
  drivers/clk/sunxi/clk-usb.c                       | 12 ++++++++++++
  2 files changed, 13 insertions(+)
 
-diff --git a/Documentation/devicetree/bindings/clock/sunxi.txt b/Documentation/devicetree/bindings/clock/sunxi.txt
-index 8a47b77..a94bb56 100644
 --- a/Documentation/devicetree/bindings/clock/sunxi.txt
 +++ b/Documentation/devicetree/bindings/clock/sunxi.txt
 @@ -68,6 +68,7 @@ Required properties:
 --- a/Documentation/devicetree/bindings/clock/sunxi.txt
 +++ b/Documentation/devicetree/bindings/clock/sunxi.txt
 @@ -68,6 +68,7 @@ Required properties:
@@ -29,11 +27,9 @@ index 8a47b77..a94bb56 100644
        "allwinner,sun9i-a80-usb-mod-clk" - for usb gates + resets on A80
        "allwinner,sun9i-a80-usb-phy-clk" - for usb phy gates + resets on A80
  
        "allwinner,sun9i-a80-usb-mod-clk" - for usb gates + resets on A80
        "allwinner,sun9i-a80-usb-phy-clk" - for usb phy gates + resets on A80
  
-diff --git a/drivers/clk/sunxi/clk-usb.c b/drivers/clk/sunxi/clk-usb.c
-index 1a72cd6..67b8e38 100644
 --- a/drivers/clk/sunxi/clk-usb.c
 +++ b/drivers/clk/sunxi/clk-usb.c
 --- a/drivers/clk/sunxi/clk-usb.c
 +++ b/drivers/clk/sunxi/clk-usb.c
-@@ -243,3 +243,15 @@ static void __init sun9i_a80_usb_phy_setup(struct device_node *node)
+@@ -243,3 +243,15 @@ static void __init sun9i_a80_usb_phy_set
        sunxi_usb_clk_setup(node, &sun9i_a80_usb_phy_data, &a80_usb_phy_lock);
  }
  CLK_OF_DECLARE(sun9i_a80_usb_phy, "allwinner,sun9i-a80-usb-phy-clk", sun9i_a80_usb_phy_setup);
        sunxi_usb_clk_setup(node, &sun9i_a80_usb_phy_data, &a80_usb_phy_lock);
  }
  CLK_OF_DECLARE(sun9i_a80_usb_phy, "allwinner,sun9i-a80-usb-phy-clk", sun9i_a80_usb_phy_setup);
index 12c9e5e2af8c9b2e3880c3e62fb6108ffd7fc655..780e0340629c416f2f29602abfa31bdcafb611c9 100644 (file)
@@ -20,11 +20,9 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  3 files changed, 176 insertions(+)
  create mode 100644 drivers/clk/sunxi/clk-a10-ve.c
 
  3 files changed, 176 insertions(+)
  create mode 100644 drivers/clk/sunxi/clk-a10-ve.c
 
-diff --git a/Documentation/devicetree/bindings/clock/sunxi.txt b/Documentation/devicetree/bindings/clock/sunxi.txt
-index 014eab8..e59f57b 100644
 --- a/Documentation/devicetree/bindings/clock/sunxi.txt
 +++ b/Documentation/devicetree/bindings/clock/sunxi.txt
 --- a/Documentation/devicetree/bindings/clock/sunxi.txt
 +++ b/Documentation/devicetree/bindings/clock/sunxi.txt
-@@ -76,6 +76,7 @@ Required properties:
+@@ -71,6 +71,7 @@ Required properties:
        "allwinner,sun8i-h3-usb-clk" - for usb gates + resets on H3
        "allwinner,sun9i-a80-usb-mod-clk" - for usb gates + resets on A80
        "allwinner,sun9i-a80-usb-phy-clk" - for usb phy gates + resets on A80
        "allwinner,sun8i-h3-usb-clk" - for usb gates + resets on H3
        "allwinner,sun9i-a80-usb-mod-clk" - for usb gates + resets on A80
        "allwinner,sun9i-a80-usb-phy-clk" - for usb phy gates + resets on A80
@@ -32,7 +30,7 @@ index 014eab8..e59f57b 100644
  
  Required properties for all clocks:
  - reg : shall be the control register address for the clock.
  
  Required properties for all clocks:
  - reg : shall be the control register address for the clock.
-@@ -95,6 +96,9 @@ Required properties for all clocks:
+@@ -90,6 +91,9 @@ Required properties for all clocks:
  And "allwinner,*-usb-clk" clocks also require:
  - reset-cells : shall be set to 1
  
  And "allwinner,*-usb-clk" clocks also require:
  - reset-cells : shall be set to 1
  
@@ -42,8 +40,6 @@ index 014eab8..e59f57b 100644
  The "allwinner,sun9i-a80-mmc-config-clk" clock also requires:
  - #reset-cells : shall be set to 1
  - resets : shall be the reset control phandle for the mmc block.
  The "allwinner,sun9i-a80-mmc-config-clk" clock also requires:
  - #reset-cells : shall be set to 1
  - resets : shall be the reset control phandle for the mmc block.
-diff --git a/drivers/clk/sunxi/Makefile b/drivers/clk/sunxi/Makefile
-index abf4916..1a909f9 100644
 --- a/drivers/clk/sunxi/Makefile
 +++ b/drivers/clk/sunxi/Makefile
 @@ -7,6 +7,7 @@ obj-y += clk-a10-codec.o
 --- a/drivers/clk/sunxi/Makefile
 +++ b/drivers/clk/sunxi/Makefile
 @@ -7,6 +7,7 @@ obj-y += clk-a10-codec.o
@@ -54,9 +50,6 @@ index abf4916..1a909f9 100644
  obj-y += clk-a20-gmac.o
  obj-y += clk-mod0.o
  obj-y += clk-simple-gates.o
  obj-y += clk-a20-gmac.o
  obj-y += clk-mod0.o
  obj-y += clk-simple-gates.o
-diff --git a/drivers/clk/sunxi/clk-a10-ve.c b/drivers/clk/sunxi/clk-a10-ve.c
-new file mode 100644
-index 0000000..044c171
 --- /dev/null
 +++ b/drivers/clk/sunxi/clk-a10-ve.c
 @@ -0,0 +1,171 @@
 --- /dev/null
 +++ b/drivers/clk/sunxi/clk-a10-ve.c
 @@ -0,0 +1,171 @@
index f24711ea4199b77b424c89aff3f57065edf8f552..cfcf9bfb409f3a23648c071a7486b7e98b58ce8d 100644 (file)
@@ -12,8 +12,6 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  arch/arm/boot/dts/sun4i-a10.dtsi | 9 +++++++++
  1 file changed, 9 insertions(+)
 
  arch/arm/boot/dts/sun4i-a10.dtsi | 9 +++++++++
  1 file changed, 9 insertions(+)
 
-diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
-index 849d024..2c8f5e6 100644
 --- a/arch/arm/boot/dts/sun4i-a10.dtsi
 +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
 @@ -520,6 +520,15 @@
 --- a/arch/arm/boot/dts/sun4i-a10.dtsi
 +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
 @@ -520,6 +520,15 @@
index bac58d088e8b9e3d00bb1b65dea396f1c2752f8e..85d2d31615633cd9df13f55a18f8c1c77dc51842 100644 (file)
@@ -12,8 +12,6 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  arch/arm/boot/dts/sun7i-a20.dtsi | 9 +++++++++
  1 file changed, 9 insertions(+)
 
  arch/arm/boot/dts/sun7i-a20.dtsi | 9 +++++++++
  1 file changed, 9 insertions(+)
 
-diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
-index 21169c0..0940a78 100644
 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
 @@ -527,6 +527,15 @@
 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
 @@ -527,6 +527,15 @@
index 3814e347fd7935ab63252791664c78ea925e556a..49c7162a6ab4eb73920597cf738868298f642e6b 100644 (file)
@@ -11,11 +11,9 @@ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  drivers/usb/musb/sunxi.c | 4 ++++
  1 file changed, 4 insertions(+)
 
  drivers/usb/musb/sunxi.c | 4 ++++
  1 file changed, 4 insertions(+)
 
-diff --git a/drivers/usb/musb/sunxi.c b/drivers/usb/musb/sunxi.c
-index d9b0dc4..4b472b8 100644
 --- a/drivers/usb/musb/sunxi.c
 +++ b/drivers/usb/musb/sunxi.c
 --- a/drivers/usb/musb/sunxi.c
 +++ b/drivers/usb/musb/sunxi.c
-@@ -194,6 +194,10 @@ static irqreturn_t sunxi_musb_interrupt(int irq, void *__hci)
+@@ -194,6 +194,10 @@ static irqreturn_t sunxi_musb_interrupt(
                musb_writeb(musb->mregs, MUSB_FADDR, 0);
        }
  
                musb_writeb(musb->mregs, MUSB_FADDR, 0);
        }
  
index 3dfa60c77ec8042d159e791e02b14bbf9f1cec43..261a19d8d3a77f55f8f3d54f18d7ae5181c56189 100644 (file)
@@ -17,11 +17,9 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  drivers/crypto/sunxi-ss/sun4i-ss-core.c | 2 ++
  1 file changed, 2 insertions(+)
 
  drivers/crypto/sunxi-ss/sun4i-ss-core.c | 2 ++
  1 file changed, 2 insertions(+)
 
-diff --git a/drivers/crypto/sunxi-ss/sun4i-ss-core.c b/drivers/crypto/sunxi-ss/sun4i-ss-core.c
-index eab6fe2..107cd2a 100644
 --- a/drivers/crypto/sunxi-ss/sun4i-ss-core.c
 +++ b/drivers/crypto/sunxi-ss/sun4i-ss-core.c
 --- a/drivers/crypto/sunxi-ss/sun4i-ss-core.c
 +++ b/drivers/crypto/sunxi-ss/sun4i-ss-core.c
-@@ -39,6 +39,7 @@ static struct sun4i_ss_alg_template ss_algs[] = {
+@@ -39,6 +39,7 @@ static struct sun4i_ss_alg_template ss_a
                .import = sun4i_hash_import_md5,
                .halg = {
                        .digestsize = MD5_DIGEST_SIZE,
                .import = sun4i_hash_import_md5,
                .halg = {
                        .digestsize = MD5_DIGEST_SIZE,
@@ -29,7 +27,7 @@ index eab6fe2..107cd2a 100644
                        .base = {
                                .cra_name = "md5",
                                .cra_driver_name = "md5-sun4i-ss",
                        .base = {
                                .cra_name = "md5",
                                .cra_driver_name = "md5-sun4i-ss",
-@@ -66,6 +67,7 @@ static struct sun4i_ss_alg_template ss_algs[] = {
+@@ -66,6 +67,7 @@ static struct sun4i_ss_alg_template ss_a
                .import = sun4i_hash_import_sha1,
                .halg = {
                        .digestsize = SHA1_DIGEST_SIZE,
                .import = sun4i_hash_import_sha1,
                .halg = {
                        .digestsize = SHA1_DIGEST_SIZE,
index 37921fa984031df6f652ab7c913a5c41c9f2474b..47dce12a9d3bc7e71d19d848ed0b8b3d5eb5e25b 100644 (file)
@@ -16,8 +16,6 @@ Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  4 files changed, 522 insertions(+)
  create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
 
  4 files changed, 522 insertions(+)
  create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
 
-diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
-index b321b26..e6ba602 100644
 --- a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
 +++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
 @@ -18,6 +18,7 @@ Required properties:
 --- a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
 +++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
 @@ -18,6 +18,7 @@ Required properties:
@@ -28,8 +26,6 @@ index b321b26..e6ba602 100644
  
  - reg: Should contain the register physical address and length for the
    pin controller.
  
  - reg: Should contain the register physical address and length for the
    pin controller.
-diff --git a/drivers/pinctrl/sunxi/Kconfig b/drivers/pinctrl/sunxi/Kconfig
-index e68fd95..89ab7f5 100644
 --- a/drivers/pinctrl/sunxi/Kconfig
 +++ b/drivers/pinctrl/sunxi/Kconfig
 @@ -51,6 +51,10 @@ config PINCTRL_SUN8I_A23_R
 --- a/drivers/pinctrl/sunxi/Kconfig
 +++ b/drivers/pinctrl/sunxi/Kconfig
 @@ -51,6 +51,10 @@ config PINCTRL_SUN8I_A23_R
@@ -43,19 +39,14 @@ index e68fd95..89ab7f5 100644
  config PINCTRL_SUN9I_A80
        def_bool MACH_SUN9I
        select PINCTRL_SUNXI_COMMON
  config PINCTRL_SUN9I_A80
        def_bool MACH_SUN9I
        select PINCTRL_SUNXI_COMMON
-diff --git a/drivers/pinctrl/sunxi/Makefile b/drivers/pinctrl/sunxi/Makefile
-index e080290..6bd818e 100644
 --- a/drivers/pinctrl/sunxi/Makefile
 +++ b/drivers/pinctrl/sunxi/Makefile
 --- a/drivers/pinctrl/sunxi/Makefile
 +++ b/drivers/pinctrl/sunxi/Makefile
-@@ -13,4 +13,5 @@ obj-$(CONFIG_PINCTRL_SUN8I_A23)              += pinctrl-sun8i-a23.o
+@@ -13,4 +13,5 @@ obj-$(CONFIG_PINCTRL_SUN8I_A23)              += pinc
  obj-$(CONFIG_PINCTRL_SUN8I_A23_R)     += pinctrl-sun8i-a23-r.o
  obj-$(CONFIG_PINCTRL_SUN8I_A33)               += pinctrl-sun8i-a33.o
  obj-$(CONFIG_PINCTRL_SUN8I_A83T)      += pinctrl-sun8i-a83t.o
 +obj-$(CONFIG_PINCTRL_SUN8I_H3)                += pinctrl-sun8i-h3.o
  obj-$(CONFIG_PINCTRL_SUN9I_A80)               += pinctrl-sun9i-a80.o
  obj-$(CONFIG_PINCTRL_SUN8I_A23_R)     += pinctrl-sun8i-a23-r.o
  obj-$(CONFIG_PINCTRL_SUN8I_A33)               += pinctrl-sun8i-a33.o
  obj-$(CONFIG_PINCTRL_SUN8I_A83T)      += pinctrl-sun8i-a83t.o
 +obj-$(CONFIG_PINCTRL_SUN8I_H3)                += pinctrl-sun8i-h3.o
  obj-$(CONFIG_PINCTRL_SUN9I_A80)               += pinctrl-sun9i-a80.o
-diff --git a/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c b/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
-new file mode 100644
-index 0000000..98d465d
 --- /dev/null
 +++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
 @@ -0,0 +1,516 @@
 --- /dev/null
 +++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
 @@ -0,0 +1,516 @@
index a07cbe5797ed4a7b51f62fe3c95fd6e201e59eec..f8e599fbe39c3d159f994a95b965c0c4e157576b 100644 (file)
@@ -12,8 +12,6 @@ Signed-off-by: Jens Kuske <jenskuske@gmail.com>
  drivers/reset/reset-sunxi.c                        | 30 +++++++++++++++++++---
  2 files changed, 28 insertions(+), 3 deletions(-)
 
  drivers/reset/reset-sunxi.c                        | 30 +++++++++++++++++++---
  2 files changed, 28 insertions(+), 3 deletions(-)
 
-diff --git a/Documentation/devicetree/bindings/reset/allwinner,sunxi-clock-reset.txt b/Documentation/devicetree/bindings/reset/allwinner,sunxi-clock-reset.txt
-index c8f77571..e11f023 100644
 --- a/Documentation/devicetree/bindings/reset/allwinner,sunxi-clock-reset.txt
 +++ b/Documentation/devicetree/bindings/reset/allwinner,sunxi-clock-reset.txt
 @@ -8,6 +8,7 @@ Required properties:
 --- a/Documentation/devicetree/bindings/reset/allwinner,sunxi-clock-reset.txt
 +++ b/Documentation/devicetree/bindings/reset/allwinner,sunxi-clock-reset.txt
 @@ -8,6 +8,7 @@ Required properties:
@@ -24,11 +22,9 @@ index c8f77571..e11f023 100644
  - reg: should be register base and length as documented in the
    datasheet
  - #reset-cells: 1, see below
  - reg: should be register base and length as documented in the
    datasheet
  - #reset-cells: 1, see below
-diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c
-index 3d95c87..c91e146 100644
 --- a/drivers/reset/reset-sunxi.c
 +++ b/drivers/reset/reset-sunxi.c
 --- a/drivers/reset/reset-sunxi.c
 +++ b/drivers/reset/reset-sunxi.c
-@@ -75,7 +75,9 @@ static struct reset_control_ops sunxi_reset_ops = {
+@@ -75,7 +75,9 @@ static struct reset_control_ops sunxi_re
        .deassert       = sunxi_reset_deassert,
  };
  
        .deassert       = sunxi_reset_deassert,
  };
  
@@ -39,7 +35,7 @@ index 3d95c87..c91e146 100644
  {
        struct sunxi_reset_data *data;
        struct resource res;
  {
        struct sunxi_reset_data *data;
        struct resource res;
-@@ -108,6 +110,7 @@ static int sunxi_reset_init(struct device_node *np)
+@@ -108,6 +110,7 @@ static int sunxi_reset_init(struct devic
        data->rcdev.nr_resets = size * 32;
        data->rcdev.ops = &sunxi_reset_ops;
        data->rcdev.of_node = np;
        data->rcdev.nr_resets = size * 32;
        data->rcdev.ops = &sunxi_reset_ops;
        data->rcdev.of_node = np;
@@ -47,7 +43,7 @@ index 3d95c87..c91e146 100644
        reset_controller_register(&data->rcdev);
  
        return 0;
        reset_controller_register(&data->rcdev);
  
        return 0;
-@@ -117,6 +120,21 @@ static int sunxi_reset_init(struct device_node *np)
+@@ -117,6 +120,21 @@ err_alloc:
        return ret;
  };
  
        return ret;
  };
  
@@ -69,7 +65,7 @@ index 3d95c87..c91e146 100644
  /*
   * These are the reset controller we need to initialize early on in
   * our system, before we can even think of using a regular device
  /*
   * These are the reset controller we need to initialize early on in
   * our system, before we can even think of using a regular device
-@@ -124,15 +142,21 @@ static int sunxi_reset_init(struct device_node *np)
+@@ -124,15 +142,21 @@ err_alloc:
   */
  static const struct of_device_id sunxi_early_reset_dt_ids[] __initdata = {
        { .compatible = "allwinner,sun6i-a31-ahb1-reset", },
   */
  static const struct of_device_id sunxi_early_reset_dt_ids[] __initdata = {
        { .compatible = "allwinner,sun6i-a31-ahb1-reset", },
@@ -80,12 +76,13 @@ index 3d95c87..c91e146 100644
  void __init sun6i_reset_init(void)
  {
        struct device_node *np;
  void __init sun6i_reset_init(void)
  {
        struct device_node *np;
+-
+-      for_each_matching_node(np, sunxi_early_reset_dt_ids)
+-              sunxi_reset_init(np);
 +      const struct of_device_id *match;
 +      int (*of_xlate)(struct reset_controller_dev *rcdev,
 +                      const struct of_phandle_args *reset_spec);
 +      const struct of_device_id *match;
 +      int (*of_xlate)(struct reset_controller_dev *rcdev,
 +                      const struct of_phandle_args *reset_spec);
--      for_each_matching_node(np, sunxi_early_reset_dt_ids)
--              sunxi_reset_init(np);
++
 +      for_each_matching_node_and_match(np, sunxi_early_reset_dt_ids, &match) {
 +              of_xlate = match->data;
 +              sunxi_reset_init(np, of_xlate);
 +      for_each_matching_node_and_match(np, sunxi_early_reset_dt_ids, &match) {
 +              of_xlate = match->data;
 +              sunxi_reset_init(np, of_xlate);
index a38d34174c5f066ef2e3134ec32a0502c4efae54..13d44e44688e00c1340e167974eae69244245d5f 100644 (file)
@@ -11,8 +11,6 @@ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  arch/arm/boot/dts/sun8i-h3.dtsi | 12 ++++++++++++
  1 file changed, 12 insertions(+)
 
  arch/arm/boot/dts/sun8i-h3.dtsi | 12 ++++++++++++
  1 file changed, 12 insertions(+)
 
-diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
-index 1524130e..cbab947 100644
 --- a/arch/arm/boot/dts/sun8i-h3.dtsi
 +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
 @@ -269,6 +269,18 @@
 --- a/arch/arm/boot/dts/sun8i-h3.dtsi
 +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
 @@ -269,6 +269,18 @@
index 6910834297fc17ad74e84eae93476415859b02f1..78dcaa9fec846580534b820b08c608d12376b85d 100644 (file)
@@ -11,8 +11,6 @@ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  arch/arm/boot/dts/sun8i-h3.dtsi | 101 ++++++++++++++++++++++++++++++++++++++++
  1 file changed, 101 insertions(+)
 
  arch/arm/boot/dts/sun8i-h3.dtsi | 101 ++++++++++++++++++++++++++++++++++++++++
  1 file changed, 101 insertions(+)
 
-diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
-index cbab947..1169f515 100644
 --- a/arch/arm/boot/dts/sun8i-h3.dtsi
 +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
 @@ -362,6 +362,107 @@
 --- a/arch/arm/boot/dts/sun8i-h3.dtsi
 +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
 @@ -362,6 +362,107 @@
index 403e185459b15a17520d9c8a92c2cfce8b41b830..733639225c9b34ac34d87bbf6bb8da32c6d4484b 100644 (file)
@@ -13,8 +13,6 @@ Signed-off-by: Jens Kuske <jenskuske@gmail.com>
  arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 44 ++++++++++++++++++++++++++++
  1 file changed, 44 insertions(+)
 
  arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 44 ++++++++++++++++++++++++++++
  1 file changed, 44 insertions(+)
 
-diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
-index e67df59..1cb6c66 100644
 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
 +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
 @@ -58,6 +58,35 @@
 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
 +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
 @@ -58,6 +58,35 @@
index c90bbb521361ebb36011ec0722e7187d94dc9bff..a4b2af9e5a2fbd4c790f87d8c6d65cd27a8546de 100644 (file)
@@ -12,11 +12,9 @@ Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  drivers/clk/sunxi/clk-sun8i-bus-gates.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
  drivers/clk/sunxi/clk-sun8i-bus-gates.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/drivers/clk/sunxi/clk-sun8i-bus-gates.c b/drivers/clk/sunxi/clk-sun8i-bus-gates.c
-index 7ab60c5..b8c7753 100644
 --- a/drivers/clk/sunxi/clk-sun8i-bus-gates.c
 +++ b/drivers/clk/sunxi/clk-sun8i-bus-gates.c
 --- a/drivers/clk/sunxi/clk-sun8i-bus-gates.c
 +++ b/drivers/clk/sunxi/clk-sun8i-bus-gates.c
-@@ -40,7 +40,7 @@ static void __init sun8i_h3_bus_gates_init(struct device_node *node)
+@@ -40,7 +40,7 @@ static void __init sun8i_h3_bus_gates_in
        const __be32 *p;
        int number, i;
        u8 clk_bit;
        const __be32 *p;
        int number, i;
        u8 clk_bit;
index 1a48d7c23f70cebf7f730351c7ae500dad87bf27..c7e0e2bf64cd9da8225a8c3720fab4f66d4624ff 100644 (file)
@@ -16,11 +16,9 @@ Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  include/linux/reset.h |  9 +++++++++
  2 files changed, 38 insertions(+), 11 deletions(-)
 
  include/linux/reset.h |  9 +++++++++
  2 files changed, 38 insertions(+), 11 deletions(-)
 
-diff --git a/drivers/reset/core.c b/drivers/reset/core.c
-index 7955e00..81ae17d 100644
 --- a/drivers/reset/core.c
 +++ b/drivers/reset/core.c
 --- a/drivers/reset/core.c
 +++ b/drivers/reset/core.c
-@@ -141,27 +141,24 @@ int reset_control_status(struct reset_control *rstc)
+@@ -141,27 +141,24 @@ int reset_control_status(struct reset_co
  EXPORT_SYMBOL_GPL(reset_control_status);
  
  /**
  EXPORT_SYMBOL_GPL(reset_control_status);
  
  /**
@@ -56,7 +54,7 @@ index 7955e00..81ae17d 100644
        ret = of_parse_phandle_with_args(node, "resets", "#reset-cells",
                                         index, &args);
        if (ret)
        ret = of_parse_phandle_with_args(node, "resets", "#reset-cells",
                                         index, &args);
        if (ret)
-@@ -202,6 +199,27 @@ struct reset_control *of_reset_control_get(struct device_node *node,
+@@ -202,6 +199,27 @@ struct reset_control *of_reset_control_g
  
        return rstc;
  }
  
        return rstc;
  }
@@ -84,11 +82,9 @@ index 7955e00..81ae17d 100644
  EXPORT_SYMBOL_GPL(of_reset_control_get);
  
  /**
  EXPORT_SYMBOL_GPL(of_reset_control_get);
  
  /**
-diff --git a/include/linux/reset.h b/include/linux/reset.h
-index 7f65f9c..6db74ad 100644
 --- a/include/linux/reset.h
 +++ b/include/linux/reset.h
 --- a/include/linux/reset.h
 +++ b/include/linux/reset.h
-@@ -38,6 +38,9 @@ static inline struct reset_control *devm_reset_control_get_optional(
+@@ -38,6 +38,9 @@ static inline struct reset_control *devm
  struct reset_control *of_reset_control_get(struct device_node *node,
                                           const char *id);
  
  struct reset_control *of_reset_control_get(struct device_node *node,
                                           const char *id);
  
@@ -98,7 +94,7 @@ index 7f65f9c..6db74ad 100644
  #else
  
  static inline int reset_control_reset(struct reset_control *rstc)
  #else
  
  static inline int reset_control_reset(struct reset_control *rstc)
-@@ -106,6 +109,12 @@ static inline struct reset_control *of_reset_control_get(
+@@ -106,6 +109,12 @@ static inline struct reset_control *of_r
        return ERR_PTR(-ENOSYS);
  }
  
        return ERR_PTR(-ENOSYS);
  }
  
index 62891b4e8c5003d0e4f98668774d87e3d64467ee..eeab4972bace20a27dcb6967857addd848a420d9 100644 (file)
@@ -21,11 +21,9 @@ Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  drivers/reset/core.c | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
 
  drivers/reset/core.c | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
 
-diff --git a/drivers/reset/core.c b/drivers/reset/core.c
-index 81ae17d..77cfc49 100644
 --- a/drivers/reset/core.c
 +++ b/drivers/reset/core.c
 --- a/drivers/reset/core.c
 +++ b/drivers/reset/core.c
-@@ -215,9 +215,12 @@ struct reset_control *of_reset_control_get(struct device_node *node,
+@@ -215,9 +215,12 @@ struct reset_control *of_reset_control_g
  {
        int index = 0;
  
  {
        int index = 0;
  
index a80eed4481120957f5a626aef38836d176b2b9ae..665b15b00aea13ebffacb520f9cecdaa9a30628e 100644 (file)
@@ -13,11 +13,9 @@ Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  include/linux/reset.h | 8 ++++----
  2 files changed, 8 insertions(+), 8 deletions(-)
 
  include/linux/reset.h | 8 ++++----
  2 files changed, 8 insertions(+), 8 deletions(-)
 
-diff --git a/drivers/reset/core.c b/drivers/reset/core.c
-index 77cfc49..9ab9290 100644
 --- a/drivers/reset/core.c
 +++ b/drivers/reset/core.c
 --- a/drivers/reset/core.c
 +++ b/drivers/reset/core.c
-@@ -95,7 +95,7 @@ int reset_control_reset(struct reset_control *rstc)
+@@ -95,7 +95,7 @@ int reset_control_reset(struct reset_con
        if (rstc->rcdev->ops->reset)
                return rstc->rcdev->ops->reset(rstc->rcdev, rstc->id);
  
        if (rstc->rcdev->ops->reset)
                return rstc->rcdev->ops->reset(rstc->rcdev, rstc->id);
  
@@ -26,7 +24,7 @@ index 77cfc49..9ab9290 100644
  }
  EXPORT_SYMBOL_GPL(reset_control_reset);
  
  }
  EXPORT_SYMBOL_GPL(reset_control_reset);
  
-@@ -108,7 +108,7 @@ int reset_control_assert(struct reset_control *rstc)
+@@ -108,7 +108,7 @@ int reset_control_assert(struct reset_co
        if (rstc->rcdev->ops->assert)
                return rstc->rcdev->ops->assert(rstc->rcdev, rstc->id);
  
        if (rstc->rcdev->ops->assert)
                return rstc->rcdev->ops->assert(rstc->rcdev, rstc->id);
  
@@ -35,7 +33,7 @@ index 77cfc49..9ab9290 100644
  }
  EXPORT_SYMBOL_GPL(reset_control_assert);
  
  }
  EXPORT_SYMBOL_GPL(reset_control_assert);
  
-@@ -121,7 +121,7 @@ int reset_control_deassert(struct reset_control *rstc)
+@@ -121,7 +121,7 @@ int reset_control_deassert(struct reset_
        if (rstc->rcdev->ops->deassert)
                return rstc->rcdev->ops->deassert(rstc->rcdev, rstc->id);
  
        if (rstc->rcdev->ops->deassert)
                return rstc->rcdev->ops->deassert(rstc->rcdev, rstc->id);
  
@@ -44,7 +42,7 @@ index 77cfc49..9ab9290 100644
  }
  EXPORT_SYMBOL_GPL(reset_control_deassert);
  
  }
  EXPORT_SYMBOL_GPL(reset_control_deassert);
  
-@@ -136,7 +136,7 @@ int reset_control_status(struct reset_control *rstc)
+@@ -136,7 +136,7 @@ int reset_control_status(struct reset_co
        if (rstc->rcdev->ops->status)
                return rstc->rcdev->ops->status(rstc->rcdev, rstc->id);
  
        if (rstc->rcdev->ops->status)
                return rstc->rcdev->ops->status(rstc->rcdev, rstc->id);
  
@@ -53,11 +51,9 @@ index 77cfc49..9ab9290 100644
  }
  EXPORT_SYMBOL_GPL(reset_control_status);
  
  }
  EXPORT_SYMBOL_GPL(reset_control_status);
  
-diff --git a/include/linux/reset.h b/include/linux/reset.h
-index 6db74ad..c4c097d 100644
 --- a/include/linux/reset.h
 +++ b/include/linux/reset.h
 --- a/include/linux/reset.h
 +++ b/include/linux/reset.h
-@@ -74,7 +74,7 @@ static inline void reset_control_put(struct reset_control *rstc)
+@@ -74,7 +74,7 @@ static inline void reset_control_put(str
  
  static inline int device_reset_optional(struct device *dev)
  {
  
  static inline int device_reset_optional(struct device *dev)
  {
@@ -66,7 +62,7 @@ index 6db74ad..c4c097d 100644
  }
  
  static inline struct reset_control *__must_check reset_control_get(
  }
  
  static inline struct reset_control *__must_check reset_control_get(
-@@ -94,19 +94,19 @@ static inline struct reset_control *__must_check devm_reset_control_get(
+@@ -94,19 +94,19 @@ static inline struct reset_control *__mu
  static inline struct reset_control *reset_control_get_optional(
                                        struct device *dev, const char *id)
  {
  static inline struct reset_control *reset_control_get_optional(
                                        struct device *dev, const char *id)
  {
index 3e962d9dab8a9aacd01a3e15d98c243e39bab5ac..e1078e96961d8d5a16ff27344e93d8f75ed8b248 100644 (file)
@@ -22,11 +22,9 @@ Changes in v2:
  include/linux/reset.h            |   2 +
  3 files changed, 116 insertions(+), 9 deletions(-)
 
  include/linux/reset.h            |   2 +
  3 files changed, 116 insertions(+), 9 deletions(-)
 
-diff --git a/drivers/reset/core.c b/drivers/reset/core.c
-index 9ab9290..8c3436c 100644
 --- a/drivers/reset/core.c
 +++ b/drivers/reset/core.c
 --- a/drivers/reset/core.c
 +++ b/drivers/reset/core.c
-@@ -22,16 +22,29 @@ static DEFINE_MUTEX(reset_controller_list_mutex);
+@@ -22,16 +22,29 @@ static DEFINE_MUTEX(reset_controller_lis
  static LIST_HEAD(reset_controller_list);
  
  /**
  static LIST_HEAD(reset_controller_list);
  
  /**
@@ -59,7 +57,7 @@ index 9ab9290..8c3436c 100644
  };
  
  /**
  };
  
  /**
-@@ -66,6 +79,8 @@ int reset_controller_register(struct reset_controller_dev *rcdev)
+@@ -66,6 +79,8 @@ int reset_controller_register(struct res
                rcdev->of_xlate = of_reset_simple_xlate;
        }
  
                rcdev->of_xlate = of_reset_simple_xlate;
        }
  
@@ -68,7 +66,7 @@ index 9ab9290..8c3436c 100644
        mutex_lock(&reset_controller_list_mutex);
        list_add(&rcdev->list, &reset_controller_list);
        mutex_unlock(&reset_controller_list_mutex);
        mutex_lock(&reset_controller_list_mutex);
        list_add(&rcdev->list, &reset_controller_list);
        mutex_unlock(&reset_controller_list_mutex);
-@@ -93,7 +108,7 @@ EXPORT_SYMBOL_GPL(reset_controller_unregister);
+@@ -93,7 +108,7 @@ EXPORT_SYMBOL_GPL(reset_controller_unreg
  int reset_control_reset(struct reset_control *rstc)
  {
        if (rstc->rcdev->ops->reset)
  int reset_control_reset(struct reset_control *rstc)
  {
        if (rstc->rcdev->ops->reset)
@@ -143,7 +141,7 @@ index 9ab9290..8c3436c 100644
   * reset_control_status - returns a negative errno if not supported, a
   * positive value if the reset line is asserted, or zero if the reset
   * line is not asserted.
   * reset_control_status - returns a negative errno if not supported, a
   * positive value if the reset line is asserted, or zero if the reset
   * line is not asserted.
-@@ -134,12 +191,47 @@ EXPORT_SYMBOL_GPL(reset_control_deassert);
+@@ -134,12 +191,47 @@ EXPORT_SYMBOL_GPL(reset_control_deassert
  int reset_control_status(struct reset_control *rstc)
  {
        if (rstc->rcdev->ops->status)
  int reset_control_status(struct reset_control *rstc)
  {
        if (rstc->rcdev->ops->status)
@@ -192,7 +190,7 @@ index 9ab9290..8c3436c 100644
  /**
   * of_reset_control_get_by_index - Lookup and obtain a reference to a reset
   * controller by index.
  /**
   * of_reset_control_get_by_index - Lookup and obtain a reference to a reset
   * controller by index.
-@@ -155,6 +247,7 @@ struct reset_control *of_reset_control_get_by_index(struct device_node *node,
+@@ -155,6 +247,7 @@ struct reset_control *of_reset_control_g
  {
        struct reset_control *rstc = ERR_PTR(-EPROBE_DEFER);
        struct reset_controller_dev *r, *rcdev;
  {
        struct reset_control *rstc = ERR_PTR(-EPROBE_DEFER);
        struct reset_controller_dev *r, *rcdev;
@@ -200,7 +198,7 @@ index 9ab9290..8c3436c 100644
        struct of_phandle_args args;
        int rstc_id;
        int ret;
        struct of_phandle_args args;
        int rstc_id;
        int ret;
-@@ -186,16 +279,22 @@ struct reset_control *of_reset_control_get_by_index(struct device_node *node,
+@@ -186,16 +279,22 @@ struct reset_control *of_reset_control_g
        }
  
        try_module_get(rcdev->owner);
        }
  
        try_module_get(rcdev->owner);
@@ -225,7 +223,7 @@ index 9ab9290..8c3436c 100644
  
        return rstc;
  }
  
        return rstc;
  }
-@@ -259,6 +358,10 @@ void reset_control_put(struct reset_control *rstc)
+@@ -259,6 +358,10 @@ void reset_control_put(struct reset_cont
        if (IS_ERR(rstc))
                return;
  
        if (IS_ERR(rstc))
                return;
  
@@ -236,8 +234,6 @@ index 9ab9290..8c3436c 100644
        module_put(rstc->rcdev->owner);
        kfree(rstc);
  }
        module_put(rstc->rcdev->owner);
        kfree(rstc);
  }
-diff --git a/include/linux/reset-controller.h b/include/linux/reset-controller.h
-index ce6b962..7f2cbd1 100644
 --- a/include/linux/reset-controller.h
 +++ b/include/linux/reset-controller.h
 @@ -31,6 +31,7 @@ struct of_phandle_args;
 --- a/include/linux/reset-controller.h
 +++ b/include/linux/reset-controller.h
 @@ -31,6 +31,7 @@ struct of_phandle_args;
@@ -256,11 +252,9 @@ index ce6b962..7f2cbd1 100644
        struct device_node *of_node;
        int of_reset_n_cells;
        int (*of_xlate)(struct reset_controller_dev *rcdev,
        struct device_node *of_node;
        int of_reset_n_cells;
        int (*of_xlate)(struct reset_controller_dev *rcdev,
-diff --git a/include/linux/reset.h b/include/linux/reset.h
-index c4c097d..1cca8ce 100644
 --- a/include/linux/reset.h
 +++ b/include/linux/reset.h
 --- a/include/linux/reset.h
 +++ b/include/linux/reset.h
-@@ -11,6 +11,8 @@ int reset_control_reset(struct reset_control *rstc);
+@@ -11,6 +11,8 @@ int reset_control_reset(struct reset_con
  int reset_control_assert(struct reset_control *rstc);
  int reset_control_deassert(struct reset_control *rstc);
  int reset_control_status(struct reset_control *rstc);
  int reset_control_assert(struct reset_control *rstc);
  int reset_control_deassert(struct reset_control *rstc);
  int reset_control_status(struct reset_control *rstc);
index faafa1f0a3c754b0c44c2f5bf10881109feedc26..73cd3027bf91c6b3d106ac2f1e80237f81b11355 100644 (file)
@@ -19,8 +19,6 @@ Changes in v2:
  drivers/usb/host/ehci-platform.c                   | 47 +++++++++++++---------
  2 files changed, 30 insertions(+), 19 deletions(-)
 
  drivers/usb/host/ehci-platform.c                   | 47 +++++++++++++---------
  2 files changed, 30 insertions(+), 19 deletions(-)
 
-diff --git a/Documentation/devicetree/bindings/usb/usb-ehci.txt b/Documentation/devicetree/bindings/usb/usb-ehci.txt
-index a12d601..0701812 100644
 --- a/Documentation/devicetree/bindings/usb/usb-ehci.txt
 +++ b/Documentation/devicetree/bindings/usb/usb-ehci.txt
 @@ -18,7 +18,7 @@ Optional properties:
 --- a/Documentation/devicetree/bindings/usb/usb-ehci.txt
 +++ b/Documentation/devicetree/bindings/usb/usb-ehci.txt
 @@ -18,7 +18,7 @@ Optional properties:
@@ -32,8 +30,6 @@ index a12d601..0701812 100644
  
  Example (Sequoia 440EPx):
      ehci@e0000300 {
  
  Example (Sequoia 440EPx):
      ehci@e0000300 {
-diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
-index bd7082f2..6fbf32a 100644
 --- a/drivers/usb/host/ehci-platform.c
 +++ b/drivers/usb/host/ehci-platform.c
 @@ -39,11 +39,12 @@
 --- a/drivers/usb/host/ehci-platform.c
 +++ b/drivers/usb/host/ehci-platform.c
 @@ -39,11 +39,12 @@
@@ -50,7 +46,7 @@ index bd7082f2..6fbf32a 100644
        struct phy **phys;
        int num_phys;
        bool reset_on_resume;
        struct phy **phys;
        int num_phys;
        bool reset_on_resume;
-@@ -149,7 +150,7 @@ static int ehci_platform_probe(struct platform_device *dev)
+@@ -149,7 +150,7 @@ static int ehci_platform_probe(struct pl
        struct usb_ehci_pdata *pdata = dev_get_platdata(&dev->dev);
        struct ehci_platform_priv *priv;
        struct ehci_hcd *ehci;
        struct usb_ehci_pdata *pdata = dev_get_platdata(&dev->dev);
        struct ehci_platform_priv *priv;
        struct ehci_hcd *ehci;
@@ -59,7 +55,7 @@ index bd7082f2..6fbf32a 100644
  
        if (usb_disabled())
                return -ENODEV;
  
        if (usb_disabled())
                return -ENODEV;
-@@ -232,18 +233,24 @@ static int ehci_platform_probe(struct platform_device *dev)
+@@ -232,18 +233,24 @@ static int ehci_platform_probe(struct pl
                                break;
                        }
                }
                                break;
                        }
                }
@@ -95,7 +91,7 @@ index bd7082f2..6fbf32a 100644
        }
  
        if (pdata->big_endian_desc)
        }
  
        if (pdata->big_endian_desc)
-@@ -300,8 +307,10 @@ static int ehci_platform_probe(struct platform_device *dev)
+@@ -302,8 +309,10 @@ err_power:
        if (pdata->power_off)
                pdata->power_off(dev);
  err_reset:
        if (pdata->power_off)
                pdata->power_off(dev);
  err_reset:
@@ -108,7 +104,7 @@ index bd7082f2..6fbf32a 100644
  err_put_clks:
        while (--clk >= 0)
                clk_put(priv->clks[clk]);
  err_put_clks:
        while (--clk >= 0)
                clk_put(priv->clks[clk]);
-@@ -319,15 +328,17 @@ static int ehci_platform_remove(struct platform_device *dev)
+@@ -321,15 +330,17 @@ static int ehci_platform_remove(struct p
        struct usb_hcd *hcd = platform_get_drvdata(dev);
        struct usb_ehci_pdata *pdata = dev_get_platdata(&dev->dev);
        struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
        struct usb_hcd *hcd = platform_get_drvdata(dev);
        struct usb_ehci_pdata *pdata = dev_get_platdata(&dev->dev);
        struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
index 6f536b918d0e8190be7d086de88873798266afbc..a25d487aad532b80679145fffec6acac8f137dfc 100644 (file)
@@ -19,8 +19,6 @@ Changes in v2:
  drivers/usb/host/ohci-platform.c                   | 49 +++++++++++++---------
  2 files changed, 30 insertions(+), 21 deletions(-)
 
  drivers/usb/host/ohci-platform.c                   | 49 +++++++++++++---------
  2 files changed, 30 insertions(+), 21 deletions(-)
 
-diff --git a/Documentation/devicetree/bindings/usb/usb-ohci.txt b/Documentation/devicetree/bindings/usb/usb-ohci.txt
-index 19233b7..9df4569 100644
 --- a/Documentation/devicetree/bindings/usb/usb-ohci.txt
 +++ b/Documentation/devicetree/bindings/usb/usb-ohci.txt
 @@ -14,7 +14,7 @@ Optional properties:
 --- a/Documentation/devicetree/bindings/usb/usb-ohci.txt
 +++ b/Documentation/devicetree/bindings/usb/usb-ohci.txt
 @@ -14,7 +14,7 @@ Optional properties:
@@ -32,8 +30,6 @@ index 19233b7..9df4569 100644
  
  Example:
  
  
  Example:
  
-diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
-index c2669f18..7d8bbc4 100644
 --- a/drivers/usb/host/ohci-platform.c
 +++ b/drivers/usb/host/ohci-platform.c
 @@ -33,11 +33,12 @@
 --- a/drivers/usb/host/ohci-platform.c
 +++ b/drivers/usb/host/ohci-platform.c
 @@ -33,11 +33,12 @@
@@ -50,7 +46,7 @@ index c2669f18..7d8bbc4 100644
        struct phy **phys;
        int num_phys;
  };
        struct phy **phys;
        int num_phys;
  };
-@@ -117,7 +118,7 @@ static int ohci_platform_probe(struct platform_device *dev)
+@@ -117,7 +118,7 @@ static int ohci_platform_probe(struct pl
        struct usb_ohci_pdata *pdata = dev_get_platdata(&dev->dev);
        struct ohci_platform_priv *priv;
        struct ohci_hcd *ohci;
        struct usb_ohci_pdata *pdata = dev_get_platdata(&dev->dev);
        struct ohci_platform_priv *priv;
        struct ohci_hcd *ohci;
@@ -59,7 +55,7 @@ index c2669f18..7d8bbc4 100644
  
        if (usb_disabled())
                return -ENODEV;
  
        if (usb_disabled())
                return -ENODEV;
-@@ -195,19 +196,23 @@ static int ohci_platform_probe(struct platform_device *dev)
+@@ -195,19 +196,23 @@ static int ohci_platform_probe(struct pl
                                break;
                        }
                }
                                break;
                        }
                }
@@ -96,7 +92,7 @@ index c2669f18..7d8bbc4 100644
        }
  
        if (pdata->big_endian_desc)
        }
  
        if (pdata->big_endian_desc)
-@@ -265,8 +270,10 @@ static int ohci_platform_probe(struct platform_device *dev)
+@@ -265,8 +270,10 @@ err_power:
        if (pdata->power_off)
                pdata->power_off(dev);
  err_reset:
        if (pdata->power_off)
                pdata->power_off(dev);
  err_reset:
@@ -109,7 +105,7 @@ index c2669f18..7d8bbc4 100644
  err_put_clks:
        while (--clk >= 0)
                clk_put(priv->clks[clk]);
  err_put_clks:
        while (--clk >= 0)
                clk_put(priv->clks[clk]);
-@@ -284,15 +291,17 @@ static int ohci_platform_remove(struct platform_device *dev)
+@@ -284,15 +291,17 @@ static int ohci_platform_remove(struct p
        struct usb_hcd *hcd = platform_get_drvdata(dev);
        struct usb_ohci_pdata *pdata = dev_get_platdata(&dev->dev);
        struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
        struct usb_hcd *hcd = platform_get_drvdata(dev);
        struct usb_ohci_pdata *pdata = dev_get_platdata(&dev->dev);
        struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
index c0d96601000e03d551f5ac594ff40a72fea99d61..c967ca91a760a4874ba02f3a379cacd6d2434d5b 100644 (file)
@@ -11,8 +11,6 @@ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 5 +++++
  1 file changed, 5 insertions(+)
 
  arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 5 +++++
  1 file changed, 5 insertions(+)
 
-diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
-index 861a4a6..067f365 100644
 --- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
 +++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
 @@ -111,6 +111,11 @@
 --- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
 +++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
 @@ -111,6 +111,11 @@
index dceaea884b05a6eda32cc0912b1b2bbf5895a01d..b1e00b45ab3ccf2be765836996a976faabddeb5f 100644 (file)
@@ -18,11 +18,9 @@ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  2 files changed, 298 insertions(+)
  create mode 100644 arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
 
  2 files changed, 298 insertions(+)
  create mode 100644 arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
 
-diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
-index cc7309b..6f8deac 100644
 --- a/arch/arm/boot/dts/Makefile
 +++ b/arch/arm/boot/dts/Makefile
 --- a/arch/arm/boot/dts/Makefile
 +++ b/arch/arm/boot/dts/Makefile
-@@ -639,6 +639,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
+@@ -638,6 +638,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
        sun7i-a20-cubietruck.dtb \
        sun7i-a20-hummingbird.dtb \
        sun7i-a20-i12-tvbox.dtb \
        sun7i-a20-cubietruck.dtb \
        sun7i-a20-hummingbird.dtb \
        sun7i-a20-i12-tvbox.dtb \
@@ -30,9 +28,6 @@ index cc7309b..6f8deac 100644
        sun7i-a20-m3.dtb \
        sun7i-a20-mk808c.dtb \
        sun7i-a20-olimex-som-evb.dtb \
        sun7i-a20-m3.dtb \
        sun7i-a20-mk808c.dtb \
        sun7i-a20-olimex-som-evb.dtb \
-diff --git a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
-new file mode 100644
-index 0000000..975b0b2
 --- /dev/null
 +++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
 @@ -0,0 +1,297 @@
 --- /dev/null
 +++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
 @@ -0,0 +1,297 @@
index 9fe0ad223508df1d8e73e47cfd1eea94c2bf06e3..5f8f5d82186c4ac525dc1e17fd1a30befe693add 100644 (file)
@@ -1,6 +1,6 @@
 --- a/scripts/Makefile.lib
 +++ b/scripts/Makefile.lib
 --- a/scripts/Makefile.lib
 +++ b/scripts/Makefile.lib
-@@ -324,7 +324,7 @@
+@@ -324,7 +324,7 @@ cmd_bzip2 = (cat $(filter-out FORCE,$^)
  
  quiet_cmd_lzma = LZMA    $@
  cmd_lzma = (cat $(filter-out FORCE,$^) | \
  
  quiet_cmd_lzma = LZMA    $@
  cmd_lzma = (cat $(filter-out FORCE,$^) | \
index 81cef53a66bfed60451161fe2816acfcc4295173..0432686cf15a6f08795318462e2a3c965e48713f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mfd/rdc321x-southbridge.c
 +++ b/drivers/mfd/rdc321x-southbridge.c
 --- a/drivers/mfd/rdc321x-southbridge.c
 +++ b/drivers/mfd/rdc321x-southbridge.c
-@@ -85,6 +85,8 @@
+@@ -85,6 +85,8 @@ static int rdc321x_sb_probe(struct pci_d
        rdc321x_gpio_pdata.sb_pdev = pdev;
        rdc321x_wdt_pdata.sb_pdev = pdev;
  
        rdc321x_gpio_pdata.sb_pdev = pdev;
        rdc321x_wdt_pdata.sb_pdev = pdev;