06 Aug, 2019
11 commits
-
Correct the pinmux for SAI1
Remove AUDMIX/ESAI for they are not supported in imx8dxl
Configure fsl,sai-synchronous-rx for SAI1 according to pinmux
Enable ASRC p2p for SAI1Signed-off-by: Shengjiu Wang
Reviewed-by: Viorel Suman -
ENET1 pad ring register for compensation cell and voltage reference
is controlled by pin:
SC_P_COMP_CTL_GPIO_1V8_3V3_GPIORHB_PAD- move the pin to enet pin group
- format the pin define as alignment
- move out below two pins to hoggrp
SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB0_PAD
SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB1_PADSigned-off-by: Fugang Duan
Acked-by: Richard Zhu -
When system suspend, pcie bus write BRCMF_H2D_HOST_D3_INFORM cmd
into tcm32 mem to let host enter D3 mode, and wait the D3 ACK
interrupt. But sometime, the interrupt is comming lately then
cause wait event timeout, so double check the D3 ACK state.Signed-off-by: Fugang Duan
Acked-by: Richard Zhu -
Correct the earlycon port index check.
Signed-off-by: Fugang Duan
Acked-by: Richard Zhu -
Add quirk for cyw4356 to disable D3 mode because current firmware
still doesn't support D3 mode.After stress test, cyw4356 D3 mode still has timeout issue, so
cherry pick back the commit.Reviewed-by: Richard Zhu
Signed-off-by: Fugang Duan
Signed-off-by: Arulpandiyan Vadivel
Signed-off-by: Shrikant Bobade
(cherry picked from commit 22212c60d7fb067e28a2fed16914515e3d6d3950) -
This is the only platform we found has this remote wakeup issue,
so enable CI_HDRC_HOST_SUSP_PHY_LPM for it.Acked-by: Peter Chen
Signed-off-by: Li Jun -
imx8mm has 2 chipidea usb2 cores, add its compatible.
Signed-off-by: Li Jun
-
On some imx host, if USB PHY is active when bus suspended, host may
have problem on taking over resume signal of remote wakeup from usb
device, resolve this by making PHY enter low power mode right after
bus suspended.Acked-by: Peter Chen
Signed-off-by: Li Jun -
Use the correct typec node properties according to typec driver
update.Acked-by: Peter Chen
Signed-off-by: Li Jun -
Enable rpmsg on imx8dxl mek board.
Signed-off-by: Richard Zhu
Acked-by: Fugang Duan -
Fix power state of parent power domains that have no device
associated with them.Current power domain driver does not work well in two cases:
1. A device is controlled by multiple power domains
2. Multiple devices are controlled by a single power domain that
is dependent on another power domain(s).This patch attempts to fix these two issues.
Signed-off-by: Ranjani Vaidyanathan
05 Aug, 2019
6 commits
-
There is issue that system can't enter suspend while the si476x is
working.The reason is that with the workqueue thread is still working after
i2c enter suspend, then cause the cpu_suspend function failed.This patch is to use the system_freezable_wq instead of the system_wq,
that the workqueue will be freeze before system enter suspend.Signed-off-by: Shengjiu Wang
Reviewed-by: Viorel Suman -
In order to compatibility with Android system, move crc and input_data dump
file directory from /home/ and /tmp/ to /data/.Signed-off-by: Shijie Qin
Reviewed-by: Zhou Peng -
Add DTBs to support imx8dxl phantom mek board.
Signed-off-by: Teo Hall
-
Previously, only process for RV format, other formats should also
be treated in the same way.Signed-off-by: Shijie Qin
Reviewed-by: ming_qian -
The latest reference manual (Rev.0, 06/2019) shows PMC0
and PMC1 have different register offsets, clean them up.Signed-off-by: Anson Huang
Reviewed-by: Jacky Bai -
The PMC0 control register is at offset 0x28, not 0x24.
Fix it accordingly.
Signed-off-by: Fabio Estevam
Signed-off-by: Anson Huang
Reviewed-by: Jacky Bai
02 Aug, 2019
4 commits
-
The patch 4e995ba0a954980 removes the non-exist recources for LVDS1, so
remove the usage of SC_R_LVDS_1_I2C_0/SC_R_LVDS_1_I2C_1 in dts, and
replace pd_lvds1_i2c with pd_lvds1 which is the parent in lvds_i2c node.Reviewed-by: Peng Fan
Signed-off-by: Clark Wang -
string
we can use the debug tool analyze the raw dbglog.
Signed-off-by: ming_qian
Reviewed-by: Shijie Qin -
Show the interval from input first data to receive start_done
and seq_hdr_found event.Signed-off-by: Shijie Qin
Reviewed-by: ming_qian -
Include more bug-fixings for Vulkan and NN driver
Signed-off-by: Xianzhong
01 Aug, 2019
1 commit
-
add Xvid format support, and vpu treat it as MPEG4.
Signed-off-by: Shijie Qin
Reviewed-by: Zhou Peng
Reviewed-by: ming_qian
31 Jul, 2019
1 commit
-
The flag variable must be initialized before used.
the 'OR' operation will cause unpredictable behavior.Signed-off-by: Jacky Bai
Reviewed-by: Leonard Crestez
30 Jul, 2019
2 commits
-
It is easy to exploit system by allowing fuse program,
so let's mark as read-only. If pepole wanna fuse program,
just delete this property.Signed-off-by: Peng Fan
Reviewed-by: Ye Li -
This patch fixes the below build warning when CONFIG_PM_SLEEP=n.
CC drivers/gpu/imx/dpu/dpu-common.o
drivers/gpu/imx/dpu/dpu-common.c:831:1: warning: ‘_dpu_submodules_init’ defined but not used [-Wunused-function]
_dpu_submodules_init(struct dpu_soc *dpu, struct platform_device *pdev)
^~~~~~~~~~~~~~~~~~~~Signed-off-by: Liu Ying
29 Jul, 2019
3 commits
-
The audio float point data range is (-1, 1), the asrc would output
all zero for float point input and integer output case, that is to
drop the fractional part of the data directly.In order to support float to int conversion or int to float conversion
we need to do special operation on the coefficient to enlarge/reduce
the data to the expected range.For float to int case:
Up sampling:
1. Create a 1 tap filter with center tap (only tap) of 2^31
in 64 bits floating point.
double value = (double)(((uint64_t)1) << 31);
2. Program 1 tap prefilter with center tap above.Down sampling,
1. If the filter is single stage filter, add "shift" to the exponent of
stage 1 coefficients.
2. If the filter is two stage filter , add "shift" to the exponent of
stage 2 coefficients.The "shift" is 31, same for int16, int24, int32 case.
For int to float case:
Up sampling:
1. Create a 1 tap filter with center tap (only tap) of 2^-31
in 64 bits floating point.
2. Program 1 tap prefilter with center tap above.Down sampling,
1. If the filter is single stage filter, subtract "shift" to the
exponent of stage 1 coefficients.
2. If the filter is two stage filter , subtract "shift" to the
exponent of stage 2 coefficients.The "shift" is 15,23,31, different for int16, int24, int32 case.
Signed-off-by: Shengjiu Wang
(cherry picked from commit 8a18a7a2dd1184814c6c61cb116f4d868b003447) -
module_param(vpu_datadump_ena, int, 0644);
MODULE_PARM_DESC(vpu_datadump_ena, "enable dump input frame data (0-1)");Signed-off-by: Shijie Qin
Reviewed-by: Zhou Peng -
Implement program support.
Restruct code to check hole/ecc region.
Use ATF SIP to program fuse
Add mutex lock to protect accessSigned-off-by: Peng Fan
Reviewed-by: Ye Li
26 Jul, 2019
5 commits
-
module_param(vpu_show_perf_ena, int, 0644);
MODULE_PARM_DESC(vpu_show_perf_ena, "enable show vpu decode
performance(0-1)");
module_param(vpu_show_perf_idx, int, 0644);
MODULE_PARM_DESC(vpu_show_perf_idx, "show performance of which
instance(bit N to mask instance N)");
module_param(vpu_show_perf_ent, int, 0644);
MODULE_PARM_DESC(vpu_show_perf_ent, "show performance of which
event(1: decoded, 2: ready)");Signed-off-by: Shijie Qin
Reviewed-by: Zhou Peng -
For VP6 format, the first input data shall including frame data,
hence should not drop it.Signed-off-by: Shijie Qin
Reviewed-by: ming_qian -
+MPEG4/MPEG2, the first input data also not including frame data
Signed-off-by: Shijie Qin
-
export symbols to fix build error as a module:
ERROR: "max17135_reg_read" [drivers/hwmon/max17135-hwmon.ko] undefined!
Signed-off-by: Julien Olivain
Acked-by: Robby Cai -
1.firmware decide whether it support rv and divx.
if firmware don't support, driver will disable these formats.2. update copyright description
Signed-off-by: ming_qian
Reviewed-by: Zhou Peng
25 Jul, 2019
7 commits
-
fix build warnings if CONFIG_PM_SLEEP is disabled.
drivers/media/platform/imx8/mxc-mipi-csi2_yav.c:703:12: warning: 'mipi_csi2_pm_resume' defined but not used [-Wunused-function]
static int mipi_csi2_pm_resume(struct device *dev)
^~~~~~~~~~~~~~~~~~~
drivers/media/platform/imx8/mxc-mipi-csi2_yav.c:685:12: warning: 'mipi_csi2_pm_suspend' defined but not used [-Wunused-function]
static int mipi_csi2_pm_suspend(struct device *dev)
^~~~~~~~~~~~~~~~~~~~Signed-off-by: Robby Cai
Reviewed-by: Sandor Yu -
fix build warnings if CONFIG_PM_SLEEP is disabled.
drivers/media/platform/imx8/mxc-parallel-csi.c:618:12: warning: 'parallel_csi_pm_resume' defined but not used [-Wunused-function]
static int parallel_csi_pm_resume(struct device *dev)
^~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/imx8/mxc-parallel-csi.c:613:12: warning: 'parallel_csi_pm_suspend' defined but not used [-Wunused-function]
static int parallel_csi_pm_suspend(struct device *dev)
^~~~~~~~~~~~~~~~~~~~~~~Signed-off-by: Robby Cai
Reviewed-by: Sandor Yu -
There is no SC_R_LVDS_1_I2C_0/SC_R_LVDS_1_I2C_1 in SCFW, remove
those clocks which are associated with these non-exist resources.Signed-off-by: Anson Huang
Reviewed-by: Jacky Bai
(cherry picked from commit c242b208b0f7911c3dc0c40533d80847731c077e) -
the amount of REL_FRAME_BUFF event may be much bigger the BUFF_RDY
event.
it means that some frame buffer are not used for decoding,
and firmware just release it directly.The frame who is need to skip is decoded but not ready.
Signed-off-by: ming_qian
Reviewed-by: Shijie Qin -
Macros 'inline' and '__gnu_inline' used to be defined in compiler-gcc.h,
which was (and is) included entirely in (__KERNEL__ && !__ASSEMBLY__).
Commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually
exclusive") had those macros exposed to userspace, unintentionally.Then commit a3f8a30f3f00 ("Compiler Attributes: use feature checks
instead of version checks") moved '__gnu_inline' back into
(__KERNEL__ && !__ASSEMBLY__) and 'inline' was left behind. Since 'inline'
depends on '__gnu_inline', compiling error showing "unknown type name
‘__gnu_inline’" will pop up, if userspace somehow includes
.Other macros like __must_check, notrace, etc. are in a similar situation.
So just move all these macros back into (__KERNEL__ && !__ASSEMBLY__).Note:
1. This patch only affects what userspace sees.
2. __must_check (when !CONFIG_ENABLE_MUST_CHECK) and noinline_for_stack
were once defined in __KERNEL__ only, but we believe that they can
be put into !__ASSEMBLY__ too.Acked-by: Nick Desaulniers
Signed-off-by: Xiaozhou Liu
Signed-off-by: Miguel Ojeda -
Remove clocks that dont exist in imx8qxp.
Change clock names to match HW.Signed-off-by: Ranjani Vaidyanathan
-
Remove clocks that dont exist in imx8qxp.
Change clock names to match HW.Signed-off-by: Ranjani Vaidyanathan