From patchwork Tue Oct 18 01:10:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13009776 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CB45DC43219 for ; Tue, 18 Oct 2022 01:12:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Fr8iWcFt7DG/zpJcDPw0X5ogw10CuSUdihzbcYrenSA=; b=Cu2HXWU1KHk9EP 46Dzse7LehVEfWj0mKi+BSv9WJetsK7DiVhSy7ya4IEKJ1fKV3jiOaLMhkJp9Z9UPxt/GKAnHM30t 8gp1s5xDRftG0mB0kMvkfLD7ENcyuzwiR8/FIdWkOrUtDzmb693MO2fIjF9OApl/p+DspCHoQRXs4 CrWp+nhwSq29UUMetaBEMn+dqTHLLJmmMcwKgEs1yQWdPwb1NiVYykEhdcJCD5ea1xDx+egCpuYYT lK9UcN6Tul7VRZTlK+1ZYeDWbu83ayqOrYhK52pd4J4YZpTvjuUJgWnTstcCtqfR7TfmoiW8Z4a/s ZnXOkUnhXJa9cO0tHkzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okb8X-000rC7-Of; Tue, 18 Oct 2022 01:11:17 +0000 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okb8O-000r9o-Nd for linux-arm-kernel@lists.infradead.org; Tue, 18 Oct 2022 01:11:09 +0000 Received: by mail-io1-xd2d.google.com with SMTP id 187so10592261iov.10 for ; Mon, 17 Oct 2022 18:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yWeBaf4vtBh0cPJaX5k0nGek3oH+mu0hsNkHok4Em60=; b=mkcuKsYn0rXGemNDvGkuFupOKalmcJ0P60eAkS/9oYH0wzoZs1Xs+679Fpq30y2+Jb dM4Pn8HMhjimex8la124juRsLZbDiUS5uD/AJj0fiHrvJ/cWUxAjhFy6BCfq/O0GQ/zJ IxlBjWVLhhAJ7miKYxqn0AJaqVkliwkcvWS75pWo4KTfJs6H3DEbPSMOsUCKatoTmDZT v04DQEvnafTWuI1icRCkLtdN0p4GzxDMAEGLy+1/TCFNjCSv6VbppeLUvLqybPxcNq7U vGECd+puBbGsIfdF9BZgz99PhmN+exrFrkqJ6fbjxWxG0KzlUZkibVadRPJTy7Fu41hN 920A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yWeBaf4vtBh0cPJaX5k0nGek3oH+mu0hsNkHok4Em60=; b=roo7wGU/njJZEP9qRnBbh44lIBe3B8LDIizAh+ww+Mc0UkssBbOzrpP4dA6NDXOLM8 iJaEOPouBbdGeGMD2zl7BzbB6Aax0Qy1SWmM1MhXitZkRqOHyIJgJL4sjwwRoadKv91e pD1giWlf0i/NdsGcLjaTBOS5KhcxbwHbqgwhE38TjlY7orJTrTwk2eKyOGErdILdv7KZ DGhKIKxnTeaRj2/xlBNQlCHXgEdwkblSPPVE85m+B1rN4tNFOoAI+8+TfIwXPWUiv8yO eoRVjPb3eVoueHMTYiUWpvOeZe1LXX6GghRdCI1Cya27EypkILs/55DAP2poqkHBVJWM qK1w== X-Gm-Message-State: ACrzQf2+muhJqZ5atxIC/F7jaX7xasasetwonl3Vapt0lJ56d5S9vwz/ +aA05hlDeIbXQ3GSPeObe74= X-Google-Smtp-Source: AMsMyM5qtwsG4KsLgj7Pwc3v7Oq9oNHVveYH0vvYBdKuRfvk4/E/re3oXPgNRb43FCznKWskQZcBRQ== X-Received: by 2002:a05:6638:3f0d:b0:363:ba76:7397 with SMTP id ck13-20020a0566383f0d00b00363ba767397mr527983jab.177.1666055466693; Mon, 17 Oct 2022 18:11:06 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::4a89]) by smtp.gmail.com with UTF8SMTPSA id m47-20020a026d2f000000b003639ef62d08sm530797jac.84.2022.10.17.18.11.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Oct 2022 18:11:06 -0700 (PDT) From: Richard Acayan To: iommu@lists.linux.dev Cc: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Bjorn Andersson , Dmitry Baryshkov , Richard Acayan , Vinod Koul , Rob Clark , Sai Prakash Ranjan , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Krzysztof Kozlowski Subject: [RESEND PATCH v2 1/2] dt-bindings: iommu: arm-smmu: add sdm670 compatible Date: Mon, 17 Oct 2022 21:10:47 -0400 Message-Id: <20221018011048.25371-2-mailingradian@gmail.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221018011048.25371-1-mailingradian@gmail.com> References: <20221018011048.25371-1-mailingradian@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_181108_789989_AD9F6495 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Snapdragon 670 needs the IOMMU for GENI I2C. Add a compatible string in the documentation to represent its support. Signed-off-by: Richard Acayan Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 9066e6df1ba1..5ad6dc64e1c4 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -38,6 +38,7 @@ properties: - qcom,sc7280-smmu-500 - qcom,sc8180x-smmu-500 - qcom,sc8280xp-smmu-500 + - qcom,sdm670-smmu-500 - qcom,sdm845-smmu-500 - qcom,sdx55-smmu-500 - qcom,sdx65-smmu-500 From patchwork Tue Oct 18 01:10:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13009775 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8133CC433FE for ; Tue, 18 Oct 2022 01:12:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TCCwjobgYAI9R6JueWMlLAIx/bnyE0nVU6s8QivtQSw=; b=mqSERZtBRmgsdL 28IFQTGEZPDr8a9vc3qudLCeUlOgili0QCJnQY0jVVOTBRE9zQow7YoPWYE1SaoZq18bcEvYMVkvk CFTbsH+11ZC7cHZt206jAa0/bo/bFo79D83jwpphN7C3TAJdqKmOf6KZq+AOvNpVkbinNMiA9ORbc 5+4pvo/W8E0rwwRLjCdcLyJXJlY9cu7iP3M1gDDd0Qt5kkh8kLTfNh9by0W10paInUfuwoX+hkN0F CYnBQnVG9Qf2u65hvsHcPcl3eyjfYO0HOq4Z9+0tIEJeKeut7xm0rm0LL63GVTpHH+kHgEc7mmik2 J8tulH5lNFkyhTO5scBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okb8g-000rD3-7j; Tue, 18 Oct 2022 01:11:26 +0000 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okb8S-000rAN-K1 for linux-arm-kernel@lists.infradead.org; Tue, 18 Oct 2022 01:11:13 +0000 Received: by mail-io1-xd33.google.com with SMTP id i65so10641432ioa.0 for ; Mon, 17 Oct 2022 18:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=b1/DJ1QD/JmVXkFdZ5L+JX8R7wgIJKqU2QhO7hDCqBU=; b=lcOqSM8ajEqysG3b9KJ59Yye1I8wK/ju25O2DSyQYA2svT1Avqy5h1Euoqw6ec6U1D 76hre713ef9f73yeHovOVfW+AhZ4S5pLDkQ5jMQGvVO18EoTXaj9sfxEg1KzAfJIydvQ KKTfRsZpv8+OU/Ff1o8hzU0XwU3UXoD6/aI+pXcFW9Y+jacbW2OsWhhDUoLEqu8xJiUt SnOQc0iJped5sCDi9BZv39DERfIPCn10/9HhjhlHqlzFBL0naTunR5w+v55VARrKSKAY 5L10Zmne8Y8wt3QxyQvfF81SXzyNrmJ1MS9ZhEuLuJrp02bQqhz56rykwkw/EfkhaFla Q2mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b1/DJ1QD/JmVXkFdZ5L+JX8R7wgIJKqU2QhO7hDCqBU=; b=FCzdKjVFTlFNzhZZN+zZdghFe8GTnFVi2ulZL2v6D870Ku50aJ6giD7pZguc7jSK0Z mFNkRUpPzO/E4JZlf/mm1vbJrCoZxqqbK7BQbXRTxc0hkMMTjbF5qYJqMvoL6MqNbv2L EUCcVtGzXOFW+u/w+/VerDQp2bbzDPKqR3wntAhwNx+sFP321WtB31xBndfHUW8XMF9H z/sHAxQXpIeK5TvjLtXyhS9b6rxa35a3luhvM2cspFlree+1CgOGkFN/L7DZk/3kyqIq 8KwuVeCcME1Bq6mRVpBz+vZPFPExlUhMiIZGNqbkwJ2FTAZcuTVuuLytc7F4YMpdFoU1 OiJQ== X-Gm-Message-State: ACrzQf1c5eNRGTGgqeLE5Y9KXH1K34s+IodnZP3UR1fSNzIL4LdcFq3F mC0LNN9Knoeiwggw1wpYhjw= X-Google-Smtp-Source: AMsMyM5Hz1rwGYBJ6G4/CWt5c9HAx1x7Aza+ahz0ZAzEMoSwKfXzmJrD7FfZmo3bUevM/RhmOD+oZQ== X-Received: by 2002:a05:6602:29c4:b0:6a4:db74:ca82 with SMTP id z4-20020a05660229c400b006a4db74ca82mr482963ioq.201.1666055468778; Mon, 17 Oct 2022 18:11:08 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::4a89]) by smtp.gmail.com with UTF8SMTPSA id 7-20020a6b0107000000b006bc404507dfsm533646iob.6.2022.10.17.18.11.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Oct 2022 18:11:08 -0700 (PDT) From: Richard Acayan To: iommu@lists.linux.dev Cc: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Bjorn Andersson , Dmitry Baryshkov , Richard Acayan , Vinod Koul , Rob Clark , Sai Prakash Ranjan , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [RESEND PATCH v2 2/2] iommu: arm-smmu-qcom: add sdm670 compatible Date: Mon, 17 Oct 2022 21:10:48 -0400 Message-Id: <20221018011048.25371-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221018011048.25371-1-mailingradian@gmail.com> References: <20221018011048.25371-1-mailingradian@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_181112_672629_AE5B31E4 X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Snapdragon 670 needs the IOMMU for GENI I2C. Add a compatible string to support it. Signed-off-by: Richard Acayan Reviewed-by: Konrad Dybcio --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index b2708de25ea3..bf9653b9eb89 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -431,6 +431,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,sc8180x-smmu-500" }, { .compatible = "qcom,sc8280xp-smmu-500" }, { .compatible = "qcom,sdm630-smmu-v2" }, + { .compatible = "qcom,sdm670-smmu-500" }, { .compatible = "qcom,sdm845-smmu-500" }, { .compatible = "qcom,sm6125-smmu-500" }, { .compatible = "qcom,sm6350-smmu-500" },