diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-05-12 17:52:20 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-05-12 17:52:20 +0200 |
commit | be83f982a71eb76288d011d6681739059d9a6ead (patch) | |
tree | 910ee25687f09cd9abc43202a1aad703f0092645 /target/linux/sunxi/patches-4.1/143-dmaengine-add-h3.patch | |
parent | 930195737a0916d80ad2f7fe8b0f8fe4e4691762 (diff) | |
download | upstream-be83f982a71eb76288d011d6681739059d9a6ead.tar.gz upstream-be83f982a71eb76288d011d6681739059d9a6ead.tar.bz2 upstream-be83f982a71eb76288d011d6681739059d9a6ead.zip |
sunxi: delete old kernel versions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/sunxi/patches-4.1/143-dmaengine-add-h3.patch')
-rw-r--r-- | target/linux/sunxi/patches-4.1/143-dmaengine-add-h3.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/target/linux/sunxi/patches-4.1/143-dmaengine-add-h3.patch b/target/linux/sunxi/patches-4.1/143-dmaengine-add-h3.patch deleted file mode 100644 index df434a41e8..0000000000 --- a/target/linux/sunxi/patches-4.1/143-dmaengine-add-h3.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/Documentation/devicetree/bindings/dma/sun6i-dma.txt -+++ b/Documentation/devicetree/bindings/dma/sun6i-dma.txt -@@ -4,7 +4,10 @@ This driver follows the generic DMA bind - - Required properties: - --- compatible: Must be "allwinner,sun6i-a31-dma" or "allwinner,sun8i-a23-dma" -+- compatible: Must be one of -+ "allwinner,sun6i-a31-dma" -+ "allwinner,sun8i-a23-dma" -+ "allwinner,sun8i-h3-dma" - - reg: Should contain the registers base address and length - - interrupts: Should contain a reference to the interrupt used by this device - - clocks: Should contain a reference to the parent AHB clock ---- a/drivers/dma/sun6i-dma.c -+++ b/drivers/dma/sun6i-dma.c -@@ -891,9 +891,21 @@ static struct sun6i_dma_config sun8i_a23 - .nr_max_vchans = 37, - }; - -+/* -+ * The H3 has 12 physical channels, a maximum DRQ port id of 27, -+ * and a total of 34 usable source and destination endpoints. -+ */ -+ -+static struct sun6i_dma_config sun8i_h3_dma_cfg = { -+ .nr_max_channels = 12, -+ .nr_max_requests = 27, -+ .nr_max_vchans = 34, -+}; -+ - static const struct of_device_id sun6i_dma_match[] = { - { .compatible = "allwinner,sun6i-a31-dma", .data = &sun6i_a31_dma_cfg }, - { .compatible = "allwinner,sun8i-a23-dma", .data = &sun8i_a23_dma_cfg }, -+ { .compatible = "allwinner,sun8i-h3-dma", .data = &sun8i_h3_dma_cfg }, - { /* sentinel */ } - }; - |