PD#160889: keypad: avoid repetition of reporting power key event
If the adc_keypad and gpio_keypad driver are enabled at the same time,
the system will report two power key event when it resumes, and the
second event will result in the system suspend again. The patch resolves
the bug.
Change-Id: Iea4d9e2bf6632e4603dc9743fce07e5af74d0273
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#162992: pinctrl: add virtual GPIO "GPIOV_0" for g12a
The gpio is used to set the bit PERIPHS_PIN_MUX_2 BIT[17]. Please refer
the following method to use it.
1). set the PERIPHS_PIN_MUX_2 BIT[17] to <1>
mux_en {
groups = "sdio_dummy";
function = "sdio";
}
2). set the PERIPHS_PIN_MUX_2 BIT[17] to <0>
mux_dis {
groups = "GPIOV_0";
function = "gpio_periphs";
}
Change-Id: Ied0e6c71ed1ff8ab9a26cb76ec1508d83a4453d7
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#162858: pinctrl: add new pinconf attrs "output-high" and "output-low"
we can refer the following example to use:
mux {
groups = "GPIOC_0", "GPIOC_1", "GPIOC_2",
"GPIOC_3", "GPIOC_4", "GPIOC_5";
function = "gpio_periphs";
output-high; // or output-low
}
output-high: GPIO_EN_N[pin]=<0> and GPIO_O[pin]=<1>
output-low : GPIO_EN_N[pin]=<0> and GPIO_O[pin]=<0>
Change-Id: I3f8ec1bd1eff7c7d6e7416b608e4c5d6c7b15955
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#159137: clk: meson: axg: fix the od shift of the sys_pll
According to datasheet, the od shift of sys_pll is 16,
fix the typo which introduced at previous commit.
Change-Id: I8d7e36b1178c0ab7f89791964fe4bb216c551d6d
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
PD#162258: spdif out is no audio output
1) fixed pinmux error
2) add mute flag for Pause
Change-Id: Icb60dba86d5b305eedf78b0fd410e0a16800c503
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#134355: mtd: use sprintf instead of printk in show functions
Remove the unused system attribute in dtb and env.
Change-Id: Ie7f7bda60ac1b192708a6b6fd0dc1c77ca1eb0e0
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
PD#162219: hdmitx: add enci clktree
Add enci clktree support for 480i and 576i.
Change-Id: Id7bc3444bd634deb1a52c8faf7f3d2f017d33e73
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
PD#162464: spicc: compatible modify for g12a
1. add dma wait cycle while high speed.
2. support auto dma threshold setting.
3. support pio LSB-FIRST mode.
4. change dma from LSB to MSB-FIRST mode.
5. support loop-back set by transfer mode.
6. delete some sys class entries unused.
Change-Id: Ic10ccb7e7459499c1b25ee074e069f157fb9c72c
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#162465: hdmitx: fix a null pointer in hdmitx_late_resume function
Change-Id: Ib4b3f55d2ca8274fb4c1000cf79f403006d7a475
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#162464: dts: spicc: add node for g12a_s905d2 skt
kernel4.9 still use the amlogic driver. DTS compatible name should be
"spicc" but not "meson-g12a-spicc" to avoid probing the upstream driver.
Change-Id: I0465f71f1504929a459ae1d912cc4bb1f397ccde
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#160883: hdmitx: add another SWRSTZREQ init after setting mode
Change-Id: I002fa45bb5d0459ba31051314a3500a7b47d9512
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#161978: hdmirx: set pinmux for each port separately
Change-Id: I51b933523cdc334f32662c4bb2ea75791adfad0b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#162091: hdmitx: fix dv funciton of hdmitx doesn't work
When the mode is set in uboot, the ready flag must be 1.
Change-Id: Ibb23efc6687246a417dda74bd731a25e5fcf0ae7
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#134355: vdin: use sprintf instead of printk in show functions
Change-Id: I06abfe9acb27ba7ebe9e4e16aaf90a6e0e7e3601
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
PD#161859: di: fix dummy buffer dismatch with normal buffer
1) fix dummy buffer dismatch with normal buffer
2) add debug print support
Change-Id: I304f93f4ef7883928fbd9fa237fb2dfd24ef557a
Signed-off-by: kele bai <kele.bai@amlogic.com>
PD#160047: di: disable recycle buffer when source switch
1) atv&dtv will switch when channel switch,
mirror function need enable
2) disable full pack feature for 8 bit mode
Change-Id: Ifde5afb637b259c0d4d789b94228c0cb488b48f7
Signed-off-by: kele bai <kele.bai@amlogic.com>
PD#160529: mtd: add a macro to hide the env region in rsv zone
when we save the env data in normal partition, the env region
in the rsv zone is no needed anymore, so hide it with a macro.
Change-Id: Id1b92079d1127ffabf4c1f208b486daad0af3934
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
PD#161764: usb: gadget: ffs: Execute copy_to_user() with USER_DS set
When using a AIO read() operation on the function FS gadget driver a URB is
submitted asynchronously and on URB completion the received data is copied
to the userspace buffer associated with the read operation.
This is done from a kernel worker thread invoking copy_to_user() (through
copy_to_iter()). And while the user space process memory is made available
to the kernel thread using use_mm(), some architecture require in addition
to this that the operation runs with USER_DS set. Otherwise the userspace
memory access will fail.
For example on ARM64 with Privileged Access Never (PAN) and User Access
Override (UAO) enabled the following crash occurs.
Address this by placing a set_fs(USER_DS) before of the copy operation
and revert it again once the copy operation has finished.
Change-Id: If523dac82905057607d3007de6a3974102d51e3f
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
PD#161937: vpp: disable pps as default when scaler ratio is 1:1
Change-Id: Iabec01db371218c954bfdae25dfea5292acae3e2
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#160984: hdmitx: update phy/clk parameters of g12a
1. use 5.94G instead of 2.97G to get high performance
2. add workaround of setting 4.5~6GHz
3. fine tune phy parameters
Change-Id: I99a7bb428e835316bd464aae421e074841156670
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>