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 45811C4332F for ; Thu, 22 Dec 2022 13:17:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235348AbiLVNRQ (ORCPT ); Thu, 22 Dec 2022 08:17:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229862AbiLVNRM (ORCPT ); Thu, 22 Dec 2022 08:17:12 -0500 Received: from relay02.th.seeweb.it (relay02.th.seeweb.it [IPv6:2001:4b7a:2000:18::163]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6699C2A53D; Thu, 22 Dec 2022 05:17:11 -0800 (PST) Received: from SoMainline.org (94-209-172-39.cable.dynamic.v4.ziggo.nl [94.209.172.39]) (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 A70361F69E; Thu, 22 Dec 2022 14:17:08 +0100 (CET) Date: Thu, 22 Dec 2022 14:17:07 +0100 From: Marijn Suijten To: Krzysztof Kozlowski Cc: phone-devel@vger.kernel.org, Will Deacon , Joerg Roedel , Bjorn Andersson , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Lux Aliaga , Robin Murphy , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , Dmitry Baryshkov , Thierry Reding , Melody Olvera , Greg Kroah-Hartman , Bhupesh Sharma , Douglas Anderson , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v4 1/4] dt-bindings: arm-smmu: Document smmu-500 binding for SM6125 Message-ID: <20221222131707.avpdf7ioo3x36nix@SoMainline.org> Mail-Followup-To: Marijn Suijten , Krzysztof Kozlowski , phone-devel@vger.kernel.org, Will Deacon , Joerg Roedel , Bjorn Andersson , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Lux Aliaga , Robin Murphy , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , Dmitry Baryshkov , Thierry Reding , Melody Olvera , Greg Kroah-Hartman , Bhupesh Sharma , Douglas Anderson , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20221216215819.1164973-1-marijn.suijten@somainline.org> <20221216215819.1164973-2-marijn.suijten@somainline.org> <306709f8-7d45-9b76-f95b-1b3088d37a78@linaro.org> <6d263321-782d-9d9c-4fdf-8bcf5b280779@linaro.org> <20221219192839.6oqialqqw5xw5fxa@SoMainline.org> <20221222082353.lhdw7h3pdqyyvsxy@SoMainline.org> <20221222101012.ptrrugxj3ksiyitn@SoMainline.org> <7d45c125-e4f5-b03f-45d6-3ecf87b2f09d@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d45c125-e4f5-b03f-45d6-3ecf87b2f09d@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-12-22 11:36:49, Krzysztof Kozlowski wrote: > [..] > > There is: > > > > clock-names: > > minItems: 1 > > maxItems: 7 > > > > clocks: > > minItems: 1 > > maxItems: 7 > > > > But I did not provide _any_ (see patch 2 of this series). Shouldn't > > that trigger a warning? > > No. Are these required properties? Ah right, this has no effect if the property is not required. Only if the property is set should it adhere to minItems; that is, `clocks;` or `clock-names;` as boolean property isn't allowed, it has to have `clocks = `. - Marijn