Commit 11729ca
bus: ti-sysc: Fix missing AM35xx SoC matching
Commit feaa8ba ("bus: ti-sysc: Implement SoC revision handling")
created a list of SoC types searching for strings based on names
and wildcards which associates the SoC to different families.
The OMAP34xx and OMAP35xx are treated as SOC_3430 while
OMAP36xx and OMAP37xx are treated as SOC_3630, but the AM35xx
isn't listed.
The AM35xx is mostly an OMAP3430, and a later commit a12315d
("bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific") looks
for the SOC type and behaves in a certain way if it's SOC_3430.
This caused a regression on the AM3517 causing it to return two
errors:
ti-sysc: probe of 48318000.target-module failed with error -16
ti-sysc: probe of 49032000.target-module failed with error -16
Fix this by treating the creating SOC_AM35 and inserting it between
the SOC_3430 and SOC_3630. If it is treaed the same way as the
SOC_3430 when checking the status of sysc_check_active_timer,
the error conditions will disappear.
Fixes: a12315d ("bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific")
Fixes: feaa8ba ("bus: ti-sysc: Implement SoC revision handling")
Signed-off-by: Adam Ford <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>1 parent d929b2b commit 11729ca
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
1862 | 1863 | | |
1863 | 1864 | | |
1864 | 1865 | | |
1865 | | - | |
| 1866 | + | |
1866 | 1867 | | |
1867 | 1868 | | |
1868 | 1869 | | |
| |||
3024 | 3025 | | |
3025 | 3026 | | |
3026 | 3027 | | |
| 3028 | + | |
3027 | 3029 | | |
3028 | 3030 | | |
3029 | 3031 | | |
| |||
3228 | 3230 | | |
3229 | 3231 | | |
3230 | 3232 | | |
3231 | | - | |
| 3233 | + | |
3232 | 3234 | | |
3233 | 3235 | | |
3234 | 3236 | | |
| |||
0 commit comments