05 Mar, 2021
2 commits
-
After reduce the panel RM67191's pixel clock from 132MHz to
121MHz by 'commit 4193a9c3254b ("MLK-3056-2 drm/panel: rm67191:
change clock rate to 121MHz for default mod")', the disp_apb
clock rate needs to be configured properly to avoid the issue
described in LF-33886 ticket with currrent disp_apb clock config
like below:sys1_pll_out 5 5 0 800000000 0 0 50000
sys1_pll_800m 5 5 0 800000000 0 0 50000
disp_apb 1 1 0 133333334 0 0 50000
disp_apb_root_clk 2 2 0 133333334 0 0 50000And configure disp_apb rate to 25MHz like below can solve this
issue:sys1_pll_out 5 5 0 800000000 0 0 50000
sys1_pll_800m 5 5 0 800000000 0 0 50000
disp_apb 1 1 0 25000000 0 0 50000
disp_apb_root_clk 2 2 0 25000000 0 0 50000Signed-off-by: Fancy Fang
Reviewed-by: Robby Cai -
Change-Id: I9dd6b8dd4ff1d25608a9264ecc1facb2df649818
04 Mar, 2021
1 commit
-
On 8DXL, the LCDIF IRQ number is different from 8QXP, so fix it in the
specific 8dxl dts file.Signed-off-by: Robert Chiras
Reviewed-by: Laurentiu Palcu
Acked-by: Jason Liu
23 Feb, 2021
1 commit
-
When M4 boots from flexspi, linux should not use that, otherwise
M4 will hang.Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan
(cherry picked from commit 1f49d90ebaf77492bcb2e9f8a8e5a8d4d7aee58a)
Acked-by: Jason Liu
03 Feb, 2021
1 commit
-
Add the missing pmu node and also fix the issue with kvm that it
requires pmu node to be present.Signed-off-by: Li Yang
Acked-by: Diana Craciun
01 Feb, 2021
2 commits
-
add vpu_v4l2 device node for 8mm/8mq/8mp
Signed-off-by: Zhou Peng
Change-Id: If41af5aafa79764a3d208d6888f4b2a0eca7361b -
Change-Id: Ief0d6fac10385c5f7d99ab7a9ac3932a7a637913
30 Jan, 2021
1 commit
-
Clocks are always on when DSP PD is on. Use dummy clocks
for minimal code impact for now.This is similar with the approach on i.MX8QM.
Signed-off-by: Daniel Baluta
29 Jan, 2021
8 commits
-
Enable LPA in powersave mode.
This is achieved by adding imx8mp-evk-powersave-rpmsg.dtsChange-Id: I70213808f7a509e25c778c2b831f7fb95941b667
Signed-off-by: zhipeng.wang -
remove HDMI module on imx8mp.
it will save 10mw for vdd_socChange-Id: I3b6222d0dac4f77f52fb45213c5dc28498f6616f
-
Disable ldb, it will save 20mw on imx8mp board.
the power domain mediamix will on after lcd off, because ldb@32ec005c
is not support runtime pm. Linux bsp will send one formal patch to enable
lvds run time pm, before that I disable ldb.cat sys/kernel/debug/pm_genpd/pm_genpd_summary
mediamix on ispdwp, mipi_phy1,mipi_phy2
/devices/...../32c00000.bus/32c00000.bus:phy@32ec0128 suspended
/devices/...../32c00000.bus/32c00000.bus:ldb@32ec005c unsupported
/devices/...../32c00000.bus/32e80000.lcd-controller suspendedpower domain mediamix will been off after apply this patch when lcd off
cat sys/kernel/debug/pm_genpd/pm_genpd_summary
mediamix off-0 ispdwp, mipi_phy1,mipi_phy2
/devices/.../32c00000.bus/32c00000.bus:phy@32ec0128 suspended
/devices/.../32c00000.bus/32c00000.bus:ldb@32ec005c suspended
/devices/.../32c00000.bus/32e80000.lcd-controller suspended
/devices/.../32c00000.bus/32e90000.lcd-controller suspendedChange-Id: I9b2c3a7f544707e3380ece64d30b987d42ec94c1
Signed-off-by: zhipeng.wang -
Under normal circumstances, use BT,
the system will request high. In order to test the
MP3 to BT in the case of low audio bus, remove it.Change-Id: I00fd9986e559ce39a8d0af18540ee55e60357a98
Signed-off-by: zhipeng.wang -
disable fec on imx8mp board.
Change-Id: I70ebc6d47895059b4abef8fb04c1a56e3cfd6dd7
Signed-off-by: zhipeng.wang -
disable system regulator to high bus freq for emmc.
system will change to high bus freq when open lcd
through imx_lcdifv3_runtime_resume.Change-Id: Iaa65e56c5efdd7cb236a21f41d70834070065293
Signed-off-by: zhang sanshan -
enable runtime setting gic clk(500M → 100M)
Change-Id: I79e07ffcf645ee7f26ec1fc701d44f3e7502cb62
Signed-off-by: zhipeng.wang -
Under normal circumstances, the ddr frequencies of audio_bus_mode and
low_bus_mode are both 100mts. Now in order to meet Sony’s requirements,
both audio_bus_mode and low_bus_mode are changed to 400mts.Change-Id: I68f878a52069136f4b8ff84b06a55b8ea1eae99d
28 Jan, 2021
1 commit
-
add isi and ov5640 dts setting into imx8qm-mek-hdmi.dts.
imx8qm-mek-hdmi.dts is included by md dts.
camera is also is needed by hdmi dts.Change-Id: I51d31bc21a1d1b8af90a0cf0c5b51137773d3c12
Signed-off-by: zhang sanshan
26 Jan, 2021
1 commit
-
Fix i2c address for second and third ak4458 dac on Audio
Board 2.0Signed-off-by: Hongting Dong
Reviewed-by: Adrian Alonso
25 Jan, 2021
3 commits
-
This reverts commit d367e7d3351edc526133e4bd258dac2dd0b4ef4f.
As designed, the default dtb imx8mq-evk can only support one
display: DCSS + native HDMI, and dtb imx8mq-evk-dual-display
is dedicated for multiple dislay.And current multiple displays is implemented by two different
DRM devices with two DRI cards generated. But Weston UI cannot
make sure to choose DCSS for UI display device, so revert this
patch to solve this kind of problem.Signed-off-by: Fancy Fang
-
Change-Id: I173bc0325c93daaf82bb894f77ba35fa827864de
-
Add phy tuning result for USB certification, mainly for pass
eye pattern test, details please check its dt binding doc:
Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.txtReviewed-by: Haibo Chen
Reviewed-by: Peter Chen
Signed-off-by: Li Jun
22 Jan, 2021
1 commit
-
With mailbox driver support i.MX8 SCU MU channel, we could
use it to avoid trigger interrupts for each TR/RR registers
in one MU, instead, only one RX interrupt for a recv and
one TX interrupt for a send.Signed-off-by: Nitin Garg
Reviewed-by: Dong Aisheng
20 Jan, 2021
2 commits
-
Change-Id: I5a8e84f5b691a352ad4ab138927f4ff98e07ab18
-
add the gpio-scu node and enable on-board phy for
enet0 by default.remove "enable-active-high" property from mii_select node to
use the enet module.Signed-off-by: Shenwei Wang
18 Jan, 2021
15 commits
-
imx8mm-ddr4-evk(ddr board) include imx8mm-evk.dtsi, while imx8mm-evk(lpddr board)
also include imx8mm-evk.dtsi.
move android block device setting into imx8mm-evk.dtsiChange-Id: Ida29395b1b843c00abd2cd13bb9cd4db1cc7faef
Signed-off-by: zhang sanshan -
add memory-region to reserve GPU memory above 4G region.
Change-Id: I103dc8bbc0cefeb06b6ee66f89128ede22251b3a
Signed-off-by: Richard Liu -
Follow the EAS document and ARM reference and measured the CPU
calculation performance based on Dhrystone V8, assign the correct CPU
capacity and dynamic-power-coefficient for imx8qm to make CPU run into
better performance.Pdyn = dynamic-power-coefficient * V^2 * f (Pdyn: dynamic power consume; V: voltage; f: frequence)(mW/V^2/Ghz)
Below is our ways to calculate dynamic-power-coefficient,C means dynamic-power-coefficient,f1/f2/V1/V2 etc.is the OPP.
1.VDD_ARM_POWER_CONSUME1 = C * V1^2 * f1 + static_power_consume
2.VDD_ARM_POWER_CONSUME2 = C * V2^2 * f2 + static_power_consume
3.C= (VDD_ARM_POWER_CONSUME1 - VDD_ARM_POWER_CONSUME2)/( V2^2 * f2 - V1^2 * f1)Test condition(suppose test cpu0):
1.Set max and min freq to OPP for Board.
2.Set other cpu off
3.start dhrystone benchmark
4.measure the power for VDD_ARMA53
frequency(MHz) Voltage(V) Power(mW) Dynamic-power-coefficient Avg
0.6 0.9 105.58
0.9 1 152.43 113
1.104 1.1 238.43 156
1.2 1.1 277.49 178
149
A72
frequency(MHz) Voltage(V) Power(mW) Dynamic-power-coefficient Avg
0.6 1 350.49
1.056 1 628.79 587
1.296 1 962.93 632
1.596 1 1663.51 986
735
TEST: Antutu & 3DMarkChange-Id: I035b5619278ae69d0dd6b5df93a952c429ef6b28
Signed-off-by: Haoran.Wang -
DTS configure is the first priority.
remove DTS configure to enable bootargs configure.Change-Id: I8abc856140dd46d98bb93b19f85769cd58fac79b
Signed-off-by: Haoran.Wang -
cs42888 card can not work with mipi-panel dts, due
to its i2c belongs to M4.Signed-off-by: Jindong
Change-Id: I7acadbe183de8649c129f28eb1560eda7635ad2a -
Enable all display interface for standard android, so standard android
support 2*LVDS+2*MIPI-DSI or 2*LVDS+MIPI-DSI+HDMIChange-Id: Ic0e99a113a000a9598d899ec64e59e62c1f897a1
Signed-off-by: Zhang Bo -
Bind two trip points to one throttle device on imx8mq board.
Change-Id: I962131ff7a7bf05bb6d3085f8ee4a1b4371a97d1
Signed-off-by: Zhang Bo -
Add trusty nodes to enable trusty on imx8mn ddr4 board.
Test: boots with trusty.
Change-Id: Iac73482e109b3b5aa8973bfc5a01008602375948
Signed-off-by: Ji Luo -
Product partition is removed in non product build, add
new dts to remove product partition mount.Test: build
Change-Id: I3cbf8bd4e00cd337538a1aa01803cad52bb73418
Signed-off-by: Ji Luo -
Add Trusty OS devicetree nodes for imx8 SoCs.
Change-Id: Ib803beab6bd0c21e384b19247924eecd3e0a465d
Signed-off-by: Haoran.Wang -
Kernel dtb property check failed for regulator
check of dwc3 vbus power supply node, cause in
the check rules the node named as *-supply will
be taken as regulator.
It caused usb phy not probe, and no UDC available
for USB OTG.Rename the vbus reference phandle name.
Change-Id: Id9b8b2908d82f9cf39bec26226884da09bfb4f58
Signed-off-by: yang.tian -
USB framework prevents the USB Dialog to show for peripherals
such as keyboard, mouse, flash drives etc. Usb Dialog
is redundant in these cases as the Type-C stack is
expected to manage power automatically as these devices
are most likely SNK devices.And for mek_8q, if we take both usb3.0 port and usb 2.0 port as
otg port, and connect usb 3.0 to host pc for device mode, and
connect peripheral device like usb mouse. USB Notification Dialog
won't pop out. So we set usb 2.0 port as host only to allow usb dialog
appear once usb 3.0 port is connected as device mode.Change-Id: I1fb02efc846950a5c8a08acdd92aa575e8ced121
Signed-off-by: yang.tian -
correct the mmc block path
Change-Id: Iec631bb1616477686aa7f7041bed2c82e4777716
Signed-off-by: zhang sanshan -
uboot will check the dtb pass to kernel that whether
the resource is from the AP. If no, it will print error log.
android use the M4 image by default, so the dtb will change to
the rpmsg oneUBOOT boot up error log:
Disable mu@31580000 rsrc 505 not owned
Disable i2c@3b230000 rsrc 308 not owned
Disable clock-controller@3b630000 rsrc 308 not owned
Disable intmux@3b400000 rsrc 309 not owned
Disable clock-controller@5a480000 rsrc 59 not owned
Disable can@5a8d0000 rsrc 105 not owned
Disable can@5a8e0000 rsrc 106 not owned
Disable can@5a8f0000 rsrc 107 not owned
Disable clock-controller@5acd0000 rsrc 105 not owned
Disable clock-controller@5ace0000 rsrc 106 not owned
Disable clock-controller@5acf0000 rsrc 107 not owned
Disable spi@5d120000 rsrc 237 not owned
Disable imx8qm_cm4@0 rsrc 278 not owned
Disable imx8qm_cm4@0 rsrc 297 not owned
Disable imx8x_cm4@1 rsrc 298 not owned
Disable imx8x_cm4@1 rsrc 317 not ownedChange-Id: Iceaca0fca037d2f0953456babb49ff247ce39a7c
Signed-off-by: zhang sanshan -
enable storage mount in early stage
Change-Id: Ib2010b3291bceaacecc8f9fbd48c33f13ac3f67b
Signed-off-by: zhang sanshan
13 Jan, 2021
1 commit
-
simple-card uses 'Headphones' instead of 'Headphone Jack'
for gpio pin name,Without the current patch we get this error:
asoc-simple-card sof-sound-wm8960: ASoC: DAPM unknown pin HeadphonesReviewed-by: Viorel Suman
Signed-off-by: Daniel Baluta