LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: ti: k3-am65-main: Add DMA entries for main_spi0
@ 2020-03-12 9:28 Vignesh Raghavendra
2020-03-12 9:28 ` [PATCH 2/2] arm64: dts: ti: k3-am65-mcu: Add DMA entries for ADC Vignesh Raghavendra
0 siblings, 1 reply; 3+ messages in thread
From: Vignesh Raghavendra @ 2020-03-12 9:28 UTC (permalink / raw)
To: Tero Kristo, Nishanth Menon
Cc: Rob Herring, linux-arm-kernel, devicetree, linux-kernel,
Vignesh Raghavendra
Add DMA entry for main_spi0, that has SPI flash connected, for better
throughput and reduced CPU load.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index e5df20a2d2f9..0ff291ef2950 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -189,6 +189,8 @@ main_spi0: spi@2100000 {
power-domains = <&k3_pds 137 TI_SCI_PD_EXCLUSIVE>;
#address-cells = <1>;
#size-cells = <0>;
+ dmas = <&main_udmap 0xc500>, <&main_udmap 0x4500>;
+ dma-names = "tx0", "rx0";
};
main_spi1: spi@2110000 {
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: ti: k3-am65-mcu: Add DMA entries for ADC
2020-03-12 9:28 [PATCH 1/2] arm64: dts: ti: k3-am65-main: Add DMA entries for main_spi0 Vignesh Raghavendra
@ 2020-03-12 9:28 ` Vignesh Raghavendra
2020-03-20 9:07 ` Tero Kristo
0 siblings, 1 reply; 3+ messages in thread
From: Vignesh Raghavendra @ 2020-03-12 9:28 UTC (permalink / raw)
To: Tero Kristo, Nishanth Menon
Cc: Rob Herring, linux-arm-kernel, devicetree, linux-kernel,
Vignesh Raghavendra
Add DMA entries for ADC nodes
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
index 92629cbdc184..e85498f0dd05 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
@@ -82,6 +82,9 @@ tscadc0: tscadc@40200000 {
assigned-clocks = <&k3_clks 0 2>;
assigned-clock-rates = <60000000>;
clock-names = "adc_tsc_fck";
+ dmas = <&mcu_udmap 0x7100>,
+ <&mcu_udmap 0x7101 >;
+ dma-names = "fifo0", "fifo1";
adc {
#io-channel-cells = <1>;
@@ -97,6 +100,9 @@ tscadc1: tscadc@40210000 {
assigned-clocks = <&k3_clks 1 2>;
assigned-clock-rates = <60000000>;
clock-names = "adc_tsc_fck";
+ dmas = <&mcu_udmap 0x7102>,
+ <&mcu_udmap 0x7103>;
+ dma-names = "fifo0", "fifo1";
adc {
#io-channel-cells = <1>;
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] arm64: dts: ti: k3-am65-mcu: Add DMA entries for ADC
2020-03-12 9:28 ` [PATCH 2/2] arm64: dts: ti: k3-am65-mcu: Add DMA entries for ADC Vignesh Raghavendra
@ 2020-03-20 9:07 ` Tero Kristo
0 siblings, 0 replies; 3+ messages in thread
From: Tero Kristo @ 2020-03-20 9:07 UTC (permalink / raw)
To: Vignesh Raghavendra, Nishanth Menon
Cc: Rob Herring, linux-arm-kernel, devicetree, linux-kernel
On 12/03/2020 11:28, Vignesh Raghavendra wrote:
> Add DMA entries for ADC nodes
>
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Queued both patches towards 5.7, thanks.
-Tero
> ---
> arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
> index 92629cbdc184..e85498f0dd05 100644
> --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
> @@ -82,6 +82,9 @@ tscadc0: tscadc@40200000 {
> assigned-clocks = <&k3_clks 0 2>;
> assigned-clock-rates = <60000000>;
> clock-names = "adc_tsc_fck";
> + dmas = <&mcu_udmap 0x7100>,
> + <&mcu_udmap 0x7101 >;
> + dma-names = "fifo0", "fifo1";
>
> adc {
> #io-channel-cells = <1>;
> @@ -97,6 +100,9 @@ tscadc1: tscadc@40210000 {
> assigned-clocks = <&k3_clks 1 2>;
> assigned-clock-rates = <60000000>;
> clock-names = "adc_tsc_fck";
> + dmas = <&mcu_udmap 0x7102>,
> + <&mcu_udmap 0x7103>;
> + dma-names = "fifo0", "fifo1";
>
> adc {
> #io-channel-cells = <1>;
>
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-20 9:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 9:28 [PATCH 1/2] arm64: dts: ti: k3-am65-main: Add DMA entries for main_spi0 Vignesh Raghavendra
2020-03-12 9:28 ` [PATCH 2/2] arm64: dts: ti: k3-am65-mcu: Add DMA entries for ADC Vignesh Raghavendra
2020-03-20 9:07 ` Tero Kristo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).