lkml.org 
[lkml]   [2022]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] dt-bindings: Improve phandle-array schemas
    On Wed, 19 Jan 2022 at 02:50, Rob Herring <robh@kernel.org> 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.
    >
    > Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com>
    > Cc: Herbert Xu <herbert@gondor.apana.org.au>
    > Cc: "David S. Miller" <davem@davemloft.net>
    > Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
    > Cc: Philipp Zabel <p.zabel@pengutronix.de>
    > Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    > Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
    > Cc: Vinod Koul <vkoul@kernel.org>
    > Cc: Georgi Djakov <djakov@kernel.org>
    > Cc: Thomas Gleixner <tglx@linutronix.de>
    > Cc: Marc Zyngier <maz@kernel.org>
    > Cc: Joerg Roedel <joro@8bytes.org>
    > Cc: Lee Jones <lee.jones@linaro.org>
    > Cc: Daniel Thompson <daniel.thompson@linaro.org>
    > Cc: Jingoo Han <jingoohan1@gmail.com>
    > Cc: Pavel Machek <pavel@ucw.cz>
    > Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
    > Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
    > Cc: Jakub Kicinski <kuba@kernel.org>
    > Cc: Wolfgang Grandegger <wg@grandegger.com>
    > Cc: Marc Kleine-Budde <mkl@pengutronix.de>
    > Cc: Andrew Lunn <andrew@lunn.ch>
    > Cc: Vivien Didelot <vivien.didelot@gmail.com>
    > Cc: Florian Fainelli <f.fainelli@gmail.com>
    > Cc: Vladimir Oltean <olteanv@gmail.com>
    > Cc: Kalle Valo <kvalo@kernel.org>
    > Cc: Viresh Kumar <vireshk@kernel.org>
    > Cc: Stephen Boyd <sboyd@kernel.org>
    > Cc: Kishon Vijay Abraham I <kishon@ti.com>
    > Cc: Linus Walleij <linus.walleij@linaro.org>
    > Cc: "Rafael J. Wysocki" <rafael@kernel.org>
    > Cc: Kevin Hilman <khilman@kernel.org>
    > Cc: Ulf Hansson <ulf.hansson@linaro.org>
    > Cc: Sebastian Reichel <sre@kernel.org>
    > Cc: Mark Brown <broonie@kernel.org>
    > Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
    > Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
    > Cc: Zhang Rui <rui.zhang@intel.com>
    > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    > Cc: Thierry Reding <thierry.reding@gmail.com>
    > Cc: Jonathan Hunter <jonathanh@nvidia.com>
    > Cc: Sudeep Holla <sudeep.holla@arm.com>
    > Cc: Geert Uytterhoeven <geert+renesas@glider.be>
    > Cc: linux-ide@vger.kernel.org
    > Cc: linux-crypto@vger.kernel.org
    > Cc: dri-devel@lists.freedesktop.org
    > Cc: dmaengine@vger.kernel.org
    > Cc: linux-pm@vger.kernel.org
    > Cc: iommu@lists.linux-foundation.org
    > Cc: linux-leds@vger.kernel.org
    > Cc: linux-media@vger.kernel.org
    > Cc: netdev@vger.kernel.org
    > Cc: linux-can@vger.kernel.org
    > Cc: linux-wireless@vger.kernel.org
    > Cc: linux-phy@lists.infradead.org
    > Cc: linux-gpio@vger.kernel.org
    > Cc: linux-riscv@lists.infradead.org
    > Cc: linux-remoteproc@vger.kernel.org
    > Cc: alsa-devel@alsa-project.org
    > Cc: linux-usb@vger.kernel.org
    > Signed-off-by: Rob Herring <robh@kernel.org>
    > ---

    For CPUs and PM domains:

    Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

    Kind regards
    Uffe

    \
     
     \ /
      Last update: 2022-01-19 11:33    [W:3.496 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site