aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/unittest.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-15of: Add a helper to free property structRob Herring1-9/+3
2024-03-15Merge tag 'devicetree-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-20/+7
2024-03-13of: unittest: Use for_each_child_of_node_scoped()Jonathan Cameron1-8/+3
2024-03-08of: unittest: treat missing of_root as error instead of fixing upFrank Rowand1-8/+4
2024-03-08um: Unconditionally call unflatten_device_tree()Stephen Boyd1-4/+0
2024-01-31of: unittest: Fix compile in the non-dynamic caseChristian A. Ehrhardt1-3/+9
2024-01-11of: unittest: Fix of_count_phandle_with_args() expected value messageGeert Uytterhoeven1-1/+1
2024-01-09of: Fix double free in of_parse_phandle_with_args_mapChristian A. Ehrhardt1-31/+43
2023-10-27of: unittest: Add tests for address translationsHerve Codina1-0/+77
2023-08-28of: unittest: Fix of_unittest_pci_node() kconfig dependenciesRob Herring1-9/+7
2023-08-23of: overlay: unittest: Add test for unresolved symbolGeert Uytterhoeven1-0/+17
2023-08-23of: unittest: Add separators to of_unittest_overlay_high_level()Geert Uytterhoeven1-0/+10
2023-08-23of: unittest: Cleanup partially-applied overlaysGeert Uytterhoeven1-48/+84
2023-08-23of: unittest: Merge of_unittest_apply{,_revert}_overlay_check()Geert Uytterhoeven1-27/+18
2023-08-23of: unittest: Improve messages and comments in apply/revert checksGeert Uytterhoeven1-4/+6
2023-08-23of: unittest: Restore indentation in overlay_bad_add_dup_prop testGeert Uytterhoeven1-3/+3
2023-08-23of: unittest: Fix overlay type in apply/revert checkGeert Uytterhoeven1-1/+1
2023-08-23of: unittest: Check tree matches original after reverting a changesetRob Herring1-0/+13
2023-08-23of: unittest: Run overlay apply/revert sequence three timesGeert Uytterhoeven1-1/+3
2023-08-22of: unittest: Add pci_dt_testdrv pci driverLizhi Hou1-0/+189
2023-08-22of: overlay: Extend of_overlay_fdt_apply() to specify the target nodeLizhi Hou1-1/+2
2023-08-22of: dynamic: Add interfaces for creating device node dynamicallyLizhi Hou1-1/+18
2023-08-21Merge branch 'dt/linus' into dt/nextRob Herring1-2/+2
2023-08-21of: unittest: Fix EXPECT for parse_phandle_with_args_map() testRob Herring1-2/+2
2023-08-10of: unittest: Remove redundant of_match_ptr()Ruan Jinjie1-3/+3
2023-07-27of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()Ruan Jinjie1-4/+6
2023-06-29Merge tag 'devicetree-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2023-06-23of: unittest: drop assertions for GPIO hog messagesBartosz Golaszewski1-28/+0
2023-06-12of: unittest: Switch i2c driver back to use .probe()Uwe Kleine-König1-2/+2
2023-06-07gpiolib: demote the hogging log messages to debugBartosz Golaszewski1-8/+8
2023-04-27Merge tag 'devicetree-for-6.4-2' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+150
2023-04-13of/address: Add of_property_read_reg() helperRob Herring1-0/+22
2023-04-13of/address: Add of_range_count() helperRob Herring1-1/+6
2023-04-13of/address: Add support for 3 address cell busRob Herring1-1/+57
2023-04-13of/address: Add of_range_to_resource() helperRob Herring1-1/+15
2023-04-13of: unittest: Add bus address range parsing testsRob Herring1-0/+53
2023-03-20of: unittest: Convert to platform remove callback returning voidUwe Kleine-König1-11/+6
2023-03-20of: unittest: Drop if blocks with always false conditionUwe Kleine-König1-3/+0
2023-03-20of: unittest: Drop call to platform_set_drvdata(..., NULL)Uwe Kleine-König1-1/+0
2023-02-20of: unittest: add node lifecycle testsFrank Rowand1-2/+148
2022-12-06of: unittest: Convert to i2c's .probe_new()Uwe Kleine-König1-6/+4
2022-10-26of: overlay: rename overlay source files from .dts to .dtsoFrank Rowand1-24/+24
2022-10-10Merge tag 'devicetree-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+4
2022-08-25of: unittest: taint the kernel when of unittest runsFrank Rowand1-0/+3
2022-08-22of: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-08-16i2c: Make remove callback return voidUwe Kleine-König1-4/+2
2022-07-11of: unittest: make unittest_gpio_remove() consistent with unittest_gpio_probe()Andy Shevchenko1-7/+6
2022-07-11of: unittest: Switch to use fwnode instead of of_nodeAndy Shevchenko1-2/+2
2022-05-03of: overlay: do not free changeset when of_overlay_apply returns errorFrank Rowand1-2/+8
2022-05-03of: overlay: unittest: add tests for overlay notifiersFrank Rowand1-0/+195
2022-03-08Merge branch 'dt/linus' into dt/nextRob Herring1-8/+8
2022-02-15of: unittest: print pass messages at PR_INFO levelFrank Rowand1-1/+1
2022-01-31of: unittest: update text of expected warningsFrank Rowand1-8/+8
2022-01-08of: unittest: remove unneeded semicolonYang Li1-1/+1
2022-01-04of: unittest: re-implement overlay trackingFrank Rowand1-61/+49
2022-01-04of: unittest: change references to obsolete overlay idFrank Rowand1-27/+27
2021-12-15of: unittest: 64 bit dma address test requires arch supportFrank Rowand1-2/+3
2021-12-15of: unittest: fix warning on PowerPC frame size warningJim Quinlan1-4/+12
2021-11-01of: unittest: document intentional interrupt-map provider build warningFrank Rowand1-0/+6
2021-11-01of: unittest: fix EXPECT text for gpio hog errorsFrank Rowand1-8/+8
2021-10-20of/unittest: Add of_node_put() before returnWan Jiabing1-0/+2
2021-06-04of: unittest: Use DEFINE_RES_MEM() to simplify codeZhen Lei1-5/+1
2021-04-08of: unittest: overlay: ensure proper alignment of copied FDTFrank Rowand1-2/+7
2021-04-07of: properly check for error returned by fdt_get_name()Frank Rowand1-5/+10
2021-02-12of: Remove of_dev_{get,put}()Rob Herring1-1/+1
2020-12-02of: unittest: Fix build on architectures without CONFIG_OF_ADDRESSCatalin Marinas1-0/+3
2020-11-20of: unittest: Add test for of_dma_get_max_cpu_address()Nicolas Saenz Julienne1-0/+18
2020-09-17dma-mapping: introduce DMA range map, supplanting dma_pfn_offsetJim Quinlan1-10/+24
2020-08-03of: unittest: Use bigger address cells to catch parser regressionsNicolas Saenz Julienne1-1/+1
2020-04-17of: unittest: kmemleak in duplicate property updateFrank Rowand1-6/+6
2020-04-17of: unittest: kmemleak in of_unittest_overlay_high_level()Frank Rowand1-1/+4
2020-04-17of: unittest: kmemleak in of_unittest_platform_populate()Frank Rowand1-2/+5
2020-04-17of: unittest: kmemleak on changeset destroyFrank Rowand1-0/+4
2020-03-31of: some unittest overlays not untrackedFrank Rowand1-7/+23
2020-03-31of: gpio unittest kfree() wrong objectFrank Rowand1-1/+1
2020-03-02of: unittest: make gpio overlay test dependent on CONFIG_OF_GPIOFrank Rowand1-227/+238
2020-02-26of: unittest: annotate warnings triggered by unittestFrank Rowand1-30/+345
2020-02-26of: unittest: add overlay gpio test to catch gpio hog problemFrank Rowand1-0/+253
2019-11-26of: unittest: fix memory leak in attach_node_and_childrenErhard Furtner1-1/+3
2019-10-25Merge branch 'dt/linus' into dt/nextRob Herring1-0/+1
2019-10-23of: unittest: fix memory leak in unittest_data_addNavid Emamdoost1-0/+1
2019-10-08of/unittest: Add dma-ranges address translation testsRob Herring1-0/+92
2019-08-27of: unittest: Add of_node_put() before returnNishka Dasgupta1-1/+3
2019-07-08of: unittest: simplify getting the adapter of a clientWolfram Sang1-1/+1
2019-05-02of: unittest: Remove error printing on OOMGeert Uytterhoeven1-9/+4
2019-03-12treewide: add checks for the return value of memblock_alloc*()Mike Rapoport1-1/+7
2019-02-28of: unittest: unflatten device tree on UML when testingBrendan Higgins1-0/+4
2019-02-13of: unittest: add caution to function header commentFrank Rowand1-1/+5
2019-02-13of: unittest: remove report of expected errorFrank Rowand1-1/+4
2018-12-05of: Use of_node_name_eq for node name comparisonsRob Herring1-2/+2
2018-11-08of: unittest: initialize args before calling of_*parse_*()Frank Rowand1-2/+13
2018-11-08of: unittest: find overlays[] entry by name instead of indexFrank Rowand1-4/+17
2018-11-08of: unittest: allow base devicetree to have symbol metadataFrank Rowand1-8/+35
2018-11-08of: unittest: remove unused of_unittest_apply_overlay() argumentFrank Rowand1-4/+3
2018-11-08of: overlay: check prevents multiple fragments touching same propertyFrank Rowand1-0/+5
2018-11-08of: overlay: test case of two fragments adding same nodeFrank Rowand1-0/+5
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-10-31memblock: remove _virt from APIs returning virtual addressMike Rapoport1-1/+1
2018-09-27of: unittest: Disable interrupt node tests for old world MAC systemsGuenter Roeck1-8/+18
2018-09-07of: Convert to using %pOFn instead of device_node.nameRob Herring1-6/+6
2018-09-04of/unittest: add printf tests for node nameRob Herring1-0/+4
2018-09-04of/unittest: remove use of node name pointer in overlay high level testRob Herring1-5/+8
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-05-22of: unittest: for strings, account for trailing \0 in property length fieldStefan M Schaeckeler1-4/+4
2018-04-11proc: add seq_put_decimal_ull_width to speed up /proc/pid/smapsAndrei Vagin1-1/+1
2018-03-19of: unittest: fix an error code in of_unittest_apply_overlay()Dan Carpenter1-4/+2
2018-03-17of: unittest: move misplaced function declarationArnd Bergmann1-2/+1
2018-03-17of: unittest: Remove VLA stack usageTobin C. Harding1-4/+11
2018-03-12of: unittest: local return value variable related cleanupsFrank Rowand1-16/+6
2018-03-12of: unittest: remove unneeded local return value variablesFrank Rowand1-65/+24
2018-03-07of: unittest: fix an error test in of_unittest_overlay_8()Dan Carpenter1-2/+1
2018-03-05of: overlay: do not include path in full_name of added nodesFrank Rowand1-3/+3
2018-03-05of: unittest: clean up changeset testFrank Rowand1-6/+36
2018-03-05Merge tag 'overlay_apply_fdt_v7-for-4.17' of git://git.kernel.org/pub/scm/lin...Rob Herring1-152/+148
2018-03-04of: change overlay apply input data from unflattened to FDTFrank Rowand1-152/+148
2018-02-12of: unittest: Add phandle remapping testStephen Boyd1-0/+120
2018-01-08of/fdt: use memblock_virt_alloc for early allocRob Herring1-3/+8
2017-12-06of: unittest: Remove bogus overlay mutex release from overlay_data_add()Geert Uytterhoeven1-1/+0
2017-11-14Merge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-36/+47
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-17of: overlay: avoid race condition between applying multiple overlaysFrank Rowand1-6/+16
2017-10-17of: overlay: detect cases where device tree may become corruptFrank Rowand1-27/+30
2017-10-17of: overlay: rename identifiers to more reflect what they doFrank Rowand1-10/+10
2017-10-16of: unittest: Remove redundant OF_DETACHED flag settingStephen Boyd1-2/+0
2017-07-20of: overlay: add overlay unittest data for node names and symbolsFrank Rowand1-2/+8
2017-07-18of: Convert to using %pOF instead of full_nameRob Herring1-28/+39
2017-06-27vsprintf: Add %p extension "%pOF" for device treePantelis Antoniou1-0/+58
2017-05-04of/unittest: Missing unlocks on errorDan Carpenter1-2/+6
2017-05-03of: fix uninitialized variable warning for overlay testArnd Bergmann1-1/+1
2017-04-27of: Add unit tests for applying overlaysFrank Rowand1-0/+317
2017-01-23of/unittest: Swap arguments of of_unittest_apply_overlay()Alexander Sverdlin1-2/+2
2017-01-04of: drop duplicate headersGeliang Tang1-1/+0
2016-06-23of: unittest: use of_platform_default_populate() to populate default busKefeng Wang1-3/+2
2016-05-20Merge tag 'devicetree-for-4.7' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+1
2016-05-19of/unittest: Remove unnecessary module.h header inclusionJavier Martinez Canillas1-1/+0
2016-05-16drivers/of: Specify parent node in of_fdt_unflatten_tree()Gavin Shan1-1/+1
2016-04-22of/unittest: convert to use an explicit i2c mux corePeter Rosin1-25/+12
2016-03-03of/unittest: fix infinite loop in of_unittest_destroy_tracked_overlays()Sergey Senozhatsky1-0/+5
2016-01-13drivers/of: Export OF changeset functionsGavin Shan1-4/+0
2016-01-05of/unittest: Show broken behaviour in the platform busGrant Likely1-0/+14
2015-10-22of/unittest: add missing of_node_putJulia Lawall1-2/+6
2015-07-27of: Drop owner assignment from platform and i2c driverKrzysztof Kozlowski1-3/+0
2015-04-24Merge tag 'devicetree-for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+62
2015-04-14of: unittest: overlay: Keep track of created overlaysPantelis Antoniou1-0/+62
2015-03-29Merge remote-tracking branch 'robh/for-next' into devicetree/nextGrant Likely1-354/+354
2015-03-29of/unittest: Fix of_platform_depopulate test caseGrant Likely1-7/+9
2015-03-29of/unittest: early return from test skips testsFrank Rowand1-4/+6
2015-03-29of/unittest: breadcrumbs to reduce pain of future maintainersFrank Rowand1-0/+4
2015-03-29of/unittest: reduce checkpatch noise - line after declarationsFrank Rowand1-0/+5
2015-03-29of/unittest: typo in error stringFrank Rowand1-2/+3
2015-03-29of/unittest: add const where neededFrank Rowand1-4/+4
2015-03-25of/unittest: replace 'selftest' with 'unittest'Wang Long1-354/+354
2015-03-19of: unittest: Add option string test case with longer pathBrian Norris1-0/+5
2015-03-10of: unittest: Add options string testcase variantsPeter Hurley1-0/+11
2015-03-10of/unittest: Fix the wrong expected value in of_selftest_property_stringWang Long1-2/+2
2015-03-10of/unittest: remove the duplicate of_changeset_initWang Long1-1/+0
2015-03-10of: unittest: fix I2C dependencyArnd Bergmann1-6/+6
2015-02-11Merge remote-tracking branch 'grant/devicetree/next' into for-nextRob Herring1-15/+0
2015-02-04of: unitest: Add I2C overlay unit tests.Pantelis Antoniou1-50/+462
2015-02-04Merge tag 'v3.19-rc6' into HEADRob Herring1-0/+39
2015-01-23of/unittest: Overlays with sub-devices testsPantelis Antoniou1-0/+39
2015-01-22of/unittest: Remove obsolete codeGrant Likely1-15/+0
2015-01-13Removes OF_UNITTEST dependency on OF_DYNAMIC config symbolGaurav Minocha1-58/+12
2014-12-03of: Delete unnecessary check before calling "of_node_put()"Markus Elfring1-2/+1
2014-12-03of: add optional options parameter to of_find_node_by_path()Leif Lindholm1-0/+30
2014-11-27of: Remove unneeded and incorrect MODULE_DEVICE_TABLEGrant Likely1-1/+0
2014-11-24of/overlay: Add overlay unittestsPantelis Antoniou1-0/+481
2014-11-24of: Refactor __of_node_alloc() into __of_node_dup()Grant Likely1-4/+10
2014-11-24of: Use vargs in __of_node_allocGrant Likely1-3/+3
2014-11-24Merge tag 'v3.18-rc6' into devicetree/nextGrant Likely1-3/+8
2014-11-04of/unittest: Rename selftest.c to unittest.cGrant Likely1-0/+969