From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94013C4332F for ; Sun, 18 Dec 2022 11:11:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbiLRLLP (ORCPT ); Sun, 18 Dec 2022 06:11:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230368AbiLRLLJ (ORCPT ); Sun, 18 Dec 2022 06:11:09 -0500 Received: from relay07.th.seeweb.it (relay07.th.seeweb.it [IPv6:2001:4b7a:2000:18::168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A788C2BE0 for ; Sun, 18 Dec 2022 03:11:07 -0800 (PST) Received: from [192.168.2.144] (adsl-d248.84-47-10.t-com.sk [84.47.10.248]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id D0D1E3EF1C; Sun, 18 Dec 2022 12:11:03 +0100 (CET) Date: Sun, 18 Dec 2022 12:10:57 +0100 From: Martin Botka Subject: Re: [PATCH v4 4/4] arm64: dts: qcom: sm6125: Add IOMMU context to DWC3 To: Marijn Suijten Cc: phone-devel@vger.kernel.org, Will Deacon , Joerg Roedel , Bjorn Andersson , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Jami Kettunen , Lux Aliaga , Robin Murphy , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , Dmitry Baryshkov , Thierry Reding , Melody Olvera , Greg Kroah-Hartman , Bhupesh Sharma , Douglas Anderson , 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 Message-Id: <9233NR.PQPFERN2D1SO1@somainline.org> In-Reply-To: <20221216215819.1164973-5-marijn.suijten@somainline.org> References: <20221216215819.1164973-1-marijn.suijten@somainline.org> <20221216215819.1164973-5-marijn.suijten@somainline.org> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Fri, Dec 16 2022 at 10:58:19 PM +01:00:00, Marijn Suijten wrote: > From: AngeloGioacchino Del Regno > > > 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 > > Signed-off-by: Marijn Suijten > --- > 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 f560499cc0ca..a205121ab4a7 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 = ; > + iommus = <&apps_smmu 0x100 0x0>; > phys = <&hsusb_phy1>; > phy-names = "usb2-phy"; > snps,dis_u2_susphy_quirk; > -- > 2.39.0 > Reviewed-by: Martin Botka -Martin