From patchwork Thu Feb 16 14:56:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 654576 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 E4AECC61DA4 for ; Thu, 16 Feb 2023 14:57:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230334AbjBPO47 (ORCPT ); Thu, 16 Feb 2023 09:56:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230308AbjBPO44 (ORCPT ); Thu, 16 Feb 2023 09:56:56 -0500 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ADBB55E5C for ; Thu, 16 Feb 2023 06:56:52 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id y19so2225251ljq.7 for ; Thu, 16 Feb 2023 06:56:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ojDsOUx0QxlHwnKO3iv7w8jD6D1QkQboQ8A+JjRFmOI=; b=SondPCscTEEfrANSxAKrbtewG6FLTdvIPFAFYYLnp3D6+Sn+aQcShVMUm4krMOXcjZ zbo80ni77TnS8/+4ZDiNXLavjjm+yeKidHBAkz7jX3QA31vJzCCCIqi/Kuh9dzPDXXlM /hIpwe6+bwykNTXyuP24UuNpY2pgy2hRN5tf7u+OnnbVUZmXyC0Sif2c2hQyi2K7J93f qX3ZquTNqVEE2BsSD5RTSPRcD8CO6ir6oJc7acuOYeiHpd1yUmdEvLFQoRF4sdnHisA1 a0csh6t9NnYQ6mi2jZwM7GMJ3HXYDMvMBOdq8newuRzxiAUWyrfbywABB9wT0OFft/jD lPEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ojDsOUx0QxlHwnKO3iv7w8jD6D1QkQboQ8A+JjRFmOI=; b=xonpYwucGq9qf5XDD7/bePv+0rCev1eXG3/Mre96HZq/jHUe1TOa9SkffAsY1qyiGb gFbBM1hGZqjzIJseI8UVRUpa+pRBrMIoFC0VyPDmC1L4FeDOuM8H9c9DxbsQPIbL7zyX 8+O3thQPfom18aFQGwqYnc1FMk7FQny2ij7fhOFrN7HJrNbl2E7s3azqul6QR2/hqnch AthITLPWzucFGOr2oFNysCMq8lCmqOw5M29PR2KJOLFTqKQYMf8eT2BE+yTVESsd4YMn vOxUMarRUGjUliLqFSMEQSXvQoPLRD/q+4I3R7CRtd9FwqV+EjEY0tCzZ5K6OTDBD4it bJug== X-Gm-Message-State: AO0yUKW3QzGrquyZmvL6Crkc6hGZGno+8QfNXock9Qn5P2kpmAQPME/c zQd88+tTyiCssidlYMyL/6v4DPWrGU6Z4ImN X-Google-Smtp-Source: AK7set9+IAinWnvv0qZQ8rLV8eYgth93ol6l9oBQDHdUVVXXttEPDYhOnNeijW8y7UR22spzLJj41Q== X-Received: by 2002:a2e:a365:0:b0:28e:732e:206a with SMTP id i5-20020a2ea365000000b0028e732e206amr1548884ljn.12.1676559410725; Thu, 16 Feb 2023 06:56:50 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:50 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: arm-smmu: Add SM8350 Adreno SMMU Date: Thu, 16 Feb 2023 15:56:42 +0100 Message-Id: <20230216145646.4095336-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document the Adreno SMMU present on SM8350. Signed-off-by: Konrad Dybcio --- 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 4d7f61700cae..d89aa5b5c963 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -81,6 +81,7 @@ properties: - qcom,sc7280-smmu-500 - qcom,sm8150-smmu-500 - qcom,sm8250-smmu-500 + - qcom,sm8350-smmu-500 - const: qcom,adreno-smmu - const: qcom,smmu-500 - const: arm,mmu-500 From patchwork Thu Feb 16 14:56:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 654203 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 051A8C61DA4 for ; Thu, 16 Feb 2023 14:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230376AbjBPO5H (ORCPT ); Thu, 16 Feb 2023 09:57:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230321AbjBPO45 (ORCPT ); Thu, 16 Feb 2023 09:56:57 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FE4656484 for ; Thu, 16 Feb 2023 06:56:54 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id u27so2205609ljo.12 for ; Thu, 16 Feb 2023 06:56:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=xA8Nok9QB06dAiggpOCi9jTMtWNwPI/BkB7gt9UlA4Q=; b=ud3t/DRE6nToVd1mFfxMCc6ZnBTJhm+5E49w3+Wd6fAP1x3kIW/YoRm6IBQP3sj8M0 rFkdEVsROi9pudYxdoIMTqL5Shncf57fkILgjqbKY+LFttQJFNT4ghldjCVIYA6vCvMC 23LI5vUzCoFB6Hxq0EeMx7ANobgZ+4oYaB7uafYr5edOgUAWNM9ZjChwWq2pvsfquWDO RnzlLylNeFXvOZ7HisHJJzsmJpgdwCs+GzLBG+sOaIX1nwsi909aMXSOlwyYiIoiPWNS QvMMsIB1n226cXbdH7MtKUKkbFEO4hGsXXRlRLh9nOyl1e9x355WiI+qRUhHp+bUPfRI wVHQ== 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=xA8Nok9QB06dAiggpOCi9jTMtWNwPI/BkB7gt9UlA4Q=; b=N14LPy32XqRUvA4CAlfXslgGKiUralVwJ7+g95OMmSdVUyIhQK2WoyXk5UqObPsJco uM75g9kqujACYw1Y9WddrgNdwCLtjyES3zpwKN88NZEpx9Q7c2Upq2xPa5ecy6KBDfh1 LoBjcVHxoBgycgk6zCbbBXu/h3tXHHFqtCpP+N51RaGqlPsup3VVn48WanrQCSHXLQ46 nmkdxPOr7fZ8UMIbnGbYqA8lfbQUjbK91bNB7xGyMbZNcjSQ+uIgvjE35b4dSY1qLdnn f8EZdULpaeJDRkY5RhKXCFhjWQnNGOiyhTC+gpBLYJgJ9lnm/KfYI9vC13NG8xicOASD hLzA== X-Gm-Message-State: AO0yUKV1c+6Q0QRmvLhCn5NoxBdpZZcBjbfyAmVkUsI6YM3vQ00JJxaQ l3u2sRhxhd4EW8+H0QUJhJYf2g== X-Google-Smtp-Source: AK7set/Fipmuu7N68aDIu5iNxlr0lOhtbQnXNgbheUnyJukms92JZ5kKwONFGBqzp7T7B/gzoigPvQ== X-Received: by 2002:a2e:2a43:0:b0:293:4b6b:914e with SMTP id q64-20020a2e2a43000000b002934b6b914emr1835066ljq.26.1676559412360; Thu, 16 Feb 2023 06:56:52 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:51 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/5] arm64: dts: qcom: sc7280: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:43 +0100 Message-Id: <20230216145646.4095336-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216145646.4095336-1-konrad.dybcio@linaro.org> References: <20230216145646.4095336-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index bdcb74925313..a8227bb6b336 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2677,7 +2677,8 @@ dma@117f000 { }; adreno_smmu: iommu@3da0000 { - compatible = "qcom,sc7280-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sc7280-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x03da0000 0 0x20000>; #iommu-cells = <2>; #global-interrupts = <2>; From patchwork Thu Feb 16 14:56:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 654575 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 9200FC636D6 for ; Thu, 16 Feb 2023 14:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbjBPO5I (ORCPT ); Thu, 16 Feb 2023 09:57:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230337AbjBPO5A (ORCPT ); Thu, 16 Feb 2023 09:57:00 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B37EF5455A for ; Thu, 16 Feb 2023 06:56:55 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id a13so2226183ljq.6 for ; Thu, 16 Feb 2023 06:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=9IlYxYxNog8XCHVUEYok7oCK3ZQqmTpqj9A73guknvE=; b=yyZAspCKa2SMMKvuJ6Dk6UjknNEziJX/g6QejPlibJDm9p5FgjAY0BdPo0yvIxkE8z mD9dmXnD9I+eazZtYYuz0TdPPdhMQvlcEbm8p1jNReD5AEF2O20WQbmTbOKjuzH0X1Fd S8Ycf9y6ewZ0jIU0pEYpZL3tPbSS4gHMcZPQF2Z2KekkfZ5Pfk6eTtRZEjHljSyXLjUB 6qt3J8m+dmFB6oeW4mQ6gebc+j/YYlXSaCa+j47vXtw5NVlZDNot72zT54sgDExVxG1E EhlfzWAcHsznN1CyDsAfHORtQYgbAWs0y9sLjpJtNj0CIsSyazCnmPBF7T8fxWP3pUmF 4Z7w== 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=9IlYxYxNog8XCHVUEYok7oCK3ZQqmTpqj9A73guknvE=; b=bHEjbi6KPkAhZcffMSHGDil5T6Q+HQvW6rnFqnlGFvhdQT7tTGPiId0vjVmYTwwN/X 79wvGofMU3IbVLU0HG2yxloiQo4PyeXpynkFTPz326lx4bf3fueVpaaebwV7m5mdY17Q ocY09gJzM8uosb/Wi82XHowjcZhkuy3VuaXK1c3Fyh3DSmm7Nfu4fI2bW178jvQPrr7U ZAAKi5fKtGdGoIQ7+YS4tPvxr77qPjlf9LK8GLe5J6l/Pg8iKqOYjQeWNYjLCSlAe5Wv r+DTcMlHpTTq6s5lU+CXoD2Vh4EjifNYNS2alaEGiU1QK0iuLLidLL/PcW4EiISRFtGJ ne8A== X-Gm-Message-State: AO0yUKWezLWYIFzGj/hyKozG7mf9BfaNa5N1oo8OSSJigZCFA6YVna+M yvyAtye0AmMEBZhWv8rFeiMBDA== X-Google-Smtp-Source: AK7set9OYyZjiDx2+mIP4XkSuI7pXcZaVBNISJytZjYZiK1Ifi0y9a8FFA0HugJseZYi7w2yJbIIGQ== X-Received: by 2002:a05:651c:2207:b0:293:4fff:422d with SMTP id y7-20020a05651c220700b002934fff422dmr2286616ljq.13.1676559414000; Thu, 16 Feb 2023 06:56:54 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:53 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: qcom: sm8150: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:44 +0100 Message-Id: <20230216145646.4095336-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216145646.4095336-1-konrad.dybcio@linaro.org> References: <20230216145646.4095336-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index d94171f9b73d..3da77141a164 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2287,7 +2287,8 @@ gpucc: clock-controller@2c90000 { }; adreno_smmu: iommu@2ca0000 { - compatible = "qcom,sm8150-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sm8150-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x02ca0000 0 0x10000>; #iommu-cells = <2>; #global-interrupts = <1>; From patchwork Thu Feb 16 14:56:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 654202 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 BC471C64ED9 for ; Thu, 16 Feb 2023 14:57:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229786AbjBPO5J (ORCPT ); Thu, 16 Feb 2023 09:57:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230350AbjBPO5H (ORCPT ); Thu, 16 Feb 2023 09:57:07 -0500 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AB1E521F5 for ; Thu, 16 Feb 2023 06:56:57 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id g14so2212223ljh.10 for ; Thu, 16 Feb 2023 06:56:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=HKPZoARVL4pErww1wba0PhsjF+y4EURMfNEf5dTC1YQ=; b=odBtyRbdU9e/VNYr//7YW4Mc/4+x6j5dMtcALVOVFF9QTGuXaxlEGRgccSqD6wYwnx m/GFsZY0IZOlN5khck2Bi5GkcikpdtKamOW0AwagkHnDgiRqMdsQWIoBHFmDCAYFCwbw xT9PbU99YZh81KjBqwxtJrS4KZIZgT1kXaiB2oqWeLWSnQoWRTHO7VGJypgPVjscEQE9 uSfqeGO3uaJ/49BnkjkQ0qSWw/JIag+uIdh2ceCPB7RDyi8HMOqtGoC5nLJjdBFREE2z dBOAtYykR8YyVsYClU5UlGN5uSxKekIQjZDGaYoUO3o3Flp52SFfGw5qINxXNQ+qKLGV onGQ== 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=HKPZoARVL4pErww1wba0PhsjF+y4EURMfNEf5dTC1YQ=; b=y8JFEALUwjontprUqzvqVoSt1uGEejPXD4R/jFFfUCJT0GVLb7pPCc90S5hT7urKrx M5FIX2PQpNcNeZ1TO8CUDH41RAuZVYwPyNBKTLHBSX9+Ai+kdXQCb3tUXyKnqSJsgAPi kWFLUYNdghdt3vKAOG0yugJdcaB84OxVzO3bJkyYM8Tm5bDEKeVfzi2nD5hGIt2U7LCe IjOjMAYknuGS6Ek96fUn2IIhUdIFTnG7AqAgn5A5aUEMYsR8GwnYczS3JA2LwTOVgZPN bQJsgfF6mP9WXBr16uyhd8zZlwyESP+McQr18TGHTbWdWYcIgnljdObQkdjZuB2WUfO0 aFZg== X-Gm-Message-State: AO0yUKWBJPqx0IBoM+wgzJsZ/QXo8Tx8+olt7XAA636PevrudRMHLHHk reK10AEuVLFMRNkcV607fQR3EA== X-Google-Smtp-Source: AK7set8FaLeTWAr/SL89TL2fRxvrlq8DSwMxLi2hP41yr3ZatnqIYGddBt7KxaV9SV/egp5Ryjb5uw== X-Received: by 2002:a2e:550:0:b0:294:6d2d:c18c with SMTP id 77-20020a2e0550000000b002946d2dc18cmr331046ljf.36.1676559415327; Thu, 16 Feb 2023 06:56:55 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:55 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] arm64: dts: qcom: sm8250: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:45 +0100 Message-Id: <20230216145646.4095336-4-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216145646.4095336-1-konrad.dybcio@linaro.org> References: <20230216145646.4095336-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 6a0100822d3d..13f5526d97b4 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2701,7 +2701,8 @@ gpucc: clock-controller@3d90000 { }; adreno_smmu: iommu@3da0000 { - compatible = "qcom,sm8250-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sm8250-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x03da0000 0 0x10000>; #iommu-cells = <2>; #global-interrupts = <2>; From patchwork Thu Feb 16 14:56:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 654574 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 12D0AC636CC for ; Thu, 16 Feb 2023 14:57:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbjBPO5K (ORCPT ); Thu, 16 Feb 2023 09:57:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230364AbjBPO5H (ORCPT ); Thu, 16 Feb 2023 09:57:07 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4154054557 for ; Thu, 16 Feb 2023 06:56:58 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id h17so2240166ljq.4 for ; Thu, 16 Feb 2023 06:56:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=SNZb9+LtgOPB5nx7aOjdrhWOzr4hEeUenj9snV+d+v8=; b=VX+hSkQ4DsAL4scU9uwMTlVBha89E/tZTBODBuRwHH+noKYA3b5IrmjzYwXZlDZNqI 7WaIR8F26POUW80Q1aVuWFKd8z4gd6tLhcjX467ueNSNQPk3ctf9DzcTulBk/O2q7BaR dIxhyZeoGedk1RFRm3oPKtZgosXui3JVWAOnCPmM2s07MpO6BZTRuRcAb6xehSs60wh9 jtOoYr6wyy0YCNil9u0YI5kUgqVBtOO1eeITpSkKAJg10XulMvnqZsi86SXV1MKo9sO+ dxp5BZ6KF1b48v+S+asFHa89kE1SOHv1J4G0YrJnAjM5h8cIV4HvyN0qzOAYDgVnpP72 NjqA== 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=SNZb9+LtgOPB5nx7aOjdrhWOzr4hEeUenj9snV+d+v8=; b=RIlzmsIHH0w2DgCAj8vy5wQPrwrZQDyICekDRPk7etjDInkcbd1OZwvyrtFAUY0RaO N42ben7zXY5aB43AarqceOztEGu+c5Zbv4k+rZ/OHjJ26YvHWT9gS6/lVkKotffDTL7j +qIvVkvP7yL4sYlbJ5dI4eE/enT6sDRXFoxWhtUPquSC9hk2DDmrNZ9Qk5ySmHcexZ1O 6/TIMqgHbEhWXBMSg3WIEp3HCXEAxCmbCOfsB+aRverePLkvvxScYCStpWq6ZeCzRX8L UujPF4+abx1Y6n/Pk41gpDqJRtmTAhEN4WppcOH3ZF3V5k58TqNtWFP8DY/bV2ATaHnS irsg== X-Gm-Message-State: AO0yUKU+9zoFYiCrGcqhEhfJ0O+pbSEpuhbf1G86A9NKAN6YXWGsWLOQ ZBL5bmvslzyzZzTkSj1f8oiULQ== X-Google-Smtp-Source: AK7set9J7sGBjDvZYo3KM3A5arAbmcbrbZLwzsN8bfzBzkGG1cpfOdELc5O0LriLynryZM7VdZbJ1A== X-Received: by 2002:a05:651c:89:b0:293:4b8c:3b82 with SMTP id 9-20020a05651c008900b002934b8c3b82mr1812980ljq.9.1676559416682; Thu, 16 Feb 2023 06:56:56 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:56 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: qcom: sm8350: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:46 +0100 Message-Id: <20230216145646.4095336-5-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216145646.4095336-1-konrad.dybcio@linaro.org> References: <20230216145646.4095336-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index f9822afedd89..07349d37f852 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1932,7 +1932,8 @@ gpucc: clock-controller@3d90000 { }; adreno_smmu: iommu@3da0000 { - compatible = "qcom,sm8350-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sm8350-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x03da0000 0 0x20000>; #iommu-cells = <2>; #global-interrupts = <2>;