Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5045835rwi; Mon, 17 Oct 2022 14:46:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4qLkP0FaPCfITQuMCt1N/LBecJ6ti4MEBLL4loAuFrULGIuCqkzGqDOn5v2dXXTMmFOiWy X-Received: by 2002:a63:5466:0:b0:43c:bc41:73a with SMTP id e38-20020a635466000000b0043cbc41073amr12787331pgm.77.1666043159672; Mon, 17 Oct 2022 14:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666043159; cv=none; d=google.com; s=arc-20160816; b=SW6bSDybYfWSOypCx0Dbex9Rh7SrRe2k7FkAVrzHGAN7mhDdWr9kG/Lps6ZVfmon39 16ofovu4mGeWn5ZmKJY2+wK2ARV/U+/sun8GTPp6Yu2WiFXtNBhr2ZbJQXmKX1bkYbbm S0Jq1Ydz4FttpdKujn5z/iy0s3a5YN9jV+pcpRaddwaYw43z5Hg5RMxLEADMxHnZ5dG7 G9tcz3QCATrceKnA3IW68mrL3P9ohZyfWRfo6R+dueIvl+qSUwjygfDVN23xXRbdVjMR jp/Ei9fU1XC3W+foMxFCmON9Mcy4/ybm5dgzuytJTSug26KC1Pt4RjVg79K2AQF+qONP lL5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=0raal7iq6Rw5yYtJhzJZvkw7Ubhx9PBhmhXAO/yGMLs=; b=QRLmCfcy/2q/hlSsBTFkX4ZMOTSt3CkqUxcgBgfSCQc4TuiI2VbOQlewYVea82tJ1p 49L8xPE9M0UVCo1e2RR3riENXXFBbsszSjEOF6K69d1TGhitCIEukDqptJpAgZYofjtu vvHnZCnewvdr0k4q7xurDfLD83gDmmJtdRkvZAkYfHByC6FxkPOiMbebR7gPKkj7duBf UyjScBKD46AgI0hbqhi2l3TZq8njIwI5IZ41pfEr0XtaOpRzroAGNklkCxE4RxaK0sla XCoOv6t0OVWgY3L1cxVkfomJstI0KSfLmP02wdzPZ7BwJvW6qcgLhvEoVjJc4M8/zez7 uRQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y8x38UQy; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v185-20020a6261c2000000b0056242234478si12147977pfb.164.2022.10.17.14.45.47; Mon, 17 Oct 2022 14:45:59 -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=@linaro.org header.s=google header.b=Y8x38UQy; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229801AbiJQVog (ORCPT + 99 others); Mon, 17 Oct 2022 17:44:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229885AbiJQVo2 (ORCPT ); Mon, 17 Oct 2022 17:44:28 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D3927E815 for ; Mon, 17 Oct 2022 14:35:35 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id g11so8621146qts.1 for ; Mon, 17 Oct 2022 14:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0raal7iq6Rw5yYtJhzJZvkw7Ubhx9PBhmhXAO/yGMLs=; b=Y8x38UQyElcPUdDlJf0O/38+LAhYLZtYlg91n51OW/GnLbq5EdKq0riLhU6mQ9ioQt XGmdks4ay8MB91XHUu1vY56t/VzUl9434k4cKSK+i8TfRZujZcMRu+Fvow3KvtjxoDZt Ay9B7ddpIwW3aqmlHk2dDwrFC+/2RT2jbF9WS0bVvS1e0JSDsTnSvfmQ8MM7CXmCs9aV +LjBo/SF/yFiNYGJtSs6HTdOs/P9QxvbHsimvwAAHROPjwtbbdwF+SnQRWQm3LbCA+qf gAUcvgyzcO3sWOgLp9f8V384xR1t2H3fotSFdzdK3x6v5ijs78KDN7OeU+nsAfKCcXJF zBgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=0raal7iq6Rw5yYtJhzJZvkw7Ubhx9PBhmhXAO/yGMLs=; b=7ajtyVm5RBMA40uo/R9FWo8vda1amuyhqHektmyLS0XrCZlyY+VaVPIYTQ2m859b8f AXXPjTtsNQb+mXUI4IGnbz58HDne5b8a8b1SsNZDXOj9f6KrEuT8Bw7/BErIGBl6Xk4T w/NvZpIACAbUcqL7cnHRDaLp3T5J18No+zAYRGuh7T37WUd7ahckTPyEWGNJR7tNDmCg ZuZxkdNqMbdpx2N9T7P/+0kBBYH3GumgRu67vBEVYrnp709pspyFjMwTss+DmFx4KLB+ 2f5LWfi2qYGkrnk/mJIJ79QHsGEYYVbfB80fDmqTGXCGhH2H2bI3/tKLK/t0KXkV2tJP Ojww== X-Gm-Message-State: ACrzQf2OeZPw1ZPR6qxaU+yymMgnvtArvJswUNf0e05tTw5em8Z3QGno 6f17B0vF1yeQTA+Mj1VGLCfU0A== X-Received: by 2002:ac8:7f84:0:b0:39c:c69f:68d9 with SMTP id z4-20020ac87f84000000b0039cc69f68d9mr10480408qtj.254.1666042534447; Mon, 17 Oct 2022 14:35:34 -0700 (PDT) Received: from [192.168.10.124] (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id p6-20020a05620a132600b006ee7923c187sm692413qkj.42.2022.10.17.14.35.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Oct 2022 14:35:33 -0700 (PDT) Message-ID: <8bf0046c-51a9-8244-e355-78dd2725944b@linaro.org> Date: Mon, 17 Oct 2022 17:35:32 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH 1/5] dt-bindings: dma: qcom: gpi: use sm6350 fallback Content-Language: en-US To: Vinod Koul 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 References: <20221015140447.55221-1-krzysztof.kozlowski@linaro.org> <20221015140447.55221-2-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 17/10/2022 06:37, Vinod Koul wrote: > 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.. It is kind of implied (and maybe obvious) from the bindings - a list of two items, one enum and one fallback compatible. We usually do not document such patterns in the bindings with comments for that reason. If you insist, I can add it. Best regards, Krzysztof