Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2394599lqp; Sun, 24 Mar 2024 17:34:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUf71OVCLaZFnmu0GqZnl83Ru2iStc5ZpLKm9Df5djuSWkiemVv9Wj3nxVWPk6aWoHJLwtwPuBLJPNOxHLFNitrGlNHjgCSqhHM3OHPUg== X-Google-Smtp-Source: AGHT+IEUTLR6BZ+/8nGO4zbfbEueq8yzBGqExKXqZCGfgTOapU6ScNO46W5w1byoipUjD1IbMbqJ X-Received: by 2002:a05:6870:65a7:b0:229:e6c6:1f13 with SMTP id fp39-20020a05687065a700b00229e6c61f13mr5944690oab.14.1711326846225; Sun, 24 Mar 2024 17:34:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711326846; cv=pass; d=google.com; s=arc-20160816; b=m9oPq6eLARSBe5cDvZWc4yQd3abfS7D7NniK1TO3dP8bK2LufqtRlZacTRM7r9AnfN Rlf+8Tqyu0Ny8D8UzsrlHChkKuzPKfX8oxmOGHdYRHhD75bGF82TMJIoIz85XDMEpEd1 u/z5cctUB1TGn+Evr1v5s+rKMtpC8C0CVnom99bTAsf+t9cEOgAlpsR6OrdTdXUeLb2q 3jpE783WqyD5UKwODuEMB7UGujZKSlDBaDzwIHnwTcQCk+s6n4WWwC1c5KxSyfhA3opy CUYYNzlhxBf/JwZCl2ZSfT+l9ecgTBtRGE5eu1wn0KWH+eJKtzis3VgVO5qpbCFM4TtU 07hA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=QmOhvcCdAD/0nnOb0FabZ/4284h4g0O1Pl2DlLTlIBM=; fh=CXbiqH64OKLgJfB7ktyNJhFzSSWEGk+G46X2UnG8FFg=; b=hqjZbfUG07RdJ8ojGBRKu7QgxihL3d+7gAVGmMVOmFcxdXuZzZRg4en61W6dpshyHe TcJSeP1FxacFNjQuNoV5uD1lZxipGKjd/6/RE5XJn+Bwp8rY+2e5CT6pJ1QfHzZHonUF 7dWqfhQa2aS/M4eVSIL18G59F2iIqwQN4R4PXZA8/4UYExA/SKUmH6M98s4UqseY6wRN /PySXK0Q3qE2TTRBntbvr/fYKXC4yV1M9dmdIjxddg7bK3fcqJvcdoMrNXRXvS/wkiPS DqWqeosyfpLgxdA1u8xV4pFWTytG7b4ODu0REeVJ2qrT/8OIFcmJGRoDQsTO9y3u+mAp RWNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NpZsjumi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113375-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f17-20020a63e311000000b005d8e3a18786si6258670pgh.508.2024.03.24.17.34.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:34:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113375-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NpZsjumi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113375-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 337B1B21689 for ; Mon, 25 Mar 2024 00:21:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7AFA56EB6D; Sun, 24 Mar 2024 22:42:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NpZsjumi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 808C519EE20; Sun, 24 Mar 2024 22:42:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320176; cv=none; b=KCCBS6/jp17xI3c3SrIGTJrndTX5HQVVMtnrkKhPrW/khLMikFKG72TEg6ViB5mE5Bnflp8mH6sIffESUn0T2F1bHFZiqKuGQ3pIHEkjDewnyPVD2GDDAOO3Bji4fDAORjVfi1vCs4db8KmjlftPrPe8ddqXwxrS71M3Vf17rSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320176; c=relaxed/simple; bh=sDO/7EPn04XUVYeTtmQz25A4sojQUsLYT5PAGsrwO4I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SbbJ3yva2Y3migr/TqWDqGqZH/kfC/2CDl3ITWfOLL1+ziDnDLTzI4AR6aq6GhIkt9RDPgR8pqZuRG4ZvaNvqi3PS2f7+zD49OKgrACxECvg+iVUgst7iY2zqZHxMUs7jToN7l1on7SlrZyqz0ejXS0lryxKefQ/l3evdWbUxd0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NpZsjumi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DE5BC433C7; Sun, 24 Mar 2024 22:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320176; bh=sDO/7EPn04XUVYeTtmQz25A4sojQUsLYT5PAGsrwO4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NpZsjumi1G3ACCk6yQL7fuwCQQ4kcofT4G9Rotx27evUkXI2/ur1s56495qPd86fu Alw/meOVenRDvP02SNQykyvUaGbpQddI5bBhJD1u+tdKddP3NJg9zqY3GEYt4sTHYk 6DPYx81oS+CfFjsHujmy8sN04ucVUiDuZkSt4o+ZpqqH0hciV+1Tr6AJ+VKDv0Xrtm +fgyC6NiYXT32TYWxF/e8C7JjdRmuHGRYzb86gVKmdUmbzBdy9tclffmon91GpEqsI LpQBQ/O4msHeg1ShAM/iwY6Klj0yes1FkTpfp4cpMBsGYDzqX1Tg0yVSICutOkDyz2 UiqZchQbDjghA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Neil Armstrong , Dmitry Baryshkov , Krzysztof Kozlowski , Rob Clark , Sasha Levin Subject: [PATCH 6.8 484/715] dt-bindings: arm-smmu: fix SM8[45]50 GPU SMMU if condition Date: Sun, 24 Mar 2024 18:31:03 -0400 Message-ID: <20240324223455.1342824-485-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Neil Armstrong [ Upstream commit dc94d0cc718329a39ea2e986a123421a9203b471 ] The if condition for the SM8[45]50 GPU SMMU is too large, add the other compatible strings to the condition to only allow the clocks for the GPU SMMU nodes. Fixes: 4fff78dc2490 ("dt-bindings: arm-smmu: Document SM8[45]50 GPU SMMU") Suggested-by: Dmitry Baryshkov Signed-off-by: Neil Armstrong Reviewed-by: Krzysztof Kozlowski Patchwork: https://patchwork.freedesktop.org/patch/578686/ Signed-off-by: Rob Clark Signed-off-by: Sasha Levin --- .../devicetree/bindings/iommu/arm,smmu.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index a4042ae247702..38c48131e6e7b 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -484,7 +484,12 @@ allOf: - if: properties: compatible: - const: qcom,sm8450-smmu-500 + items: + - const: qcom,sm8450-smmu-500 + - const: qcom,adreno-smmu + - const: qcom,smmu-500 + - const: arm,mmu-500 + then: properties: clock-names: @@ -508,7 +513,11 @@ allOf: - if: properties: compatible: - const: qcom,sm8550-smmu-500 + items: + - const: qcom,sm8550-smmu-500 + - const: qcom,adreno-smmu + - const: qcom,smmu-500 + - const: arm,mmu-500 then: properties: clock-names: -- 2.43.0