Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15245303rwd; Sun, 25 Jun 2023 13:21:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6hOUalyrzIRl1qFmtzEVoA7B7bWdcHuQA3D1q5TMamslCDKQptyuTvITe11hmXUgn/Vowh X-Received: by 2002:a05:6a00:2e0e:b0:66b:6021:10fe with SMTP id fc14-20020a056a002e0e00b0066b602110femr9214905pfb.31.1687724464572; Sun, 25 Jun 2023 13:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687724464; cv=none; d=google.com; s=arc-20160816; b=lryxsy8vWdtXwOZgTjonmTBQud7nT8pwVtJ5eEnHVITyVBvbsYVVXEKpP42A+ccymQ bXI/+OKe4fTn3oOIA/uUjjCy40rKV3t35a5jrOSij3GNI8VkLw6sDvWNrx0lr6ZtiiSI B1D4cTcUZPX8HBFEXNCQOEeoYagJNbGWB1UpK0bDxf5sOC1p2Dh/FXc8ltQYFkorKgCK v19NIi53liOQe2Cnr0BqC5BifxJUAl4Vx4W+hCrNckPJLAvCg/4U/d8CSeu7zvUKJrGW 2DPbvQeDdYA/8eSUmotf8tdy1ltOh384ex2r5oJDu4LVaLyIlTJraO/qStRqrH3P1oPZ ElUA== 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; bh=3wR9ytVPZAIrcNBEVvt6fgoOoaNKa8tKhtmC26qXOKQ=; fh=yl4IL4lsV2hnVI+n4ETVz+CTzmzATIHlCoDziPb25Y8=; b=k9SNjxSxf5lpnQkCavFU8WgLCcrx9v++Byg9KimP1IDmntX3X7cTJa64oQWeGWNmZZ E/WUnLuh2s7jzClvOms/MNNJh0lG8tmwcWpy6xYFwUesF4hzPY9SjMRn/QhnDBXO4/GW UtqTjLsuGTWaQZkgBwsUYNgyu1+BVYk6UtfgYx4an04KiLEEu34V3BtAsd8sobiUsAGT vt7joPMDnhbnQjXEAKuF25MXPHAFtMj5znrjNuWR68rjOU16EJeW2Rl2olxlcDksXWTK ZEx4L77rKpQRsoStvxvq5RtBJadXowAhd5YdScXOzhrvAxGhXUbBxmONCE8BJmL/ouGb Bcyg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 75-20020a63014e000000b005578c6a7689si3478568pgb.91.2023.06.25.13.20.52; Sun, 25 Jun 2023 13:21:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230101AbjFYTw2 (ORCPT + 99 others); Sun, 25 Jun 2023 15:52:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbjFYTw0 (ORCPT ); Sun, 25 Jun 2023 15:52:26 -0400 Received: from relay02.th.seeweb.it (relay02.th.seeweb.it [5.144.164.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AA5690; Sun, 25 Jun 2023 12:52:25 -0700 (PDT) Received: from SoMainline.org (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id F06EF1FA83; Sun, 25 Jun 2023 21:52:22 +0200 (CEST) Date: Sun, 25 Jun 2023 21:52:21 +0200 From: Marijn Suijten To: Krzysztof Kozlowski 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 Subject: Re: [PATCH 06/15] dt-bindings: display/msm: sc7180-dpu: Describe SM6125 Message-ID: <75d64lixeawfoqbrctm4thzh73cxkvnlmnh5xgbpf277pmh3gz@zthnqvvuxmeq> References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> <20230624-sm6125-dpu-v1-6-1d5a638cebf2@somainline.org> <6bbf239f-d530-2f1e-ff52-361f7c9cc951@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6bbf239f-d530-2f1e-ff52-361f7c9cc951@linaro.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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. 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:? - Marijn