From patchwork Tue Oct 4 22:46:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12998760 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 C7DA7C433F5 for ; Tue, 4 Oct 2022 22:47:41 +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=kgsa3hiwZC2+hb 6i56BcEKkQIhLkNvBvMyLuoH/FxDoUFYADsVl+DmfIED0mDjGEEJVj4GZBiw9TM8DYP2Lnwdmn/qG 5Gsezx5MEWqTU5Gesoes5UNAG17dKan7Vl1+s1QqqVGqZDUonjyE2g40lW+vGD0fGUcB1FYllvjuW QtQiKPVSz36tSSRHwvK0aw9b5sXaipCYs2+yDfYPTamOkTJBtJG2/ye1P8PQZUHN/iKqge/veRK3/ MFZXUnqRusgu4Z7wXlwY1nDg7XNuwXQi9nRSmJUeJ3Ln+Do6UD7ZU2TOv9FCtzbgu3taugbuWq4m0 Sw0vZmstCK6dI9AoCIxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofqgY-00BON0-Fz; Tue, 04 Oct 2022 22:46:46 +0000 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofqgH-00BOIe-Hc for linux-arm-kernel@lists.infradead.org; Tue, 04 Oct 2022 22:46:30 +0000 Received: by mail-il1-x12c.google.com with SMTP id g13so4821554ile.0 for ; Tue, 04 Oct 2022 15:46:29 -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; bh=b1/DJ1QD/JmVXkFdZ5L+JX8R7wgIJKqU2QhO7hDCqBU=; b=dXfTb3vBc5uoPNDpIpcDsZt1UpSfMZN+v/0ldTh9iT7WQh/HJ6sYqk0EoDFNRft87Q lWWRay+xQbsQHEx1Z60h5ogkZfb7HLowoR5wtCDEo1AArJ5XMBvdfAkV/jh8N+ZJ2Bg8 B8CNQX+C/kqqQtJK1+r72PK85/zrnHsaaMFxXV6b7DLt5VFkYgTVs3esHGOIeP1oJ6Rn N9vXJkSmUI6tDvh5Wjz1cpVJJGXIoTO8iRqe5f37Biydg3uClu6OmSyUD6WkTS8oWZXZ adpjepQ3VUiMfE6lGkqLSYJZjPEQ1hxvFkomj37+WMwuO9PjLsoGa0Wc9OIcUTMVQ0Eb 7FEg== 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; bh=b1/DJ1QD/JmVXkFdZ5L+JX8R7wgIJKqU2QhO7hDCqBU=; b=8GiSyaZ2mMKKMz0Rx08ZoB1UDn5CE/XLKZrt6yXc4ZTW97ZmYHkotdR3iXgZ/KsOun YfudaVA/jgCrrYab6l9+k2Xgr0wi8QdrdoXUrjF3LygfQGjfcIA50yxPWiEx7L654mBS 4CuQ8Nxm+xUsoDiDthf+xbzhTYBxw+fEDcUWimEIUPyr3PjQW8yKwBsDdIhZMRnj49uR N2m3FJNB4sTj/Wrof/TTWiAC3o2oB0anjANysNfq7EwcUotmfYicK6VpDYnNJ64kLrLm h0CgQm6/v652e6n2R0i6K+g2YNC3Ro2PVK9sqz9WesUuUs9/HF4YUnqefhp/fw2XGs/h K4iA== X-Gm-Message-State: ACrzQf24hqgB2JsAc6C6K5p+lQEqyXvkal+mqOViu7XtUSXMlc9VsrQd wye+Of0dFG8XL+pTCroFXnY= X-Google-Smtp-Source: AMsMyM5KzZ3NXRYY06S6R6jvXab2MwrtyIsmkdT+2tZ7lq9UUVY5F76Cn95KQSWOav1DFENP0n4k5g== X-Received: by 2002:a05:6e02:18c6:b0:2fa:5726:e869 with SMTP id s6-20020a056e0218c600b002fa5726e869mr81119ilu.250.1664923588559; Tue, 04 Oct 2022 15:46:28 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1eda]) by smtp.gmail.com with UTF8SMTPSA id j15-20020a056638148f00b00349e1922573sm5702033jak.170.2022.10.04.15.46.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Oct 2022 15:46:28 -0700 (PDT) From: Richard Acayan To: iommu@lists.linux.dev Cc: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Sai Prakash Ranjan , Bjorn Andersson , Richard Acayan , Emma Anholt , Sibi Sankar , Rob Clark , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/2] iommu: arm-smmu-qcom: add sdm670 compatible Date: Tue, 4 Oct 2022 18:46:19 -0400 Message-Id: <20221004224619.16406-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221004224619.16406-1-mailingradian@gmail.com> References: <20221004224619.16406-1-mailingradian@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221004_154629_615288_0D205AB6 X-CRM114-Status: GOOD ( 11.41 ) 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" },