On my db845c (perhaps old firmware?) i2c14 is using GPI, so this enables that.
And while I'm touching it I added dma properties to all the geni i2c and spi
nodes and specified a default clock to avoid two warnings in the log during
boot.
Bjorn Andersson (3):
arm64: dts: qcom: sdm845: Fill in GENI DMA references
arm64: dts: qcom: sdm845-db845c: Enable gpi_dma1
arm64: dts: qcom: sdm845-db845c: Specify a i2c bus clocks
arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 6 ++
arch/arm64/boot/dts/qcom/sdm845.dtsi | 90 ++++++++++++++++++++++
2 files changed, 96 insertions(+)
--
2.35.1
Enable gpi_dma1 so that i2c14 is able to find its DMA controller.
Signed-off-by: Bjorn Andersson <[email protected]>
---
arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
index 4afdb72cc556..62ad67370d2b 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
@@ -443,6 +443,10 @@ &gpi_dma0 {
status = "okay";
};
+&gpi_dma1 {
+ status = "okay";
+};
+
&gpu {
status = "okay";
zap-shader {
--
2.35.1
On 16-07-22, 20:44, Bjorn Andersson wrote:
> On my db845c (perhaps old firmware?) i2c14 is using GPI, so this enables that.
> And while I'm touching it I added dma properties to all the geni i2c and spi
> nodes and specified a default clock to avoid two warnings in the log during
> boot.
Reviewed-by: Vinod Koul <[email protected]>
--
~Vinod
On Sat, 16 Jul 2022 20:44:00 -0700, Bjorn Andersson wrote:
> On my db845c (perhaps old firmware?) i2c14 is using GPI, so this enables that.
> And while I'm touching it I added dma properties to all the geni i2c and spi
> nodes and specified a default clock to avoid two warnings in the log during
> boot.
>
> Bjorn Andersson (3):
> arm64: dts: qcom: sdm845: Fill in GENI DMA references
> arm64: dts: qcom: sdm845-db845c: Enable gpi_dma1
> arm64: dts: qcom: sdm845-db845c: Specify a i2c bus clocks
>
> [...]
Applied, thanks!
[1/3] arm64: dts: qcom: sdm845: Fill in GENI DMA references
commit: 0f064ae7cf703b0527de3a0608ef88548fdb5d9d
[2/3] arm64: dts: qcom: sdm845-db845c: Enable gpi_dma1
commit: 79cfb1124af9b55e082d9d3efbefa4d3fc8b3cdc
[3/3] arm64: dts: qcom: sdm845-db845c: Specify a i2c bus clocks
commit: 746ff2bfcec78cfd522b2a490e7207c3fe836634
Best regards,
--
Bjorn Andersson <[email protected]>