Message ID | 20221222193254.126925-5-marijn.suijten@somainline.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp132384wrn; Thu, 22 Dec 2022 11:45:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXvVdLUcbyigdEL7Fg/pKs42P/fuN+YPlqlmqt2ecAeD4gKZFAw5QPqKwfpxeI+RLrpZ1CE9 X-Received: by 2002:a17:902:bc45:b0:191:3c3d:86fd with SMTP id t5-20020a170902bc4500b001913c3d86fdmr7634495plz.48.1671738358918; Thu, 22 Dec 2022 11:45:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671738358; cv=none; d=google.com; s=arc-20160816; b=LgmGLL4MySOXoRhNH6UYPXDRQuRRX6cNGYT56CiSKHQVoWY6Dsdyk6uV3Ijf5Ch5o2 ii/84HKCupN/nkpmqYKYnXUtgFgXbMOrIiPT2cdYuNHisbxkPsG+2VSkvSOe5lTV1oc7 xQ8Ah127HhGzMn3+2jO5onta5msGej0vbjaPN4vicKJHApw7OpxlIjgGZBblEyNllZ4p vvAhoDnenrufpJiH2NSAkuSTSaV95kC+Ty5r7wk879ZrWcw+79ifLmus+9oJAo8JnvP1 wr9+hnxYmBlKw7bGHaUI5e2xSy3Y5vAFpIXoUnEt0fZHumANaJOqmT+1Mm+c/8+po4gn 5LNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=opHsEwjQ9MZiSNjntpHjuJqem8S2fiR/g+msNaNM/E4=; b=MLBecE0LpQ4DuLeuEcTlcfe2V4sevvfOlL1azi3ofAH1lLlbywP6HbjSn1KPQITt0L 11Ig4/9ohXWphu/45euRTt1J1aY/hl/GGuELIKsM7iz3hC3NpOThpoa9E8SACwzM07ro H3NRuHOfRysWVzwzlQMPWcTneWzefTzsuIsPMWzy7xUHe02hvQg1fac6MkTaK5u2CxDR 65cYi+YFOxpjAi8+IClooCzrJVoHtUH1TRUVWNnenYI/ZYW5K8zz4wtRY8ynbZx1Jxj3 AYghQJWaAROAt/q7UVMP8CCrOp6urvEKcf1pikvpwVF2Kb+98vvg68ktLdmht5G/vYif ohYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ja10-20020a170902efca00b00176d5b20ebesi1240657plb.355.2022.12.22.11.45.46; Thu, 22 Dec 2022 11:45:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235843AbiLVTd5 (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Thu, 22 Dec 2022 14:33:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235178AbiLVTdm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 22 Dec 2022 14:33:42 -0500 Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it [5.144.164.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C06118E25 for <linux-kernel@vger.kernel.org>; Thu, 22 Dec 2022 11:33:29 -0800 (PST) Received: from localhost.localdomain (94-209-172-39.cable.dynamic.v4.ziggo.nl [94.209.172.39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 47C382021E; Thu, 22 Dec 2022 20:33:27 +0100 (CET) From: Marijn Suijten <marijn.suijten@somainline.org> To: phone-devel@vger.kernel.org, Will Deacon <will@kernel.org>, Joerg Roedel <joro@8bytes.org>, Bjorn Andersson <andersson@kernel.org> Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Martin Botka <martin.botka@somainline.org>, Jami Kettunen <jami.kettunen@somainline.org>, Marijn Suijten <marijn.suijten@somainline.org>, Lux Aliaga <they@mint.lgbt>, Robin Murphy <robin.murphy@arm.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Thierry Reding <treding@nvidia.com>, Melody Olvera <quic_molvera@quicinc.com>, Bhupesh Sharma <bhupesh.sharma@linaro.org>, Douglas Anderson <dianders@chromium.org>, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v5 4/4] arm64: dts: qcom: sm6125: Add IOMMU context to DWC3 Date: Thu, 22 Dec 2022 20:32:54 +0100 Message-Id: <20221222193254.126925-5-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221222193254.126925-1-marijn.suijten@somainline.org> References: <20221222193254.126925-1-marijn.suijten@somainline.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752944721638139438?= X-GMAIL-MSGID: =?utf-8?q?1752944721638139438?= |
Series |
arm64: dts: qcom: sm6125: Enable APPS SMMU
|
|
Commit Message
Marijn Suijten
Dec. 22, 2022, 7:32 p.m. UTC
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Add an IOMMU context to the USB DWC3 controller, required to get USB functionality upon enablement of apps_smmu. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Martin Botka <martin.botka@somainline.org> --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index 32dd172ea104..7c326368e30d 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -542,6 +542,7 @@ usb3_dwc3: usb@4e00000 { compatible = "snps,dwc3"; reg = <0x04e00000 0xcd00>; interrupts = <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>; + iommus = <&apps_smmu 0x100 0x0>; phys = <&hsusb_phy1>; phy-names = "usb2-phy"; snps,dis_u2_susphy_quirk;