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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F25A0C433F5 for ; Thu, 20 Jan 2022 07:18:57 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 401213141; Thu, 20 Jan 2022 08:18:06 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 401213141 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1642663136; bh=htKcbIrjG0vVOoiPk/qRtlgHN478W8928ENhwhjbOV8=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=kKbHy06leyy9gTcPQfRXmPANn6ETmMeQAW87VzS3IwavcuipMhySSBtbcllCjAN6E 0LgN5pOrTDMjijwQiqaxS0xdZBAmA6itvCijxFpqOCC6psPJY/IDLvKWkWZ28H2dSX cwxQB87xO5kOu7oVewtaU4WXNXppIZHtUCLKjZ3M= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id BFCAEF8063B; Thu, 20 Jan 2022 08:04:10 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EDC42F8012E; Thu, 20 Jan 2022 05:39:03 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 034EAF8007E for ; Thu, 20 Jan 2022 05:38:58 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 034EAF8007E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tcjQQaQO" 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 6F04A6165D; Thu, 20 Jan 2022 04:38:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88872C340E0; Thu, 20 Jan 2022 04:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642653535; bh=htKcbIrjG0vVOoiPk/qRtlgHN478W8928ENhwhjbOV8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tcjQQaQOiKyW2rup4+boNuKbOg3E4wRGo65VzR07gC+38qSCzvueDNKsXw0qo25YC FSd0ZcH2wQg6ndifOdoQOkK2AJmdoc/+4rI6MmV2c/JFq5Pexryrmw1KB1d/0gPVBl sWawaQ0ExefWlf40mUq9Bc8b+b0Qb2Q5qMv7yPvuNl/Oofe4bBEX/PiYiXEeBZKR0X EjFvQKQ1CgVK+xoQIHG870JcNdkXhCEh0WjV8YV/fIr1+Jk++MmTcC3rf6PE8hP7MQ G3IiXEurawyW3OC2zMo29dGuuRnBtF45ciDi4rN7el/r42r9B4pcaecJpdXwaUbl+p usDTqhZxOraiQ== Date: Thu, 20 Jan 2022 10:08:51 +0530 From: Vinod Koul To: Rob Herring Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas Message-ID: References: <20220119015038.2433585-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> X-Mailman-Approved-At: Thu, 20 Jan 2022 08:03:35 +0100 Cc: Andrew Lunn , Ulf Hansson , Daniel Lezcano , Geert Uytterhoeven , Chun-Kuang Hu , Linus Walleij , linux-remoteproc@vger.kernel.org, alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org, Sebastian Reichel , linux-ide@vger.kernel.org, Thierry Reding , Laurent Pinchart , Pavel Machek , linux-phy@lists.infradead.org, netdev@vger.kernel.org, Jonathan Hunter , Lee Jones , linux-riscv@lists.infradead.org, linux-leds@vger.kernel.org, Daniel Thompson , Florian Fainelli , Herbert Xu , Krzysztof Kozlowski , Marc Zyngier , Damien Le Moal , "Rafael J. Wysocki" , Kishon Vijay Abraham I , Jakub Kicinski , Zhang Rui , linux-usb@vger.kernel.org, Vivien Didelot , Wolfgang Grandegger , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Kalle Valo , Sudeep Holla , linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, Greg Kroah-Hartman , Mark Brown , Marc Kleine-Budde , Thomas Gleixner , Mauro Carvalho Chehab , Mathieu Poirier , Stephen Boyd , Jingoo Han , Kevin Hilman , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Kieran Bingham , linux-crypto@vger.kernel.org, Philipp Zabel , Viresh Kumar , dmaengine@vger.kernel.org, Georgi Djakov , Vladimir Oltean , "David S. Miller" , Joerg Roedel X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 18-01-22, 19:50, Rob Herring wrote: > The 'phandle-array' type is a bit ambiguous. It can be either just an > array of phandles or an array of phandles plus args. Many schemas for > phandle-array properties aren't clear in the schema which case applies > though the description usually describes it. > > The array of phandles case boils down to needing: > > items: > maxItems: 1 > > The phandle plus args cases should typically take this form: > > items: > - items: > - description: A phandle > - description: 1st arg cell > - description: 2nd arg cell > > With this change, some examples need updating so that the bracketing of > property values matches the schema. Acked-By: Vinod Koul -- ~Vinod