23 Feb, 2017
40 commits
-
Porting mxsfb driver to imx_4.1.y branch.
Signed-off-by: Fancy Fang
-
Add dts support for pwm backlight on imx_4.1.y branch.
Signed-off-by: Fancy Fang
-
Add dts support for lcdif on imx_4.1.y branch.
Signed-off-by: Fancy Fang
-
Add dts support for pwm backlight on imx_4.1.y branch.
Signed-off-by: Fancy Fang
-
Add enet MAC address init.
The patch is merged from commit: 67cfceab0b77e887910f11dda13ab3a98bb0d87a
Signed-off-by: Fugang Duan
-
Enable the i.MX6UL SOC support in the defconfig file.
Signed-off-by: Bai Ping
-
Add basic pm suspend/resume support for i.MX6UL.
Signed-off-by: Bai Ping
-
Add gpt-timer for i.MX6UL SOC.
Signed-off-by: Bai Ping
-
Add i.MX6UL board support dts file for boards:
* imx6ul-14X14-evk.dts
* imx6ul-14x14-ddr3-arm2.dtsSigned-off-by: Ye.Li
Signed-off-by: Bai Ping
[Octavian: merge with upstream, prefer upstrem in case of conflict]
Signed-off-by: Octavian Purdila -
Add i.MX6UL SOC dtsi file.
Signed-off-by: Anson Huang
Signed-off-by: Bai Ping
[Octavian: merge 4.1.y into upstream keeping upstream values where values are different]
Signed-off-by: Octavian Purdila -
For some platform such as imx7D SDB, one pin of 74x164 to
control all peripheral power supply(PERI_3V_EN).
The pin should keep in high voltage level when 74x164 loading,
otherwise the module depend on PERI_3V3 will lose power.
So add new property registers-default into 74x164 driver.Signed-off-by: Sandor Yu
Signed-off-by: Fugang Duan
(cherry picked from commit: 61fe7af7e47dd8bf6acc91ceabd9e660d28de28a) -
The pca953x type of devices, e.g. max7310, may have a reset which needs
to be handled to get the device start working. Add a device_reset()
call for that, and defer the probe if the reset controller for that is
not ready yet.Signed-off-by: Shawn Guo
Signed-off-by: Fugang Duan
(cherry picked from commit: d3264091b30b777d94a18efda9823a06668d5b10) -
Enable CONFIG_SPI_GPIO and CONFIG_GPIO_74X164 to imx_v7_defconfig.
Signed-off-by: Sandor Yu
Signed-off-by: Fugang Duan
(cherry picked from commit: a551a35455d14d265ce7aeb4a0e6081303f43fec) -
-74LV595 function compatible with 74HC595, add 74HC595
driver into imx7d sdb dts.
-74LV595 register as a GPIO device and access 74LV595 chip
by SPI GPIO, so add spi_gpio driver into imx7 sdb dts.Signed-off-by: Sandor Yu
igned-off-by: Fugang Duan
(cherry picked from commit: 61fe7af7e47dd8bf6acc91ceabd9e660d28de28a) -
Init ENET RGMII tx clock source, set GPR5[9] to select clock from
internal PLL_enet. And set phy VDDIO to 1.8V that get better signal
quality.Signed-off-by: Fugang Duan
(cherry picked from commit: d7a171fcf5218166f558428610ca8e9cb9f7e830) -
The enet clock define is changed as there has no "enet_ref" clock name.
If the tx_clk is sourced from SOC anatop PLL, user define the clock id
in devicetree. So we only to judge the ptp clock valid and then set the
related GPR bit.Signed-off-by: Fugang Duan
(cherry picked from commit: 01ed2a839d9b76ccb4113dc2a04af4a33b33de22) -
Disable ethernet phy AR8031 EEE mode in default to reduce the IEEE1588
latency.Signed-off-by: Fugang Duan
-
Enet get MAC address order:
From module parameters or kernel command line -> device tree ->
pfuse -> mac registers set by bootloader -> random mac address.When there have no "fec.macaddr" parameters set in kernel command
line, enet driver get MAC address from device tree. And then if
the MAC address set in device tree and is valid, enet driver get
MAC address from device tree. Otherwise,enet get MAarch/arm/mach-imx
/mach-imx6q.cC address from
pfuse. So, in the condition, update the MAC address (read from pfuse)
to device tree.Cherry-pick & Merge patches from:
149ac988a25b8d8eb86d05679cbb7b42819ff7a1 &
3269e5c06bdb2f7ab9bd5afa9bbfe46d872197d3Signed-off-by: Fugang Duan
-
Add enet1, enet2, i2c1~4, max7322 support.
Signed-off-by: Fugang Duan
-
Support ±2g/±4g/±8g dynamically selection for motion sensor fxls8471.
Set the sensor mode to standby mode before changing the scale range
with the command "echo 0 > enable". The scale range can be changed
with the command "echo 0/1/2 > range".Signed-off-by: Gao Pan
Signed-off-by: Fugang Duan
(cherry picked from commit: 6824cff93d368eafbf96c71fad541f9bc2502e3a) -
Support ±2g/±4g/±8g dynamically selection for motion sensor fxos8700.
Set the sensor mode to standby mode before changing the scale range
with the command "echo 0 > enable". The scale range can be changed
with the command "echo 0/1/2 > range".Signed-off-by: Gao Pan
Signed-off-by: Fugang Duan
(cherry picked from commit: 74c9af0a5806fb5c926ffdab3145fc1680fc87e6) -
Enable fxls8471 in defconfig.
Signed-off-by: Gao Pan
Signed-off-by: Fugang Duan
(cherry picked from commit: 692ff04d68f953d4534f27c6c4529e46b1a48518) -
Add Freescale fxls8471 motion sensor.
Signed-off-by: Gao Pan
Signed-off-by: Fugang Duan
(cherry picked from commit: 20cfe2d9d9305559e35fe2e508d5a70b057ffc70) -
The i2c irq is masked when pcie starts a i2c transfer process
during noirq suspend stage. As a result, i2c transfer fails.
To solve the problem, IRQF_NO_SUSPEND is added to i2c bus.Signed-off-by: Gao Pan
Signed-off-by: Fugang Duan
(cherrt picked from commit: ab13b0e11c50021905de00a0f3c0df7e0a36a3f0) -
Enable mpl3115,fxas2100x and fxos8700 sensors in defconfig.
Signed-off-by: Fugang Duan
(cherry picked from commit: 275be06ee31ffd0b9c2c12fb7e563a6b060bf5a2) -
Add Freescale MPL3115 pressure temperature sensor.
Signed-off-by: Fugang Duan
(cherry picked from commit: a8c2904a442e1aa163b8562e1a940c8755ab3898) -
Add Freescale FXOS8700 6-Axis Acc and Mag Combo Sensor
Signed-off-by: Fugang Duan
(cherry picked from commit: c0ca56bbf3f8503a858d15bb14f27652ae6612eb) -
Add Freescale FXAS2100X gyroscope sensor
Signed-off-by: Fugang Duan
(cherry picked from commit: 34a99f00d4886f95a8cf8cd4acbf37a82c67e46c) -
Enable mag3110 driver in default config.
Signed-off-by: Luwei Zhou
Signed-off-by: Fugang Duan
(cherry picked from commit: ac43097186e94d5ecfdbc3c6a514aa20e5a7f8ca) -
Use global variable instead of macro "MAG3110_IRQ_USED" that is more
flexible.Signed-off-by: Fugang Duan
-
Add mag3110 driver support for i.MX6Q/DL/SX platform. The code derives from 3.10.y branch.
Signed-off-by: Luwei Zhou
Signed-off-by: Fugang Duan
(cherry picked from commit: dd027baab7652c62d26f1749f334099e4dbe61c9) -
- Add i2c1,2,3,4 bus support for i.MX7d-sdb board (i2c4 bus need to
rework: swap R485 and R33).
- Add i2c device PMIC support.Signed-off-by: Fugang Duan
(cherry picked from commit: 45acb911f7192fcc574f1e0faaf19513b9879046) -
Add fec1, fec2 support for i.MX7d-sdb board.
Signed-off-by: Fugang Duan
-
Add ksz8081 resume function since the phy has some non-standard
register init process that has some fixup.Signed-off-by: Fugang Duan
(cherry picked from commit: 65c6e997b8e020b9e87d1af23c94c15c13e3d2e3) -
Enable CONFIG_MICREL_PHY for MICREL PHY since i.MX6ul boards install
micrel ksz8081 phy.Signed-off-by: Fugang Duan
(cherry picked from commit: 626d87758e1724ff92708da11e8af0081bb69ce9) -
Enable max7322 extention gpio driver in config
Signed-off-by: Fugang Duan
Signed-off-by: Luwei Zhou
(cherry picked from commit: 575b7e4c2f85b08fb09d6a639adb404718b9b644) -
Add mii bus up_failed flag to reflect the real mii bus status.
Signed-off-by: Fugang Duan
Reported-and-tested-by: Zhang Sanshan
(cherry picked from commit: ea348e597501d44841a28d8ee099361e89d63520) -
The current driver support stop mode by calling machine api.
The patch add dts support to set gpr register for stop request.After magic pattern comming during system suspend status, system will
be waked up, and irq handler will be running, there have enet register
access. Since all clocks are disabled in suspend, and clocks are enabled
after resume function. But irq handler run before resume function.For imx7d chip, access register need some clocks enabled, otherwise system
hang. So the patch also disable wake up irq in the suspend, after resume
back enable the irq, which can avoid system hang issue.Signed-off-by: Fugang Duan
(cherry pick and merge from commit: 8da4f80af0913781a4f9d50917c1dd66180e519d) -
i.MX6UL enet is the lite edition of i.MX6Q enet,
don't support Gbps mode.Signed-off-by: Fugang Duan
(cherry picked from commit: 32a2c3878322d8322a29c52af18de7707134ca1c) -
i.MX6SX-AI board has two enet MACs (MAC0 and MAC1), they share MAC0 MII
bus. When PHY0 don't connect to enet MAC0, MAC0 mii bus probe phy0 failed,
and the net interface is set to unattach mode. During suspend resume test,
driver don't reinit MAC0 after resume back, so MII bus don't work that causes
MAC1 also cannot access PHY1.The patch just is workaround that reinit MAC0 MII bus for MAC1 using.
Signed-off-by: Fugang Duan
(cherry picked from commit: b730adeef4f9b44e302c793cbef35ea74f24fbef)