From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.46 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795716203; b=RuEQ81eH6RFIlv6lvMldYhWldLbIv/9JTrlcy0ccBxbptCopZHKKejx83TJxOyCa9Gx5 K8acfAGX2t3TMiw3dAp/Q/HL32esn4cog6eer5nqoWQLckI8gJtMN2s4EfEW0KV6PPxLS yC682AEaBblsVoZepfLbXWrSPh8Egd3D052pw44sWrw+mfRHiJMW7NnVAvge4mnG+x4BO QLxQMHsSvCQnrbJyhnSVFI2QktjEJj6mIC8acYolwaM6QJBLWqmEXsF+2IcRZEgCY7ff3 1TsZEHQp80HW+MWVBAlHvTCxHmbz9sP8WNF7AoPbBLBhzYUz8eFMG0u6no+GbeQvsWQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795716203; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=I9bKQN8g3f7XpsfQpR52IE9Iq4xxM0LX7R6BIa4pL78=; b=xjs55OHHjCyl83QMpc+LriewVxyUCfy+nd8/g6pDIFGh2erW+NYMAnbynETRzEQrRbRv 4ofZ5jjYsL5qkMuHn0yTGHK2uK1+MVRaMVoelYswD6NnfXWxf4X0b6hjgP8h7l5pVNfe5 XoHbyf/kQ4UrotKvemSIpLBC2QZuhirQZGWN5V8p1p0iBy0wrFc7MUpMTynh7UF7/ZEvm lgexivm/67uGRIN4mYXykT/SMAGiIXaqvCZnKDquOMyuLqAT/IPZanf2bjMbiyQvmG0TE g6RQh6MZ9/w6vUbw1MPXrWBzFJbeqgOBzeKMcVm9qKrDvYuxsIXICag5jU1u+uH5TFQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=GA9pe8S2; arc=none smtp.remote-ip=209.85.128.46 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 106EF606A339 for ; Thu, 26 Nov 2026 18:03:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 106EF606A339 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.a=rsa-sha256 header.s=20260707 header.b=GA9pe8S2 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4bb85e07aadso90050885e9.1 for ; Thu, 26 Nov 2026 10:03:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795716201; x=1796321001; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=I9bKQN8g3f7XpsfQpR52IE9Iq4xxM0LX7R6BIa4pL78=; b=GA9pe8S2GnC2F9xZxNvpyr3BF1l710P69sQAM8eV8RHAmUzz3h7DIOO1BnTBrqyebp qsW763nIsa+a4QUUbmXmH3KGue/E32NVP6N86kgmBhmXdSDBUOV1WmwotGvVcPWZAP/u 2yGOUT48umXJSU2UKSu0xyL52V1imrCU5m5+uZ5WLDBO/nP1wMdmQQgd/kdpLvIjwBtQ QHl5btH4TrGYZieaoT/WSsswgT4iAlJI5kIB18CFta6sZR67m3mlrdHiXQMYQTEkkcJp KUE91ziprHVtE2dkZcEe/hA4lOzrI5qUnLbAgkfOljzroSHeLsfCiT6J5LzRUfYfTNg6 g8yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795716201; x=1796321001; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=I9bKQN8g3f7XpsfQpR52IE9Iq4xxM0LX7R6BIa4pL78=; b=fqOuqdtBnaimcR2+JXOsYHkIPMYaXd/H8xodb7/sVGGb0hEs3TFPHZgfBfX41Q14Dn 1vpfi6LpdkDAx2jOlbv4AwNAFJX9ZbVrK+MqA6vGp7TdMbkGsUZD7hAx9GZ8s6OltUso Mdl+ozPJvevPiZDEDE7s6nSsP6xgYRxvnMhOfpHPHYJkneG4Kmx8MstgS3ksIomRezpP BuserjP62s2qxuC5LAE+K/TzD5vfwXWyQde+bzltVZt5v4j+orC64LO2OE9qmAVuAXQb n1PVy7nGTWaQkRlvIVsCGfJStw0Y0tA1NOhDD+i/O0TV30O3xuS3PqJxIw/ND6cs9ZQQ ldmw== X-Forwarded-Encrypted: i=1; AL+hErFRHEXFfulUAZlrW4mZNqiE0trVcONeE8xF3fp+kW9DUSOLbgCW8oTzT08HxWGpcB3MIYkR7PtPaA18bEk=@vger.kernel.org X-Gm-Message-State: APuU4Z+GJv1LUYI7nLb5A7WUJoxZEo3YesQb1ksTr03bkQmhsu9XHG5B FHtga+tszASKAsGKW4h7dxX3wsrFtbm4EYT0cwSim8mO95QniIcbdK4= X-Gm-Gg: AZFdTZeJXOsRzKynC8DPdFw31vqaWVcSP8Y8yluRSGkZJGZA57eM8qEdHpqHnka+Q7B gyJvSwaSdW6NTgfzXlQoQca2vECieoJP+sHrjBZEJ88rDj1E6tuvdfRy0UdCRpmu87P9/LL/dSJ pNhBsxcUerhdu9RqmntluvUpn2Cmc+3ObWlguHIAUByYDWNT+2YCUQEkRMYg46KOb57Dc3RS/uD kEqoo7f45V/BVLMTYuF1Voyxyyn4QeGN6BP9cdWI3L2Lj4oeoFC1vY4oA2gBU72iTSRymwi0MYE lZIjFSARca8V3AQhBesUko5c/okRLa+ee1lrmHY78NxQP50sXTp+msJrHC4m/ODTTF4oYR0RWId GrgnM6GyVUCl7yarmxb1FT7lgb74v3GBA+TEp5B90abyMpCHD91Kaizfo59hQamGCHgtimrRjun mkrlOuTHIsfU9v1/OOBKFHFXUksQu/2RZWzEISgdrd7RmH6szHRJs+D6kjfr9u+EzSakgUALQYN ZBVZUtslJmwwFSCcGTEyIOyXHuON/ZCa+hSlmfCth5msSBIBxZr2zYYn8lx6qIviE9QX492d+84 34AF5g7sdixMFtPJo+8e0f1FGA7VJ3bIXKqsmsnbq7LmyRSMmP5ZOlrtESedk05D/cdzWoJTTUx pfdwLHCtttrePZe99EAUSFZcOKNC9N/r8mnwaPZWEGOmcwMA2iVVHABpBAbg= X-Received: by 2002:a05:600c:a4b:b0:4a1:dade:f049 with SMTP id 5b1f17b1804b1-4bb88806292mr454614305e9.15.1795716201307; Thu, 26 Nov 2026 10:03:21 -0800 (PST) Received: from localhost.localdomain (host-94-89-17-99.business.telecomitalia.it. [94.89.17.99]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6b2052c8sm42265115f8f.41.2026.11.26.10.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 10:03:21 -0800 (PST) From: Gianfranco Mariotti To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Emanuele Ghidoli , Andy Shevchenko , Francesco Dolcini , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gianfranco Mariotti Subject: [PATCH 2/5] dt-bindings: gpio: Split fcs,fxl6408 from trivial-gpio and add diodes,pi4ioe5v6408 Date: Thu, 26 Nov 2026 19:03:12 +0100 Message-Id: <20261126180315.98034-3-gianfranco.mariotti94@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20261126180315.98034-1-gianfranco.mariotti94@gmail.com> References: <20261126180315.98034-1-gianfranco.mariotti94@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Fairchild FXL6408 and its pin- and register-compatible second source Diodes Incorporated PI4IOE5V6408 provide an active-low hardware reset input, dual power rails (I2C bus and GPIO port bank), and an open-drain interrupt output. Move fcs,fxl6408 out of trivial-gpio.yaml back into a dedicated schema to document reset-gpios, power supplies, and interrupt controller properties, and add the diodes,pi4ioe5v6408 compatible with fallback to fcs,fxl6408. Signed-off-by: Gianfranco Mariotti --- .../devicetree/bindings/gpio/fcs,fxl6408.yaml | 97 +++++++++++++++++++ .../bindings/gpio/trivial-gpio.yaml | 1 - 2 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml diff --git a/Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml b/Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml new file mode 100644 index 0000000000000..5977aa026ec14 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml @@ -0,0 +1,97 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/fcs,fxl6408.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Fairchild FXL6408 I2C GPIO Expander + +maintainers: + - Emanuele Ghidoli + +properties: + compatible: + oneOf: + - items: + - const: diodes,pi4ioe5v6408 + - const: fcs,fxl6408 + - const: fcs,fxl6408 + + reg: + maxItems: 1 + + "#gpio-cells": + const: 2 + + gpio-controller: true + + gpio-line-names: + minItems: 1 + maxItems: 8 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + reset-gpios: + maxItems: 1 + description: Active-low GPIO connected to the RESET pin. + + vcc-supply: + description: I2C-bus interface power supply (VCC / VDD(I2C_bus)). + + vddio-supply: + description: GPIO port power supply (VDDIO / VDD(P)). + + wakeup-source: true + +dependencies: + interrupt-controller: [ interrupts ] + "#interrupt-cells": [ interrupt-controller ] + wakeup-source: [ interrupts ] + +patternProperties: + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": + type: object + required: + - gpio-hog + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + gpio@43 { + compatible = "diodes,pi4ioe5v6408", "fcs,fxl6408"; + reg = <0x43>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&gpio1>; + interrupts = <5 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + #interrupt-cells = <2>; + reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; + vcc-supply = <®_1v8>; + vddio-supply = <®_3v3>; + gpio-line-names = "Wi-Fi_W_DISABLE", "Wi-Fi_WKUP_WLAN", + "PWR_EN_+V3.3_WiFi_N", "PCIe_REF_CLK_EN", + "USB_RESET_N", "USB_BYPASS_N", "Wi-Fi_PDn", + "Wi-Fi_WKUP_BT"; + }; + }; diff --git a/Documentation/devicetree/bindings/gpio/trivial-gpio.yaml b/Documentation/devicetree/bindings/gpio/trivial-gpio.yaml index fe9b14a72d698..aca42dd1ad20a 100644 --- a/Documentation/devicetree/bindings/gpio/trivial-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/trivial-gpio.yaml @@ -21,7 +21,6 @@ properties: - cirrus,ep7209-gpio - cznic,moxtet-gpio - dlg,slg7xl45106 - - fcs,fxl6408 - fsl,ls1046aqds-fpga-gpio-stat-pres2 - fsl,lx2160ardb-fpga-gpio-sfp - gateworks,pld-gpio -- 2.25.1