Received: by 2002:ab2:c01:0:b0:1ef:a04a:229c with SMTP id b1csp33940lqb; Sun, 10 Mar 2024 00:46:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUhr2HaKHkuvn0sX6zPGKUiUDXv9I7ep5DWrZDrhB8dPvXCHZchHkOq8mhMie9GJrymJeOfuCvyt1t3hUSqVPUZJh1g2o0NP/9kQLXxrw== X-Google-Smtp-Source: AGHT+IFSoDDDQQMptC/KC0fcJ/cbHRSiUgudhX8C7MoWwIZA9qOH3cUDEVOdsaD5wNzLtqLwhViQ X-Received: by 2002:a05:6a00:1c88:b0:6e6:643c:4378 with SMTP id y8-20020a056a001c8800b006e6643c4378mr6428853pfw.0.1710060415979; Sun, 10 Mar 2024 00:46:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1710060415; cv=pass; d=google.com; s=arc-20160816; b=tiSLA+bTY3Y+39KHI1Wc1pb4Jmw7SGX8CjHKQ1ssR3fTq+2zz0bOkItSAEgHLLFZpR R7ej8YgKEWXk0/8p4vgUQHAsrzO+z3UhZKj/V/62gaB0wqFuJP9iE1orQyjX7wNGW+ny bBscxdWIk41WL5GDQXD85iTfBhEmzTTYdUSPxg41VjiXJthYTITxfow9caarDV9GTzt0 i+NekSZ1NhZtys5dtJYNVcWUs3L7fTiPrAnJgiCrkytDEk9yP3ghNRVEFgDG2XuGby7X kr2FAcDUDWbJphYhwhs6lpnJaH4pcskKZFRcd1X4HZr1y7DU47uKc3REOI7/OtXbZt3I uieA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=C530xy+YltijTtebs95wWn+75gIn26qAKpps14k6LgI=; fh=LNiX2TVlHBtxGiMJBTd624jeZ9L4YqECBmV0pn0b9do=; b=RQPzs1PbQ68/573Y4QP9FCOOHCDKseIiUy0JWOv/uN+jyTPMk4v4Sy68lXN9RTymUJ l5Ivpwj+GA5ZNPAbVk3MrVk26nl7S0p+F5bPGoeO2prxhjUATAht+j7iLK2QLFjBnb5j weRwWDczJwuAJOupbn1NDguh4J8TC3+DTQXyJj9MEjygXN/GTzM/0spLdzHq/qIuWRU5 QOMwyrrsEXefusahxeg+sO/Idf8S5Wgcq+f/WRefWgPCwNfeVSVcCarejYwbNzlpaSzP VpZMXj/0hnAO4UgPCdkSy3OW6ONBV/wcV4rpMm75N5tb2o3BY3HHSByqe6Em4EMxL+e8 yCRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TX6x0cPe; 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-98161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98161-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z62-20020a633341000000b005d55aec96b2si2841465pgz.41.2024.03.10.00.46.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 00:46:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TX6x0cPe; 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-98161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98161-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4A61BB21005 for ; Sun, 10 Mar 2024 08:46:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A7DC41DFD2; Sun, 10 Mar 2024 08:46:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TX6x0cPe" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 3A0B417556 for ; Sun, 10 Mar 2024 08:46:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710060402; cv=none; b=jcYjogq2YvWBDuN4+kQsCMGpwwyN4oxGPi58COix/QRY7gWqMo68TahzH2zTi58ml8d1ylaW7tEANSLlwOeGkI/6waAMaYd9jp9q3UFrbmY/70ruQW5UZOZd0Hx5R3B+0JFfY4IuiOROJ914+T7kaJA/8GwsOhN3PtEl7oG4P7I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710060402; c=relaxed/simple; bh=xLmmJdf7b1EcM83YnOo1gFdVXubBPLeW+b+Fbod8neQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=klDqRHSui+Q447aPMlS8iw/FQiKn5SeAzDIsi4pWU+JHaDWjZbMBz91nWPt2om1THcXaH8XdULWIeWxqfQocf+UrGUvoqewOK0KqkMPw31mLSAKjEAGU/FbDuAZrrN8aWPbaU0cmzLDY/xJkssg0eTDbOhC+zo6ccxbe/uv8S6s= 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=TX6x0cPe; arc=none smtp.client-ip=209.85.208.52 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-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-56845954fffso793346a12.3 for ; Sun, 10 Mar 2024 00:46:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710060398; x=1710665198; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=C530xy+YltijTtebs95wWn+75gIn26qAKpps14k6LgI=; b=TX6x0cPeRDKZvr/uXQZS+E1TgyeLevz1LTWSM3WAXY8hvDvOjt3H+gFd8M7HfyeYch xzBemVJ1uE5Q3YwUaiCf4EG4dLuOJrOVW5AEVDmRkl94KBBR9GIpI1Ihs6USPW94H3+R SNB9OjtNRJTDFzuwGTw5g3+Tm/5ReY0ED4idRLnqwuwPoQcuAtDlskdBBqj2jhLVA8NA /ZrGZDuq7F1mF9Upx63JWhx16AqMY58JRnS/SBUbQA68TVrW57kCRldH9X8qfKKfLnMS 3do5d2ytVSizYd+j9HV53Da/0DZNtiBQ24FSo8xjKDLudxDCLDdpQE/PhlqCfFafZM48 dqrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710060398; x=1710665198; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C530xy+YltijTtebs95wWn+75gIn26qAKpps14k6LgI=; b=sH9m+QBcu4r9VWlExnJkOiXdvL51nY1POtu5wkU1h+WXMrJ+lsU/NFARR1L+iyPxjM 1JxfBi6bk2FZ29tZlDx0iRheLI/sgJtgCwQZ3w61Pp7GF7dlU2srDSkxoEPee3EeqzzX 19tV7a1WFHDpElTcXRoR7FRQNj65bDNC8QRGiWApcw7MdIHhsDO1uNygivxt7sZZTlYB 6koIC7tyX11fLNmzJAPHQFYfsA1tWPYx48oZzhWQw3TYx3wKMUdUzz7k+dBFIyC+tYcJ SkcogTdgVTlT+C6kAaY8yYdw/5qmZdO0FaW6UKSXsDYAIrKufYhExmr6tJnkt6RkpNAw vWbQ== X-Forwarded-Encrypted: i=1; AJvYcCUCxzhUe/AlgHpt+GMT5IKGQkP3dVD+zbO/pD6AiE8koxYcryxtTpVFvmzeoMuZzv4AIrcTv8dwLDzLrz0EJQBoZTrzOgl2h7bo1Fs3 X-Gm-Message-State: AOJu0YzEP1IQNZke5F/ErYlxQ3sMaPcZJK3hX/1RxR6A1QQTPZyNUCfp RokWlqDn0ipbVBqiucr9JjhfMG4DWpGuPwL7OBR1GzN2GSA2OHoFx5GjvRzrRfA= X-Received: by 2002:a50:c01b:0:b0:566:43ab:8b78 with SMTP id r27-20020a50c01b000000b0056643ab8b78mr2188685edb.30.1710060398578; Sun, 10 Mar 2024 00:46:38 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id b2-20020aa7c902000000b00564e489ce9asm1765052edt.12.2024.03.10.00.46.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Mar 2024 00:46:38 -0800 (PST) Message-ID: Date: Sun, 10 Mar 2024 09:46:36 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] dt-bindings: iommu: arm,smmu-v3: Add SC8280XP compatible Content-Language: en-US To: Konrad Dybcio , 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 References: <20231219-topic-8280_smmuv3-v2-0-c67bd3226687@linaro.org> <20231219-topic-8280_smmuv3-v2-1-c67bd3226687@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp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6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231219-topic-8280_smmuv3-v2-1-c67bd3226687@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/03/2024 14:31, Konrad Dybcio wrote: > 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 This could be enum, because likely it will grow in the future, but there is no need to resend for this alone. Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof