aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/base.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-15of: Use scope based kfree() cleanupsRob Herring1-26/+8
2024-03-15Merge tag 'powerpc-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-7/+8
2024-03-15Merge tag 'devicetree-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2024-03-03of: Reimplement of_machine_is_compatible() using of_machine_compatible_match()Christophe Leroy1-20/+1
2024-03-03of: Change of_machine_is_compatible() to return boolMichael Ellerman1-3/+2
2024-03-03of: Add of_machine_compatible_match()Michael Ellerman1-0/+21
2024-02-13of: Make explicit cpu_to_be32 conversion to mute sparse warningDawei Li1-2/+2
2024-01-23of: Add for_each_reserved_child_of_node()Kuninori Morimoto1-0/+29
2024-01-23of: Add of_get_next_status_child() and makes more generic of_get_nextKuninori Morimoto1-11/+18
2024-01-23of: Add __of_device_is_status() and makes more generic status checkKuninori Morimoto1-21/+36
2024-01-09of: Fix double free in of_parse_phandle_with_args_mapChristian A. Ehrhardt1-0/+1
2023-08-21of: Refactor node and property manipulation function lockingRob Herring1-29/+33
2023-08-21of: dynamic: Move dead property list check into property add/update functionsRob Herring1-13/+24
2023-08-04of: Move of_platform_register_reconfig_notifier() into DT coreRob Herring1-0/+1
2023-04-27Merge tag 'char-misc-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-7/+11
2023-04-13of: Move CPU node related functions to their own fileRob Herring1-187/+0
2023-04-05of: Rename of_modalias_node()Miquel Raynal1-7/+11
2023-01-05of: base: use strscpy() to instead of strncpy()Xu Panda1-2/+1
2022-10-10Merge tag 'devicetree-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+4
2022-10-03of: base: Shift refcount decrement in of_find_last_cache_level()Pierre Gondois1-1/+2
2022-09-30of: base: make of_device_compatible_match() accept const device nodeDmitry Torokhov1-1/+1
2022-08-22of: base: export of_device_compatible_match() for use in modulesVladimir Oltean1-0/+1
2022-08-22of: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-08-04Merge tag 'devicetree-for-6.0' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2022-06-28of: Drop duplicate 'the' in of_find_last_cache_level kerneldocDeming Wang1-1/+1
2022-06-27of: base: Avoid console probe delay when fw_devlink.strict=1Saravana Kannan1-0/+2
2022-03-21Revert "of: base: Introduce of_alias_get_alias_list() to check alias IDs"Rob Herring1-54/+0
2022-01-20of: base: make small of_parse_phandle() variants static inlineMichael Walle1-122/+9
2022-01-08of: base: Improve argument length mismatch errorBaruch Siach1-3/+8
2022-01-08of: base: Fix phandle argument length mismatch error messageBaruch Siach1-2/+2
2021-12-01of: base: Skip CPU nodes with "fail"/"fail-..." statusMatthias Schiffer1-0/+27
2021-11-02Merge tag 'devicetree-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+22
2021-10-20of: Add of_get_cpu_hwid() to read hardware ID from CPU nodesRob Herring1-0/+22
2021-10-06fbdev: simplefb: fix Kconfig dependenciesArnd Bergmann1-0/+1
2021-09-01Merge tag 'devicetree-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+1
2021-07-15of: base: remove unnecessary for loop권오훈1-3/+1
2021-07-12of: Add stub for of_add_property()Wesley Cheng1-0/+1
2021-03-29of: base: Fix spelling issue with function param 'prop'Lee Jones1-3/+3
2021-03-27of: Add missing 'Return' section in kerneldoc commentsRob Herring1-18/+21
2021-03-27of: Fix kerneldoc output formattingRob Herring1-138/+137
2021-03-23of: base: Fix some formatting issues and provide missing descriptionsLee Jones1-5/+11
2021-01-15of: base: improve error msg in of_phandle_iterator_next()Enrico Weigelt, metux IT consult1-2/+2
2020-09-05of: Export of_remove_property() to modulesFlorian Fainelli1-0/+1
2020-07-28of/iommu: Make of_map_rid() PCI agnosticLorenzo Pieralisi1-21/+21
2020-02-08Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/s...Linus Torvalds1-0/+36
2020-01-02of: base: Add of_get_cpu_state_node() to get idle states for a CPU nodeUlf Hansson1-0/+36
2019-12-24of: Rework and simplify phandle cache to use a fixed sizeRob Herring1-108/+22
2019-10-08of: Factor out #{addr,size}-cells parsingRobin Murphy1-10/+22
2019-09-19of: restore old handling of cells_name=NULL in of_*_phandle_with_args()Uwe Kleine-König1-2/+33
2019-09-13of: Let of_for_each_phandle fallback to non-negative cell_countUwe Kleine-König1-8/+17
2019-06-06of: Allow the iommu-map property to omit untranslated devicesJean-Philippe Brucker1-3/+7
2019-04-10of: Improve of_phandle_iterator_next() error messageFlorian Fainelli1-2/+3
2018-12-21of: __of_detach_node() - remove node from phandle cacheFrank Rowand1-1/+30
2018-12-21of: of_node_get()/of_node_put() nodes held in phandle cacheFrank Rowand1-24/+46
2018-12-05of: Use of_node_name_eq for node name comparisonsRob Herring1-4/+3
2018-11-27of: Use device_type helpers to access the node typeRob Herring1-6/+12
2018-11-01Merge tag 'devicetree-fixes-for-4.20-1' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-2/+0
2018-11-01of: Fix cpu node iterator to not ignore disabled cpu nodesRob Herring1-2/+0
2018-10-29Merge tag 'tty-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-0/+54
2018-10-26Merge tag 'devicetree-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+45
2018-10-22of: Add missing exports of node name compare functionsRob Herring1-0/+2
2018-10-15of: base: Change logic in of_alias_get_alias_list()Michal Simek1-10/+12
2018-10-15of: base: Fix english spelling in of_alias_get_alias_list()Michal Simek1-3/+3
2018-09-28Merge branch 'dt/cpu-type-rework' into dt/nextRob Herring1-1/+42
2018-09-28of: use for_each_of_cpu_node iteratorRob Herring1-1/+1
2018-09-28of: Support matching cpu nodes with no 'reg' propertyRob Herring1-0/+2
2018-09-28of: Add cpu node iterator for_each_of_cpu_node()Rob Herring1-0/+39
2018-09-25iommu/of: make of_pci_map_rid() available for other devices tooNipun Gupta1-0/+102
2018-09-20of: base: Introduce of_alias_get_alias_list() to check alias IDsMichal Simek1-0/+52
2018-09-19Merge branch 'dt/linus' into HEADRob Herring1-0/+3
2018-09-11of: fix phandle cache creation for DTs with no phandlesRob Herring1-0/+3
2018-09-07of: make PowerMac cache node search conditional on CONFIG_PPC_PMACRob Herring1-1/+1
2018-08-30of: add node name compare helper functionsRob Herring1-0/+22
2018-08-29of: add helper to lookup compatible child nodeJohan Hovold1-0/+25
2018-07-16of: overlay: update phandle cache on overlay apply and removeFrank Rowand1-3/+3
2018-03-07of: cache phandle nodes to reduce cost of of_find_node_by_phandle()Frank Rowand1-4/+82
2018-02-12of: Support parsing phandle argument lists through a nexus nodeStephen Boyd1-0/+184
2018-02-01Merge tag 'devicetree-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-5/+1
2018-01-08of: Use SPDX license tag for DT filesRob Herring1-5/+1
2018-01-02of: Add helper for mapping device node to logical CPU numberSuzuki K Poulose1-0/+26
2017-11-20Merge tag 'devicetree-fixes-for-4.15' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+3
2017-11-20of: Document exactly what of_find_node_by_name() putsStephen Boyd1-3/+3
2017-11-14Merge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-134/+1
2017-10-17of: overlay: remove a dependency on device node full_nameFrank Rowand1-1/+1
2017-10-16of: make kobject and bin_attribute support configurableRob Herring1-130/+0
2017-10-16of: fix missing kobject init for !SYSFS && OF_DYNAMIC configRob Herring1-3/+0
2017-10-12of: do not leak console optionsSergey Senozhatsky1-2/+6
2017-07-24of: base: use of_property_read_string()Sergei Shtylyov1-4/+6
2017-07-24of: base: use of_property_read_u32()Sergei Shtylyov1-8/+6
2017-07-18of: Convert to using %pOF instead of full_nameRob Herring1-11/+11
2017-07-05Merge branch 'dt/property-move' into dt/nextRob Herring1-733/+2
2017-07-05Merge branch 'topic/of-graph-base' of git://git.kernel.org/pub/scm/linux/kern...Rob Herring1-0/+2
2017-06-22of: find_node_by_full_name rewrite to compare each levelRob Herring1-10/+19
2017-06-22of: use kbasename instead of open codingRob Herring1-4/+1
2017-06-22of: be consistent in form of file modeFrank Rowand1-1/+1
2017-06-01of: Move OF property and graph API from base.c to property.cSakari Ailus1-733/+0
2017-05-17of_graph: add of_graph_get_endpoint_count()Kuninori Morimoto1-0/+12
2017-05-17of_graph: add of_graph_get_port_parent()Kuninori Morimoto1-8/+22
2017-05-17of_graph: add of_graph_get_remote_endpoint()Kuninori Morimoto1-2/+16
2017-05-17of-graph: export symbol of_phandle_iterator_init/nextKuninori Morimoto1-0/+2
2017-05-05Merge tag 'devicetree-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-7/+6
2017-05-04of: fix sparse warnings in of_find_next_cache_nodeRob Herring1-7/+6
2017-04-03drivers/of/base.c: Add of_property_read_u64_indexAlistair Popple1-0/+31
2017-02-22Merge tag 'devicetree-for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+40
2017-02-22Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-0/+26
2017-02-15of: introduce of_graph_get_remote_nodeRob Herring1-0/+37
2017-02-09of: fix of_node leak caused in of_find_node_opts_by_pathQi Hou1-0/+3
2017-01-17of: base: add support to find the level of the last cacheSudeep Holla1-0/+26
2017-01-03OF: Prevent unaligned access in of_alias_scan()Paul Burton1-1/+1
2016-12-15Merge tag 'devicetree-for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+6
2016-12-09Revert "of: base: add support to get machine model name"Rob Herring1-32/+0
2016-12-09drivers/of: fix missing pr_cont()s in of_print_phandle_argsMarcin Nowakowski1-3/+6
2016-11-18of: base: add support to get machine model nameSudeep Holla1-0/+32
2016-11-11Revert "console: don't prefer first registered if DT specifies stdout-path"Hans de Goede1-2/+0
2016-10-07console: don't prefer first registered if DT specifies stdout-pathPaul Burton1-0/+2
2016-09-15of: Add array read functions with min/max size limitsRichard Fitzgerald1-54/+102
2016-09-15of: Make of_find_property_value_of_size take a length rangeRichard Fitzgerald1-10/+29
2016-08-15of: fix reference counting in of_graph_get_endpoint_by_regsLucas Stach1-9/+2
2016-08-09of: Delete an unnecessary check before the function call "of_node_put"Markus Elfring1-2/+1
2016-07-30Merge tag 'powerpc-4.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-0/+22
2016-07-20dt: Add of_device_compatible_match()Benjamin Herrenschmidt1-0/+22
2016-07-18of: use pr_fmt prefix for all console printingRob Herring1-4/+7
2016-06-24of: fix memory leak related to safe_name()Frank Rowand1-9/+21
2016-05-20Merge tag 'devicetree-for-4.7' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-74/+135
2016-05-11drivers/of: Add check for null property in of_remove_property()Suraj Jitindar Singh1-0/+3
2016-04-25of: document refcount incrementation of of_get_cpu_node()Masahiro Yamada1-1/+2
2016-04-19of: Introduce of_phandle_iterator_args()Joerg Roedel1-6/+23
2016-04-19of: Introduce of_for_each_phandle() helper macroJoerg Roedel1-6/+1
2016-04-19of: Remove counting special case from __of_parse_phandle_with_args()Joerg Roedel1-5/+14
2016-04-19of: Move phandle walking to of_phandle_iterator_next()Joerg Roedel1-56/+74
2016-04-19of: Introduce struct of_phandle_iteratorJoerg Roedel1-39/+60
2016-03-03of: add 'const' for of_property_*_string*() parameter '*np'David Rivshin1-7/+8
2015-10-30of: simplify arch_find_n_match_cpu_physical_id() functionMasahiro Yamada1-4/+1
2015-07-01Merge tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2015-06-26Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linuxLinus Torvalds1-0/+34
2015-06-23of: add EXPORT_SYMBOL for of_graph_get_endpoint_by_regsDave Airlie1-0/+1
2015-06-22of: add helper for getting endpoint node of specific identifiersHyungwon Hwang1-0/+33
2015-06-04of: return NUMA_NO_NODE from fallback of_node_to_nid()Konstantin Khlebnikov1-1/+1
2015-05-26drivers: of/base: move of_init to driver_initSudeep Holla1-5/+3
2015-04-24Merge tag 'devicetree-for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+26
2015-04-18Merge tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-8/+33
2015-04-17of: base: improve of_get_next_child() kernel-docBaruch Siach1-2/+3
2015-04-14Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+26
2015-04-14of: Add helper function to check MMIO register endiannessKevin Cernekee1-0/+23
2015-03-25Merge tag 'of-graph-for-4.0' of git://git.pengutronix.de/git/pza/linux into f...Rob Herring1-8/+33
2015-03-19Revert "of: Fix premature bootconsole disable with 'stdout-path'"Peter Hurley1-3/+1
2015-03-19of: handle both '/' and ':' in path stringsBrian Norris1-6/+1
2015-03-18of: base: add function to get highest id of an alias stemWolfram Sang1-0/+26
2015-03-10of: fix handling of '/' in options for of_find_node_by_path()Leif Lindholm1-8/+15
2015-03-10of: Fix premature bootconsole disable with 'stdout-path'Peter Hurley1-1/+3
2015-02-23of: Add of_graph_get_port_by_id functionPhilipp Zabel1-0/+32
2015-02-23of: Decrement refcount of previous endpoint in of_graph_get_next_endpointPhilipp Zabel1-8/+1
2015-02-03of: EXPORT_SYMBOL_GPL of_property_read_u64_arraySakari Ailus1-0/+1
2014-12-11Merge tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-56/+79
2014-12-03of: support passing console options with stdout-pathLeif Lindholm1-2/+4
2014-12-03of: add optional options parameter to of_find_node_by_path()Leif Lindholm1-4/+16
2014-11-27of: base, fix of_property_read_string_helper kernel-docJiri Slaby1-1/+1
2014-11-18of: Change of_device_is_available() to return boolKevin Cernekee1-11/+11
2014-11-18of: Fix of_device_is_compatible() commentKevin Cernekee1-1/+1
2014-11-04Driver core: Unified device properties interface for platform firmwareRafael J. Wysocki1-0/+33
2014-11-04of: Remove spaces before tabsGeert Uytterhoeven1-7/+7
2014-11-04of: Grammar s/an/a/Geert Uytterhoeven1-1/+1
2014-11-04of: Improve grammar for of_alias_scan() documentationGeert Uytterhoeven1-5/+5
2014-11-04of: Correct of_phandle_args node reference in commentsGeert Uytterhoeven1-2/+2
2014-11-04of: Eliminate of_allnodes listGrant Likely1-22/+31
2014-11-04of: Fix overflow bug in string property parsing functionsGrant Likely1-66/+22
2014-10-04of: Don't try to search when phandle == 0Grant Likely1-0/+3
2014-09-08of: make sure of_alias is initialized before accessing itLaurentiu Tudor1-1/+1
2014-09-08of: Disabling OF functions that use sysfs if CONFIG_SYSFS disabledGaurav Minocha1-0/+12
2014-09-08of: correct of_console_check()'s return valueBrian Norris1-1/+1
2014-08-11Merge branch 'devicetree/next-overlay' into devicetree/nextGrant Likely1-317/+106
2014-07-23of: Reorder device tree changes and notifiersGrant Likely1-12/+9
2014-07-23of: Move dynamic node fixups out of powerpc and into common codeGrant Likely1-2/+2
2014-07-23of: Make devicetree sysfs update functions consistent.Grant Likely1-46/+50
2014-07-16of: Create unlocked versions of node and property add/remove functionsPantelis Antoniou1-37/+54
2014-07-07of: Move CONFIG_OF_DYNAMIC code into a separate fileGrant Likely1-229/+1
2014-07-07of: rename of_aliases_mutex to just of_mutexPantelis Antoniou1-10/+9
2014-06-26tty: Update hypervisor tty drivers to use core stdout parsing code.Grant Likely1-1/+4
2014-06-26of: Create of_console_check() for selecting a console specified in /chosenGrant Likely1-10/+13
2014-06-16OF: fix of_find_node_by_path() assumption that of_allnodes is rootFrank Rowand1-2/+2
2014-06-16of: avoid format string parsing in kobject namesKees Cook1-1/+2
2014-06-04Merge tag 'devicetree-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-23/+96
2014-06-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-2/+2
2014-06-04of: handle NULL node in next_child iteratorsFlorian Fainelli1-0/+6
2014-05-23of: Make of_find_node_by_path() handle /aliasesGrant Likely1-6/+61
2014-05-23of: Create unlocked version of for_each_child_of_node()Grant Likely1-5/+17
2014-05-23of: fix race between search and remove in of_update_property()Xiubo Li1-11/+15
2014-05-14of: make of_update_property() usable earlier in the boot processThomas Petazzoni1-0/+4
2014-05-05of: Improve grammar for of_alias_get_id() documentationGeert Uytterhoeven1-2/+2
2014-04-15of: Clean up of_update_propertyGuenter Roeck1-7/+3
2014-04-04Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-40/+41
2014-04-02Merge tag 'dt-for-linus' of git://git.secretlab.ca/git/linuxLinus Torvalds1-69/+205
2014-04-01Merge tag 'staging-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+151
2014-03-28of: Add support for ePAPR "stdout-path" propertyGrant Likely1-3/+3
2014-03-26Merge remote-tracking branches 'regulator/topic/doc', 'regulator/topic/enable...Mark Brown1-0/+32
2014-03-19of: device_node kobject lifecycle fixesPantelis Antoniou1-9/+26
2014-03-11of: remove /proc/device-treeGrant Likely1-51/+1
2014-03-11of: Make device nodes kobjects so they show up in sysfsGrant Likely1-8/+166
2014-03-06of: Warn if of_graph_parse_endpoint is called with the root nodePhilipp Zabel1-0/+3
2014-03-06[media] of: move common endpoint parsing to drivers/ofPhilipp Zabel1-0/+28