From patchwork Tue Oct 4 22:46:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 12998759 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 600E6C433F5 for ; Tue, 4 Oct 2022 22:47: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=HD5dFxqi1JKG2Q +tg+MLp4bw2eytHl48zlCfEAkwqsvDdPEpZyScVBCUxepMVtzScWdl8nJE93D0qLR8oW2FDtsFgpJ Y0EvhBTpp340gMslZ6snAv5KBTezVs0N47T/FxxzEtMaj0HZhegf869mcGsjgMlKKH3puPaJSD0Du bbRy4+igNafhuzC2KWErhwNgCXcGpCwoyPYvzxYFPtqjYTQE3vPWaKtVJhiQN497si6z1hdHwBAAz vmA+qeR+cHG6Dz9RtO1tY9tZXhNYUEo14eaBLTdkbC7zB9yEVHiR1KoEkx1oGLFP2BiJAa9KdY2yR EHRneW3gPaaMcVPNkqxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofqgP-00BOLP-QV; Tue, 04 Oct 2022 22:46:37 +0000 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofqgF-00BOI7-VD for linux-arm-kernel@lists.infradead.org; Tue, 04 Oct 2022 22:46:29 +0000 Received: by mail-io1-xd34.google.com with SMTP id d196so1188471iof.11 for ; Tue, 04 Oct 2022 15:46:27 -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=yWeBaf4vtBh0cPJaX5k0nGek3oH+mu0hsNkHok4Em60=; b=YoAzhOO03Egp3FHUujgQzHEKSDWNLqpNscdSHNygvbUZ5ki+XmPvuw8P8ou3n5Z/Zl Lg2KMVtEvFl3lRBJD+mf6EaxSvuUPGR+ValK65R39/gSApJRB8Yv2Gj1sz65/svFdmU5 rPudhPeLdTNMJcK+d8z/wy5nmrpGy9n6y/cOOV9Pg+XiJRt5v6deaMea2EMHBA7QNmls aRxXOZURLh6AXWfe/N6w411QkQgFWfQMYDoXhuvr7HOmmngPUVxb94rTwJemcQJw+uhX 0sac+iHrBkfn9QYN5Q6N+tTa5IVTCb21Cfn6nF3URZvNlXOAl/wFKTrCh3SwRTc45dMG Ugwg== 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=yWeBaf4vtBh0cPJaX5k0nGek3oH+mu0hsNkHok4Em60=; b=OY94ONgwS+pqF4FZPU0nYRGV4i+9t4I9UNKqVXGxMfLxezkMYhBjMYk7PHDvESgTAi /H1nX3dAfoVhcFJyHKGVyzC9oEmzEhMuHTmblBDdyucXYRynjFrv9AFr9HFw4vUmWf/m FQK3q9Wn6RAy5pHRzhKkyHFOFNfn79pM+dk+g3ti4x8n8D1kWqSeBjRp8L0+U9DFipYQ XsdH1IpPOlGKWF6ZVLe/ph9xnLnhCxXqteBAyjNTTKTcUFicA8iF2qTWcI9DnxGbHjxj kBdBt2lJe5ANX8oKHOKGg/zWJDbVeFHoqnqxIhzg+xS26pl3f1epcdykR4cHCLQ/Co/F H5Xw== X-Gm-Message-State: ACrzQf1/WGGFpw4u2Xy3vmZ0eiQloc7QOHZce0sx6hgjFPqCwM66wYbq Cc7aIj/cGcsmMvX9o+7Z2Zg= X-Google-Smtp-Source: AMsMyM4urdGES741Q8zKbHdKlQdf936iRlZhPZ8D9sTTiLsophwa7YUSDMy9KapgnWh181Cp52jkRg== X-Received: by 2002:a05:6602:15ce:b0:6a5:22db:950b with SMTP id f14-20020a05660215ce00b006a522db950bmr12216256iow.183.1664923586566; Tue, 04 Oct 2022 15:46:26 -0700 (PDT) Received: from localhost ([2607:fea8:a2e2:2d00::1eda]) by smtp.gmail.com with UTF8SMTPSA id v6-20020a922e06000000b002f5447b47f8sm5251047ile.33.2022.10.04.15.46.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Oct 2022 15:46:26 -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 1/2] dt-bindings: iommu: arm-smmu: add sdm670 compatible Date: Tue, 4 Oct 2022 18:46:18 -0400 Message-Id: <20221004224619.16406-2-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_154628_038385_5060F93B X-CRM114-Status: UNSURE ( 9.74 ) 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 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" },