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 C7D96C43217 for ; Wed, 19 Jan 2022 07:41:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352153AbiASHlI (ORCPT ); Wed, 19 Jan 2022 02:41:08 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:54912 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352135AbiASHlE (ORCPT ); Wed, 19 Jan 2022 02:41:04 -0500 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 90166407F5 for ; Wed, 19 Jan 2022 07:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642578063; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bF6u0UizThWnJKp9pfXokpEjorghdPKIBCyYZVG592/0jQr6gphbDQQJQFsbgd+bq XGlWkWs/0SNPm9ei8uLzJWg5pMRyNXlwewTO+ZuNLtnUA2bv8NeeZGWYJ4JHsQIejC 4N8z2TZLdxFXEjczxTWXhU58hEYyrKcrpxxrGk5kpzLRXdRmUeJTiPx/hP2fmMZ+Ky k1ioqf0B79tAKqH/WzbiVpU9y3KqDHOTwlHBlWLt76Hp8tMv336XmOIY5xiJJbNQJH W4kz/FTlebmC579eNQIULhud3PymyeOGSZU0dqvA1Ev9H+WtL726WVHjsI+hMbB0/b vQIv95TBHjg9Q== Received: by mail-wm1-f69.google.com with SMTP id n13-20020a05600c3b8d00b0034979b7e200so743572wms.4 for ; Tue, 18 Jan 2022 23:41:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; b=ocSInAfRTgJwrm3E2gckKILkWjEWJw22efwSab3rjK2dcI7ffzd8eezY4bgHCU2tn9 Gfj56Lf8dxq3MGwIpmOXLxQa4VMGqEwMMfW/RYjZmuyQ3IlegNlzu/PItsJELn+qVDR0 0TF5rzAnSL7MdRJwM7ybyr265KQqKHoKDIF65PKalmodfbZbVfNmDVd8Qu0ga14djFBd 0FDrPKoM2UH+jJROoCNnpt0t0zDkK7b+skPc8bMr2enu/azhhm9Y02L9zcugzTeLeQFW Xz0vmNU4eEAFJSnooBFRoHVftuT5i3giWFltWZXCD3HvyO7Yx0s0rFtUwTUxs3Gj8B+b VGHw== X-Gm-Message-State: AOAM533jN905xoWpx7/+ABI5B8epcaIs7cXYvn6CESeF20SzZnBux/wc SK3J7inWiWnTS+5i7zdF7xooAQXnAqVmC/wacxCqxC3SAdcYGoRYV+2URORv9KRs1YC+W9MICsf jCNxfQWgNHxdAG9DNVVQOTB6DJCUYd9ENKwpliQ== X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673600ejc.557.1642578052255; Tue, 18 Jan 2022 23:40:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcC/F4TT/k1wEFa2HsX2oDgdxrLKxkyNjrLq8ReErAXQsVWpB2ePW4VmJCVcsiAdC0JWuWGg== X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673541ejc.557.1642578052033; Tue, 18 Jan 2022 23:40:52 -0800 (PST) Received: from [192.168.0.42] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id d2sm791994edy.86.2022.01.18.23.40.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jan 2022 23:40:51 -0800 (PST) Message-ID: <21b72055-e158-6586-f48a-17695128b507@canonical.com> Date: Wed, 19 Jan 2022 08:40:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas Content-Language: en-US To: Rob Herring , devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Damien Le Moal , Herbert Xu , "David S. Miller" , Chun-Kuang Hu , Philipp Zabel , Laurent Pinchart , Kieran Bingham , Vinod Koul , Georgi Djakov , Thomas Gleixner , Marc Zyngier , Joerg Roedel , Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Mauro Carvalho Chehab , Jakub Kicinski , Wolfgang Grandegger , Marc Kleine-Budde , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , Kalle Valo , Viresh Kumar , Stephen Boyd , Kishon Vijay Abraham I , Linus Walleij , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Sebastian Reichel , Mark Brown , Mathieu Poirier , Daniel Lezcano , Zhang Rui , Greg Kroah-Hartman , Thierry Reding , Jonathan Hunter , Sudeep Holla , Geert Uytterhoeven , linux-ide@vger.kernel.org, linux-crypto@vger.kernel.org, dri-devel@lists.freedesktop.org, dmaengine@vger.kernel.org, linux-pm@vger.kernel.org, iommu@lists.linux-foundation.org, linux-leds@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-can@vger.kernel.org, linux-wireless@vger.kernel.org, linux-phy@lists.infradead.org, linux-gpio@vger.kernel.org, linux-riscv@lists.infradead.org, linux-remoteproc@vger.kernel.org, alsa-devel@alsa-project.org, linux-usb@vger.kernel.org References: <20220119015038.2433585-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 19/01/2022 02: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. > Samsung and memory controller bits look good: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 765DAC433EF for ; Wed, 19 Jan 2022 07:41:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JjDiMWJkLqmgFTcJCobluhiIXD5dVmkSZnDcuYeYp2w=; b=dvBg9yvTl5BceO mAd+5TRj5XIPdyRHKscVgtHuhDtezyhZnEJBQaELRfAnzvQ8KjmJJ4WquOplK6NC/KZVZfob+CGfv GDW3mTpG/8o7EbW6LinsoVag4Z8PCDTXQOW6s1wPJH6ofJ6oKXS9pTKxry4Jw+OrtyzEQO9SG3b1i 3T+ZiVN0qGShUJS6aaxZ/oe/W/QravDykWYg7wjKZQd0DIQv8ttvL3ixOMwqcUEYtcTWLlfA1/JK7 VX/jTIZJ3CCQk6lSCdBRa9FvA1X96rSPSybJ9Hk/9b8k44hmvQWvJMxYR7+DN4m7ysqaELN5ipWST 8i6o8IxvF6aV1RNm/vqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nA5al-004D7w-1G; Wed, 19 Jan 2022 07:41:15 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nA5ab-004D34-Fy for linux-riscv@lists.infradead.org; Wed, 19 Jan 2022 07:41:06 +0000 Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id E4A153FFFC for ; Wed, 19 Jan 2022 07:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642578063; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bF6u0UizThWnJKp9pfXokpEjorghdPKIBCyYZVG592/0jQr6gphbDQQJQFsbgd+bq XGlWkWs/0SNPm9ei8uLzJWg5pMRyNXlwewTO+ZuNLtnUA2bv8NeeZGWYJ4JHsQIejC 4N8z2TZLdxFXEjczxTWXhU58hEYyrKcrpxxrGk5kpzLRXdRmUeJTiPx/hP2fmMZ+Ky k1ioqf0B79tAKqH/WzbiVpU9y3KqDHOTwlHBlWLt76Hp8tMv336XmOIY5xiJJbNQJH W4kz/FTlebmC579eNQIULhud3PymyeOGSZU0dqvA1Ev9H+WtL726WVHjsI+hMbB0/b vQIv95TBHjg9Q== Received: by mail-lf1-f71.google.com with SMTP id c28-20020a056512239c00b0042da04abc37so1004452lfv.7 for ; Tue, 18 Jan 2022 23:41:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; b=4lutxrzHisZCP5S+oo27T/JioUMZ8NZqgdpbR76U8lqZDWfNpkpdPpe/kt9dJ6w/gc mS9ukvBqxjJ2X/Ke/A93bm+UMl9pDUj4MHxm4A4ISSIYHhls7X2daxfrUVRItIIL77PA 9k55ftngZMiqyGhTWkHGNZP5RMQSM63+khQ8ygEqKeJL4D7gerjgexNo1WTUxrUIrpq+ aSKPDInZObn4XPKWtvNeq8VZCHYoabGz1m7ujah5Z40HbRtoMNPDREbynzmMyc+voTlL uV6hXu0ASdxscKmjjqEYhQGkUTIa6zvRO2NyATMANrgiXHQqPkaaL9hW1/BOAwPmisMz JtTQ== X-Gm-Message-State: AOAM531edH9mo+ABp14eWa0LD1v0wYD+eUfpcy2Dt9ltjWe3wsmgSMzE QFx1O9dhH/NE9Ss26u7SjpXnE0lukKVEVsP/G6fSnI8H9wlsnjsdagyGccNeZaGwZNi0pQzj1iE G7X9Ws8obZseG9fU4ppq3EvXrz1mO7wnHzRvfEaQkFEuOWQ== X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673601ejc.557.1642578052256; Tue, 18 Jan 2022 23:40:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcC/F4TT/k1wEFa2HsX2oDgdxrLKxkyNjrLq8ReErAXQsVWpB2ePW4VmJCVcsiAdC0JWuWGg== X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673541ejc.557.1642578052033; Tue, 18 Jan 2022 23:40:52 -0800 (PST) Received: from [192.168.0.42] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id d2sm791994edy.86.2022.01.18.23.40.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jan 2022 23:40:51 -0800 (PST) Message-ID: <21b72055-e158-6586-f48a-17695128b507@canonical.com> Date: Wed, 19 Jan 2022 08:40:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas Content-Language: en-US To: Rob Herring , devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Damien Le Moal , Herbert Xu , "David S. Miller" , Chun-Kuang Hu , Philipp Zabel , Laurent Pinchart , Kieran Bingham , Vinod Koul , Georgi Djakov , Thomas Gleixner , Marc Zyngier , Joerg Roedel , Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Mauro Carvalho Chehab , Jakub Kicinski , Wolfgang Grandegger , Marc Kleine-Budde , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , Kalle Valo , Viresh Kumar , Stephen Boyd , Kishon Vijay Abraham I , Linus Walleij , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Sebastian Reichel , Mark Brown , Mathieu Poirier , Daniel Lezcano , Zhang Rui , Greg Kroah-Hartman , Thierry Reding , Jonathan Hunter , Sudeep Holla , Geert Uytterhoeven , linux-ide@vger.kernel.org, linux-crypto@vger.kernel.org, dri-devel@lists.freedesktop.org, dmaengine@vger.kernel.org, linux-pm@vger.kernel.org, iommu@lists.linux-foundation.org, linux-leds@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-can@vger.kernel.org, linux-wireless@vger.kernel.org, linux-phy@lists.infradead.org, linux-gpio@vger.kernel.org, linux-riscv@lists.infradead.org, linux-remoteproc@vger.kernel.org, alsa-devel@alsa-project.org, linux-usb@vger.kernel.org References: <20220119015038.2433585-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220118_234105_675758_A6FE6FE4 X-CRM114-Status: GOOD ( 14.75 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 19/01/2022 02: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. > Samsung and memory controller bits look good: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 399F4C4332F for ; Wed, 19 Jan 2022 07:41:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id D491D414E7; Wed, 19 Jan 2022 07:41:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mq18vmpcXdi0; Wed, 19 Jan 2022 07:41:09 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp4.osuosl.org (Postfix) with ESMTPS id 8DA7A41499; Wed, 19 Jan 2022 07:41:09 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7267AC0031; Wed, 19 Jan 2022 07:41:09 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7956BC002F for ; Wed, 19 Jan 2022 07:41:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 55C3840370 for ; Wed, 19 Jan 2022 07:41:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=canonical.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lq8e8-9g3GDU for ; Wed, 19 Jan 2022 07:41:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by smtp2.osuosl.org (Postfix) with ESMTPS id 42BD54014A for ; Wed, 19 Jan 2022 07:41:07 +0000 (UTC) Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 673BA40053 for ; Wed, 19 Jan 2022 07:41:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642578064; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=I6q8teHD2ayJ51KdZSsCQtYzgTU1B5feQxWWcbf/7Aa8wezEfkF8zg/bsnILf56WJ /yD0g7ASnOAX/AJyM+cnWGXecITg6RVlB2CTd9SFbABjaxU8hymxCxhUWXlKUiFEFk h7NzJxrzRfWgDvDxDdXh8UQzDbwjMhNCWiCrXPfNskmuiwyvULBgRTe6sZwpveEG3Q 3JwCA5dvo14if8mGx8VEeB0hqU7QnmeZtJSQcBbDAztvE0hV+f+MTwSyS+uPa71rTf GCoOxhHcb7vTE5ze9FuA6hg80MOEPXYPmtmZHm2fqeAKOUJRpgxOkXEeyeVUXymEIT GlxIumaJc295g== Received: by mail-lf1-f71.google.com with SMTP id 7-20020ac24827000000b0042e731a7bc7so968390lft.18 for ; Tue, 18 Jan 2022 23:41:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; b=Jcm0eIbnzhGGL0CX8VMJkNSlPqLhmZLDnvOZinsFqqPI1p3G6DTx+gA4yvNsQfSSGF 65+C+524T1nu3Fmj5LNZP0tETh46Nj0yVv5UpVzsxXszYVX4OZFWHkFy6J/r3MTptmAJ G4Y7TfdP7Mo55CCupDyefwBXyErl0dFZm0ZznG3jXgzvmynmCpj3u/29od5Yeo4pn2cH 8tbQ3Q0ga1ZmzjDCk6IQm7mg6O0OVcx96IlM+Yqo52pbbclXJTywH5zThZ5k60K9iRNc vJwMN/AAjPV29zq1KTwl2N/ENjUsda9V4sF63AS+sIRp+ChMVVkVfHZs8czrWT+g940j X66Q== X-Gm-Message-State: AOAM530Padb1C1x4pBwU6GDRvkTZJ5L/yXIW8VngyGiYHTR04diOSM92 +b4dVRkHwO8X+SOUfz1hax4t88bXCO81RMdTLNZ5rcMz8jzEGNJbWskvkKWxvD61QgUAvy6Undw T88+fzijfh9lwn2mXLXTcf0vCQAW84ApPbDD7iPOi9JzrjVQ= X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673588ejc.557.1642578052208; Tue, 18 Jan 2022 23:40:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcC/F4TT/k1wEFa2HsX2oDgdxrLKxkyNjrLq8ReErAXQsVWpB2ePW4VmJCVcsiAdC0JWuWGg== X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673541ejc.557.1642578052033; Tue, 18 Jan 2022 23:40:52 -0800 (PST) Received: from [192.168.0.42] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id d2sm791994edy.86.2022.01.18.23.40.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jan 2022 23:40:51 -0800 (PST) Message-ID: <21b72055-e158-6586-f48a-17695128b507@canonical.com> Date: Wed, 19 Jan 2022 08:40:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas Content-Language: en-US To: Rob Herring , devicetree@vger.kernel.org References: <20220119015038.2433585-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> Cc: Andrew Lunn , Ulf Hansson , 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 , Kevin Hilman , 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 , Stephen Boyd , Jingoo Han , linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@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" On 19/01/2022 02: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. > Samsung and memory controller bits look good: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof _______________________________________________ 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 35EFBC433EF for ; Wed, 19 Jan 2022 07:40:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 621DF10E313; Wed, 19 Jan 2022 07:40:55 +0000 (UTC) X-Greylist: delayed 307 seconds by postgrey-1.36 at gabe; Wed, 19 Jan 2022 07:40:54 UTC Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by gabe.freedesktop.org (Postfix) with ESMTPS id 653EE10E308 for ; Wed, 19 Jan 2022 07:40:54 +0000 (UTC) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id BDB26407F3 for ; Wed, 19 Jan 2022 07:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642578052; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nWEu+jGMj1FJ3/JFrNCNRWcrAgA7ULncUgZATh2wXD4936EoufJ27K5UIUNruVGFB OUJTIDjH3K+aQfwAeMrwVZplhgPrtJgt6m4RX1812H9cXBsV9eq3k8kKqS8u9b9+hl 7oRCsoeM9/ivgnEUaf1VVJ3LZamN4HZSKfqZZHSJumVLEwKkihRyHbyuL791RM/K4z 23TW7bBjf1u74E0XGEgtVhHDT9WXN/M3IfVAaaZ6EMvxMNLpMMialNyIcYO80EeyYs VVe+75P76Owv3P06DpmJ77i8axmsF9uTj6eW87X7IAir9wzRCwMNyHNgItiPbe0dev vA5VsmdAf3obw== Received: by mail-ed1-f70.google.com with SMTP id ee53-20020a056402293500b004022f34edcbso1458130edb.11 for ; Tue, 18 Jan 2022 23:40:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; b=17MQ6cahiQVjRRO63NEZyv1z3sPmg1fcS5WpV962HRJPKXR2ywz7XHEHYQChSFlqXs vUuLgYQYGFqQmvNTjVqN2ekFEyPqk9OzwEsTELGxMzyQ2rjX4dPwrtiYj4ZBxuwTxGid 7JBJdgqJK4uufhbz/0+aUgN8KtPIrve8XHiDcjJ3ePJ+7lOxB37eoBQs8P289JsmZbpX Mzks59jrs7GwmE2GaU14ORJk5QcWIVLz8eAFDiJ/NZ8gI/Rkn545jRal1R+M107ZOtsa GZUkfodM5+Qa7r9U2sv8wQINCIT6F005pEKXD/8pRmpGdqU4sHB6rCz5KO7KDSUUo+YQ PAuQ== X-Gm-Message-State: AOAM53089yxh+4GOdJhtnjrpLiNx6/crqB5ef5KmaXaisa0ZerFXvfR/ +uOjXYPDbX9lVPOTvPcYl87dGOuEBbl9w7qb+iraDN+MbgXKxIdmyy4qQns/Vz98IyWLU48kFwT qBKyiJfpy7VyIt4r5JYjiijrIXAnqmdWPrToUCO301smXYg== X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673578ejc.557.1642578052199; Tue, 18 Jan 2022 23:40:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcC/F4TT/k1wEFa2HsX2oDgdxrLKxkyNjrLq8ReErAXQsVWpB2ePW4VmJCVcsiAdC0JWuWGg== X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673541ejc.557.1642578052033; Tue, 18 Jan 2022 23:40:52 -0800 (PST) Received: from [192.168.0.42] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id d2sm791994edy.86.2022.01.18.23.40.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jan 2022 23:40:51 -0800 (PST) Message-ID: <21b72055-e158-6586-f48a-17695128b507@canonical.com> Date: Wed, 19 Jan 2022 08:40:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas Content-Language: en-US To: Rob Herring , devicetree@vger.kernel.org References: <20220119015038.2433585-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 , 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 , Kevin Hilman , 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 , Stephen Boyd , Jingoo Han , linux-usb@vger.kernel.org, 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" On 19/01/2022 02: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. > Samsung and memory controller bits look good: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 667D3C433F5 for ; Wed, 19 Jan 2022 07:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ho/hbTyQAkMSAGuwZZ6YqJYGa9LZkEuph6aC4by0RpE=; b=LhHbwM3stYxAF6 6ArWbNlDFpnxFJXWVwhK1XScQbPSCfrWVYN0hOw1pQUlyxSSKGLRBkmLUiEFf3HiZaYw0Pci4dQ5w r7ebgrLHC4TUSZpSKPdIYHUT9hOniW1NKFNszLxShEHj1ySi4GbEwcLd2mJY3aiQhNcrBlaPOfx9q KvarJLtsm/so+E/8Tc10zlwurHPdCLIzoRgcK+9BTBpRmrH+t4GAeH/fwSI5OXeUYQ4sKkwjdOTm6 5yX/it6aevxrLcBGUD+sRUqJkjxkQVeCP6iDUHl6M68mDoG+sMTMAH2V5gaufRBz6FhyQmPZzACiR +1aF7WcSYNgEQJDdDNrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nA5ak-004D7f-Qm; Wed, 19 Jan 2022 07:41:14 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nA5aa-004D2m-SH for linux-phy@lists.infradead.org; Wed, 19 Jan 2022 07:41:06 +0000 Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id ED6094004F for ; Wed, 19 Jan 2022 07:41:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642578062; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tM4hYFUmnVKwE6JtmTgY2vHw1PlK/BJcgXkScI3R6HS5KGJFxTgLLpAdWyovVJAm1 xW3fXPKfjneZ5tun3ELc++2tlgnenxd8vXA4YGe5tI661o8vzIu+vZLlj5C55JcSdm +NG3SXq9rdN7ul3MviN9y3h7uRQmpQwfIlIbWlkESXcRbVNK0Z2RVt/nrC/mETjTLr gkuyV4fXRsL6lg8U7LL1Mk3weGsDERUtcwFxDV6fmPlCFPd89xxzDAOXzrmjl/STGE c2y+KggX0wjG28JBpDLhmML72Co2pWizSlAqCr5t4iJuawalNjYtpqToLwvbyiM3iW tVPFETDBZ5eUA== Received: by mail-lf1-f69.google.com with SMTP id f10-20020a0565123b0a00b00430a73a67f0so973890lfv.14 for ; Tue, 18 Jan 2022 23:41:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; b=CVARkQZLu8lmMUFT3vqL1JhtavqwKI+CfqIfWLU7LLrRXuiNo5xnqZ+ruCHVYSroDK szgLNvxE01PzgE1BiPwKU7ptusIsFnfMv7lAd0qLActt/3C0kM8JH7zYETPELd6sxmv+ oPOLD4fvb02P08XSazV8MGcUvF1pj2gxvrjOVef3AXRn+1ZCy9B4oM4Kmy8YkJ2aFxUl P21JIeGgH2vZ1jb1510n3FNR16J9xPc+PiL7Z/WjIIri2LzTQUm65YiPUcHQCmKHKvOC MW8kmAQgqTO0TcDD2OcPSA2ZIiEj+Qnusr/hUXsF7OuMyD5B+gxUm+/3sBkoSGgvbArL 1Eug== X-Gm-Message-State: AOAM531b1farmq8DpD7N39h8bBzwYJ4tmhQ6ZLfdCOIePo91n+dPa1xW jPSZxgMdyBPUXp4iIrqRHgxBc5Ots9O/BnHOl+lhN2HUg2lmLYhtXF9z91Q+puC8rmD9FFPHWbr Ybt/hnnm6+vSFLF85SM4StN7bTUdUyVziaTaYiSz2PEs= X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673577ejc.557.1642578052199; Tue, 18 Jan 2022 23:40:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcC/F4TT/k1wEFa2HsX2oDgdxrLKxkyNjrLq8ReErAXQsVWpB2ePW4VmJCVcsiAdC0JWuWGg== X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673541ejc.557.1642578052033; Tue, 18 Jan 2022 23:40:52 -0800 (PST) Received: from [192.168.0.42] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id d2sm791994edy.86.2022.01.18.23.40.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jan 2022 23:40:51 -0800 (PST) Message-ID: <21b72055-e158-6586-f48a-17695128b507@canonical.com> Date: Wed, 19 Jan 2022 08:40:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas Content-Language: en-US To: Rob Herring , devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Damien Le Moal , Herbert Xu , "David S. Miller" , Chun-Kuang Hu , Philipp Zabel , Laurent Pinchart , Kieran Bingham , Vinod Koul , Georgi Djakov , Thomas Gleixner , Marc Zyngier , Joerg Roedel , Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Mauro Carvalho Chehab , Jakub Kicinski , Wolfgang Grandegger , Marc Kleine-Budde , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , Kalle Valo , Viresh Kumar , Stephen Boyd , Kishon Vijay Abraham I , Linus Walleij , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Sebastian Reichel , Mark Brown , Mathieu Poirier , Daniel Lezcano , Zhang Rui , Greg Kroah-Hartman , Thierry Reding , Jonathan Hunter , Sudeep Holla , Geert Uytterhoeven , linux-ide@vger.kernel.org, linux-crypto@vger.kernel.org, dri-devel@lists.freedesktop.org, dmaengine@vger.kernel.org, linux-pm@vger.kernel.org, iommu@lists.linux-foundation.org, linux-leds@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-can@vger.kernel.org, linux-wireless@vger.kernel.org, linux-phy@lists.infradead.org, linux-gpio@vger.kernel.org, linux-riscv@lists.infradead.org, linux-remoteproc@vger.kernel.org, alsa-devel@alsa-project.org, linux-usb@vger.kernel.org References: <20220119015038.2433585-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220118_234105_068462_B1478AD2 X-CRM114-Status: GOOD ( 14.75 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On 19/01/2022 02: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. > Samsung and memory controller bits look good: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy 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 655A5C433EF for ; Thu, 20 Jan 2022 07:11:11 +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 B5B94302E; Thu, 20 Jan 2022 08:10:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B5B94302E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1642662669; bh=7PI3TgT1yOFnCCYpjkgWGwZBhMnkyYF8aDH5wlWk5Xc=; h=Date:Subject:To:References:From:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=hTIoEFunHF3ORaqIfCugFBkifWP3k6kL3/ESDJDWo9MLTpz1rtp1900BqPX42iKSv jnyg+3m30pmjBTQ9e+MXT4jv/Cg1UJxsgY/xvmlmcjhJsYkpLEAH6Ny78rARjohURg scNykv9ouzZOUQuyAxfYu5BcXcjzVATHtvfQ5MUY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E3699F805B5; Thu, 20 Jan 2022 08:03:50 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BBC3EF801F7; Wed, 19 Jan 2022 08:40:59 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 957EDF80128 for ; Wed, 19 Jan 2022 08:40:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 957EDF80128 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="nWEu+jGM" Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 7B2F53F1E3 for ; Wed, 19 Jan 2022 07:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1642578052; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nWEu+jGMj1FJ3/JFrNCNRWcrAgA7ULncUgZATh2wXD4936EoufJ27K5UIUNruVGFB OUJTIDjH3K+aQfwAeMrwVZplhgPrtJgt6m4RX1812H9cXBsV9eq3k8kKqS8u9b9+hl 7oRCsoeM9/ivgnEUaf1VVJ3LZamN4HZSKfqZZHSJumVLEwKkihRyHbyuL791RM/K4z 23TW7bBjf1u74E0XGEgtVhHDT9WXN/M3IfVAaaZ6EMvxMNLpMMialNyIcYO80EeyYs VVe+75P76Owv3P06DpmJ77i8axmsF9uTj6eW87X7IAir9wzRCwMNyHNgItiPbe0dev vA5VsmdAf3obw== Received: by mail-ed1-f70.google.com with SMTP id o10-20020a056402438a00b00403212b6b1aso1437529edc.13 for ; Tue, 18 Jan 2022 23:40:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=KOwrbfmVaaY4sfUgcL8mu/NpRfAwFGVtSAETT0kqBAg=; b=GVJNt6mKctFVSGWt01aWBiCCOvcmPpsoLioTAlfL1MCmwzugFguOTuoYKPpm6eArSo 7+HwjLO/E7arMCQjN68UL9aOvwtcpINwC1TTkJR29Q0raYdKuuJBvmqGMoUex+Glst1Z LbCT2RoZwhHoAhFFlAbheuLGmw04rcssAN5creyntegdP7p/C6uGBP1lTQPGKsl12OLH SygoYjk8hOa8M3VmYKHoI9QnQzJG4iSE9zlTJWmRLyMcNAJwGZPtE5cI3sGEp77faEha oXzSU4f5NGHLNhYJBi4SnUhvY4ughnMj5vaSTACzU014NqFp0m/VDC4XOJzPDSqkht0N tQdg== X-Gm-Message-State: AOAM530to0TogeNgbCKqTrRV6RtnKJXY6hUK6MC8SCGR5y11ijNI1rck Ta9KlyadewgV6R+7G+acQCrHeaQZQ+Hy1MA5ZukVIi2XE4eD0Hw+RMdFAM9f/b8zK0/pWdqyXP5 KYyyDSSgij7a8Hiu2ks3wCpLMUyQ6vvqL1QZZmFif X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673558ejc.557.1642578052186; Tue, 18 Jan 2022 23:40:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcC/F4TT/k1wEFa2HsX2oDgdxrLKxkyNjrLq8ReErAXQsVWpB2ePW4VmJCVcsiAdC0JWuWGg== X-Received: by 2002:a17:907:7ea6:: with SMTP id qb38mr23673541ejc.557.1642578052033; Tue, 18 Jan 2022 23:40:52 -0800 (PST) Received: from [192.168.0.42] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id d2sm791994edy.86.2022.01.18.23.40.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jan 2022 23:40:51 -0800 (PST) Message-ID: <21b72055-e158-6586-f48a-17695128b507@canonical.com> Date: Wed, 19 Jan 2022 08:40:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH] dt-bindings: Improve phandle-array schemas Content-Language: en-US To: Rob Herring , devicetree@vger.kernel.org References: <20220119015038.2433585-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220119015038.2433585-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 20 Jan 2022 08:03:34 +0100 Cc: Andrew Lunn , Ulf Hansson , 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 , Kevin Hilman , 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 , Stephen Boyd , Jingoo Han , linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@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" On 19/01/2022 02: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. > Samsung and memory controller bits look good: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof