Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp174770lqk; Sat, 9 Mar 2024 05:32:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWioGw7m77sdkn0SZBWuVw6hswjTLS2QcVXn8pyuBm16pIIRBYHZ6cvfC6sPTl4y5mRdtn8Y2YdJ6+KaJFD3589fKhy/4so2xfu+iw0sw== X-Google-Smtp-Source: AGHT+IGjrKU6NNAnYoOSJ3ICsZ4WitCZnKPYSEXL6ALXrwU81FZz8Hn5uBxnrlXQKrC9WubuEcbD X-Received: by 2002:ac2:5548:0:b0:513:5af1:c70b with SMTP id l8-20020ac25548000000b005135af1c70bmr1197947lfk.46.1709991123036; Sat, 09 Mar 2024 05:32:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709991123; cv=pass; d=google.com; s=arc-20160816; b=mghNPn5R6A8wMuPbEkDtcAiLFOfYS5jaytMc+Yo4NFOT+O+d330bLmD494dIEqYbN2 LP7bEDnz8UWRekO1YO3GLSJN3zdKC9AIYATCtrwIJt9tghJw4+sILu7GHkDhPPGtp5qB Q9H9Oguyqn7hjyQw1VbEhHQo2c7suD64p7GQw0B35h6Ro8KHaHkbXAS9FMtFwzEOg2h4 nDRdFdVN+aw2opj2kVQLwiNC0Yupr1N3b8mJ13Hiqdg+azoedP3gMY7IwdvHpqQWDu9e PLCum0IFrjc9sFHGqTS8HjGQOHetDhnP9sne1sdRW+j9hgNOzkprmwel84YkZ8jbgDRs Q7ug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=9S9sVMkbewmcU+sMnLiPTREy1pYzZjdKzAeaIhzyiFg=; fh=CqEpV3MGuhLvPElmV0lnsYLHGRrL6mlKEf4sZ/dwF1M=; b=qGEndDY4ryczdA7ieYBL+OqwV84Nx1DGpLJTLCer2NTmdQr9Fl6qjZtoXGYBfm5Yw7 UUafNKj3x/FPL/IhpgCNn2+8YmvjWx+Nnzured6YpXE6c6YUMeeS9Hx95OFVqidrInTk l8CWnhC0AJ8nGAshiwLcYq+OGbMG0IY/uoquKflgGTwp6yOjJE4OtaCZLSbU3hsbJ6HU B+U6NrHhm1GX+36eK9aGyIkjOAzCSNbgsumUX97diuo3YNI94sgJOXsbFiLdrGmPQ56j AazBOLdla59wI6p4pju8Bio3jhclf/9xeqc+Z76/KUlqYPsLknNmFEZI/q7FfQ8pSDdC 3c+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s23bjsqD; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-97906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o1-20020a1709064f8100b00a44d0209395si756230eju.915.2024.03.09.05.32.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 05:32:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s23bjsqD; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-97906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 93D721F213B2 for ; Sat, 9 Mar 2024 13:32:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D82B3FB82; Sat, 9 Mar 2024 13:31:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="s23bjsqD" Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6FDD3BBE3 for ; Sat, 9 Mar 2024 13:31:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709991104; cv=none; b=sFL9oaVecHR8M9SD5xFBLAF2LfUkUzGxaoDcMfy7qK5XM+nunzPawbjf/eTpOGJX34McZHDARf+/oLwvYDxSe6KlLVluicFh7lipGD6shFLaJTPDHn58dW5OoQJQ/im6Tk7MCQSlCOS9GIvOXwgLIw2qERML7Fqt/NzCTa5F/fI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709991104; c=relaxed/simple; bh=dzIRNamppTDwRXph5j+j6sHF8ZDQWmVY7VVa9HIkrhM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fHFyAK1axivbtFhpWaV823l67cGV1OAduKZCujqEiXZfYnkoc0mTaDQTeJ/j8RaEeKLbGXDFuTpuAEVF2TciFOG5xu8zWDojdWhVsV8i0GEaTOfO1ykFri/uYcoIMvF3+Nx+tIi83iMRnG7ZYne8o9plsqSjLNg3HKzkLdDOxiY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=s23bjsqD; arc=none smtp.client-ip=209.85.208.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2d422b6253cso15006331fa.2 for ; Sat, 09 Mar 2024 05:31:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709991101; x=1710595901; darn=vger.kernel.org; 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=9S9sVMkbewmcU+sMnLiPTREy1pYzZjdKzAeaIhzyiFg=; b=s23bjsqDQZr90LrSQJSBL+QQWWk6f1Yu/p1BlB1g8+Fau+aIxomaVo0DEAeA5LZHqG IxInETpQAso7g6x+s2n0+OnC1787lV2fPY+bp6tvqauwbxg0XewmLMyry+Z8lC7sGhkT Qjou3EbuwONy/l72pFOAQL/tP2ROv+khSIk4eAGLwozdOq3zLKqX6BfUFeR4mf+ZeZMk AigPzX35TCjhcJ9QIRstZXBV9IXN/biEG4vcL2KonXWPfDJ1DBQNyrYV0lV9+Ma8Z5GU HEphwalImz+TTf+6exIz4/xhPWFbG+hNXeffwssFUBySgMAn7+g/WLK7XegMn01F1JqF VSXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709991101; x=1710595901; 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=9S9sVMkbewmcU+sMnLiPTREy1pYzZjdKzAeaIhzyiFg=; b=D6yAZee6nngdNr/RR8dYn2dFWx49rmroLgoVol2PhNfwMkmhXJP1mngcLynncDTrEc /Obz3x591zwKjyFF1vE1J7Ugr+P89P6xWtacTeY2nh824r2097995/iVtfcpMxhJDdEQ BO3d0nNinyxBQyJHJChon1o8vJmCAsCMCf3BsXsezrED9JIPi7QPwdvBV+6FhwT0936Q PrQKniyH9F95tAl8LQ86jkNpXQ0vuMj+LHKaHS4Phai7NANzHxLvLGZDw7YO03mKB2rg EahYeXbLa3iF9CPaqM3UJoDTioKG8mNlekkmTE0enuZTiwmRij4RKe8h6Flac1NrcG2V UQ4w== X-Forwarded-Encrypted: i=1; AJvYcCUTyxcWaz1+dZgBBtoOJfezWBCHp+6ErxaGbAe/tvMQp7/eCt+6Y2DyHyL2uAq1zYEBFWgFpD/g01tq/uIlWsNtLwpcD0QOc2tedGXK X-Gm-Message-State: AOJu0YwBVxRHSlK6ipFFxibOKx6wRR+H3WClGw4bf7wFNsA54niPilkR xjTg0pfoSY/vE9QTFroOlj8Hb4i3z5c8rhXgE8HOTcHK9RNCGRQEcJSsZsdFZH6UIdblrMHzK9e MNO0= X-Received: by 2002:a2e:9c49:0:b0:2d4:d88:50e1 with SMTP id t9-20020a2e9c49000000b002d40d8850e1mr1200361ljj.42.1709991100722; Sat, 09 Mar 2024 05:31:40 -0800 (PST) Received: from [10.167.154.1] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id t27-20020a2e8e7b000000b002d08f3640b5sm298524ljk.11.2024.03.09.05.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 05:31:40 -0800 (PST) From: Konrad Dybcio Date: Sat, 09 Mar 2024 14:31:09 +0100 Subject: [PATCH v2 1/2] dt-bindings: iommu: arm,smmu-v3: Add SC8280XP compatible Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231219-topic-8280_smmuv3-v2-1-c67bd3226687@linaro.org> References: <20231219-topic-8280_smmuv3-v2-0-c67bd3226687@linaro.org> In-Reply-To: <20231219-topic-8280_smmuv3-v2-0-c67bd3226687@linaro.org> To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Johan Hovold , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1709991097; l=1021; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=dzIRNamppTDwRXph5j+j6sHF8ZDQWmVY7VVa9HIkrhM=; b=IARinJntgA9j3ldAG+sggUdQewMX0B8FKYRMYSHMxceXbAzKPita/P7clAon14ZE33XE2qsPW Svh21LycFfKCvFkZ3auFTkXQ2YwF/lhzL4YUB6vxLQIMsF3Jfuwiy3x X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= The smmu-v3 binding currently doesn't differentiate the SoCs it's implemented on. This is a poor design choice that may bite in the future, should any quirks surface. Add a compatible for the instance found on Qualcomm SC8280XP. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml index 75fcf4cb52d9..f284f7b0c1d8 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml @@ -20,7 +20,11 @@ properties: $nodename: pattern: "^iommu@[0-9a-f]*" compatible: - const: arm,smmu-v3 + oneOf: + - items: + - const: qcom,sc8280xp-smmu-v3 + - const: arm,smmu-v3 + - const: arm,smmu-v3 reg: maxItems: 1 -- 2.44.0