1
0
Fork 0
alistair23-linux/arch/arm64/boot/dts/mediatek
Hsin-Yi Wang 56e7873ed2 arm64: dts: mt8173: fix vcodec-enc clock
[ Upstream commit 3b1f6c5e4d ]

Fix the assigned-clock-parents to higher frequency clock to avoid h264
encode timeout:

[  134.763465] mtk_vpu 10020000.vpu: vpu ipi 4 ack time out !
[  134.769008] [MTK_VCODEC][ERROR][18]: vpu_enc_send_msg() vpu_ipi_send msg_id c002 len 32 fail -5
[  134.777707] [MTK_VCODEC][ERROR][18]: vpu_enc_encode() AP_IPIMSG_ENC_ENCODE 0 fail

venc_sel is the clock used by h264 encoder, and venclt_sel is the clock
used by vp8 encoder. Assign venc_sel to vcodecpll_ck and venclt_sel to
vcodecpll_370p5.

    vcodecpll                         1482000000
       vcodecpll_ck                    494000000
          venc_sel                     494000000
...
       vcodecpll_370p5                 370500000
          venclt_sel                   370500000

Fixes: fbbad0287c ("arm64: dts: Using standard CCF interface to set vcodec clk")
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20200504124442.208004-1-hsinyi@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-03 08:21:19 +02:00
..
Makefile arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile 2019-06-21 14:31:06 +02:00
mt2712-evb.dts arm64: dts: Add USB3 related nodes for MT2712 2019-01-09 18:16:06 +01:00
mt2712-pinfunc.h arm64: Use the correct style for SPDX License Identifier 2019-04-16 16:28:01 +01:00
mt2712e.dtsi arm64: dts: mt2712: Remove un-used property for PCIe 2019-04-12 10:59:00 +01:00
mt6380.dtsi arm64: dts: mt7622: add PMIC MT6380 related nodes 2018-03-11 20:26:27 +01:00
mt6755-evb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mt6755.dtsi arm64: dts: mediatek: add mt6755 support 2016-07-03 07:57:21 +02:00
mt6795-evb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mt6795.dtsi ARM64: dts: mt6795: enable basic SMP bringup for MT6795 2015-08-07 19:19:41 +02:00
mt6797-evb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mt6797-x20-dev.dts arm64: dts: mediatek: x20: Add pinmux support for UART1 2019-01-09 18:16:06 +01:00
mt6797.dtsi arm64: dts: Add uart for mt6797 EVB 2019-01-09 18:16:06 +01:00
mt7622-bananapi-bpi-r64.dts dt-bindings: net: ethernet: Update mt7622 docs and dts to reflect the new phylink API 2019-08-27 20:19:27 -07:00
mt7622-rfb1.dts arm64: dts: mt7622: fix no more console output on rfb1 2018-11-23 11:46:10 +01:00
mt7622.dtsi dt-bindings: net: ethernet: Update mt7622 docs and dts to reflect the new phylink API 2019-08-27 20:19:27 -07:00
mt8173-evb.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mt8173-pinfunc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mt8173.dtsi arm64: dts: mt8173: fix vcodec-enc clock 2020-06-03 08:21:19 +02:00
mt8183-evb.dts arm64: dts: mt8183: add I2C nodes 2019-08-22 15:20:51 +02:00
mt8183-pinfunc.h arm64: dts: mt8183: add pinctrl file 2019-04-12 19:51:19 +02:00
mt8183.dtsi arm64: dts: mt8183: add I2C nodes 2019-08-22 15:20:51 +02:00