Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16399180rwd; Mon, 26 Jun 2023 09:26:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4lAOiwg1fM1w8pNBB5vnXj1b6Oip1owXakmbo+KASFS45dGC2XEb/wsXTymuaKV2Dnhf9R X-Received: by 2002:a17:907:6095:b0:989:27a0:289a with SMTP id ht21-20020a170907609500b0098927a0289amr17128407ejc.32.1687796818248; Mon, 26 Jun 2023 09:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687796818; cv=none; d=google.com; s=arc-20160816; b=zVrxp6vBK++9N2MJRY/7ReOu4o6VK1aLqZB0wdLKO4mZIDdxbKd5PO9AV6Bo8xHxxJ HgB2laPu7QnGeE7lUR4dRx3N6ES6Jrk2BkFmyt4SaO2Ny+kV34DVaonNvRYr1/zHtCOy IqFOQGkH7b75EllP8oZwqdHbRrmIw+HRq8cHZRoS772BGKASElOyqGdmxNBxOU5f6hnb fxPY75f8uFoepGbUq9ylVzshUdIM9KsAW4+LOZcqNubEoGfBfD6EKkBuG6JrNC7jr5GS 2kuJu7MzWVVchBmHKVUHe4H1s9qaTUs1fvBJNl+RebXGz4QLpE92RXUCYkWTrMMGI7aB DXsg== 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=JXeypSA36Qg27xwQK6BwDtx9kWu+FNhZhOD5YziOszI=; fh=q3opc6q+9bT0rjezYMjBmpvjR8kDins9c0BrLw6stck=; b=0e4E6Bv7o5S1fYZDgJmhSjAJ8mRxLFN3+eHl0wk+GH/GjDgP881M7f6K25E2xQrcSO enP6MMpWg0d2dYN+d7TEIjOIIfrpeEvbVLquIo3HBxMjvgOpBntltaSCAmHpZPLxv/Xb CeGrwcc0k7NoBvli/7THZS7siKgi/k0iFnGBHXb7tvFh5hoAYsp2Up6i/fb+PemhZBxD zFbt/nj12BHrC89DMwUC0yAlwR+35VC9fOEXmSV47mMGTz+LyGbKI4ZZnC9WvGLnBc6m JIED1oX0oGR2aa42gZl9KKDZd6QXSnOBbOsAELIvtdpvhw8a4Vr+sT7dJBnaBKOoimC6 5ccg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sPsZ86m5; 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 ks1-20020a170906f84100b0098718777182si3217982ejb.685.2023.06.26.09.26.22; Mon, 26 Jun 2023 09:26: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=@linaro.org header.s=google header.b=sPsZ86m5; 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 S231977AbjFZQUe (ORCPT + 99 others); Mon, 26 Jun 2023 12:20:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232142AbjFZQUI (ORCPT ); Mon, 26 Jun 2023 12:20:08 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B24E71BF8 for ; Mon, 26 Jun 2023 09:17:10 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3fa8cd4a1c0so16764885e9.1 for ; Mon, 26 Jun 2023 09:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687796222; x=1690388222; 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=JXeypSA36Qg27xwQK6BwDtx9kWu+FNhZhOD5YziOszI=; b=sPsZ86m5T5T04cUPJ6T5/9291QbjPMFyaSlceLp+6Z3VkTseFFaRaaj41GdRaDMyKW AvmGwchSI6OBo/R40KeXNU5aHaqvZvg0lsACalGibHKNU+CNWuFw1mvHO/nh0DKSi9a0 4bS3YQTuGx565//jrqHhGQlMAG8aZv1g8XI2BA12PuebSxfmh6hdCsToQiU7W6v0XrZZ 8FPHh/SQoESnw4D6xAaMCB6CFHo+5T5YfwNWcymt+52ohKUxeXvttYBts30DvDz1SqJ1 BuzYc+04nuOYWdh7C96S21OoNlqBBJiFS3mSwLElfEbgAGB8EKt0oDV1Lviql/E0lEQa 8pGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687796222; x=1690388222; 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=JXeypSA36Qg27xwQK6BwDtx9kWu+FNhZhOD5YziOszI=; b=Ix6zKqrWPWUyOHVXE/zuwndo+TF6ag3SLoKjCi1/XMVrFq2CmqyGhx99PgGk2lh835 lfgZ+yfaM+sy8VBn4WdC2tqQQA/6DlALbyWuE214X9rzukK4VNTAt7bBQ2p2zG+0nogd aI7ez9QFSnaiEI2Z50Nh6dpUxE4wEmOVEyhi8qE3dHFoQCPGjDUpSAj4M0mTWEAOc9vL sk7YFkvAapOiIrMrxnuUzdEyDOo1w9SfQwqp2Fsq4urdmrIFhhmHTcGE2aaxoyxQTQ40 XTrUIRT4osgwuSiYnCA3duK2iWfMstVmRMmdOYznj5QZz4NmOFc3VHxBZkpNGlKNKRZo z0Ww== X-Gm-Message-State: AC+VfDyeBUI/Py+fE57B+F2fjXbX5vQ1XSKyCxG35NAaapjP4oJ66M/T XYgvoACUFkUklt+LP++bnJC9YA== X-Received: by 2002:a7b:cd1a:0:b0:3fb:7184:53eb with SMTP id f26-20020a7bcd1a000000b003fb718453ebmr127490wmj.18.1687796221657; Mon, 26 Jun 2023 09:17:01 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id 7-20020a05600c230700b003fa968e9c27sm3404076wmo.9.2023.06.26.09.16.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jun 2023 09:17:01 -0700 (PDT) Message-ID: Date: Mon, 26 Jun 2023 18:16:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 06/15] dt-bindings: display/msm: sc7180-dpu: Describe SM6125 Content-Language: en-US To: Marijn Suijten Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> <20230624-sm6125-dpu-v1-6-1d5a638cebf2@somainline.org> <6bbf239f-d530-2f1e-ff52-361f7c9cc951@linaro.org> <75d64lixeawfoqbrctm4thzh73cxkvnlmnh5xgbpf277pmh3gz@zthnqvvuxmeq> From: Krzysztof Kozlowski In-Reply-To: <75d64lixeawfoqbrctm4thzh73cxkvnlmnh5xgbpf277pmh3gz@zthnqvvuxmeq> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 25/06/2023 21:52, Marijn Suijten wrote: > On 2023-06-24 11:12:52, Krzysztof Kozlowski wrote: >> On 24/06/2023 02:41, Marijn Suijten wrote: >>> SM6125 is identical to SM6375 except that while downstream also defines >>> a throttle clock, its presence results in timeouts whereas SM6375 >>> requires it to not observe any timeouts. >> >> Then it should not be allowed, so you need either "else:" block or >> another "if: properties: compatible:" to disallow it. Because in current >> patch it would be allowed. > > That means this binding is wrong/incomplete for all other SoCs then. > clock(-name)s has 6 items, and sets `minItems: 6`. Only for sm6375-dpu > does it set `minItems: 7`, but an else case is missing. Ask the author why it is done like this. > > Shall I send a Fixes: ed41005f5b7c ("dt-bindings: display/msm: > sc7180-dpu: Describe SM6350 and SM6375") for that, and should maxItems: > 6 be the default under clock(-name)s or in an else:? There is no bug to fix. Or at least it is not yet known. Whether other devices should be constrained as well - sure, sounds reasonable, but I did not check the code exactly. We talk here about this patch. Best regards, Krzysztof