IT6263 is a LVDS to HDMI adapter. Add a DT overlay for it.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Acked-by: Liu Ying <victor.liu@nxp.com>
This patch adds support for the i.MX943 Display Control Interface.
Signed-off-by: Sandor Yu <sandor.yu@nxp.com>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Acked-by: Liu Ying <victor.liu@nxp.com>
Since i.MX94 series LDB controller is compatible, add support for it.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Acked-by: Liu Ying <victor.liu@nxp.com>
The next bridge in bridge chain could be a panel bridge or a non-panel
bridge. Use devm_drm_of_get_bridge() to replace the combination
function calls of of_drm_find_panel() and devm_drm_panel_bridge_add()
to get either a panel bridge or a non-panel bridge, instead of getting
a panel bridge only.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
i.MX94 LDB controller is compatible with i.MX93.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
DCIF is the i.MX943 Display Controller Interface which is used to
drive a TFT LCD panel or connects to a display interface depending
on the chip configuration.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
i.MX94 BLK CTL display CSR's DISPLAY_ENGINES_CLOCK_CONTROL register
controls the selection of the clock feeding the display engine. Add the
clock gate support.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
Add i.MX94 bindings for BLK CTL display and LVDS CSRs.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
Rename imx95 lvds and displaymix csr blk variables in order to add
support for imx943.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
No duty cycle support for clocks of i.MX94, too many
warning log print about duty cycle. Skip registering
the duty cycle ops if config_oem_get return err.
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Add nvmem nodes for 4 enetc ports to support fuse read when no mac
address provided from uboot.
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Alice Guo <alice.guo@nxp.com>
If the mac base address read from the fuse is empty, it is necessary to
return empty address directly.
In this way, the subsequent processing in the net driver can use a
random mac address instead of adding pf_mac_offset to the empty address.
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Alice Guo <alice.guo@nxp.com>
i.MX94 uses 11 mac addresses, but only saves one mac base address in
fuse. The others PF mac addresses need to be calculated through offsets.
According to the ocotp framework, adding the PF offset to bits 15~12 of
offset.
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Alice Guo <alice.guo@nxp.com>
For example, the audio micfil uses AHB edma channel6 on imx95. In order to
find the channel6 matched, need to traverse channel0-5. In this process,
the channel0-5 parameter are modified if the channel0-5 isn't requested.
If test memcpy on channel0-5 using dmatest, it can fail. Because the
channel parameter config is wrong.
This issue only impact edma memcpy test when the channel is fixed.
This patch configs the request channel only if have found the channel.
Signed-off-by: Joy Zou <joy.zou@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
This patch is used to add the support of the ocotp fuse box driver for
i.MX94. Reading the fuse 59 and Writing fuses use baseline commands
supported by EdgeLock Secure Enclave.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Fix to restart the V2X IP successfully, post Linux suspend-resume.
Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Secure enclave debug FW dumps are fixed on ELE and V2X:
- Different start log buffer with pre-pending different fixed
buffer between ELE-FW-dumps and V2X-FW-dumps.
- Enable ELE FW dumps.
Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Update GET INFO API as per latest changes.
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Add a DT to support low power audio on i.MX943.
EDMA1 is used by M core, disable related devices.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Chancel Liu <chancel.liu@nxp.com>
enetc_ppm_get_reglen() should return len instead of 0, so fix this
error.
Fixes: ec1531aa40 ("LF-14261-4 net: enetc: add basic support for Pseudo MAC ENETC")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
The variable msg set but unused in enetc_msg_pf_flush_vf_vlan_entries(),
so remove it.
Fixes: 93eab37d25 ("LF-11845-1 net: enetc: convert mailbox messages to new formats")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
The Sparse reports some warnings about incorrect type in assignment are
as follows.
netc_tc_lib.c:455:40: sparse: warning: incorrect type in assignment (different base types)
netc_tc_lib.c:455:40: sparse: expected restricted __le32 [usertype] admin_sgcl_eid
netc_tc_lib.c:455:40: sparse: got unsigned int
netc_debugfs_lib.c:85:20: sparse: warning: cast to restricted __le32
netc_debugfs_lib.c:85:20: sparse: warning: restricted __le32 degrades to integer
netc_debugfs_lib.c:85:20: sparse: warning: restricted __le32 degrades to integer
netc_debugfs_lib.c:86:20: sparse: warning: cast to restricted __le32
netc_debugfs_lib.c:86:20: sparse: warning: restricted __le32 degrades to integer
netc_debugfs_lib.c:86:20: sparse: warning: restricted __le32 degrades to integer
netc_debugfs_lib.c:148:37: sparse: warning: cast to restricted __le32
netc_debugfs_lib.c:148:37: sparse: warning: cast from restricted __le16
So fix these warnings.
Fixes: d7cf1818fa ("LF-14261-12 net: enetc: refine NTMP driver for upstream")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
The Sparse reports the following warning:
netc_blk_ctrl.c:744:10: sparse: warning: Initializer entry defined twice
netc_blk_ctrl.c:750:10: sparse: also defined here
So fix this warning.
Fixes: 58fd162d40 ("LF-11880-2 net: enetc: Add power off suspend/resume and WOL supports")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
The pf wasn't used in enetc4_pf_suspend() and enetc4_pf_resume(), so
remove it from these two functions.
Fixes: 58fd162d40 ("LF-11880-2 net: enetc: Add power off suspend/resume and WOL supports")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
The ACP edma can improve the data transmission performance. At present,
it only support memory to memory on imx94 and imx95.
The ACP supports 16/64-byte INCR read/write transaction according to
the Arm DynamIQ Shared Unit document.
Signed-off-by: Joy Zou <joy.zou@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Add a new imx943-evk-sdwifi.dts to support SDIW612 WiFi chip on
imx943-evk board, the default imx943-evk.dtb is used to support PCIE
WiFi.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Some i.MX PCIes might work in the external reference clock mode.
Add this mode support.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
Add pcie[0,1], pcie1_ep and all dependent nodes on i.MX943-evk board.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
On i.MX9, the PCIe reference clock might come from either internal
system PLL or external clock source.
Add the external reference clock source for ref clock.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
Update MAINTAINERS.NXP file since new binding doc added for PXP.
Signed-off-by: Guoniu Zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
When i.MX94 PXP secondary path work in block mode, it can support
32x32 block size. If work in scan mode, it can support 128 bytes
burst length. After enable these functions, blit operation work
in scan mode can improve 250 percent.
Signed-off-by: Guoniu Zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
Enable block size 32x32 added in i.MX94 PXP version for primary
path. After enabling the feature, PXP performance will improve
about 62 percent.
Signed-off-by: Guoniu Zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
With this change, PS/AS/OUT engine will share the same format
info and can fix incompatible issue with legacy PXP platform
since new RGB with alpha component formats are added in i.MX94
PXP version.
Signed-off-by: Guoniu Zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>