fwnode_property_read_bool(9)
π fwnode_property_read_bool π
okay so bestie, we're deep in the Kernel API Manual today and this one is literally the tiniest little function with the biggest "wait, why does this exist" energy. stay with me π«Ά
πΈ NAME πΈ
fwnode_property_read_bool β returns the value for a boolean property of a firmware node β¨
π SYNOPSIS π
bool fwnode_property_read_bool (const struct fwnode_handle *fwnode ,
const char *propname );
like, yes ma'am, that's the whole signature, she's not complicated π
π¦ ARGUMENTS π¦
fwnodeβ the firmware node whose property you're checking π (yes, this is the one you're snooping on)propnameβ the name of the property, i.e. the thing you're looking for π
β DESCRIPTION β
ngl, the description here is honestly iconic in how short it is. it literally just says:
use fwnode_property_present to check for the property presence.
that's it. that's the whole vibe check. if you were coming here hoping for a novel, bestie, no β€οΈβπ₯
π₯ RETURN π₯
returns whether the property propname is true or false in the firmware node description π β like, in the node's own description, that's where the truth lives.
π SEE ALSO π
okay so this section ATE. it's a whole friend group of related functions, and we're listing every single one of them, no cap, no skipping, no "etc." β we don't do that here π
Kernel file ./drivers/base/property.c, plus: device_property_present(9), fwnode_property_present(9), device_property_read_bool(9), device_property_read_u8_array(9), device_property_read_u16_array(9), device_property_read_u32_array(9), device_property_read_u64_array(9), device_property_read_string_array(9), device_property_read_string(9), device_property_match_string(9), fwnode_property_read_u8_array(9), fwnode_property_read_u16_array(9), fwnode_property_read_u32_array(9), fwnode_property_read_u64_array(9), fwnode_property_read_string_array(9), fwnode_property_read_string(9), fwnode_property_match_string(9), fwnode_property_match_property_string(9), fwnode_property_get_reference_args(9), fwnode_find_reference(9), fwnode_get_name(9), fwnode_get_name_prefix(9), fwnode_name_eq(9), fwnode_get_parent(9), fwnode_get_next_parent(9), fwnode_count_parents(9), fwnode_get_nth_parent(9), fwnode_get_next_child_node(9), fwnode_get_next_available_child_node(9), device_get_next_child_node(9), fwnode_get_named_child_node(9), device_get_named_child_node(9), fwnode_handle_get(9), fwnode_device_is_available(9), fwnode_get_child_node_count(9), fwnode_get_named_child_node_count(9), fwnode_get_phy_mode(9), device_get_phy_mode(9), fwnode_iomap(9), fwnode_irq_get(9), fwnode_irq_get_byname(9), fwnode_graph_get_next_endpoint(9), fwnode_graph_get_port_parent(9), fwnode_graph_get_remote_port_parent(9), fwnode_graph_get_remote_port(9), fwnode_graph_get_remote_endpoint(9), fwnode_graph_get_endpoint_by_id(9), fwnode_graph_get_endpoint_count(9), fwnode_graph_parse_endpoint(9), fwnode_connection_find_match(9), fwnode_connection_find_matches(9)
likeβ¦ fwnode_graph_get_remote_port_parent(9)?? that name is a whole paragraph bestie π but she's valid, she's included, we love her π
kiss kiss, it's a wrap π§
this lil page lives in ./drivers/base and it's dated October 2026 β so yeah, she's from the future, main character energy only πβ¨ bye bestie, go read some properties π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms