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" },