From patchwork Fri Feb 17 11:16:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58517 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp833175wrn; Fri, 17 Feb 2023 03:30:34 -0800 (PST) X-Google-Smtp-Source: AK7set9etPL0aewvMMsnvthOZNZtpflCaEzKUoVwc7DJsf/dfsDOMJ2V/v5jSaQ/+fv6RkGh+Wja X-Received: by 2002:a17:90b:224f:b0:234:b6f5:7ddf with SMTP id hk15-20020a17090b224f00b00234b6f57ddfmr4155601pjb.44.1676633434354; Fri, 17 Feb 2023 03:30:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633434; cv=none; d=google.com; s=arc-20160816; b=DBlSzblbaCQiYp6eDjRSrJjbdw8/oxryWgdpZxj27tAd28WGpsU3tzHKRzMUP9ET0o xOs1TfsayQ7+W3jjRnvYWTOh5+DjYNlQMEKuKSnf+jBI2fahBkWOw+EUAJhdxlIocMAb F0A58FehaYyO0ouOmZc8QNhXaK0DZ7qG3+zlLLkC74brXqefyXdChh+iW/sJNvPpQvun zd2vL8a+AIeWBGW0mnwJ0q3UiviY4yxEX0zTThEH5kZgT3giE42+d9IMuWv+sSdBrS6S lwFwvnmzefqS8hq9ty8iVcVG82BWMXZb7td05bCq62E5QqcFjwoqvUVHRgXIREDMN8j/ 12hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HmoMqnRP5kZAiXq2v7CNcctUC+zodegcmF76bZvlIAw=; b=UXzZm1+nY5yRRTvi3qYmZq73vfR5k22Se342fcirLAYNNz4chxG2xnQMlp7iWSiA8V TRv9gStz4+RmZPJXGkHMwy4wkO9Y7QKUbV7f0uVQwhRLvL+QCKG/RniYJOr/sESsQHWn VLZSy7qPQIstiXkQRQ9Es99IlzX9lg7Zx5+3cA4yfx6DvJsTeHNVPS+oDpb+TAR6jJDx VLk9Ue5zhxrxw7wuTU5ML6pPpzu+nXmEs8sN3JtaQh18uMVv4XNM52jxjLmgarvzz8IC vg9ap9RXerNpu1oDkdsu/ulWwLSjCs39ahZKvNZd9YiApQKwtfiVyAhVkg5tVWIcxO0p gJyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c9ZZv4rf; 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 j71-20020a63804a000000b004fbc70b72cesi4376088pgd.771.2023.02.17.03.30.20; Fri, 17 Feb 2023 03:30:34 -0800 (PST) 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=c9ZZv4rf; 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 S230142AbjBQLQ7 (ORCPT + 99 others); Fri, 17 Feb 2023 06:16:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230026AbjBQLQs (ORCPT ); Fri, 17 Feb 2023 06:16:48 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14F2B658D for ; Fri, 17 Feb 2023 03:16:28 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id e30so756711ljb.8 for ; Fri, 17 Feb 2023 03:16:27 -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=HmoMqnRP5kZAiXq2v7CNcctUC+zodegcmF76bZvlIAw=; b=c9ZZv4rfZBZFzWEA/W4nxzpP5BhRgY9jBI02O6onfHggcezzcuWXJYJqtcWCHbm0mT 8znT6eB/RftHt6F5swPqmxl/ow+oPAX+ATKuAIWxQ+dbIZ8/154bCTfi8ccf7yFAVEfk 89qRZKPexUTswZ3Uc/WpUy0jPV8Gvf6/YcG5UV7yMPgBlsj/tKja6DNIwal3/nkLZD8W pHqLuWe3ctTNUHjyBby4nO5DRH3/I75JCS1yL1I4Rbzhhhz0bGIedRXkHlkVGoKQKiAs 7f6itx6ijSPdMoMVVMavTvdjc3s5LMwGyeSfYJqAyCOg3/LUBokSI+AHWypbR+kjS7ls KF6w== 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=HmoMqnRP5kZAiXq2v7CNcctUC+zodegcmF76bZvlIAw=; b=u3rIsufG6vTPci9T/iCXwZJjRP8UeY/87P/3dHOWi+R2qJOznNBuuh6/uRKyg8S1Y3 CgOeSR6eAC+y2c8jJQ0a2g2l7tzb9Ia6IW9Mp5zT7zZzcNJdIk6rtvgQChwP5+8ktWsS v4IjpQcIvJ8hqa69ZbhGvPpQUtb1IHKqcznv8oQO1CCN0hhgUq4evv9ua7IVMPWRcD4N 36f6oGCxJ4EnmxOr2OlVJTAZCMu+yxi5SXyawsxpByFAw3Quy0QV51Z5+7PsoVygqFeb j4sBNIPTVmqe+W+IiLbMwBpSLf9UBIQFIIBso/3WCkIcGhfdarjMEeougIyXnqU0c/el JhCQ== X-Gm-Message-State: AO0yUKX+eIh/megMQnq5Ub2FN8LN1EXZeVD/6rAUsGgSsNT72wUmghi4 PoibXukQ5csLU5JNQ+thgxG4ug== X-Received: by 2002:a05:651c:1a06:b0:293:4e4b:bf5a with SMTP id by6-20020a05651c1a0600b002934e4bbf5amr1795039ljb.1.1676632586440; Fri, 17 Feb 2023 03:16:26 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id u21-20020a2e9b15000000b002935899fe3fsm554818lji.116.2023.02.17.03.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:26 -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 v2 5/6] arm64: dts: qcom: sm8250: Add qcom,smmu-500 to Adreno SMMU Date: Fri, 17 Feb 2023 12:16:12 +0100 Message-Id: <20230217111613.306978-5-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217111613.306978-1-konrad.dybcio@linaro.org> References: <20230217111613.306978-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1758077580020455419?= X-GMAIL-MSGID: =?utf-8?q?1758077580020455419?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- v1 -> v2: No changes 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>;