From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0D0EC64ED6 for ; Sun, 26 Feb 2023 17:37:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229813AbjBZRhN (ORCPT ); Sun, 26 Feb 2023 12:37:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229825AbjBZRhM (ORCPT ); Sun, 26 Feb 2023 12:37:12 -0500 Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB3AE1969E; Sun, 26 Feb 2023 09:37:11 -0800 (PST) Received: by mail-qv1-f42.google.com with SMTP id o3so3063923qvr.1; Sun, 26 Feb 2023 09:37:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YeF01LQTKaPSV+yQ93rapV3zfUy0qKLEYnaX7XN4O38=; b=ihR8gfQ+7ev4LlNaB5baCdFzAa7yFgSFgRZVniyl2Jly+jnedViqgJWTj5CLabik9q J/AoLeQxIgt6+9ZoS4+DA65iBt7y/l7Ud83Ntj45laXv3UsddvR2/8ks5KBOuuNRB1Cu Atzb4sUAhdBvdlXCSAXDCDgpjwgmsm5NAxyboslpLmrNScCgH5J9KIIAAlf6UPYbvdYU wLbEjZou1Oi2QsOD0co5EBn/53AfgSgJk6sGKiEgowvJ4iPzY8tFoLIEOwoPK/NS9LNz qO4UBpMO7ZHvJ44pGN4Bk2vaKbjPDJvoywN+MAD2yL2TBrsR/xd04KHZWdDGiK55tD5l NbYQ== X-Gm-Message-State: AO0yUKVqiXJ38UwK4WDiWFQR3jn5BTkACqnXq1vmWOCFwvRcgO87reuV YwPJC7Cax1FpimQY7Q7kdQ== X-Google-Smtp-Source: AK7set9lx5qiJgttqc85n8rLAbbDJ8e24SNnumaCwpqbEuYDGUtgKPCqFotwbIQbTouCNSdj1fegvA== X-Received: by 2002:a05:6214:27ea:b0:56e:ad32:2d66 with SMTP id jt10-20020a05621427ea00b0056ead322d66mr37723114qvb.10.1677433030778; Sun, 26 Feb 2023 09:37:10 -0800 (PST) Received: from robh_at_kernel.org ([2605:ef80:8069:8ddf:ff6b:c94c:94fd:4442]) by smtp.gmail.com with ESMTPSA id u16-20020a05620a121000b007417affecdcsm3347213qkj.69.2023.02.26.09.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 09:37:10 -0800 (PST) Received: (nullmailer pid 69080 invoked by uid 1000); Sun, 26 Feb 2023 17:37:06 -0000 Date: Sun, 26 Feb 2023 11:37:06 -0600 From: Rob Herring To: Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, marijn.suijten@somainline.org, Will Deacon , Robin Murphy , Joerg Roedel , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/6] dt-bindings: arm-smmu: Use qcom,smmu compatible for MMU500 adreno SMMUs Message-ID: <20230226173706.GA60188-robh@kernel.org> References: <20230217111613.306978-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230217111613.306978-1-konrad.dybcio@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Fri, Feb 17, 2023 at 12:16:08PM +0100, Konrad Dybcio wrote: > qcom,smmu-500 was introduced to prevent people from adding new > compatibles for what seems to roughly be the same hardware. Use it for > qcom,adreno-smmu-compatible targets as well. > > Signed-off-by: Konrad Dybcio > --- > v1 -> v2: > - Add this patch, omitted previously (big oops) > > .../devicetree/bindings/iommu/arm,smmu.yaml | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > index 807cb511fe18..4d7f61700cae 100644 > --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > @@ -75,9 +75,19 @@ properties: > - qcom,sm8350-smmu-500 > - qcom,sm8450-smmu-500 > - const: arm,mmu-500 > - > - - description: Qcom Adreno GPUs implementing "arm,smmu-500" > + - description: Qcom Adreno GPUs implementing "qcom,smmu-500" and "arm,smmu-500" > + items: > + - enum: > + - qcom,sc7280-smmu-500 > + - qcom,sm8150-smmu-500 > + - qcom,sm8250-smmu-500 > + - const: qcom,adreno-smmu > + - const: qcom,smmu-500 > + - const: arm,mmu-500 4 compatibles seems excessive. Is adding one that helpful? Is 'arm,mmu-500' useful on its own? > + - description: Qcom Adreno GPUs implementing "arm,smmu-500" (legacy binding) Perhaps fix the existing typo: arm,mmu-500 > + deprecated: true > items: > + # Do not add additional SoC to this list. Instead use previous list. > - enum: > - qcom,sc7280-smmu-500 > - qcom,sm8150-smmu-500 > -- > 2.39.1 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 36EB0C6FA8E for ; Sun, 26 Feb 2023 17:38:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wtKpKknSveGvWplo9PM9WGq2hUcDHs9XCL9Pw0nVqWM=; b=ZXD4fexFZu3mm5 ZkMdz4GNiGTRd5roOmnoN3cmwAYMQImcKJVXccN/yENSq7cUSVbN3ZeH7a85nOsYr7DcnjcBhM/09 ZmU8gGw/ha9gQByPqDzPTKHnP/0e0vYZSIH5OfWvazb3S8vaImSrsDnKMWvrZ18RhEzBDLaMYOCze Pzyk6lcJCRJQONX8a+woOfrF3XpwPlTGuhBZeTkUMje7iX0hLaL0YyvUK+hbkicmh40Up3IXz+LHa Vac83XvQci0cadfZzj2clzdwqhIydQIoCmQpLMcTkNUOvstD/syVYdNZwpnU+r+vj3pjmz7NOb4cP 2NbbHU6wQhAYicdL30eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWKxX-007dTs-54; Sun, 26 Feb 2023 17:37:15 +0000 Received: from mail-qv1-f54.google.com ([209.85.219.54]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWKxU-007dT3-AG for linux-arm-kernel@lists.infradead.org; Sun, 26 Feb 2023 17:37:13 +0000 Received: by mail-qv1-f54.google.com with SMTP id ff4so3062633qvb.2 for ; Sun, 26 Feb 2023 09:37:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YeF01LQTKaPSV+yQ93rapV3zfUy0qKLEYnaX7XN4O38=; b=gXKVyFrSDoWTBhKHQ55NIjB2vn6G60/9iXYYjYVFnc+neDN/29UcoXFQAkU1XjlnWs AH2kdsxs4nPsXioMucnYt/2QetN85WbDM7j8/jub0A7eJK5QYDoxbM9OgVVNTW+b0HkT nFK3RYYYoKJltcTLr6lAx4uZbeqJrY5qkyNBrotDeSUskJQWsvK4B+Y6uY7eD1ymYzWV j5OAC+C5PyMzBFGsKXPqANVzVLS5yhnkqV/KEwJyHjZqSGpI3SuBBJS1F5qyd2QH5v36 gQxlmimzoEcfudklt86fdr0hkoW7y7tSTTBCwucsM/MUpA4ggc8hde21U4BSDgGYG0+c +pDQ== X-Gm-Message-State: AO0yUKUvO+q7SRrb6z+FAaj87VwQLv3ZO6fmSaK3PQ0Bf0P8i53Fuxnk mJa108GWiejSQjdZxZw2jQ== X-Google-Smtp-Source: AK7set9lx5qiJgttqc85n8rLAbbDJ8e24SNnumaCwpqbEuYDGUtgKPCqFotwbIQbTouCNSdj1fegvA== X-Received: by 2002:a05:6214:27ea:b0:56e:ad32:2d66 with SMTP id jt10-20020a05621427ea00b0056ead322d66mr37723114qvb.10.1677433030778; Sun, 26 Feb 2023 09:37:10 -0800 (PST) Received: from robh_at_kernel.org ([2605:ef80:8069:8ddf:ff6b:c94c:94fd:4442]) by smtp.gmail.com with ESMTPSA id u16-20020a05620a121000b007417affecdcsm3347213qkj.69.2023.02.26.09.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 09:37:10 -0800 (PST) Received: (nullmailer pid 69080 invoked by uid 1000); Sun, 26 Feb 2023 17:37:06 -0000 Date: Sun, 26 Feb 2023 11:37:06 -0600 From: Rob Herring To: Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, marijn.suijten@somainline.org, Will Deacon , Robin Murphy , Joerg Roedel , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/6] dt-bindings: arm-smmu: Use qcom,smmu compatible for MMU500 adreno SMMUs Message-ID: <20230226173706.GA60188-robh@kernel.org> References: <20230217111613.306978-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230217111613.306978-1-konrad.dybcio@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230226_093712_375088_090889E0 X-CRM114-Status: GOOD ( 17.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Feb 17, 2023 at 12:16:08PM +0100, Konrad Dybcio wrote: > qcom,smmu-500 was introduced to prevent people from adding new > compatibles for what seems to roughly be the same hardware. Use it for > qcom,adreno-smmu-compatible targets as well. > > Signed-off-by: Konrad Dybcio > --- > v1 -> v2: > - Add this patch, omitted previously (big oops) > > .../devicetree/bindings/iommu/arm,smmu.yaml | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > index 807cb511fe18..4d7f61700cae 100644 > --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > @@ -75,9 +75,19 @@ properties: > - qcom,sm8350-smmu-500 > - qcom,sm8450-smmu-500 > - const: arm,mmu-500 > - > - - description: Qcom Adreno GPUs implementing "arm,smmu-500" > + - description: Qcom Adreno GPUs implementing "qcom,smmu-500" and "arm,smmu-500" > + items: > + - enum: > + - qcom,sc7280-smmu-500 > + - qcom,sm8150-smmu-500 > + - qcom,sm8250-smmu-500 > + - const: qcom,adreno-smmu > + - const: qcom,smmu-500 > + - const: arm,mmu-500 4 compatibles seems excessive. Is adding one that helpful? Is 'arm,mmu-500' useful on its own? > + - description: Qcom Adreno GPUs implementing "arm,smmu-500" (legacy binding) Perhaps fix the existing typo: arm,mmu-500 > + deprecated: true > items: > + # Do not add additional SoC to this list. Instead use previous list. > - enum: > - qcom,sc7280-smmu-500 > - qcom,sm8150-smmu-500 > -- > 2.39.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel