History

device property: Add fwnode_iomap()

This patch introduces a new helper routine - fwnode_iomap(), which allows to map the memory mapped IO for a given device node. This implementation does not cover the ACPI case and may be expanded in the future. The main purpose here is to be able to develop resource provider agnostic drivers.

Anand Ashok Dumbre committed 4 years ago

Commit eca6e2d1 parent 8ebbfb92 files · +18 −0Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/property.h+2−0
@@ -122,6 +122,8 @@ void fwnode_handle_put(struct fwnode_handle *fwnode); · 121 unmodified lines
122122
123123 int fwnode_irq_get(const struct fwnode_handle *fwnode, unsigned int index);
124124
125+void __iomem *fwnode_iomap(struct fwnode_handle *fwnode, int index);
126+
125127 unsigned int device_get_child_node_count(struct device *dev);
126128
127129 static inline bool device_property_read_bool(struct device *dev,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t