mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
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: Esben Haabendal <eha@deif.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
475ecf2ef8
commit
cc07fd3c45
|
|
@ -364,6 +364,8 @@ i2c0: i2c@2180000 {
|
|||
interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clock-names = "i2c";
|
||||
clocks = <&clockgen 4 1>;
|
||||
dma-names = "tx", "rx";
|
||||
dmas = <&edma0 1 39>, <&edma0 1 38>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
@ -375,6 +377,8 @@ i2c1: i2c@2190000 {
|
|||
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clock-names = "i2c";
|
||||
clocks = <&clockgen 4 1>;
|
||||
dma-names = "tx", "rx";
|
||||
dmas = <&edma0 1 37>, <&edma0 1 36>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
@ -386,6 +390,8 @@ i2c2: i2c@21a0000 {
|
|||
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clock-names = "i2c";
|
||||
clocks = <&clockgen 4 1>;
|
||||
dma-names = "tx", "rx";
|
||||
dmas = <&edma0 1 35>, <&edma0 1 34>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user