devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Caleb Connolly <caleb.connolly@linaro.org>
To: Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konrad.dybcio@linaro.org>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	 Alexey Klimov <alexey.klimov@linaro.org>,
	linux-arm-msm@vger.kernel.org,  devicetree@vger.kernel.org,
	Caleb Connolly <caleb.connolly@linaro.org>
Subject: [PATCH 0/2] qcom: dts: qrb4210-rb2 usb/emmc fixes
Date: Wed, 19 Jun 2024 22:33:37 +0200	[thread overview]
Message-ID: <20240619-rb2-fixes-v1-0-1d2b1d711969@linaro.org> (raw)

Add the missing iommus property on the first sdhc, and set a default
mode for USB role switch. The iommus property in particular is necessary
when running U-Boot as a first-stage bootloader, since it can't rely on
EDK2 to configure the SMMU and crashes with:

[020b9ed0d]TLB Dump Message:Not a valid memory address to dump TLBs for device APPS_TCU or no memory available.
[020b9f533]SMMU GLOBAL TCU NON-SEC FAULT: bit mask=0x00002000
[020b9fb23]SMMU:>> APPS_TCU NonSec Global Fault:
[020b9ff9f] NSGFSR=0x80000002
[020ba0404] NSGFAR=0x00000000bf6c6800
[020ba0909] NSGFSYNR0=0x00000000
[020ba0d1b] NSGFSYNR1=0x00c000c0
[020ba117d] NSGFSYNR2=0x00000000
[020ba15a9] NSCR0=0x00200406

The GFSYNR1 register in particular clues us in to the stream ID of the
peripherals, in this case 0x00c0 corresponds to the first SDHC.

---
Caleb Connolly (2):
      arm64: dts: qcom: sm6115: add iommu for sdhc_1
      arm64: dts: qcom: qrb4210-rb2: set role-switch-default-mode

 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 4 ++++
 arch/arm64/boot/dts/qcom/sm6115.dtsi     | 1 +
 2 files changed, 5 insertions(+)
---
change-id: 20240619-rb2-fixes-94f24a0908d1
base-commit: 63072efe1495d9d42546b10b46f2c063ec8db3ce

// Caleb (they/them)


             reply	other threads:[~2024-06-19 20:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-19 20:33 Caleb Connolly [this message]
2024-06-19 20:33 ` [PATCH 1/2] arm64: dts: qcom: sm6115: add iommu for sdhc_1 Caleb Connolly
2024-06-20 13:11   ` Dmitry Baryshkov
2024-06-19 20:33 ` [PATCH 2/2] arm64: dts: qcom: qrb4210-rb2: set role-switch-default-mode Caleb Connolly
2024-06-20 13:15   ` Dmitry Baryshkov
2024-06-20 13:30     ` Caleb Connolly
2024-06-20 15:07       ` Dmitry Baryshkov
2024-06-20 16:49         ` Caleb Connolly
2024-06-20 18:22           ` Dmitry Baryshkov
2024-06-21  5:32           ` Bjorn Andersson
2024-06-21 15:26             ` Dmitry Baryshkov
2024-06-21  6:11 ` (subset) [PATCH 0/2] qcom: dts: qrb4210-rb2 usb/emmc fixes Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240619-rb2-fixes-v1-0-1d2b1d711969@linaro.org \
    --to=caleb.connolly@linaro.org \
    --cc=alexey.klimov@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).