Commit 9d52054
reset: convert of_reset_control_get_count() to using firmware nodes
Start the conversion of reset core to using firmware nodes by reworking
of_reset_control_get_count(). Unfortunately there is no fwnode-based
alternative to of_count_phandle_with_args() so we have to hand-code it.
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>1 parent 8c91302 commit 9d52054
1 file changed
Lines changed: 27 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
1430 | 1432 | | |
1431 | 1433 | | |
1432 | 1434 | | |
1433 | | - | |
| 1435 | + | |
1434 | 1436 | | |
1435 | | - | |
| 1437 | + | |
1436 | 1438 | | |
1437 | 1439 | | |
1438 | 1440 | | |
1439 | 1441 | | |
1440 | | - | |
| 1442 | + | |
1441 | 1443 | | |
1442 | | - | |
| 1444 | + | |
| 1445 | + | |
1443 | 1446 | | |
1444 | | - | |
| 1447 | + | |
1445 | 1448 | | |
1446 | 1449 | | |
1447 | | - | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
1448 | 1464 | | |
1449 | 1465 | | |
1450 | 1466 | | |
| |||
1468 | 1484 | | |
1469 | 1485 | | |
1470 | 1486 | | |
1471 | | - | |
| 1487 | + | |
1472 | 1488 | | |
1473 | 1489 | | |
1474 | 1490 | | |
| |||
1542 | 1558 | | |
1543 | 1559 | | |
1544 | 1560 | | |
1545 | | - | |
1546 | | - | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
1547 | 1565 | | |
1548 | 1566 | | |
1549 | 1567 | | |
| |||
0 commit comments