PD#157881: disabled a debug msg info.
this msg is not a bug.
Change-Id: I043c57955646bcff92ee2dd9dbe41b8485e7c136
Signed-off-by: Zhi Zhou <zhi.zhou@amlogic.com>
PD#154836: di: move enable pre mif before frame reset avoid timeout
1) enable pre mif before&after frame reset for
mc mif will be clear by pre frame reset
Change-Id: Ied15c337c4b28a62a873bd36361357b8fecdaf32
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#156898: add the polling method of sd card_detect,
because gpio irq remove raising & falling trigger method.
Change-Id: If270d27619d2686e74fe5e6d02748242faec4ce8
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#157965: pinctrl: define the pinmux with the same format.
there are two different pin controllers in Meson Soc Series, one of
them uses continuous 4-bit register to select function for each pin
(Eg: AXG and next), the other use indefinite bits that maybe from
different registers (Eg: Before AXG and GXLX)
previously, the driver use two different format to define the pinmux,
as follows:
[1] Before AXG and GXLX:
mux {
groups = "uart_ao_tx_a", "uart_ao_rx_a";
function = "uart_ao_a";
}
[2] AXG and next
mux {
pins = "GPIOAO_0", "GPIOAO_1";
function = "uart_ao_a";
}
which is a little confusing,and in this patch define the pinmux with
one format[1].
Change-Id: I04fb256294e1b664224c50a1baa622eb3a50b1c1
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#157965: pinctrl: separate soc drivers
When meson pinctrl is enabled, all meson platforms pinctrl drivers are
built in the kernel, with a significant amount of data.
This leads to situation where pinctrl drivers targeting an architecture
are also compiled and shipped on another one (ex: meson8 - ARM - compiled
and shipped on ARM64 builds). This is a waste of memory we can easily
avoid.
This change makes 3 pinctrl drivers (1 per SoC) out the original single
driver, allowing to compile and ship only the ones required.
porting from the upstream v4.15-rc2, commits as follows:
commit 277d14eb81
Change-Id: I68832eaf4a86233f89b8c32c44aaaab3593711d7
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#157965: pinctrl: get rid of unneeded domain structures
porting from the upstream v4.15-rc2, commits as follows:
commit db80f0e158
Change-Id: I7c65b6844159378b7ef766569cb373fb78997d51
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#151900: irqchip: replace the gpio IRQ driver with upstream v4.15-rc2
1) separate the driver from the pinctrl driver
2) add support for GPIOAO* of M8B as interrupt source
3) irq lines of GPIOAO* maximum up to eight
4) remove the GPIO IRQ Controller in AO domain
note that the driver does not support for detecting the double-edge signal
through the pin,if you have related needs, please consider using polling.
test pass on axg_skt, p212
Change-Id: Iaa8da8a0cbfa0fe90d26fc8c2b775e045c8768f2
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#157955: fix first 256MB lost problem
1. add Makefile.boot for define of ZRELADDR/
PARAMS_PHYS/INITRD_PHYS
2. remove config of ARM_PATCH_PHYS_VIRT/AUTO_ZRELADDR
to avoid boot panic when first 256MB memory enabled
Change-Id: I0495803f22bcfaa550437169a345adc988b40ef7
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
PD#158049: dts: add dts for r311 with memory 1G
1. add pinmux definition of lcd in dts for r311
2. disable hdmitx for r311
Change-Id: I827f2a4ce1b2408166983d41b75b4b0b1ea9651b
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#157797: audio: meson: fixed kenerl panic and no sound card issue
1. fixed kernel panic for txlx codec when reboot
2. solve pinmux conflicted for dmic
3. fix i2s mpll of dts config
3. fix tv sound card name of dts config
Change-Id: I88537ac7a3ee9e949cb89c5cd047b9bd9f4ef169
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#157223: lcd_extern: add st7701 driver for CES
Change-Id: I49d6930c4a4358a8a97a73cbe0194a77f39f55e3
Signed-off-by: Weiming Liu <weiming.liu@amlogic.com>
PD#154260: lcd: add txlx support
Add panel dtsi for txlx r311.
Also add backlight local dimming driver.
Change-Id: I8d6cbc0a2099c17de1adc4087a3f58e1c34264ae
Signed-off-by: Weiming Liu <weiming.liu@amlogic.com>
PD#156150: dts: add p241 partition table for cts
cts require data partition at least 4G
1. change system to 1024M
2. change cache to 600M
Change-Id: I9a7e32fc863d58c5fd0b17e28aa7d35193c1dffb
Signed-off-by: WenCai You <wencai.you@amlogic.com>
PD#157417: mmext: fix panic caused by page trace
stackframe.graph is not init if CONFIG_FUNCTION_GRAPH_TRACER
is opened.
Change-Id: Iea270dadd4579e71a778d0da764c4da27323938e
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
PD#154260: hdmitx: update hdmitx driver
1. using pr_info or pr_debug instead of printk.
2. remove unuse code.
3. change modulepara to sysfs.
4. use iomap api for read and write reg
Change-Id: I523329d7b26cd7c6675bdae55cda76a6a11c533e
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
PD#154260: add cvbs driver support for txlx
Update dts for all platforms.
1. Remove get_cpu type api and support dts match table data.
2. Add clock tree support.
3. Add performance property in device node.
4. Add protection flag for clk_gate on/off.
Change-Id: I082e48ecbbb44cfec5deb31a3a73b67b31370798
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
PD#154260: refine unifykey codes
1. delete calling of cpu version related apis
2. replace self-implemented list with kernel-implemented one
3. delete unused MACRO defination
4. replace global variables with private data structure
5. define pr_fmt in each module
6. fix code defects:
e438
e527
e550
e570
e650
7. add safe guard
Change-Id: I3dc93e3fef8ccfe3593d3275a69e0e21786e3ef1
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#154260: vpu: add vpu support for txlx
Update dts for all platforms.
1. add support for txlx
2. add clktree support for clk change
3. remove unused vpu module for mem_pd
4. remove vpu_parent "vid_pll","mpll1","mpll2"
Change-Id: I43aa2435305fd02664ae825bc2f62664ffb526be
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#154260: enable crypto driver
restructure crypto driver on top of dma and enable it on txlx
Change-Id: I0ffc0aaf9ad94c9652b9141bf92201c92463a893
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
PD#157561: vout_serve: add extcon for display mode change
add extcon in vout_serve and eliminate the same mode in hdmitx
Change-Id: I1063facae39534d93720632cf441b45680da954c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#154260: emmc: refixed how to get host->data variable for M8b
1. refixed how to get host->data variable
2. Compatible m8b and 905
Change-Id: I647fb191f71a3a4b6b63eee29be1a91e6581af12
Signed-off-by: Long Yu <long.yu@amlogic.com>