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 BDCF1C433EF for ; Thu, 20 Jan 2022 07:18:41 +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 0F6FA3138; Thu, 20 Jan 2022 08:17:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0F6FA3138 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1642663120; bh=swuuNiOoGgJBUEQYGiWjhIMC2dkjnsqhYlZe0AHANOo=; h=In-Reply-To:References:Subject:From:To:Date:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gDYhsxz3tuoSE6HO/XqnZ+PfKjYZ3llep9rP84DyF2sXYe5Uuv6ErizYafe0ahfbd efqLgaFrW9Vxe9Q9OLeNR2zIbhup8M7maSMopyOwnE9n5J0qQY1Nhe2QDhkP526+at yKUWv6HA5z0fsTcplvEWOtmJLKZojrn6uH7dMRVg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 47AEDF8063A; Thu, 20 Jan 2022 08:04:10 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2B03EF801F7; Thu, 20 Jan 2022 00:13:49 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D15AAF80128 for ; Thu, 20 Jan 2022 00:13:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D15AAF80128 Authentication-Results: alsa1.perex.cz; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cU1tiOf+" 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 ams.source.kernel.org (Postfix) with ESMTPS id 6E06CB81911; Wed, 19 Jan 2022 23:13:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 243A6C340E4; Wed, 19 Jan 2022 23:13:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642634022; bh=swuuNiOoGgJBUEQYGiWjhIMC2dkjnsqhYlZe0AHANOo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=cU1tiOf+BZz+w8PZnmlU8q0GtNxAwmaF01vGGyE3XwZspIbWMHizXrGd8yZkL4Yrt h5DQ/18gPqaCbTu8WDaVSQ0/4NPLmvel2ZHxtkChkb0XoqGT/rftCFwhGrQi32p/c6 9C7hQe8s/oSynIw0Dtw8ntcseUFiRBP84OfPPW2apdBoXkP3saHm9/jOoQq9Dyckgs p+dC5gx4vPD6KBbmxd/O6N28Yk1wMg/qwXFHqbLkYDEQA6WTCbzcx2gfj1bcCweWBg I7Noku7d69aO2G4UcEkom0pGa1IbOs65n1J9X5KFZPhBMNFGzQE4zCfs1As73p5oRT FyqULwQqZE0Xg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> References: <20220119015038.2433585-1-robh@kernel.org> Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas From: Stephen Boyd To: Rob Herring , devicetree@vger.kernel.org Date: Wed, 19 Jan 2022 15:13:40 -0800 User-Agent: alot/0.10 Message-Id: <20220119231342.243A6C340E4@smtp.kernel.org> X-Mailman-Approved-At: Thu, 20 Jan 2022 08:03:35 +0100 Cc: Andrew Lunn , Ulf Hansson , linux-usb@vger.kernel.org, Geert Uytterhoeven , "Rafael J.Wysocki" , 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 , Daniel Lezcano , iommu@lists.linux-foundation.org, Kishon Vijay Abraham I , linux-@alsa-project.org, Jakub Kicinski , Zhang Rui , Vivien Didelot , Wolfgang Grandegger , linux-media@vger.kernel.org, Chun-Kuang Hu , 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 , Jingoo Han , Kevin Hilman , linux-kernel@vger.kernel.org, wireless@vger.kernel.org, Vinod Koul , 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" Quoting Rob Herring (2022-01-18 17:50:38) > 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. >=20 > The array of phandles case boils down to needing: >=20 > items: > maxItems: 1 >=20 > The phandle plus args cases should typically take this form: >=20 > items: > - items: > - description: A phandle > - description: 1st arg cell > - description: 2nd arg cell >=20 > With this change, some examples need updating so that the bracketing of > property values matches the schema. [..] > Signed-off-by: Rob Herring > --- Acked-by: Stephen Boyd 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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 A5C3CC433EF for ; Wed, 19 Jan 2022 23:13:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 3DF2160B35; Wed, 19 Jan 2022 23:13:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r_MbKU3AEssF; Wed, 19 Jan 2022 23:13:48 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp3.osuosl.org (Postfix) with ESMTPS id 10F3760B37; Wed, 19 Jan 2022 23:13:48 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id DEC2CC0039; Wed, 19 Jan 2022 23:13:47 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4E5DCC002F for ; Wed, 19 Jan 2022 23:13:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 1D1FE81C18 for ; Wed, 19 Jan 2022 23:13:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=kernel.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v1DWJTjEpL-M for ; Wed, 19 Jan 2022 23:13:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by smtp1.osuosl.org (Postfix) with ESMTPS id 3CE7F81BF5 for ; Wed, 19 Jan 2022 23:13:46 +0000 (UTC) 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 ams.source.kernel.org (Postfix) with ESMTPS id 6E06CB81911; Wed, 19 Jan 2022 23:13:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 243A6C340E4; Wed, 19 Jan 2022 23:13:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642634022; bh=swuuNiOoGgJBUEQYGiWjhIMC2dkjnsqhYlZe0AHANOo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=cU1tiOf+BZz+w8PZnmlU8q0GtNxAwmaF01vGGyE3XwZspIbWMHizXrGd8yZkL4Yrt h5DQ/18gPqaCbTu8WDaVSQ0/4NPLmvel2ZHxtkChkb0XoqGT/rftCFwhGrQi32p/c6 9C7hQe8s/oSynIw0Dtw8ntcseUFiRBP84OfPPW2apdBoXkP3saHm9/jOoQq9Dyckgs p+dC5gx4vPD6KBbmxd/O6N28Yk1wMg/qwXFHqbLkYDEQA6WTCbzcx2gfj1bcCweWBg I7Noku7d69aO2G4UcEkom0pGa1IbOs65n1J9X5KFZPhBMNFGzQE4zCfs1As73p5oRT FyqULwQqZE0Xg== MIME-Version: 1.0 In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> References: <20220119015038.2433585-1-robh@kernel.org> Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas From: Stephen Boyd To: Rob Herring , devicetree@vger.kernel.org Date: Wed, 19 Jan 2022 15:13:40 -0800 User-Agent: alot/0.10 Message-Id: <20220119231342.243A6C340E4@smtp.kernel.org> Cc: Andrew Lunn , Ulf Hansson , linux-usb@vger.kernel.org, Geert Uytterhoeven , "Rafael J.Wysocki" , 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 , Daniel Lezcano , iommu@lists.linux-foundation.org, Kishon Vijay Abraham I , Jakub Kicinski , Zhang Rui , Vivien Didelot , Wolfgang Grandegger , linux-media@vger.kernel.org, Chun-Kuang Hu , 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 , linux-@osuosl.org, Thomas Gleixner , Mauro Carvalho Chehab , Mathieu Poirier , Jingoo Han , Kevin Hilman , linux-kernel@vger.kernel.org, wireless@vger.kernel.org, Vinod Koul , Kieran Bingham , linux-crypto@vger.kernel.org, Philipp Zabel , Viresh Kumar , dmaengine@vger.kernel.org, Vladimir Oltean , "David S.Miller" X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" Quoting Rob Herring (2022-01-18 17:50:38) > 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. [..] > Signed-off-by: Rob Herring > --- Acked-by: Stephen Boyd _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 78AFDC433F5 for ; Wed, 19 Jan 2022 23:13:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BCABF10E292; Wed, 19 Jan 2022 23:13:46 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0900D10E292 for ; Wed, 19 Jan 2022 23:13:45 +0000 (UTC) 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 ams.source.kernel.org (Postfix) with ESMTPS id 6E06CB81911; Wed, 19 Jan 2022 23:13:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 243A6C340E4; Wed, 19 Jan 2022 23:13:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642634022; bh=swuuNiOoGgJBUEQYGiWjhIMC2dkjnsqhYlZe0AHANOo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=cU1tiOf+BZz+w8PZnmlU8q0GtNxAwmaF01vGGyE3XwZspIbWMHizXrGd8yZkL4Yrt h5DQ/18gPqaCbTu8WDaVSQ0/4NPLmvel2ZHxtkChkb0XoqGT/rftCFwhGrQi32p/c6 9C7hQe8s/oSynIw0Dtw8ntcseUFiRBP84OfPPW2apdBoXkP3saHm9/jOoQq9Dyckgs p+dC5gx4vPD6KBbmxd/O6N28Yk1wMg/qwXFHqbLkYDEQA6WTCbzcx2gfj1bcCweWBg I7Noku7d69aO2G4UcEkom0pGa1IbOs65n1J9X5KFZPhBMNFGzQE4zCfs1As73p5oRT FyqULwQqZE0Xg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> References: <20220119015038.2433585-1-robh@kernel.org> Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas From: Stephen Boyd To: Rob Herring , devicetree@vger.kernel.org Date: Wed, 19 Jan 2022 15:13:40 -0800 User-Agent: alot/0.10 Message-Id: <20220119231342.243A6C340E4@smtp.kernel.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Ulf Hansson , linux-usb@vger.kernel.org, Geert Uytterhoeven , "Rafael J. Wysocki" , 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 , Daniel Lezcano , iommu@lists.linux-foundation.org, Kishon Vijay Abraham I , Jakub Kicinski , Zhang Rui , Vivien Didelot , Wolfgang Grandegger , linux-media@vger.kernel.org, Chun-Kuang Hu , 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 , Jingoo Han , Kevin Hilman , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Kieran Bingham , linux-crypto@vger.kernel.org, Viresh Kumar , dmaengine@vger.kernel.org, Georgi Djakov , Vladimir Oltean , "David S. Miller" , Joerg Roedel Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Quoting Rob Herring (2022-01-18 17:50:38) > 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. >=20 > The array of phandles case boils down to needing: >=20 > items: > maxItems: 1 >=20 > The phandle plus args cases should typically take this form: >=20 > items: > - items: > - description: A phandle > - description: 1st arg cell > - description: 2nd arg cell >=20 > With this change, some examples need updating so that the bracketing of > property values matches the schema. [..] > Signed-off-by: Rob Herring > --- Acked-by: Stephen Boyd