mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 21:44:23 -04:00
arm64: dts: qcom: sdm845: enable dma for spi
Add dmas property for spi@880000 and pinconf setting so that we can use dma for this spi device. Also, add iommu properties for qup and spi. Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220222041951.1185186-2-vkoul@kernel.org
This commit is contained in:
committed by
Bjorn Andersson
parent
29aed4b4eb
commit
8f6e20adaa
@@ -425,6 +425,10 @@ &gmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpi_dma0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpu {
|
||||
status = "okay";
|
||||
zap-shader {
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <dt-bindings/clock/qcom,lpass-sdm845.h>
|
||||
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||
#include <dt-bindings/clock/qcom,videocc-sdm845.h>
|
||||
#include <dt-bindings/dma/qcom-gpi.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interconnect/qcom,osm-l3.h>
|
||||
#include <dt-bindings/interconnect/qcom,sdm845.h>
|
||||
@@ -1194,6 +1195,9 @@ spi0: spi@880000 {
|
||||
interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>,
|
||||
<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>;
|
||||
interconnect-names = "qup-core", "qup-config";
|
||||
dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
|
||||
<&gpi_dma0 1 0 QCOM_GPI_SPI>;
|
||||
dma-names = "tx", "rx";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -2633,6 +2637,13 @@ pinmux {
|
||||
"gpio2", "gpio3";
|
||||
function = "qup0";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio0", "gpio1",
|
||||
"gpio2", "gpio3";
|
||||
drive-strength = <6>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
qup_spi1_default: qup-spi1-default {
|
||||
|
||||
Reference in New Issue
Block a user