Age | Commit message (Collapse) | Author |
|
Upstream modified imx7s.dtsi pwm to have #pwm-cells = <3> so now our
out-of-tree boards need to be modified to use 3 cells.
See commit 9be48d2d9881 ("ARM: dts: imx7: use 3 PWM cells")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Review-by: Liu Ying <victor.liu@nxp.com>
|
|
These devices are enabled on imx_4.1.y, enable them on imx_4.9.y as
well.
Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
|
|
The Linux kernel regulator core implementation does not accept negative
voltage values; all negative values are treated as errors.
The problem with the EPDC is that the panel uses a negative voltage
regulator which fails to be enabled by the regulator core. This issue has
slipped up until the 4.9 rebase because the voltage range [min, max] was
checked against only when min = max. This has been fixed in 4.9, resulting
in errors in the VCOM regulator driver.
The fix is to use the negative values when communicating with the hardware,
but send only positive values to the regulator core.
This patch sends the absolute value to the regulator core and transforms
the received value (from the regulator core) to negative one before sending
it to hardware.
Fix device tree to deal with negative voltage regulator values by setting
min_value = -real_max_value and vice versa. Boards affected:
- imx6dl-sabresd
- imx6ull-14x14-ddr3-arm2
- imx7d-12x12-lpddr3-arm2
- imx7d-sdb
- imx6sll-evk
- imx6sl-evk
- imx6sll-lpddr3-arm2
Signed-off-by: Cristina Ciocan <cristina-mihaela.ciocan@nxp.com>
|
|
PAD_GPIO1_IO01 bit[31:7] are reserved, remove the setting mapping to
this reserved field.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
|
|
Add pinctrls for usbotg1 and usbotg2 vbus control. This missing keeps
the vbus enable pin is high after power up, so vbus is on and otg port
will not enter suspend in device mode, as active usb port has high
bus freq requested, this prevents system enter low bus freq.
Signed-off-by: Li Jun <jun.li@nxp.com>
|
|
add lpsr mode state for flexcan pins
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
|
|
The pwm1's pin belongs to lpsr iomux. So this should
be corrected.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
|
|
Add ADC support for imx7d-12x12-lpddr3-arm2 board.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
(cherry picked from commit 8ed7b52849feced89e8ddcbea49ec7426fa4d8bf)
|
|
Add spi1 IOMUX sleep state in imx7d-12x12-lpddr3-arm2.dts.
Signed-off-by: Gao Pan <pandy.gao@nxp.com>
|
|
dts file
The sim1 has pin conflicts with flexcan1,flexcan2 and sai1.
By default, imx7d 12x12 lpddr3 arm2 default dts enable sim1 node
and disable flexcan1, flexcan2, sai1 nodes.
The patch do two things:
- disable sim1 node in extended flexcan dts file
- remove redundant sim1 node in default dts file
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
Moving fsl,tuning-step property into SoC.dtsi due to it's mainly SoC
dependant. User could also overwrite it in board.dts for special board
requirment.
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
|
|
We move WDOG_B pinctrl setting from pinctrl_hog to wdog driver, so need to
remove the original setting in pinctl_hog device node, otherwise the below
warning message will be caught:
[ 1.284161] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_LCD_RESET already requested by 20e0000.iomuxc; cannot claim for 20bc000.wdog
[ 1.294990] imx6ul-pinctrl 20e0000.iomuxc: pin-69 (20bc000.wdog) status -22
[ 1.300689] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 69 (MX6UL_PAD_LCD_RESET) from group wdoggrp on device 20e0000.iomuxc
[ 1.311550] imx2-wdt 20bc000.wdog: Error applying setting, reverse things back
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Update max voltage of SW1A to 3.3V on PF3000, see below datasheet:
http://cache.freescale.com/files/analog/doc/data_sheet/PF3000.pdf?fsrch=1&sr=1&pageNum=1
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit 5cd7d3c5933b052b899183a45fa4be8cdb2a0c69)
|
|
Add i2c IOMUX sleep state for imx7d-12x12-lpddr3-arm2.
Signed-off-by: Gao Pan <b54642@freescale.com>
|
|
system entered suspend mode. 100%
The 'backlight' and 'pwm1' are disabled due to the lpsr mode
not ready in the previous patch in the imx7d-12x12-lpddr3-arm2
dts. So they should be enabled again after lpsr ready.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
|
|
enable v4l2 output feature on i.MX7D 12x12 LPDDR3 ARM2 board.
Signed-off-by: Robby Cai <r63905@freescale.com>
|
|
pfuze3000
Add 'fsl,lpsr-mode' property to support LPSR mode on arm2 board.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Enabled lcdif and pxp as lpsr mode is supported.
Signed-off-by: Robby Cai <r63905@freescale.com>
|
|
Add lpsr mode for lcdif
Signed-off-by: Robby Cai <r63905@freescale.com>
|
|
SIM1 IOMUX is changed into reset state in LPSR mode. This patch
adds sim1 IOMUX sleep state in dts for IOMUX restoring.
Signed-off-by: Gao Pan <b54642@freescale.com>
|
|
It doesn't need to do any changes when using lpsr mode for USB.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Signed-off-by: Robin Gong <b38343@freescale.com>
Signed-off-by: Han Xu <b45815@freescale.com>
Also squashed the following:
MLK-11409-1: ARM: dts: imx7d-12x12-lpddr3-arm2.dts
Restore pinhogs after exit from lpsr mode.
It otherwise didn't build
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
|
|
mipi pins conflict with ecspi1 on i.MX7D 12x12 lpddr3 ARM2 board, manage
the mipi pins in a individual group to solve the issue.
Signed-off-by: Han Xu <b45815@freescale.com>
|
|
Add property "fsl,enable-lpsr" to enable lpsr mode by default,
when this property is set, DSM mode will go into LPSR mode.
As many modules save/restore is NOT ready, to make tiny
kernel enter/exit LPSR mode work, only enable those
necessary modules for now.
Other modules will be enabled after their drivers are
ready to support LPSR mode.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
non GPIO function before lpsr suspend
It's hardware issue that if there are interrupts in GPIO1, the system
will not enter lpsr suspend state.
gpio1_12 pin is used as headphone detect pin for wm8958 sound card. If
headphone is not plugged in, the gpio1_12 pin is high level. When lpsr
suspend without headphone plugged in, gpio will be powered down and
there will be a interrupt in the gpio1_12 pin.
So we should avoid thus interrupt. We fix this issue by configuring
gpio1_12 pin to non GPIO function before lpsr suspend.
Because ALSA will set SAI pins to sleep state before suspend, and will
not set them to default state after resume if cpu dai is not active. So
we'd better remove non SAI pins from SAI pin group, and let iomuxc to
control the gpio pin state.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit b3e988b838388f901d471a6938d0fb67b9bcad3b)
Conflicts:
arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts
|
|
New dts file imx7d-12x12-lpddr3-arm2-flexcan.dts introduced due to pin conflict
with enet1 and sai1.
Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
|
|
add gpio keys.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Add pinctrl sleep mode support for usdhc, and enable usdhc in lpsr mode.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
(cherry picked from commit 75b33d1a578abaed44b11a05187c19dedb25aad2)
Conflicts:
arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts
|
|
Add epdc support on i.MX7D 12x12 LPDDR3 ARM2 board
Signed-off-by: Robby Cai <r63905@freescale.com>
|
|
Add hs400 support for usdhc3 and add sd3.0 support for usdhc2.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
|
|
enable pcie support on imx7d platforms.
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
|
|
Enable uart3 for bt in lpsr mode.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
add mqs sound card support
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
|
|
add sai<->WM8958 sound card support
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
|
|
Add mipi dsi dts support for imx7d-12x12-lpddr3-arm2 board.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
|
|
- Add iomuxc lpsr pad settings, move pinctrl_usbotg1_vbus and
pinctrl_usbotg2_vbus to iomuxc lpsr domain.
Signed-off-by: Adrian Alonso <aalonso@freescale.com>
Fixed for LPSR rename in 4.14
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
|
|
Add uart3 node and BT reg on pin config.
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit: 76a0d0595a15346ec954c14e0d4f777d218c0b15)
|
|
Enable fec1 and fec2 for lpsr mode.
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit: 1fe7e098efc52abecdd3cf4a2ed8add5582393dc)
|
|
Enable epxp in device node by default on imx7d-12x12-lpddr3-arm2
board.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
|
|
Add dts support for sim1 on imx_4.1.y branch.
Signed-off-by: Gao Pan <b54642@freescale.com>
|
|
To achieve low power, debug uart clk should be from OSC, so that
it does NOT need to keep PLL on, especially for low power idle
case.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Enable ecspi dtb for imx7d-12x12-lpddr3-arm2 board.
Signed-off-by: Robin Gong <b38343@freescale.com>
|
|
Add dts support for pxp-v4l2-output module for
imx7d-12x12-lpddr3 board.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
|
|
device tree
cd-gpios polarity should be changed to GPIO_ACTIVE_LOW and wp-gpios
should be changed to GPIO_ACTIVE_HIGH.
Otherwise, the SD may not work properly due to wrong polarity inversion
specified in DT after switch to common parsing function mmc_of_parse().
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
|
|
Correct the lcdif pinctrl settings to make it work
correctly.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
|
|
Disable all otg features for otg1 port of imx7d-12x12-lpddr3-arm2 board, then
the otg port can only do role swtich by ID pin state.
Signed-off-by: Li Jun <jun.li@freescale.com>
(cherry picked from commit 8d19fb5979522032cf4d96909d609aceac0dde85)
|
|
Enable usbotg1 and usbotg2
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Fixed pinctrl during 4.14 rebase for upstream LPSR rename.
Also it should be _GPIO1_IO05__GPIO1_IO5 not _GPIO1_IO05__GPIO5_IO5.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
|
|
cpu node
Signed-off-by: Bai Ping <b51503@freescale.com>
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
|
|
Add dts support for pwm backlight on imx_4.1.y branch.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
|
|
Add dts support for lcdif on imx_4.1.y branch.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
|