From nobody Mon Sep 28 07:25:12 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 646FF2D46CE; Tue, 25 Aug 2026 09:41:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787650919; cv=none; b=bjq9NG29SFjRyWneJ5uZU4g/bU9o5TNXJ3yNkIHbV2Q6s9gm+NY2NqiRgH88QyQFh8POQNXMCFb4Zbs6d5ZN4+HT71ouhRr1xB44Y0o/tVy5VXXqJCnaMgHDIz42oQR+l4wjNxlSFgO0To46Yx/8opvRUEPVmkoktfpYE2TaA9o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787650919; c=relaxed/simple; bh=ngdF35XgiNWlcvE4P+SrfRtm2cE3/6XCOxIBGJZtlA0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=rZk7g/pM0i2MMzzpNyBOktHI40JdvNF0/uTpFGJCXbuyOnxkpFoR9e7uAqHiVjWmNQSHDo0Jw1rYR3AG06HYYGl6LYRaMB5RbdVt0/HcHZTMm9hgUnILxQZn51N25RTFrO1GhIKZyA/qL0w8kFtrxi9W1SH17tY8IA3EspXm59w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GHvmz0Bg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GHvmz0Bg" Received: by smtp.kernel.org (Postfix) with ESMTPS id D2A9BC2BCB8; Tue, 25 Aug 2026 09:41:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1787650918; bh=ngdF35XgiNWlcvE4P+SrfRtm2cE3/6XCOxIBGJZtlA0=; h=From:Date:Subject:To:Cc:Reply-To:From; b=GHvmz0Bgf/++N+T/SDPdRldz7Up1UmA2qDD/5F0P3kHd4Xs+yq2Lw8krslJvskKYV V1GgCZQb7xDs0lz/9S49llyobvlzReCHluXneoyTOjKwji2VL3u6xBoRIorQDPcKAN CAQVJTHDXdMiiMXF/vJcv3TfgQPNmt8roMu35qEe+2gBDB1uDkdAxVdlPqpwu5didq S22FLOuesrwv3FLirSRhzRjq7lsfWFdkb20Pq94lKPP1iZFE+K0pdUptseSKNzZ4oo +9OMzNdulQVh+tCsJutHyVFHodaIdKe91Xsi8TiL4Cyjlee3gJ2x0eEYHBgFWnEODL bQ1Yw9mhlBs3w== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFBFDC61DB4; Tue, 25 Aug 2026 09:41:58 +0000 (UTC) From: Vincent Jardin via B4 Relay Date: Tue, 25 Aug 2026 11:41:57 +0200 Subject: [PATCH v3] dt-bindings: gpio: fsl,qoriq-gpio: allow gpio-hog child nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260825-for-upstream-dt-qoriq-gpio-hog-v3-1-b99bda4f44d7@free.fr> X-B4-Tracking: v=1; b=H4sIAGRjjWoC/5XNOxKCMBSF4a0wqb1OCKDByn04FnncQAoJ3GBGh 2HvBhpbLf9TfGdhEcljZJdiYYTJRx+GHNWhYKZXQ4fgbW4muDhxKWpwgeA5xplQPcDOMAXyE3S jD9CHDhreCsVdbblsWUZGQudf+8Htnrv3cQ703v9Sua0/06mEEuy5aUWlDRplr44Qj47YBifxH yYy1kitjRRayhK/2LquH4rh2OAXAQAA To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Stein , Krzysztof Kozlowski , Vincent Jardin X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1787650917; l=1854; i=vjardin@free.fr; s=20260525; h=from:subject:message-id; bh=0aUt4yW36dUGRIwt7A7v+to/nNSwTzzg2q1QEySGXKY=; b=zGwXo46K0v1/ao7QgvXl1HZAZNNOzJg/2a3Akb69xALbYZURxU4pC2oco3ldfdEPyrHwGKtQp CH8atLhhJ5WC/EZZ2R/fP3HFQhZLQCffXiWnqrVecI7GKp0r7nRtUmn X-Developer-Key: i=vjardin@free.fr; a=ed25519; pk=hppgLeFpGpKOi7LNwGEZ4jOYofJCoGd4Jf1ltAabiLw= X-Endpoint-Received: by B4 Relay for vjardin@free.fr/20260525 with auth_id=871 X-Original-From: Vincent Jardin Reply-To: vjardin@free.fr From: Vincent Jardin QorIQ GPIO controllers may have hogs in device nodes, so let's expose it. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Vincent Jardin --- Changes in v3: - Shorten the commit message, former one tried too much on QorIQ (Krzysztof= Kozlowski) - Drop redundant brackets from the pattern (Krzysztof Kozlowski) - No change to the schema semantics - Link to v2: https://lore.kernel.org/r/20260824-for-upstream-dt-qoriq-gpio= -hog-v2-1-58bbc82b881e@free.fr Changes in v2: - Change the commit message. Drop the dmesg excerpt: those hog names come from my out-of-tree dev git repo and are not in the tree (Frank Li) - Note: the hog call path is: gpiochip_hog_lines(), called from gpiochip_ad= d_data_with_key() - Explain why these QorIQ SoCs need it - No change to the diff - Link to v1: https://lore.kernel.org/r/20260824-for-upstream-dt-qoriq-gpio= -hog-v1-1-d75923bcecad@free.fr --- Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml b/D= ocumentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml index 4cb2a6b9fabfb..1e61e17b0ee35 100644 --- a/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml @@ -63,6 +63,13 @@ properties: GPIO registers are used as little endian. If not present registers are used as big endian by default. =20 +patternProperties: + "^.+-hog(-[0-9]+)?$": + type: object + + required: + - gpio-hog + required: - compatible - reg --- base-commit: 0a0d1d55dad570724bf8c7ea83409639cfb4be9b change-id: 20260824-for-upstream-dt-qoriq-gpio-hog-5092a0f4d089 Best regards, --=20 Vincent Jardin