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 38A09C001DE for ; Mon, 24 Jul 2023 07:24:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229506AbjGXHYK (ORCPT ); Mon, 24 Jul 2023 03:24:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229578AbjGXHYJ (ORCPT ); Mon, 24 Jul 2023 03:24:09 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32E32137 for ; Mon, 24 Jul 2023 00:24:04 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-99313a34b2dso591475666b.1 for ; Mon, 24 Jul 2023 00:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690183442; x=1690788242; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CBrXA3GfQqUqZF4hKq4KKQZVGsJT8J4SBU3nb0zPdIc=; b=vTksFXABghnZiSOnD0bW1YzvyKrWF7RWN8q75TD+vcEq1QW/hkPGoDaXm6PZ9CO9XS Gsk4NDvqLU/KRqKZ7AEiS2nq4k6510nvPjX09tbPSQ6yZUxdgMY456q4bXkn+tv8VcNz uU3iKbiIrRmJNDsL9vBHFPyfbZSCq0s6Q7kJv0XqOTa6GRsSWaI/Y0PkR5+BHtJIom8C ztVynBlHVoNU9hPpQm4cmB3s5xkxY1oACHXUlXcGoNX2JQRjoisleVqMm9AIolhN+2x6 Td3k1Qs5n4oetbi7G/MAl54+qCWmoecqJGXOuocMLaLMRp48bSgLCDunV5NMzFP9CgVw BFhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690183442; x=1690788242; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CBrXA3GfQqUqZF4hKq4KKQZVGsJT8J4SBU3nb0zPdIc=; b=H7yCw8IcR4IxaHDTqYxtkQ1r/GnOtfUoWGPGBNUZ4p5JJ6/YQHDu5Ud6wB4xGdH/jw swDh6YPqB3udFUl2PwyKmkiH8kE7G3+xe+oYQCjFY9qCuzVnT7ALv+5lP2PhrFBEO93j gg0LyKHjL5V1ULZT4puOzRiZpW3M5RUNfFNR5I39uMlp1bsfkLyIL0R/Xpa7CLKws91z Z0Cc4tgfpfYmUIwgact73aMeC6fjHH8bj0ONwXTVdsGippH2n1HIeNXT+SKDd/4hN/8Z EmQ/amd/32T9d6JZMjqSljWG3CzkOJIs0UUXxlLlkML53jFDt8bd4RWTb5xq2O5e8LqU ON7g== X-Gm-Message-State: ABy/qLahI5B0PiwA4w2uTgkQjxdagG7wKPiR4FUGs4eIwBSDa00ae2Ez tgsk1oRGfqr1HGypMuLcX9UAdg== X-Google-Smtp-Source: APBJJlGjYdU3iGP0Fguc6/73vVCUUIk+kJlhFXlg86MiGvd9WTlERBp8eHJaZ3yfX4z4ulPCBh/L1Q== X-Received: by 2002:a17:906:749a:b0:99b:4e52:da47 with SMTP id e26-20020a170906749a00b0099b4e52da47mr7387743ejl.33.1690183442711; Mon, 24 Jul 2023 00:24:02 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id v12-20020a17090606cc00b0099290e2c15esm6314315ejb.75.2023.07.24.00.24.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jul 2023 00:24:02 -0700 (PDT) Message-ID: <97565358-d11e-459c-8bf7-adfb3aa079ed@linaro.org> Date: Mon, 24 Jul 2023 09:24:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2 2/2] dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO Content-Language: en-US To: Alexander Stein , Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Pavel Machek , Lee Jones Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-leds@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <20230724063520.182888-1-alexander.stein@ew.tq-group.com> <20230724063520.182888-2-alexander.stein@ew.tq-group.com> From: Krzysztof Kozlowski In-Reply-To: <20230724063520.182888-2-alexander.stein@ew.tq-group.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 24/07/2023 08:35, Alexander Stein wrote: > This is a gpio-controller, so gpio-line-names should be allowed as well. > pca9532 supports up to 16 GPIOs. > > Signed-off-by: Alexander Stein > --- > Changes in v2: > * Add min/maxItems > > Documentation/devicetree/bindings/leds/nxp,pca953x.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml b/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml > index edf6f55df685..9610bca57dd5 100644 > --- a/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml > +++ b/Documentation/devicetree/bindings/leds/nxp,pca953x.yaml > @@ -29,6 +29,10 @@ properties: > > gpio-controller: true > > + gpio-line-names: > + minItems: 1 GPIO expander which adds only one GPIO? That would be weird. Are sure? Which model supports 1 GPIO? Best regards, Krzysztof