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 955B9C001B0 for ; Mon, 24 Jul 2023 07:24:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229661AbjGXHYJ (ORCPT ); Mon, 24 Jul 2023 03:24:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229506AbjGXHYI (ORCPT ); Mon, 24 Jul 2023 03:24:08 -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 3349F139 for ; Mon, 24 Jul 2023 00:24:04 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-9923833737eso590596266b.3 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=LW2DLEAlRhuVPez8i16u3dw5bupoy1GksHLg7un3cb/ey870YXykIwgAFAob2BSWrZ 0L6lZWDA3QxX2/y6L0bLfU6i6nHOnmnIoPoZIIsF1KBfeP6tc7lkM6FDTlvhZJmofOTA hLScHIG5jPs47ShgJILkaE4JSKI0/fJbGaRtbx5OEsDRzgjxbFrD1wxySFzuIc39Jbd/ 4gc1MlBBTm6K5QI/3n7e8Oy3/AUX9GdU/T/mpl8BsEf9Muv+iqDv5BmtUQTf1nWRFb1w 7j/jqGs8Hta0V9xEcD9+4Fh25NGRk2ID5xXbrxdrDEvZzyMdcKyPNNw6DEAHsGVN+XxA UNnA== X-Gm-Message-State: ABy/qLZAUGdSgvVmt/nu4D3BADCM6wr0L9zhEA+AUy/qwcOYFsZ/GXP7 0BwsGIVSRNkgx16X4bAOyA3Xaw== 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: linux-gpio@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