Changeset 45727


Ignore:
Timestamp:
2015-05-23T17:27:28+02:00 (3 years ago)
Author:
blogic
Message:

ipq806x: refresh kernel patches

Signed-off-by: Mathieu Olivari <mathieu@…>

Location:
trunk/target/linux/ipq806x/patches-4.0
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ipq806x/patches-4.0/001-spi-qup-Add-DMA-capabilities.patch

    r45210 r45727  
    331331@@ -339,6 +571,8 @@ static int spi_qup_io_config(struct spi_ 
    332332        struct spi_qup *controller = spi_master_get_devdata(spi->master); 
    333         u32 config, iomode, mode; 
     333        u32 config, iomode, mode, control; 
    334334        int ret, n_words, w_size; 
    335335+       size_t dma_align = dma_get_cache_alignment(); 
     
    384384        iomode |= (mode << QUP_IO_M_INPUT_MODE_MASK_SHIFT); 
    385385  
    386 @@ -419,6 +670,14 @@ static int spi_qup_io_config(struct spi_ 
     386@@ -428,6 +679,14 @@ static int spi_qup_io_config(struct spi_ 
    387387        config &= ~(QUP_CONFIG_NO_INPUT | QUP_CONFIG_NO_OUTPUT | QUP_CONFIG_N); 
    388388        config |= xfer->bits_per_word - 1; 
     
    399399  
    400400        /* only write to OPERATIONAL_MASK when register is present */ 
    401 @@ -452,25 +711,29 @@ static int spi_qup_transfer_one(struct s 
     401@@ -461,25 +720,29 @@ static int spi_qup_transfer_one(struct s 
    402402        controller->tx_bytes = 0; 
    403403        spin_unlock_irqrestore(&controller->lock, flags); 
     
    444444        spi_qup_set_state(controller, QUP_STATE_RESET); 
    445445        spin_lock_irqsave(&controller->lock, flags); 
    446 @@ -553,6 +816,7 @@ static int spi_qup_probe(struct platform 
     446@@ -563,6 +826,7 @@ static int spi_qup_probe(struct platform 
    447447        master->transfer_one = spi_qup_transfer_one; 
    448448        master->dev.of_node = pdev->dev.of_node; 
     
    452452        platform_set_drvdata(pdev, master); 
    453453  
    454 @@ -618,6 +882,56 @@ static int spi_qup_probe(struct platform 
     454@@ -628,6 +892,56 @@ static int spi_qup_probe(struct platform 
    455455                        QUP_ERROR_INPUT_UNDER_RUN | QUP_ERROR_OUTPUT_UNDER_RUN, 
    456456                        base + QUP_ERROR_FLAGS_EN); 
     
    509509        writel_relaxed(SPI_IO_C_NO_TRI_STATE, base + SPI_IO_CONTROL); 
    510510  
    511 @@ -730,6 +1044,11 @@ static int spi_qup_remove(struct platfor 
     511@@ -740,6 +1054,11 @@ static int spi_qup_remove(struct platfor 
    512512        if (ret) 
    513513                return ret; 
  • trunk/target/linux/ipq806x/patches-4.0/011-watchdog-qcom-use-timer-devicetree-binding.patch

    r45210 r45727  
    1515 1 file changed, 15 insertions(+), 6 deletions(-) 
    1616 
    17 diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/watchdog/qcom-wdt.c 
    18 index aa85618..aa03ca8 100644 
    1917--- a/drivers/watchdog/qcom-wdt.c 
    2018+++ b/drivers/watchdog/qcom-wdt.c 
     
    3230 struct qcom_wdt { 
    3331        struct watchdog_device  wdd; 
    34 @@ -117,6 +117,8 @@ static int qcom_wdt_probe(struct platform_device *pdev) 
     32@@ -117,6 +117,8 @@ static int qcom_wdt_probe(struct platfor 
    3533 { 
    3634        struct qcom_wdt *wdt; 
     
    4139  
    4240        wdt = devm_kzalloc(&pdev->dev, sizeof(*wdt), GFP_KERNEL); 
    43 @@ -124,6 +126,14 @@ static int qcom_wdt_probe(struct platform_device *pdev) 
     41@@ -124,6 +126,14 @@ static int qcom_wdt_probe(struct platfor 
    4442                return -ENOMEM; 
    4543  
     
    5654        if (IS_ERR(wdt->base)) 
    5755                return PTR_ERR(wdt->base); 
    58 @@ -203,9 +213,8 @@ static int qcom_wdt_remove(struct platform_device *pdev) 
     56@@ -203,9 +213,8 @@ static int qcom_wdt_remove(struct platfo 
    5957 } 
    6058  
     
    6866 }; 
    6967 MODULE_DEVICE_TABLE(of, qcom_wdt_of_table); 
    70 --  
    71 1.9.1 
    72  
  • trunk/target/linux/ipq806x/patches-4.0/012-ARM-qcom-add-description-of-KPSS-WDT-for-IPQ8064.patch

    r45210 r45727  
    1414 1 file changed, 13 insertions(+), 1 deletion(-) 
    1515 
    16 diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi 
    17 index cb225da..d01f618 100644 
    1816--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi 
    1917+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi 
     
    4947                }; 
    5048  
    51 --  
    52 1.9.1 
    53  
  • trunk/target/linux/ipq806x/patches-4.0/022-add-db149-dts.patch

    r45536 r45727  
    1414 create mode 100644 arch/arm/boot/dts/qcom-ipq8064-db149.dts 
    1515 
    16 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile 
    17 index 38c89ca..745360a 100644 
    1816--- a/arch/arm/boot/dts/Makefile 
    1917+++ b/arch/arm/boot/dts/Makefile 
    20 @@ -360,6 +360,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ 
     18@@ -438,6 +438,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ 
    2119        qcom-apq8084-ifc6540.dtb \ 
    2220        qcom-apq8084-mtp.dtb \ 
     
    2624        qcom-msm8960-cdp.dtb \ 
    2725        qcom-msm8974-sony-xperia-honami.dtb 
    28 diff --git a/arch/arm/boot/dts/qcom-ipq8064-db149.dts b/arch/arm/boot/dts/qcom-ipq8064-db149.dts 
    29 new file mode 100644 
    30 index 0000000..224c54f 
    3126--- /dev/null 
    3227+++ b/arch/arm/boot/dts/qcom-ipq8064-db149.dts 
     
    289284+       }; 
    290285+}; 
    291 --  
    292 1.9.1 
    293  
  • trunk/target/linux/ipq806x/patches-4.0/110-DT-PCI-qcom-Document-PCIe-devicetree-bindings.patch

    r45663 r45727  
    2828 create mode 100644 Documentation/devicetree/bindings/pci/qcom,pcie.txt 
    2929 
    30 diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt b/Documentation/devicetree/bindings/pci/qcom,pcie.txt 
    31 new file mode 100644 
    32 index 0000000..dcf7348 
    3330--- /dev/null 
    3431+++ b/Documentation/devicetree/bindings/pci/qcom,pcie.txt 
  • trunk/target/linux/ipq806x/patches-4.0/300-arch-arm-force-ZRELADDR-on-arch-qcom.patch

    r45661 r45727  
    3232 create mode 100644 arch/arm/mach-qcom/Makefile.boot 
    3333 
    34 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig 
    35 index 89c4b5c..4583ea5 100644 
    3634--- a/arch/arm/Kconfig 
    3735+++ b/arch/arm/Kconfig 
    38 @@ -311,7 +311,7 @@ config ARCH_MULTIPLATFORM 
     36@@ -314,7 +314,7 @@ config ARCH_MULTIPLATFORM 
    3937        select ARCH_WANT_OPTIONAL_GPIOLIB 
    4038        select ARM_HAS_SG_CHAIN 
     
    4543        select COMMON_CLK 
    4644        select GENERIC_CLOCKEVENTS 
    47 diff --git a/arch/arm/Makefile b/arch/arm/Makefile 
    48 index 7453352..5d6f8ac 100644 
    4945--- a/arch/arm/Makefile 
    5046+++ b/arch/arm/Makefile 
    51 @@ -240,9 +240,11 @@ MACHINE  := arch/arm/mach-$(word 1,$(machine-y))/ 
     47@@ -241,9 +241,11 @@ MACHINE  := arch/arm/mach-$(word 1,$(mac 
    5248 else 
    5349 MACHINE  := 
     
    6157 machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) 
    6258 platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y))) 
    63 diff --git a/arch/arm/mach-qcom/Makefile.boot b/arch/arm/mach-qcom/Makefile.boot 
    64 new file mode 100644 
    65 index 0000000..67a6d5a 
    6659--- /dev/null 
    6760+++ b/arch/arm/mach-qcom/Makefile.boot 
    6861@@ -0,0 +1 @@ 
    6962+zreladdr-y+= 0x42208000 
    70 --  
    71 1.9.1 
    72  
Note: See TracChangeset for help on using the changeset viewer.