{"push_id":642751162,"size":53,"distinct_size":21,"ref":"refs/heads/master","head":"d8c1d5d5fb6eafbc532982125f006e49f2c40e71","before":"ab93bf063bad1f82ccc727c55b8e2133a97c81f1","commits":[{"sha":"c1d6f91952d0761f61b0f0f96e4c7aa32eee2788","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: core: add internal functions for getting the device without probe\n\nThis commit extends the uclass-internal functions by:\n- uclass_find_first_device()\n- uclass_find_next_device()\nFor both functions, the returned device is not probed.\n\nAfter some cleanup, the above functions are called by:\n- uclass_first_device()\n- uclass_next_device()\nfor which, the returned device is probed.\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/c1d6f91952d0761f61b0f0f96e4c7aa32eee2788"},{"sha":"5eaed880282480a5a0a2b555c5f98a11252ed94e","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: core: Extend struct udevice by '.uclass_platdata' field.\n\nThis commit adds 'uclass_platdata' field to 'struct udevice', which\ncan be automatically allocated at bind. The allocation size is defined\nin 'struct uclass_driver' as 'per_device_platdata_auto_alloc_size'.\n\nNew device's flag is added: DM_FLAG_ALLOC_UCLASS_PDATA, which is used\nfor memory freeing at device unbind method.\n\nAs for other udevice's fields, a complementary function is added:\n- dev_get_uclass_platdata()\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/5eaed880282480a5a0a2b555c5f98a11252ed94e"},{"sha":"754e71e850cb09d53543846fbed74cc5a1491c76","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: test: Add tests for device's uclass platform data\n\nThis test introduces new test structure type:dm_test_perdev_uc_pdata.\nThe structure consists of three int values only. For the test purposes,\nthree pattern values are defined by enum, starting with TEST_UC_PDATA_INTVAL1.\n\nThis commit adds two test cases for uclass platform data:\n- Test: dm_test_autobind_uclass_pdata_alloc - this tests if:\n  * uclass driver sets: .per_device_platdata_auto_alloc_size field\n  * the devices's: dev->uclass_platdata is non-NULL\n\n- Test: dm_test_autobind_uclass_pdata_valid - this tests:\n  * if the devices's: dev->uclass_platdata is non-NULL\n  * the structure of type 'dm_test_perdev_uc_pdata' allocated at address\n    pointed by dev->uclass_platdata. Each structure field, should be equal\n    to proper pattern data, starting from .intval1 == TEST_UC_PDATA_INTVAL1.\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/754e71e850cb09d53543846fbed74cc5a1491c76"},{"sha":"9e85f13ddc47d253d90411a0645f9fbd8fa6e4b8","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: test: Add tests for get/find uclass devices\n\nThis commit introduces simple tests for functions:\n- uclass_find_first_device()\n- uclass_find_next_device()\n- uclass_first_device()\n- uclass_next_device()\n\nTests added by this commit:\n- Test: dm_test_uclass_devices_find:\n  * call uclass_find_first_device(), then check if: (dev != NULL), (ret == 0)\n  * for the rest devices, call uclass_find_next_device() and do the same check\n\n- Test: dm_test_uclass_devices_get:\n  * call uclass_first_device(), then check if:\n    -- (dev != NULL), (ret == 0), device_active()\n  * for the rest devices, call uclass_next_device() and do the same check\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/9e85f13ddc47d253d90411a0645f9fbd8fa6e4b8"},{"sha":"e0735a4c60577fafdaed71c5ef046f04b0f53f09","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: core: uclass: add function: uclass_find_device_by_name()\n\nThis commit extends the driver model uclass's API by function:\n- uclass_find_device_by_name()\n\nAnd this function returns the device if:\n- uclass with given ID, exists,\n- device with exactly given name(dev->name), exists.\n\nThe returned device is not activated - need to be probed before use.\n\nNote:\nThis function returns the first device, which name is equal\nto the given one. This means, that using this function you must\nassume, that the device name is unique in the given uclass's ID\ndevice list.\n\nuclass-internal.h: cleanup - move the uclass_find_device_by_seq()\ndeclaration and description, near the other uclass_find*() functions.\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/e0735a4c60577fafdaed71c5ef046f04b0f53f09"},{"sha":"b7af1a2da767c0dd283ffce3d50efd36af32df14","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: core: uclass: add function: uclass_get_device_by_name()\n\nThis commit extends the driver model uclass's API by function:\n- uclass_get_device_by_name()\n\nAnd this function returns the device if:\n- uclass with given ID, exists,\n- device with exactly given name(dev->name), exists,\n- device probe, doesn't return an error.\n\nThe returned device is activated and ready to use.\n\nNote:\nThis function returns the first device, which name is equal\nto the given one. This means, that using this function you must\nassume, that the device name is unique in the given uclass's ID\ndevice list.\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/b7af1a2da767c0dd283ffce3d50efd36af32df14"},{"sha":"cc73d37b7f1edbbf03e2abcf5815bdd122e8baed","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: core: device: add function: dev_get_driver_ops()\n\nThis commit extends the driver model device's API by function:\n- dev_get_driver_ops()\n\nAnd this function returns the device's driver's operations if given:\n- dev pointer, is non-NULL\n- dev->driver->ops pointer, is non-NULL\nin other case the, the NULL pointer is returned.\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/cc73d37b7f1edbbf03e2abcf5815bdd122e8baed"},{"sha":"f9c370dcdf056f035f18bf77db8a706cea21f9ce","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: core: device: add function: dev_get_uclass_name()\n\nThis commit extends the driver model device's API by function:\n- dev_get_uclass_name()\n\nAnd this function returns the device's uclass driver name if:\n- given dev pointer, is non_NULL\notherwise, the NULL pointer is returned.\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/f9c370dcdf056f035f18bf77db8a706cea21f9ce"},{"sha":"794d521917eab07651248174a81ba51cd265d9dc","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: core: remove type 'static' of function uclass_get_device_tail()\n\nUclass API provides a few functions for get/find the device.\nTo provide a complete function set of uclass-internal functions,\nfor use by the drivers, the function uclass_get_device_tail()\nshould be non-static.\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/794d521917eab07651248174a81ba51cd265d9dc"},{"sha":"6e0c4880c877fae9ecfc4135b923e167d981e5e3","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: test: Add tests for get/find uclass's device by name\n\nThis commit introduces simple tests for functions:\n- uclass_find_device_by_name()\n- uclass_get_device_by_name()\n\nTests added by this commit:\n- Test: dm_test_uclass_devices_find_by_name: for uclass id: UCLASS_TEST_FDT\n * get uclass's devices by uclass_find_first/next_device() each as 'testdev',\n * for each returned device, call: uclass_find_device_by_name(),\n   with previously returned device's name as an argument ('testdev->name').\n * for the found device ('founddev') check if:\n   * founddev != NULL\n   * testdev == founddev\n   * testdev->name == founddev->name (by strcmp)\n\n- Test: dm_test_uclass_devices_get_by_name: for uclass id: UCLASS_TEST_FDT\n * get uclass's devices by uclass_get_first/next_device() each as 'testdev',\n * for each returned device, call: uclass_get_device_by_name(),\n   with previously returned device's name as an argument ('testdev->name').\n * for the found device ('founddev') check if:\n   * founddev != NULL\n   * founddev is active\n   * testdev == founddev\n   * testdev->name == founddev->name (by strcmp)\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/6e0c4880c877fae9ecfc4135b923e167d981e5e3"},{"sha":"a7b8250210cd1b449a06f7d20769944ebeca1a41","author":{"email":"225d7255cf6430b9f04234470d54bb8bfaacb4ff@samsung.com","name":"Przemyslaw Marczak"},"message":"dm: core: precise comments for get/find device by name\n\nThe functions:\n- uclass_find_device_by_name()\n- uclass_get_device_by_name()\nsearches the required device for the exactly given name.\nThis patch, presice this fact for both function's comments.\n\nSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>\nCc: Simon Glass <sjg@chromium.org>\nAcked-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/a7b8250210cd1b449a06f7d20769944ebeca1a41"},{"sha":"07d260e047680971d926bc9a573f9291f39fc988","author":{"email":"c00b0378376498bd9cd974c388df8854c0131d27@chromium.org","name":"Simon Glass"},"message":"dm: core: Handle recursive unbinding of uclass devices\n\nSince a device can have children in the same uclass as itself, we need\nto handle unbinding carefully: we must allow that unbinding a device in a\nuclass may cause another device in the same uclass to be unbound.\n\nAdjust the code to cope.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Joe Hershberger <joe.hershberger@ni.com>\nTested-by: Joe Hershberger <joe.hershberger@ni.com>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/07d260e047680971d926bc9a573f9291f39fc988"},{"sha":"093f2dce443296ab05b1b9a356a9153d5621791b","author":{"email":"c00b0378376498bd9cd974c388df8854c0131d27@chromium.org","name":"Simon Glass"},"message":"dm: usb: Add a terminator to the string destructor list\n\nThe terminator is missing. Add it for completeness.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Joe Hershberger <joe.hershberger@ni.com>\nTested-by: Joe Hershberger <joe.hershberger@ni.com>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/093f2dce443296ab05b1b9a356a9153d5621791b"},{"sha":"98a1605309d82dd85f9046b7f81afabeba390b46","author":{"email":"c00b0378376498bd9cd974c388df8854c0131d27@chromium.org","name":"Simon Glass"},"message":"dm: Update the README to reflect the current test output\n\nThere are a lot more tests now. To avoid confusion add the updated test\noutput to the driver model README.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Joe Hershberger <joe.hershberger@ni.com>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/98a1605309d82dd85f9046b7f81afabeba390b46"},{"sha":"f9fd4558ea977f0ad574c829026f26157176cea6","author":{"email":"c00b0378376498bd9cd974c388df8854c0131d27@chromium.org","name":"Simon Glass"},"message":"dm: test: Don't clear global_data in dm_test_uclass_before_ready()\n\nWe must not clear global_data even in tests, since the ram_buffer (which\nis used by malloc()) will also be lost, and subsequent tests will fail.\n\nZero only the global_data fields that are required for the test to function.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Joe Hershberger <joe.hershberger@ni.com>\nTested-by: Joe Hershberger <joe.hershberger@ni.com>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/f9fd4558ea977f0ad574c829026f26157176cea6"},{"sha":"5b5e9ba3f7f40f12b3a69bb1cf3828cf3dd5e315","author":{"email":"c00b0378376498bd9cd974c388df8854c0131d27@chromium.org","name":"Simon Glass"},"message":"exynos: sandbox: ti: Add SPDX license identifiers and notes\n\nFor some files I neglected to add a license. Rectify this:\n\narch/arm/dts/exynos4210-pinctrl-uboot.dtsi\narch/arm/dts/exynos4x12-pinctrl-uboot.dtsi\narch/arm/dts/exynos5250-pinctrl-uboot.dtsi\narch/arm/dts/exynos54xx-pinctrl-uboot.dtsi\narch/arm/dts/s5pc100-pinctrl.dtsi\narch/arm/dts/s5pc110-pinctrl.dtsi\n\nThis file came from Linux and has no license information there, so add a\ncomment to that effect:\n\narch/sandbox/include/asm/bitops.h\n\nThis file also came from Linux - presumably someone from TI could add the\nlicense:\n\ninclude/dt-bindings/pinctrl/omap.h\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\nReported-by: Ingrid Viitanen <ingrid.viitanen@nokia.com>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/5b5e9ba3f7f40f12b3a69bb1cf3828cf3dd5e315"},{"sha":"dd0b0122bacc286a6c9321178fcdd947a8bbf0a8","author":{"email":"c00b0378376498bd9cd974c388df8854c0131d27@chromium.org","name":"Simon Glass"},"message":"serial: ns16550: Add an option to specify the debug UART register shift\n\nThis UART permits different register spacing. To support the debug UART on\ndevices which have a spacing other than 1 byte, allow the shift value to\nbe specified.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/dd0b0122bacc286a6c9321178fcdd947a8bbf0a8"},{"sha":"363e6da10313edb9ab7bffd8ee9000f72af11290","author":{"email":"c00b0378376498bd9cd974c388df8854c0131d27@chromium.org","name":"Simon Glass"},"message":"dm: ns16550: Support non-byte register spacing with driver model\n\nAllow this driver to support boards where the register shift is not 0.\nThis fixes some compiler warnings which appear in that case.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/363e6da10313edb9ab7bffd8ee9000f72af11290"},{"sha":"ab9fd2e83a0f781534fbb8a2b88c724a29b7f20a","author":{"email":"c00b0378376498bd9cd974c388df8854c0131d27@chromium.org","name":"Simon Glass"},"message":"serial: ns16550: Remove unnecessary init on UART setup\n\nIt is not necessary to write a zero baud rate to the device, and for some\nchips this will cause problems. Drop this code.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/ab9fd2e83a0f781534fbb8a2b88c724a29b7f20a"},{"sha":"a8eeaf2f7a9c3326cba5b1780b1a38f70c6c1f37","author":{"email":"44b7497c4bb5f3e8c071b12b7ece82766a88068d@denx.de","name":"Stefan Roese"},"message":"cmd_led: Extend led command to support blinking and more leds\n\nThis patch extends the U-Boot \"led\" command to support automatic blinking\nby setting a blink frequency in milliseconds. Additionally the number of\nsupported LEDs is increased to 6 (0...5).\n\nThis will be used by the PCA9551 LED driver.\n\nSigned-off-by: Stefan Roese <sr@denx.de>\nReviewed-by: Tom Rini <trini@konsulko.com>","distinct":false,"url":"https://api.github.com/repos/trini/u-boot/commits/a8eeaf2f7a9c3326cba5b1780b1a38f70c6c1f37"}]}