Skip to content

schemas: gpio: Add gpio-line schema and gpio-line-name for hogs#185

Open
jameshilliard wants to merge 1 commit into
devicetree-org:mainfrom
jameshilliard:gpio-line
Open

schemas: gpio: Add gpio-line schema and gpio-line-name for hogs#185
jameshilliard wants to merge 1 commit into
devicetree-org:mainfrom
jameshilliard:gpio-line

Conversation

@jameshilliard

@jameshilliard jameshilliard commented Feb 14, 2026

Copy link
Copy Markdown

Add a schema for gpio-line child nodes used to configure GPIO lines without hogging them.

Allow the optional gpio-line-name property on gpio-hog nodes.

Also treat gpio-line child nodes like gpio-hog nodes in the consumer schema selector and DTB GPIO fixups, since their gpios property is local and not a phandle array.

Linux kernel patchset:
V1: https://lore.kernel.org/all/20260213223204.2415507-1-james.hilliard1@gmail.com/
V2: https://lore.kernel.org/all/20260214213239.2546012-1-james.hilliard1@gmail.com/
V3: https://lore.kernel.org/all/20260216211021.3019827-1-james.hilliard1@gmail.com/

Add a schema for gpio-line child nodes used to configure GPIO lines
without hogging them.

Allow the optional gpio-line-name property on gpio-hog nodes.

Also treat gpio-line child nodes like gpio-hog nodes in the
consumer schema selector and DTB GPIO fixups, since their gpios
property is local and not a phandle array.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

@linusw linusw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks entirely reasonable to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants