23 Feb, 2017
40 commits
-
Move the x86_64 idle notifiers originally by Andi Kleen and Venkatesh
Pallipadi to generic.Change-Id: Idf29cda15be151f494ff245933c12462643388d5
Acked-by: Nicolas Pitre
Signed-off-by: Todd Poynor -
For imx7d-sdb TO1.1 board, the touch interrupt pin no
longer conflict with HDMI, so move touch support to
imx7d-sdb.dts. To compatible with TO1.0 board, still
use imx7d-sdb-reva-touch.dts to support touch.Signed-off-by: Haibo Chen
-
add audio support for imx7d-sdb revb board.
Signed-off-by: Zidan Wang
(cherry picked from commit e92712590a3572264283a4af90b54d3f195d3b4e) -
The management data input/output (MDIO) bus where often high-speed,
open-drain operation is required. i.MX7D TO1.0 ENET MDIO pin has no
open drain as IC ticket number: TKT252980, i.MX7D TO1.1 fix the issue.Signed-off-by: Fugang Duan
(cherry picked from commit: a747abd5f01d278b91d1b6ee6628e1935cb7b23c)Conflicts:
arch/arm/mach-imx/mach-imx7d.c -
Add elan touch screen support on imx6sl-evk board.
Signed-off-by: Haibo Chen
-
Currently, we just use driver elan_ts.c, not elants_i2c.c. So this
patch change this.Signed-off-by: Haibo Chen
-
Add imx7d_adc, default build into kernel
Signed-off-by: Haibo Chen
-
Add ADC support for imx6sx-sabreauto board.
Signed-off-by: Haibo Chen
-
This patch add mmc aliase support, to make every sd slot index
fixed.Signed-off-by: Haibo Chen
-
Add usdhc1 support for the baseboard.
Signed-off-by: Haibo Chen
-
Base on i.MX7d sdb revb board change list, below modules has changed:
- enet2 and epdc enable pin
- usb_otg2 pwr enable pin
- ov5647_mipi pwr pin
- tsc2046 touch pendown pin
- uart5 tx/rx pins
- sensor INT pin
- pcie power is controlled by por_b, not gpio_spi pin6
- hdmi audio change to SAI3 from SAI1The patch add the changes for revb, and keep the original functions for
reva board. Remove redundancy sim and enet dts files to avoid excessive
dts file for reva and revb.After the patch, there have below diff:
- default dts file: imx7d-sdb.dts for revb board, imx7d-sdb-reva.dts for reva board
- remove enet, sim extended dts files, so these modules are enabled in default dts
file for reva and revb board.The change of expanded dts due to pin confliction:
- Keep the original expanded name of dts file for revb board, add suffix "-reva" in dts
file name for reva board.
- Like:
hdmi/codec audio:
hdmi audio and wm8960 codec are enabled in default dts file for revb board,
no extended dts files to separate them.
Keep original extended dts files for reva board:
imx7d-sdb-reva-hdmi-audio.dts
imx7d-sdb-reva-wm8960.dts
epdc:
imx7d-sdb-epdc.dts is for revb board, imx7d-sdb-reva-epdc.dts is for reva board.
gpmi-weim:
imx7d-sdb-gpmi-weim.dtsi for revb, imx7d-sdb-reva-gpmi-weim.dtsi for reva.
m4:
imx7d-sdb-m4.dts for revb, imx7d-sdb-reva-m4.dts for reva.
qspi:
imx7d-sdb-qspi.dts for revb, imx7d-sdb-reva-qspi.dts for reva.
touchscreen:
imx7d-sdb-touch.dts for revb, imx7d-sdb-reva-touch.dts for reva.Cherry picked from commit: 2be1a236696d, and disable sai3 since there have many
Transmit underrun on kernel 4.1.Signed-off-by: Fugang Duan
Acked-by: Robby Cai
Acked-by: Gao Pan
Acked-by: Peter Chen
Acked-by: Chen BoughConflicts:
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx7d-sdb-epdc.dts
arch/arm/boot/dts/imx7d-sdb-gpmi-weim.dtsi
arch/arm/boot/dts/imx7d-sdb-m4.dts
arch/arm/boot/dts/imx7d-sdb-reva-epdc.dts
arch/arm/boot/dts/imx7d-sdb-touch.dts
arch/arm/boot/dts/imx7d-sdb.dts -
i.MX6UL config was missed in the imx_v7_mfg_defconfig, add it for
mfgtool.Signed-off-by: Han Xu
-
ENET gpio irq pin conlict with MLB on i.MX6qdl sabreauto board, since enet
gpio irq is extended feature for performance improvement, so let MLB enable
in default dts file and newly create sabreauto enet irq dts files.Signed-off-by: Fugang Duan
-
Clock of spdif tx is derived from clk_ipg and clk_osc, which is not the
integer multiple size of sample rate, can't generate accurate clock for
each sample rate. Use pll4 as the clk_spdif's parent, because the clk_spdif
is the one of source clock of tx, use a proper frequency for pll4, then it
can generate more accurate clock for sample rate (32k,48k,96k,192k).Signed-off-by: Shengjiu Wang
-
Add LDO enable mode support for i.MX6QP SabreSD board.
Signed-off-by: Anson Huang
Signed-off-by: Robin Gong
(cherry picked from commit 4107e9c4f3d8f654e75770da0a8ed7f158c3e468) -
The CAN transceiver on MX6SX Sabreauto board seems in sleep mode
by default after power up the board. User has to press the wakeup
key on ARD baseboard before using the transceiver, or it may not
work properly when power up the board at the first time(warm reset
does not have such issue).This patch operates the wake pin too besides stby/en pins by chaining
them together in regulator mode.Signed-off-by: Dong Aisheng
-
Removing flexcan for pin conflict devices such as ecspi/gpmi.
Signed-off-by: Dong Aisheng
-
The flexcan1 is pin conflict with fec. So we add a new dts file with
flexcan1 enabled with fec disabled for user to use.Signed-off-by: Dong Aisheng
-
Add flexcan stop mode support.
Signed-off-by: Dong Aisheng
-
CAN transceiver is different on RevA and RevB board.
It's active high on RevA while active low on Rev B.Signed-off-by: Dong Aisheng
-
For imx6qp-ard board, it is okay to use external regulator for card slot,
so this patch add vmmc-supply for usdhc3.Signed-off-by: Haibo Chen
-
Tuning MMDC ZQ_PU_OFFSET impact DDR IO timing like the value is greater
than 0x9 causing enet lost packets due to the worse timing. Reinforce
ENET DDR IO drive strength can fix the issue. Use the default pin setting
can match the RGMII timing for AI board.Worse timing cause performance drop, the performance has no drop after
enhancing the DDR IO pins drive strength. Pass over night test.Signed-off-by: Fugang Duan
(cherry picked from commit: 5ceb746c0358c0851187a3f4f6f61d02e951eae0)Conflicts:
arch/arm/boot/dts/imx6qp-sabreauto.dts -
Enable sim1 in imx7d-sdb.dts. To avoid the pin confict with epdc,
disable sim1 in imx7d-sdb-epdc.dts.Signed-off-by: Gao Pan
-
In low power idle of i.MX7D, DDR controller should put
DDR pads into low power mode, TO1.1 adds this support,
after implementing this feature, NVCC_DRAM power can
be lower from ~6mA to ~2mA in low power idle mode.Signed-off-by: Anson Huang
-
i.MX7D TO1.1 moves DDR retention mode support from SNVS to
IOMUXC_GPR, add support for this change.Signed-off-by: Anson Huang
-
Add emmc support for imx6sx-sdb board, due to this support
need remove sd4 sd card slot and solder an eMMC chip, so
this patch add imx6sx-sdb-emmc.dts file.Signed-off-by: Haibo Chen
-
change the compatibility for i.MX6qp gpmi dts file to distinguish it
from i.MX6qSigned-off-by: Han Xu
-
Add hdcp dts file for imx6qp sabresd board.
Signed-off-by: Sandor Yu
-
The config option for getting DDR type should
be 'HAVE_IMX_MMDC' and 'HAVE_IMX_DDRC'. Otherwise,
get_ddr type will always return 0(DDR3).Signed-off-by: Bai Ping
(cherry picked from commit 6e8048311f854184ae5f16c822e6f6f0fd122e54) -
i.MX6QP SabreSD board HDMI compliance test 7-15 Vcec2 test failed,
the value is 0.403V, which should be 0.274V>Vcec2>0.196V.Disable the pad internal PU resistor, and change the external PU
resistor(R647) from 47K to 100K.
With all the changes, the calculated voltage on CEC is 0.248V, and the
test value is 0.250V.In the patch disable CEC pin internal PULL/Keep function.
Signed-off-by: Sandor Yu
(cherry picked from commit 0a9388ff8ef77778f5e81d8dbc980cacf87fc12b) -
Use different API to fix below issue reported by coverity:
Out-of-bounds access (ARRAY_VS_SINGLETON),
ptr_arith: Using &iram_tlb_phys_addr as an array.
This might corrupt or misinterpret adjacent memory locations.Signed-off-by: Anson Huang
-
1. Add return value check to fix below warning:
check_return: Calling of_property_read_u32 without
checking return value.2. Improve code to fix below warning:
copy_paste_error: i in of_clk_get(dev->of_node, i)
looks like a copy-paste error.Signed-off-by: Anson Huang
-
enable rpmsg on imx6sx platforms
- imx6sx sdb board
- imx6sx sabreauto boardSigned-off-by: Richard Zhu
-
Making those dtb files to be complied by make dtbs command.
Signed-off-by: Zidan Wang
-
Make a double check that m4 is enabled and run on imx7d
Signed-off-by: Richard Zhu
(cherry picked from commit 276fe0947a13c74dad003b0fc3735d389928c1e3) -
M4 root clk shouldn't be turn off when M4 core is running
Signed-off-by: Richard Zhu
(cherry picked from commit 7a3734bd4d4a249d5d3e081fd6b6255da756a841) -
Since the cma setting has been moved to dts file. Add this partation to
7d dtsi to make cma pool building successful on 7d soc.Signed-off-by: Shawn Xiao
-
M4 will use UART2, and RDC is configured that kernel can not
access. If still enable it, kernel will panic.To validation board, disable gpio-keys, since m4 will use volume keys.
Signed-off-by: Peng Fan
(cherry picked from commit ccd54fd2096b8f3443bafd0b86499e1eda027fc9)Conflicts:
arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-m4.dts -
wm8960, hdmi can't be used together for they use same SAI interface.
Which is hardware limitation.Signed-off-by: Shengjiu Wang
(cherry picked from commit 56514bac9745ec263b84adc0479c0c0314902ab9) -
EPDC_DATA14 (can be used as CAN_STBY for flexcan) is also shared with EPDC.
To make EPDC work, need move it from hog pinctrl group to its own pinctrl
group to avoid the conflict.Signed-off-by: Robby Cai