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 B4C25C4167B for ; Sat, 17 Dec 2022 14:25:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229471AbiLQOZw (ORCPT ); Sat, 17 Dec 2022 09:25:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229710AbiLQOZq (ORCPT ); Sat, 17 Dec 2022 09:25:46 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D5CF1096 for ; Sat, 17 Dec 2022 06:25:44 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id n1so4954582ljg.3 for ; Sat, 17 Dec 2022 06:25:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AbkQiFOGaUTxjVfMNbHPRgK4jY57Ynyi5LA7DMw6iGs=; b=i13UUw/qhReRwrqL2wm6Slq8OeTCbX4r2X1YqZsDGN909O0GDRgqmClAZehsNrOUfe j8ehCr0WdpoFV/UumV9+t7QDdrfHSt78ve8lzcfOMl8EzoG9bW+9uRjawht36GnArN9d QYThTxMghwgR0NyHrJoetyv3sCBsnMZ32WvornpMIToVAj8AUpkWhSA0pndpmJt6FNmH 94aTUgge5Q7pZQEeGz52/BM0swwGaDZtbo3+uCPb57BLs9ilmhS+EhfrBF5+T0DwlNMb oVdnylK3ccjS7XTFCoLV+VtD32WihPmJFB3teag1AoKJUHBUZN/G9sKMPykZaI+DJnQN XjSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AbkQiFOGaUTxjVfMNbHPRgK4jY57Ynyi5LA7DMw6iGs=; b=VoJhe8dAF4JtLjnvFU18DwcKVYae+1Ityc3vyNxLIYL2JRpNVB0eCth3YeN4yMMCfe LydHoPemESxwVxiz7AkR9mbQpurlhBZ3025BGqPvfcLUFdxJXFW7Wn2ZdEmeAyue4BU8 JQrg6mCgcFLGanjGt5wRGAliW6UkEnaY8l5A6iVgZYegTov+/w9B2gyXPJDabzfUXbfj 5J08MEdp/JhkOPIkwxVI0RTuD3Y9DXgVFP8tKDfC4ZYOgqJu6EH9as1cYO8nidmMI+vp b1D2iN64N+5mgNxhVl0uWp44J/VdcWsBS66DvPN+M/Xlyxkb6dpV9xGZD3SvI+HsIpTL jX8g== X-Gm-Message-State: ANoB5pm6Dx7UM/Uvhb6DofkMo0QfYUDfxJ/2ezE1ph22GXQSIAtQ0+fZ LQF8cZ3YkVU+aO/+/u0ucaKG4g== X-Google-Smtp-Source: AA0mqf7xrFRwNMGb2RtvbMR7QSO+gl/dwgUlXXZ4xE24Pvbi68yb3d5sVWaljwReIh3irB0dFAUupg== X-Received: by 2002:a05:651c:12c7:b0:276:103f:dc36 with SMTP id 7-20020a05651c12c700b00276103fdc36mr14388214lje.1.1671287142491; Sat, 17 Dec 2022 06:25:42 -0800 (PST) Received: from [192.168.1.101] (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id z14-20020a05651c11ce00b0027f770526ebsm106761ljo.75.2022.12.17.06.25.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Dec 2022 06:25:42 -0800 (PST) Message-ID: Date: Sat, 17 Dec 2022 15:25:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v4 2/4] arm64: dts: qcom: sm6125: Configure APPS SMMU Content-Language: en-US To: Marijn Suijten , phone-devel@vger.kernel.org, Will Deacon , Joerg Roedel , Bjorn Andersson Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Lux Aliaga , Robin Murphy , Rob Herring , Krzysztof Kozlowski , Andy Gross , 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 References: <20221216215819.1164973-1-marijn.suijten@somainline.org> <20221216215819.1164973-3-marijn.suijten@somainline.org> From: Konrad Dybcio In-Reply-To: <20221216215819.1164973-3-marijn.suijten@somainline.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 16.12.2022 22:58, Marijn Suijten wrote: > From: Martin Botka > > Add a node for the APPS SMMU, to which various devices such as USB and > storage nodes are connected. > > Signed-off-by: Martin Botka > [Marijn: add the new, generic, "qcom,smmu-500" compatible, add patch > description, reorder # properties] > Signed-off-by: Marijn Suijten > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/sm6125.dtsi | 73 ++++++++++++++++++++++++++++ > 1 file changed, 73 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi > index bf9e8d45ee44..347665c2067c 100644 > --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi > @@ -573,6 +573,79 @@ spmi_bus: spmi@1c40000 { > cell-index = <0>; > }; > > + apps_smmu: iommu@c600000 { > + compatible = "qcom,sm6125-smmu-500", "qcom,smmu-500", "arm,mmu-500"; > + reg = <0xc600000 0x80000>; > + interrupts = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + > + #global-interrupts = <1>; > + #iommu-cells = <2>; > + }; > + > apcs_glb: mailbox@f111000 { > compatible = "qcom,sm6125-apcs-hmss-global"; > reg = <0x0f111000 0x1000>;