• Marek Szyprowski's avatar
    ARM: dts: exynos: Disable frequency scaling for FSYS bus on Odroid XU3 family · 9ff416cf
    Marek Szyprowski authored
    Commit 1019fe2c ("ARM: dts: exynos: Adjust bus related OPPs to the
    values correct for Exynos5422 Odroids") changed the parameters of the
    OPPs for the FSYS bus. Besides the frequency adjustments, it also removed
    the 'shared-opp' property from the OPP table used for FSYS_APB and FSYS
    busses.
    
    This revealed that in fact the FSYS bus frequency scaling never worked.
    When one OPP table is marked as 'opp-shared', only the first bus which
    selects the OPP sets the rate of its clock. Then OPP core assumes that
    the other busses have been changed to that OPP and no change to their
    clock rates are needed. Thus when FSYS_APB bus, which was registered
    first, set the rate for its clock, the OPP core did not change the FSYS
    bus clock later.
    
    The mentioned commit removed that behavior, what introduced a regression
    on some Odroid XU3 boards. Frequency scaling of the FSYS bus causes
    instability of the USB host operation, what can be observed as network
    hangs. To restore old behavior, simply disable frequency scaling for the
    FSYS bus.
    Reported-by: default avatarWilly Wolff <willy.mh.wolff.ml@gmail.com>
    Fixes: 1019fe2c ("ARM: dts: exynos: Adjust bus related OPPs to the values correct for Exynos5422 Odroids")
    Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
    Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
    9ff416cf
exynos5422-odroid-core.dtsi 20.8 KB