From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F64B34FF7B for ; Wed, 11 Feb 2026 08:14:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770797655; cv=none; b=msqtJh5aLX6VVvzX4Hk5O+jqJa3lO+w5fk8DZ3eXwchqkhwbhiKuQvc9sPskG4BaLtCX8RbcM8bcQzq+dmprkXRheUPffqUS2YEwdXjwWQ54iYGAl+x6JvrznizscnDdRRhpJHu8LzS7qJMzGHLsIy4SUSs4xAnYCwHM2I5UkIE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770797655; c=relaxed/simple; bh=kgeB/mXRVhBY032aHGr7l0zao2inBR+pzoMDX7O4N14=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=vE46DLU2GV1QxOVlJWfgoAcgMYD5mLdKhYS2G5l+NArw/Jej9CaAN1ARgw4/7pR09y7FfJh6flqv47NESOZJ4IxBOLwVRw+8FV5chfKXkFSxLDV0aCEeWszW6sPRMg1QiSMD5i5vDIasEh7rqm3wkAKFWFbWBhB4xM2XDjGTdPE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mZfgsnnl; arc=none smtp.client-ip=209.85.167.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mZfgsnnl" Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-45e934bb51dso1874836b6e.1 for ; Wed, 11 Feb 2026 00:14:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770797653; x=1771402453; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=X6JrbLie5g+deNg6l8anM21cq00T82ekWyP4ks5bzZ4=; b=mZfgsnnlwor6z0gFf/e6XhrEbzEYMLRct/kYl2t/jvN/zksDKzg5e1nhV4wWK5Q4DX 8yUID76FOlEHxJ90OJstUfXQJ6fqx1ipXgEXBbQoLuAIP2ivLlHTr1++LRxRXeteD2yz f652/DErBNDn652NRNNwJhI7CjRw8rYVATVYTVXIIaOYAkMDVlJK5FDW7WRkIm1t+kKT uSw8pLiQZ0cGusju5zVYLJMns7omKrlCSA+W3xa42kpM3aihH6xKS1oIjy8FigOOCxML aRBDKy3trziDV6sDAjmJep32NIUUTAQkyPGnT3S2EGOn2ANNl5qW+ATLCFHmVNb0Hlot YtsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770797653; x=1771402453; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=X6JrbLie5g+deNg6l8anM21cq00T82ekWyP4ks5bzZ4=; b=j4r4TcA1l6zAywVsQILf3xD0KjF4vfVNiGACMWOBViKdOcxRwOtauRyirHcnvZbDf/ j70kZ1WXja782vdhYspiIDSxRxeEISZqfEarK2cLXmrZXzIP3/cojNE/K69MkKUIEY+U mVay+iCsC4evV+cKgZuCCdc/y9TfH8PQa9mNlrZYIJpGsTmb9kt6OBiRUe68MEq1wjmZ 0jnxrPlQPIVUOrelksjJk5hMl+nWj8RxadKEDJ/RkYrtFVuq5RIUJaxMV/kee0YS9P1R OvgpKcUWHYHyhgXCgAPjwzW99KHxpuz0jKd3Of+cH3hy9l8fFVF23oxr87Tc4Cp52Xwh 7yhg== X-Forwarded-Encrypted: i=1; AJvYcCVasNbwOjzQzNA+52/xnhOfz9TDUa3dqFGcreZjW65ecp//NsdXYu/aPkSOKjICPQxl0mKtMQSZmw5w+0E=@vger.kernel.org X-Gm-Message-State: AOJu0Yw8JTRuAok0k8Z2v20KLbqbgPgcQxoXLweu+Itl/MKGlPs7OXGS /N54jS4ugyPUGlFKzDGY/wRbg6SRZCDPwvZ73j+HmTSnNPym+3MPLDb7 X-Gm-Gg: AZuq6aLPGik6vZAxtxTPirRJnLO44+K68LdU9m7AxFd7hu02fOf7fqIn2J9LYyNuX4L rfuwnUZBRWg9YBwQRJkjScWjzdDG9J41rzJkx36bstjTlphiSRrJvJFB+IFFX57T8LBYM3292RG Xjwsvz0K477hndPCBuUNcXMSjmvQ3mux4e59jMH0YskSqB8ceDit79yfMPdNiqw9RbFt+OzsQJg 2fX4nIvB5CUj2PC0I57uECyObqeaKKOyNpZsrvM4ht5GMgAiiTBeedT2NEowR7cmTF4Do0uWayS O8pN51BERNXn6PY37tRFS/TPDT+vjIc6fWTm+C1Kn6IFjz3jKcEiIf1O2N4h/z6oMhvHZzEaAUj Gi19YBIwdLoRXXLtzQ7FEju1A63/rpLOSPK0rBn0Yo0i+TfRWOu340e/MD0YlvKUddACtDPB6c/ k3xrxC2a0mc9rx20XUIzy3b72wJ/7vdQ/U67csy2vtEpfeck5/VtpyXdIu3lmazb0hgj2PhJZRD c9GS8lAiHaKBP2bNNtq1+RU2befIAGF0DBjNavlps2w/z5vwdlcRmf91Nlm5ZeAJsvp9JSSrA== X-Received: by 2002:a05:6808:1315:b0:45c:8045:89a6 with SMTP id 5614622812f47-46366656081mr863730b6e.59.1770797653214; Wed, 11 Feb 2026 00:14:13 -0800 (PST) Received: from james-x399.localdomain (71-218-105-26.hlrn.qwest.net. [71.218.105.26]) by smtp.gmail.com with ESMTPSA id 5614622812f47-4636b093ee1sm624852b6e.14.2026.02.11.00.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Feb 2026 00:14:12 -0800 (PST) From: James Hilliard To: linux-gpio@vger.kernel.org Cc: James Hilliard , Geert Uytterhoeven , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexander Stein , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: gpio: add gpio-aggregator binding Date: Wed, 11 Feb 2026 01:13:49 -0700 Message-ID: <20260211081355.3028947-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document the gpio-aggregator virtual GPIO controller with a dedicated schema and compatible string. Also extend the GPIO AGGREGATOR MAINTAINERS entry to cover the new binding file. Signed-off-by: James Hilliard --- Changes v1 -> v2: - Add MAINTAINERS entry for the new binding file - Rewrite binding description without "this binding" wording (suggested by Krzysztof Kozlowski) - Drop unrelated consumer node from the example (suggested by Krzysztof Kozlowski) - Add gpio-line-names usage to the example to show named aggregated lines --- .../bindings/gpio/gpio-aggregator.yaml | 54 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-aggregator.yaml diff --git a/Documentation/devicetree/bindings/gpio/gpio-aggregator.yaml b/Documentation/devicetree/bindings/gpio/gpio-aggregator.yaml new file mode 100644 index 000000000000..e7df266a3d8f --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-aggregator.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/gpio-aggregator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO aggregator controller + +maintainers: + - Alexander Stein + +description: + GPIO aggregator forwards selected GPIO lines from one or more GPIO + controllers and exposes them as a virtual GPIO controller. + +properties: + compatible: + const: gpio-aggregator + + "#gpio-cells": + description: Specifies the line offset and GPIO flags. + const: 2 + + gpios: + description: Array of GPIOs to aggregate + minItems: 1 + maxItems: 32 + + gpio-controller: true + + gpio-line-names: + minItems: 1 + maxItems: 32 + +required: + - compatible + - "#gpio-cells" + - gpio-controller + - gpios + +additionalProperties: false + +examples: + - | + #include + + gpio_agg: gpio-aggregator { + compatible = "gpio-aggregator"; + #gpio-cells = <2>; + gpio-controller; + gpios = <&gpio0 3 GPIO_ACTIVE_LOW>, + <&gpio3 1 GPIO_ACTIVE_HIGH>; + gpio-line-names = "modem-reset", "modem-enable"; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 13b291d801bc..e1bf9a37f87f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10789,6 +10789,7 @@ M: Geert Uytterhoeven L: linux-gpio@vger.kernel.org S: Supported F: Documentation/admin-guide/gpio/gpio-aggregator.rst +F: Documentation/devicetree/bindings/gpio/gpio-aggregator.yaml F: drivers/gpio/gpio-aggregator.c GPIO IR Transmitter -- 2.43.0