From patchwork Mon Jul 24 06:35:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 705957 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 CE38BC41513 for ; Mon, 24 Jul 2023 06:38:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230345AbjGXGiH (ORCPT ); Mon, 24 Jul 2023 02:38:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230409AbjGXGiD (ORCPT ); Mon, 24 Jul 2023 02:38:03 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14550FF; Sun, 23 Jul 2023 23:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1690180650; x=1721716650; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=KqbSBiDcrHAR8fQdVT4U9PsbKtkp15GMOhqyIA5N/YU=; b=VXCte17VQuHPQJqQ4BcC9/donpkcK6MLfZGTcc8Z5kwM+MSwvH7XNCyj 11QvSpYSariViYgEnPNLopVoZWkgsv4j6gs8AP3GFkXlsQnHfo/0pcRcb rPZ7EzqskaSHR97iqVYDx4ydncbqfGvE1KNCfGi4dAqBFPCd24tgeHZ0i eZWSgMMzpwnscI40LF9OruBlLRDDR6UJzI3GGYEfd3yXN+FVOH9C3TuRe b0t0GwR0XM7LJc/TrQqtt8qPe6HJb31L62VriDFyuSpxwyy+BXIH4K4jI 7QKx6mnfmO4tKxm+j357ROLvpK8xl1TI4PO4bEa2vOIE3ZzXboCd8ZGBJ A==; X-IronPort-AV: E=Sophos;i="6.01,228,1684792800"; d="scan'208";a="32070464" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 24 Jul 2023 08:35:22 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (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 vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 109D6280078; Mon, 24 Jul 2023 08:35:22 +0200 (CEST) From: Alexander Stein To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Pavel Machek , Lee Jones Cc: Alexander Stein , 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 Subject: [PATCH v2 1/2] dt-bindings: gpio: Add gpio-line-names to STMPE GPIO Date: Mon, 24 Jul 2023 08:35:19 +0200 Message-Id: <20230724063520.182888-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org This is a gpio-controller, so gpio-line-names should be allowed as well. stmpe2403 supports up to 24 GPIOs. Signed-off-by: Alexander Stein Reviewed-by: Krzysztof Kozlowski --- Changes in v2: * Add min/maxItems Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml b/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml index 22c0cae73425..4555f1644a4d 100644 --- a/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/st,stmpe-gpio.yaml @@ -28,6 +28,10 @@ properties: gpio-controller: true + gpio-line-names: + minItems: 1 + maxItems: 24 + interrupt-controller: true st,norequest-mask: From patchwork Mon Jul 24 06:35:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 708183 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 6D643C001B0 for ; Mon, 24 Jul 2023 06:38:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbjGXGi0 (ORCPT ); Mon, 24 Jul 2023 02:38:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230391AbjGXGiZ (ORCPT ); Mon, 24 Jul 2023 02:38:25 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 439B910D; Sun, 23 Jul 2023 23:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1690180681; x=1721716681; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qo77yFF1+Xe4+ux9WT9zH/pvobHjGv17l93nkcfgwNc=; b=hXyO8TR7QuH2gwyjCM4mGLZjEb6SmqGKVymBzozMlBY0iXdAQExVf6BW 9YNl7yZJ6uOnSIzvAlWcH/rNqQIjWm6m0hprn+95+1bk4XD2ecuTAlBTz DAiwLQ62NnqE7XogkzIjHzTd6yndYed2+gGgTZtQ5PX3nVinI92Kaav40 pzZ5a0Z5bTJgLRaA4byUwmzK05HWp5rXqag/sFek1sTIb+V2YGeHjL+0S vwashBXEhDmkYB80+AIraNSnM/qJWmh6InyWRjzcTZLYuLRKN3oaRjERL 05WL6Hhw2a7Qb6zW6G3yuXJ048DLyYysSHuVo2+jlheQhAtFuxHaRR8CX A==; X-IronPort-AV: E=Sophos;i="6.01,228,1684792800"; d="scan'208";a="32070465" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 24 Jul 2023 08:35:22 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (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 vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 56C1B280084; Mon, 24 Jul 2023 08:35:22 +0200 (CEST) From: Alexander Stein To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Pavel Machek , Lee Jones Cc: Alexander Stein , 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 Subject: [PATCH v2 2/2] dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO Date: Mon, 24 Jul 2023 08:35:20 +0200 Message-Id: <20230724063520.182888-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230724063520.182888-1-alexander.stein@ew.tq-group.com> References: <20230724063520.182888-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org 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 Reviewed-by: Linus Walleij --- 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 + maxItems: 16 + '#gpio-cells': const: 2