On Fri, Mar 27, 2026 at 05:34:00PM -0400, Frank Li wrote: > Refactor pinctrl_generic_pins_function_dt_subnode_to_map() by separating DT > parsing logic from map creation. Introduce a new helper > pinctrl_generic_to_map() to handle mapping to kernel data structures, while > keeping DT property parsing in the subnode function. > > Improve code structure and enables easier reuse for platforms using > different DT properties (e.g. pinmux) without modifying the > dt_node_to_map-style callback API. Avoid unnecessary coupling to > pinctrl_generic_pins_function_dt_node_to_map(), which provides > functionality not needed when the phandle target is unambiguous. > > Maximize code reuse and provide a cleaner extension point for future > pinctrl drivers. > > Suggested-by: Conor Dooley > Signed-off-by: Frank Li Acked-by: Conor Dooley