From patchwork Tue Sep 20 22:39:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12982724 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 6785EC6FA8E for ; Tue, 20 Sep 2022 22:41:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229917AbiITWlP (ORCPT ); Tue, 20 Sep 2022 18:41:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230011AbiITWlN (ORCPT ); Tue, 20 Sep 2022 18:41:13 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AA556745A; Tue, 20 Sep 2022 15:41:13 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id e205so3648477iof.1; Tue, 20 Sep 2022 15:41:13 -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=acW7PJVhTdYkBA5AQtbnFebc9arCNth7+PSPtDUOpfo=; b=Z7MfnCYcIcim+qqGvphgdH4M33YcLAgeUBN/vd7YOmveeq0iFnPxHE7TpTg7DEDD6+ uYFuiywHF3WYbOmv+QL9m+J2pz58MmH7KMs3mF6vE8GyVuJ5Vpkx3/16RgCRPKl1fk7k pRqbgW9P6rMxskMJZc1687WQPqkXx9/rN4UwYu9j+PfxKEKGR6V2uJ1Tyar9NIPcuyet 7jclsmn1PGvzS9U8bK7IUVmoW2ZoGB69YO+HFm6ZlodFQkvXRmqyz0CftzZlF//Zj01j oDvuYWgP3FdKx/9DoP8pEwdSJAzQMXJJdLv42/DJ6gUizhZAn9Ig8HZGHHffIi5m7lNR h8mg== 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=acW7PJVhTdYkBA5AQtbnFebc9arCNth7+PSPtDUOpfo=; b=mbZrWMz4H2u6Q4UwgtBbRLw4oHIH3e7kC2DjmwDQQmBKT2cJ2DuT45PLNPY7/kIhDs vm6thH5vpU1Gcdoya7O4rYXnHgUi8VaJ8W8W3wec6PnDFUj21dB5mvIUlY9ZgcbIdeK3 MNFxbiPpZaocJ4tDyEiuICWrAY8pZ0pg/84IBzXpbdjLRpjpC3/RBngKa2C70M9/TGAt TKjVUey1CD6NMI4ybtwfocFjocAFJPNIgKlmDt1AmjgeLrGym9wdgg8m8vUcVpZLQSvt 2ICTimtA0ZZW5my0Vtl98CKv/AtUcl5Mn0QxaGyg58cvPOfHKxN0DCQu0q0eKl4+Ucq8 3AcQ== X-Gm-Message-State: ACgBeo0UtOlGkaQDKMQppEJ9LYzAZMa24dvdM2B0DFhz9e2ib+Qvvf6X IaA8QGwJAbMIPw4WQq5ChNtHhcRNQMM= X-Google-Smtp-Source: AMsMyM4+jkCURRFCGrTl3ABYsRbi62hzjYjzbfVsh34hPDSBdB4BV1fhwMex+w5glFTMlUA8vM0n+Q== X-Received: by 2002:a05:6638:24c8:b0:35a:41e1:856b with SMTP id y8-20020a05663824c800b0035a41e1856bmr11958362jat.99.1663713672301; Tue, 20 Sep 2022 15:41:12 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::a533]) by smtp.gmail.com with UTF8SMTPSA id t5-20020a026405000000b00349be675e76sm367177jac.131.2022.09.20.15.41.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Sep 2022 15:41:11 -0700 (PDT) From: Richard Acayan To: linux-arm-msm@vger.kernel.org Cc: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Bjorn Andersson , Sai Prakash Ranjan , Dmitry Baryshkov , Rob Clark , Sibi Sankar , Loic Poulain , Vinod Koul , iommu@lists.linux.dev, devicetree@vger.kernel.org, Richard Acayan Subject: [PATCH 1/2] dt-bindings: iommu: arm-smmu: add sdm670 compatible Date: Tue, 20 Sep 2022 18:39:55 -0400 Message-Id: <20220920223955.151507-2-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220920223955.151507-1-mailingradian@gmail.com> References: <20220920223955.151507-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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 Sep 20 22:39:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12982725 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 97A2AC6FA82 for ; Tue, 20 Sep 2022 22:41:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230011AbiITWlR (ORCPT ); Tue, 20 Sep 2022 18:41:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230089AbiITWlQ (ORCPT ); Tue, 20 Sep 2022 18:41:16 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E5CA6745F; Tue, 20 Sep 2022 15:41:15 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id g8so3682376iob.0; Tue, 20 Sep 2022 15:41:15 -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=FlMLWqjsEhvvN9ALe+BbwKktL9+Dx8brwwgQenKGt2w=; b=WI8D7cv5AZmDkN4ttg4WESnrYZlMkYc+I75Yjz/udZtGHW6fOOlelxZ1TfN6DAlGfY cJyXYmECYMg4cNoQZuruYtL2NsVhMzEuXYGRwVrfoijNO1g3iTATKJHZIfLzmu0Ehl/+ 7yMnPdGi1jdgc7ZC2EZn+GHBJJixCPWGlXJKH4gJdnq3b8T1IgzLS97gKAtO76kycVxv j/tg7iqOtP7puKTrTFiSWI4fY+otdWgp38ah8/7OPArqc1j+EOit4B7ZVMdjTVweMqQW GddxzD96qbuZgnFq6wo3P/U5NShsIgsyWdqvzntO5j56R+3kybwi9Jp8NND2pfDP0xlw o9Tg== 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=FlMLWqjsEhvvN9ALe+BbwKktL9+Dx8brwwgQenKGt2w=; b=zYHkMN/mQJ3xzUUV+xbm45BuR+E/oeV/MopAjPDkc1L29wvOAE3Y2mu5RQM/6+CI3j s+uLcvJ6Pg8/ZxU8OTwbY+oWQJ1JsDHRj3V06QiAiXOvImcRgoO16SZcThFL8jTJy71H IvBIcEScSYTTkI8hM52Qi7UXwJgSZqnIk8PTj8Vn1LH8qRjpJQ1AKVcSou1O2HDHUm9Z cHrtqJ4+waz8Ka5LXWw5yYSOhKGybs4qx1rBy32VVJzv8haPTEolRDKMEKP09mOIITb4 LJGbGuGUNLzVpoem+2umV+KffRKCVZ8RA36ufaY7Z2Y084DFLo6qvOTWsmjVxuFVb6oT LxZQ== X-Gm-Message-State: ACrzQf0PVzqNlTLQT2opTk1DrRgON48pE+kB7zVpdbvf8R/Mz0OMTJR5 TZl9Aa8DnsJn2LF+QJEiXaiFK/CrwyI= X-Google-Smtp-Source: AMsMyM7DChjcxcQ05YM1UPiqeTWc90XICrCceCVpbT8ax1IaDzOSdV3dn3C0H8CbRGzvxdyjpdIRYQ== X-Received: by 2002:a05:6638:13c1:b0:35a:54e8:a388 with SMTP id i1-20020a05663813c100b0035a54e8a388mr11985045jaj.268.1663713674992; Tue, 20 Sep 2022 15:41:14 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::a533]) by smtp.gmail.com with UTF8SMTPSA id q12-20020a0566380ecc00b00349cee4ef4asm394392jas.62.2022.09.20.15.41.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Sep 2022 15:41:14 -0700 (PDT) From: Richard Acayan To: linux-arm-msm@vger.kernel.org Cc: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Bjorn Andersson , Sai Prakash Ranjan , Dmitry Baryshkov , Rob Clark , Sibi Sankar , Loic Poulain , Vinod Koul , iommu@lists.linux.dev, devicetree@vger.kernel.org, Richard Acayan Subject: [PATCH 2/2] iommu: arm-smmu-qcom: add sdm670 compatible Date: Tue, 20 Sep 2022 18:39:56 -0400 Message-Id: <20220920223955.151507-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220920223955.151507-1-mailingradian@gmail.com> References: <20220920223955.151507-1-mailingradian@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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" },