Since the i2s does not support the clock to be always on, and
snd_pcm_stop() will turn off the i2s clock.
However, the inno HDMI codec still needs to the clock to work, then
it does not do the corresponding clear and leads to abnormal audio
logic inside HDMI without the clock.
This patch adds an AUDIO_PD off/on to clear internal audio logic
during HDMI prepare to solve this problem.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I1ccb486a3fe1729c95d7d755ae2caf88d61a146b
android13 without these symbols:
__scsi_execute
scsi_device_lookup
scsi_print_sense_hdr
scsi_register_driver
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I22871cf2470b33b9d780daca81c195a7343b3655
../drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/aiutils.c:25:10: fatal error: 'typedefs.h' file not found
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I425cb52776bb1b3294b8ef67c951b04afe2288a9
add vehicle-evb-v20 dts file for first time
Signed-off-by: Oliver Peng <oliver.peng@rock-chips.com>
Change-Id: If48fa4fee974d84c99989e3014651fc8aacf53e0
phy->ops->power_on will be called when current phy->power_count equal 0,
and phy->ops->power_off will be called when current phy->power_count
equal 1. but the .power_off and .power_on hook will never be called in
suspend and resume process if phy->power_count is not initialized to 1
in loader_protect.
Change-Id: Ib69f93ac02d396182ee08f55657c71d6cd907329
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Close dynamic turn on/off rk3588 PD_ESMART and keep esmart pd on when
enable display.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I154b96d1039dc42a773ec769c81aa054e9f9d79d
tools video only support chip higher than rk1808
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iec7bfa9e9faa0bf520443f7e259c0519496c7b0f
We saw a link failure after linkup which should fail to probe the device
actually. That was misleading for PCIe stack to scan the device. Add a
double check for that. If that happened, just try to link until the
timeout happened.
[ 2.373308] rk-pcie fe180000.pcie: PCIe Linking... LTSSM is 0x3
[ 2.455521] rk-pcie fe180000.pcie: PCIe Link up, LTSSM is 0x2
[ 2.455658] rk-pcie fe180000.pcie: PCI host bridge to bus 0003:30
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I0f9bcbb42d77a80aa1cb533952427b71096240d6
drivers/rkflash/nandc.c:393:31: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
error, forbidden warning:nandc.c:393
} while ((fl_reg.V6.tr_rdy == 0));
~~~~~~~~~~~~~~~~~^~~~
drivers/rkflash/nandc.c:393:31: note: remove extraneous parentheses around the comparison to silence this warning
} while ((fl_reg.V6.tr_rdy == 0));
~ ^ ~
drivers/rkflash/nandc.c:393:31: note: use '=' to turn this equality comparison into an assignment
} while ((fl_reg.V6.tr_rdy == 0));
Change-Id: Ib4c422216c61191b924163fedfe1b83f1fd297df
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Fixed color anomalies caused by plug when playing hdr videos.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I487ba996add98e5d474149bae3552fe0e8371ff2
solve no response when read back from panel in video mode display
This reverts commit 28eb6929be.
Change-Id: Ic42637d7714169fafa22771185e11c2ddcfa5c95
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Destructor is only used by dma-buf cache.
So replace CONFIG_NO_GKI with CONFIG_DMABUF_CACHE.
Fixes: 345084a2ed ("BACKPORT: ANDROID: GKI: dma-buf: Add support to set a destructor on a dma-buf")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I08c1a10e8e74c37fbe9677115ca421425e4cdcd4
1.Set rc dma as default
2.Changet to ep dma by sending command:
echo 0 > ./sys/module/pcie_dw_dmatest/parameters/is_rc
Change-Id: I9b16c328c08f220772e487c7c796b8898d74ae10
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
1.Support ep information, including sending ep dma status to rc by using msi
2.Set ep drivers version 0x00000001
3.Support PCIE_DMA_RAISE_MSI_OBJ_IRQ_USER ioctl
Change-Id: I9c1530a1ce8289ce324b78a9dd5fa0cb6a5a1858
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Definition rockchip ep device information, like drivers version
and devices dma status. These information will be store in BAR0
in default.
Change-Id: I33dcc00e9923d10ad63d706ce16ba646f0049480
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
When encoding and decoding in parallel, iommu switch failed cause bus
err.
rk_iommu ff442800.iommu: BUS_ERROR occurred at 0x0000000000000000
Rootcause:
Get a invalid dte addr when px30_workaround_combo_init, because of iommu
not enable status.
solution:
read a valid dte addr when iommu enable status.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I4b84c650a6e132928a6dc91a26985abd8c273cfe