Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4243387rwi; Mon, 17 Oct 2022 03:42:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5MrtzfyFBD+5RDOjYzGS/PRplhLYNQp3adrYlMLhHPGsnpoLI/a5FQ+yrGDXY0N/z19OcI X-Received: by 2002:a17:90a:1a43:b0:20a:db02:6841 with SMTP id 3-20020a17090a1a4300b0020adb026841mr31793734pjl.104.1666003378945; Mon, 17 Oct 2022 03:42:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666003378; cv=none; d=google.com; s=arc-20160816; b=EF6IyUxpI0ZjtbJQ+/kzIm78/ry62ZvhbnL+7HA7o5uIIzHwJA3wmbCpcKgLDEjQjj qKwXeQCkrJa4U0jpxuMBOl9JDleMSBoeOblhVCWHMnURcO0olsppw1qxk/VQie/zGGPN jS7WIduy8SNtN1SJYeHxlzKjsWTUGAvqM97gw/aHY7ZhiDnDdIN+546mbXV995H81AQc CzzEr5BjX70itUF40K6yiRa8cNLWhhwHay8jd5vkF6UQpO7/IWBB7abe69fR4O1GQAqY eu3rNgd+SvmpVGO8dfTjo6YdmV6jKctF3NNk81mAj3yj6olgodF8IFht4LnPaKAeZV4a 2Y3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0zpBRDRC8xWABhlzhAEzR/FFrJxbr8q1fkGPbtBvIe4=; b=hMYfyEiM0K1+2cl2xZ8i01C17Zmq0Jkr6FQyVAGdezHhgzBFCi1qY1AkyyjWMERDpB lO+TbkcGHYdxbWX5BGtrg69dv/IPe8C9iz0pgD+0t9E8fz+TjF2URlyRlPMCDYqOEBUZ O3WhrlBpSpVTzliDeP37L2rkr+2c/mnDaBcsj/QXaIJE/yjohZSsss1zQQiQT+wEGUEA 1GKIjdIhEMhID3mGFIpXJU3omXVQ7blI3kVBVjl6aUh6rFg4SoH9fgNk+vJM0P0sH8LG NbKE5Gc/qP6npPmem01s7uPPNCZAhqHdvhl+70yun83de0zzNna2gobpHIcBD2sJEWS/ 5JZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ml9KqCi8; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ja3-20020a170902efc300b00176841aa2e3si10702677plb.93.2022.10.17.03.42.46; Mon, 17 Oct 2022 03:42:58 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=Ml9KqCi8; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230335AbiJQKh1 (ORCPT + 99 others); Mon, 17 Oct 2022 06:37:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230341AbiJQKhX (ORCPT ); Mon, 17 Oct 2022 06:37:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEE935A153; Mon, 17 Oct 2022 03:37:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5A5646103E; Mon, 17 Oct 2022 10:37:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 013F0C433D6; Mon, 17 Oct 2022 10:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666003038; bh=FBKf1CEFw8tgRd9w+dSok9gUwWvLjYtA3njAcXxZBVg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ml9KqCi8fveMR9333IA+KjaXZMJrZ9dkMz0cpbeqCMp2tVSU+3ciBrONCI0thkTMh 0+ys9sSBWhZgSJULrYdNPa+pXkgIu9vG/D1LUS6TvYi6ehnt58P0vyN/sD4WCImR/x C1m0YX6C8Vs6mGZF+pXSZuqbpUd0NoO+cO7GAX+HzqspbKYXonixIMFKEdqDiygRb4 5ipLfK0aadDJKqqnuhV37te8KAUAEZCSy3JYa+SOhnFtvU5c58cmfV60kxVdisI/lr h0bLc6VKouGUkPmX9JTmuAf1U+PXYWGiT3D7hTzVRhE/F/GMMXX7zh0vDEefeFbN3K K1y7JHlofuU7w== Date: Mon, 17 Oct 2022 16:07:14 +0530 From: Vinod Koul To: Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Acayan , Melody Olvera Subject: Re: [PATCH 1/5] dt-bindings: dma: qcom: gpi: use sm6350 fallback Message-ID: References: <20221015140447.55221-1-krzysztof.kozlowski@linaro.org> <20221015140447.55221-2-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221015140447.55221-2-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 15-10-22, 10:04, Krzysztof Kozlowski wrote: > Several devices like SM6350, SM8150 and SC7280 are actually compatible, > so use one compatible fallback for all of them. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml > index 750b40c32213..0c2894498845 100644 > --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml > +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml > @@ -20,12 +20,14 @@ properties: > compatible: > oneOf: > - enum: > - - qcom,sc7280-gpi-dma > - qcom,sdm845-gpi-dma > - qcom,sm6350-gpi-dma > - - qcom,sm8350-gpi-dma > - - qcom,sm8450-gpi-dma > - > + - items: > + - enum: > + - qcom,sc7280-gpi-dma > + - qcom,sm8350-gpi-dma > + - qcom,sm8450-gpi-dma > + - const: qcom,sm6350-gpi-dma I think it makes sense but can we document this in binding as well that why people should use these two compatibles. I am fine with this being comments here.. > - items: > - enum: > - qcom,sdm670-gpi-dma > -- > 2.34.1 -- ~Vinod