From patchwork Mon Mar 13 16:44:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 68943 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1297663wrd; Mon, 13 Mar 2023 10:00:54 -0700 (PDT) X-Google-Smtp-Source: AK7set/F5Uqk2Depz85W0DNb7zZPg0BpKfvpB/wKzsO1pfs0CsINa1Ok6IjdJbNqMOkUtEMEjJTA X-Received: by 2002:a17:902:d886:b0:19e:cfbf:dcbd with SMTP id b6-20020a170902d88600b0019ecfbfdcbdmr21881077plz.44.1678726854273; Mon, 13 Mar 2023 10:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678726854; cv=none; d=google.com; s=arc-20160816; b=PQcAvloSOucjsbb2A8w84e5NATf91FmFmmW5lmhA8RLJwLQhuvRwM90U2JwqNU75cd rBK3fcq4JWZSx/Mf5ZhhQqIyEudcCc2rb6edH+kU+s1u/+aIH1xk4UDYQgroWLar6Xh0 txLp4SS3RcjIZ6XJSl8WctIY1ApJ/DXEkkMO5Mfkgx/TUpQCLmnCPR0UfgAR6dT2LAxd I1XMzcv6ck4XdkVqD1HbJbwj7dfw2X1Xr03Yi6DznuJXYvZfbyk5t9H2HOtXGSPvlKIb BhC2WdWksxnZgHWQKKM9tVz90uLO/umiS8Wzh+Dq6R1/5OWEyGuQELBoSTcME967rjWm ml3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=GB5+MgNzUoww1LduPsj/kA1u8asZ8xGKu+ucqi8DqkA=; b=p8lOJcRxqe0mS2chFn7BltR6mkDQo3c156M77cb8BhtLJWvAV4HHagob8msinoZanP Z+QRccCS2jF4/hZmRYGW94zsg9WLnksTR2DCwq1zPwk38yRSqEA7V8ZhW8epgF724p4W YZSju92SveNs5GaGWggCnUMPMpXEq7+RMjjHn5rIcyvV5SgStRKoXBighoFQDnQaAIEv 63rK2ldn4CEerk4hvgqdr8Z9NJ5I0xYSx+WXApFbb6zzNCZmzY9AwBiDmfyyGf+OhyDA YJtDYJQOb9ZNQTm/vUXHMx75Kz2oNkmS0a8ZYXhpGcgU32oU0oOJLqfQJ7jHBjdvk2Jj 16FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=saaEbbMi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k7-20020a63ff07000000b004fb2685a0d4si6613181pgi.621.2023.03.13.10.00.39; Mon, 13 Mar 2023 10:00:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=saaEbbMi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231267AbjCMQsM (ORCPT + 99 others); Mon, 13 Mar 2023 12:48:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231322AbjCMQr6 (ORCPT ); Mon, 13 Mar 2023 12:47:58 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBD2C86B8 for ; Mon, 13 Mar 2023 09:47:56 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id m4so3523075lfj.2 for ; Mon, 13 Mar 2023 09:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678726076; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=GB5+MgNzUoww1LduPsj/kA1u8asZ8xGKu+ucqi8DqkA=; b=saaEbbMiGjRacuwvYysT+BROdK1stmsdZL70/GHxPboU46EUY3gFk6AAF/oQIughy+ rRDsjZa5xwpR1/w6b6L9RHiuIkzPW9JMZp6EWuwYjPAP1s9cuVRXuK/KltzkjHWbWtpo hoF7cv8YxDioFordwv0eLElHaMyFLA+OQQaI0phNLfO6aoMdqI9jQkJbRkahlbV3kxlh I/nu7l8LFAM3jwoUik1C2oGAumgQ2dQR42+PjQWBqt/uvi/ZQ3+OdalG8HXpFutgPydv urfuEXcgKfFya08b3+qJsEbVtkmBjOQumsO/IvnLo8MTvMIuL7Q3catKD4Ncb5xaZssi T1tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678726076; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GB5+MgNzUoww1LduPsj/kA1u8asZ8xGKu+ucqi8DqkA=; b=6BxRoMC7UlKkYI0FYUcqATe3Ac+zS3Z5zbScyUz0B3DPstw/tuMwXrsYNuc8l5aenb 3oGs6l8qaNQ4qMM9OE9YmVFkV9KhduFj5O/bvyNyNB9ra03zWtv7Tfjl+CmUKQ2iIbTl treea7fqmGjolxio9EBni/sJePZ2QxOd6kC+jWDCIjl1WOP8dfwGW4aD6gj0N85lfqJ3 vssBBxcftlHlkmJmdpISu9XSJHEk2c/26LUj7J/LiER0BQ0AKu9ziCjzzufweAuj4oPx MUK0ptJdjuycnebR0BjpqZXw2jS7gvhZSPrkgxa3pBO3c7KbjsOOBXQ/PnIjxRUrYp5N yTWg== X-Gm-Message-State: AO0yUKWBu44TB/zrq3u6vGpXvYvCNlrIujJmMi9OgNkbCcL/wjJY1qrA iPYQtV76BTTjXSCpKX2w6MjfDH2BNvxphj01fQk= X-Received: by 2002:ac2:4a72:0:b0:4ca:fac4:5a34 with SMTP id q18-20020ac24a72000000b004cafac45a34mr10259878lfp.61.1678726075941; Mon, 13 Mar 2023 09:47:55 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id o9-20020a05651238a900b004db48ae69cbsm18134lft.206.2023.03.13.09.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 09:47:55 -0700 (PDT) From: Konrad Dybcio Date: Mon, 13 Mar 2023 17:44:20 +0100 Subject: [PATCH v3 5/6] arm64: dts: qcom: sm8250: Add qcom,smmu-500 to Adreno SMMU MIME-Version: 1.0 Message-Id: <20230313-topic-gpu_smmu_bindings-v3-5-66ab655fbfd5@linaro.org> References: <20230313-topic-gpu_smmu_bindings-v3-0-66ab655fbfd5@linaro.org> In-Reply-To: <20230313-topic-gpu_smmu_bindings-v3-0-66ab655fbfd5@linaro.org> To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678726067; l=837; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=fDzp/6YnfTrRmkZHxWUQXIGpdeCMrs4IC6LBNSCvx9M=; b=oYA8x3dZFacSEaO5HD4/R9aKdOdYV+N6P3elUE4qOCAKdBKuuo6Su2jDD8IPb3edElmfRLKLMZyH L2Aod54rAhAs9XlBwWbkSAk6NaEL97TbuOwcow/A64HPvWlVaIqL X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760272689893992548?= X-GMAIL-MSGID: =?utf-8?q?1760272689893992548?= 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 2f0e460acccd..044c8c1c9d48 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2656,7 +2656,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>;