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 44C7CC4332F for ; Sun, 13 Mar 2022 17:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235218AbiCMR4J (ORCPT ); Sun, 13 Mar 2022 13:56:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230184AbiCMR4J (ORCPT ); Sun, 13 Mar 2022 13:56:09 -0400 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 695744D9D8; Sun, 13 Mar 2022 10:55:01 -0700 (PDT) Received: by mail-ej1-f46.google.com with SMTP id qx21so29306886ejb.13; Sun, 13 Mar 2022 10:55:01 -0700 (PDT) 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:from :subject:content-language:to:cc:references:in-reply-to :content-transfer-encoding; bh=AtJFAG1rS0UdoKCIw6TlSYmKm66HsiJJug31sCRSQaE=; b=q8b0jFFju004961j2pK36Jp+LiMJf+O598HUNkdFHkPgIJhQuS70MfXWE2/EPlsnMS z8swqTG1aRAhdYfA4C6lW7kXXfLfOjQ1PdVRt9CpPv5cv0J9jfaWGfGjViBh597VDbG+ KOPz9T72bULO5tIOj9zCIbpqeUAxsnssVOzG97dvQ2xKXhZizOLWqOM1I6LHLL+PeOry DaQ2jGoA1pGavYbDSv8v19QIycZppH5Ise/w1tc8E3j6kosEdrlSxvbYT9tpOYH3KozA Xsg4MUMekTWZp4X7V3gQA3OUPpb607HX0T1qCvzWTQIUu6jUXwDIkICPU4tGF+hU5X0d W05w== X-Gm-Message-State: AOAM530Hocgvn0OieV5z+suyOia34n4Fp6XOpYKe0Lh04Jt7eSxK2Wwl 4AL8NSDFtJY9Icmc9FXYAnI= X-Google-Smtp-Source: ABdhPJw5qqGwo6Z0GdV1LsOQtY8gC/tR92mv7iE/9TAZx/FptY0VqTQw25xP/lQs3sr5swfcVq/B4A== X-Received: by 2002:a17:906:39da:b0:6cf:7f09:a7bc with SMTP id i26-20020a17090639da00b006cf7f09a7bcmr16701242eje.457.1647194099781; Sun, 13 Mar 2022 10:54:59 -0700 (PDT) Received: from [192.168.0.152] (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.googlemail.com with ESMTPSA id f1-20020a056402194100b00416b174987asm5324319edz.35.2022.03.13.10.54.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Mar 2022 10:54:59 -0700 (PDT) Message-ID: <62178934-9b16-c79c-387d-91526f7fe732@kernel.org> Date: Sun, 13 Mar 2022 18:54:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 From: Krzysztof Kozlowski Subject: Re: [PATCH v1 8/8] dt-bindings: pinctrl: convert ocelot-pinctrl to YAML format Content-Language: en-US To: Michael Walle Cc: Linus Walleij , Rob Herring , Lars Povlsen , Steen Hegelund , Thomas Bogendoerfer , Gregory CLEMENT , Paul Burton , Quentin Schulz , Antoine Tenart , Kavyasree Kotagiri , Nicolas Ferre , "David S . Miller" , UNGLinuxDriver@microchip.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org References: <20220313152924.61931-1-michael@walle.cc> <20220313152924.61931-9-michael@walle.cc> <869d4fda-e943-1817-17cd-df7b323a1fef@kernel.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 13/03/2022 17:36, Michael Walle wrote: > Hi, > > wow, you're fast! > > Am 2022-03-13 16:55, schrieb Krzysztof Kozlowski: > >>> + reg: true >> >> maxItems > > There are up to two address ranges. The second one is only needed for > particular controllers (the sparx5 and the lan966x). > > Is the following snippet the correct form? > > reg: > items: > - description: Base address > - description: Extended pin configuration registers > minItems: 1 Yes, it's correct. Please also add proper "if:then" under "allOf:" (and move such allOf under "required:") which changes minItems to two for such controllers, based on compatible. Best regards, Krzysztof