diff options
author | Esben Haabendal <eha@deif.com> | 2018-08-09 14:32:07 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-09-03 12:25:22 +0800 |
commit | cc07fd3c45c1e589f1f2bea4ac69e5d4ecb77e9d (patch) | |
tree | 745a0d659232cadfee15af99e66ed602a34787f9 /arch/arm/boot/dts/ls1021a.dtsi | |
parent | 475ecf2ef8b0b5a082092062116ce884b1b1e532 (diff) | |
download | linux-cc07fd3c45c1e589f1f2bea4ac69e5d4ecb77e9d.tar.gz |
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>
Diffstat (limited to 'arch/arm/boot/dts/ls1021a.dtsi')
-rw-r--r-- | arch/arm/boot/dts/ls1021a.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index f18490548c78..f70025c2ab0f 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -364,6 +364,8 @@ 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 @@ 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 @@ 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"; }; |