Commit cc07fd3c authored by Esben Haabendal's avatar Esben Haabendal Committed by Shawn Guo

ARM: dts: ls1021a: Enable I2C DMA support

Gives substantial performance improvement for transfers larger than 16
bytes (DMA_THRESHOLD).  Smaller transfers are unaffected.
Signed-off-by: default avatarEsben Haabendal <eha@deif.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 475ecf2e
...@@ -364,6 +364,8 @@ i2c0: i2c@2180000 { ...@@ -364,6 +364,8 @@ i2c0: i2c@2180000 {
interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c"; clock-names = "i2c";
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 1>;
dma-names = "tx", "rx";
dmas = <&edma0 1 39>, <&edma0 1 38>;
status = "disabled"; status = "disabled";
}; };
...@@ -375,6 +377,8 @@ i2c1: i2c@2190000 { ...@@ -375,6 +377,8 @@ i2c1: i2c@2190000 {
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c"; clock-names = "i2c";
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 1>;
dma-names = "tx", "rx";
dmas = <&edma0 1 37>, <&edma0 1 36>;
status = "disabled"; status = "disabled";
}; };
...@@ -386,6 +390,8 @@ i2c2: i2c@21a0000 { ...@@ -386,6 +390,8 @@ i2c2: i2c@21a0000 {
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "i2c"; clock-names = "i2c";
clocks = <&clockgen 4 1>; clocks = <&clockgen 4 1>;
dma-names = "tx", "rx";
dmas = <&edma0 1 35>, <&edma0 1 34>;
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment