Age | Commit message (Collapse) | Author |
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Copy operating points from imx7d.dtsi removing unsupported 1.2 ghz one.
This fixes the following run time error:
[ 2.002793] DCDC2: unsupportable voltage range: 1225000-1100000uV
[ 2.010618] DCDC2: unsupportable voltage range: 1225000-1100000uV
[ 2.018391] cpu cpu0: failed to scale vddarm up: -22
[ 2.025083] cpufreq: __target_index: Failed to change cpu frequency: -22
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Add mandatory 800 MHz operating point without which the system will
freeze upon entering user space during boot.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Add support for Aster Carrier Board with Colibri iMX6.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add a new pin group just for GPIO5_IO04 pin at the module level.
Add this new group to pinctrl-0 in iomuxc by default at module level
and overwrite it at Aster carrier board level without new pingroup.
This is required so this pin is muxed as GPIO at module level but
can be used by SPI driver as chip select for Aster carrier board on
RPi header X20.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
toradex_4.1-2.0.x-imx-next
Conflicts:
arch/arm/boot/dts/imx7d.dtsi
arch/arm/mach-imx/busfreq-imx.c
arch/arm/mach-imx/imx_rpmsg.c
drivers/mmc/host/sdhci-esdhc-imx.c
Parts moved to:
arch/arm/boot/dts/imx7s.dtsi
Note: This also includes NXP's latest rel_imx_4.1.15_2.1.0_ga.
|
|
The USDHC instance 1 is powered with a separate rail. This
allows to switch voltage of the SD card signals for higher
speed modes such as UHS-I. The reset state of that rail is
enabled and 3.3V.
Revision before Colibri iMX7S V1.1C and iMX7D V1.1D had
that rail connected to +3.3V rail switchable with a PMIC
GPIO which turned out to be not controllable in regular
run mode and to LDO2.
Colibri iMX7S V1.1C and iMX7D V1.1D and later connect it
to the PMIC LDO2 only, which allows to control the voltage
directly.
This change explicitly assigning the PMIC regulator which
allows the SDHC driver code to control the SD card voltage
and hence negotiate higher speeds for SD cards capable of
UHS-I or later. Note that the carrier board device tree
needs to be adjusted too (see comments at the usdhc1 node)
and the carrier board should have no pull-ups populated.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add support for Aster Carrier Board with Colibri iMX7.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Add a new hoggrp just for GPIO4_IO23 pin at the module level.
Add this new group to pinctrl-0 in iomuxc by default at module
level and overwrite it at Aster carrier board level without the
new hoggrp-6. This is required so this pin is muxed as GPIO at
module level but can be used by SPI driver as chip select for
Aster carrier board on RPi header X20.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Linux 4.1.41
* tag 'v4.1.41': (473 commits)
Linux 4.1.41
mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
xc2028: Fix use-after-free bug properly
iio: proximity: as3935: fix as3935_write
ipx: call ipxitf_put() in ioctl error path
sched/fair: Initialize throttle_count for new task-groups lazily
sched/fair: Do not announce throttled next buddy in dequeue_task_fair()
iio: dac: ad7303: fix channel description
mwifiex: pcie: fix cmd_buf use-after-free in remove/reset
rtlwifi: rtl8821ae: setup 8812ae RFE according to device type
ARM: tegra: paz00: Mark panel regulator as enabled on boot
fs/xattr.c: zero out memory copied to userspace in getxattr
vfio/type1: Remove locked page accounting workqueue
crypto: algif_aead - Require setkey before accept(2)
staging: gdm724x: gdm_mux: fix use-after-free on module unload
drm/ttm: fix use-after-free races in vm fault handling
f2fs: sanity check segment count
ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf
ipv6: initialize route null entry in addrconf_init()
rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
...
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
* imx/imx_4.1.15_2.0.0_ga: (157 commits)
MLK-14762 ARM: dts: imx6sll-evk: correct gpio pin for lcd power control
MLK-14285-3 usb: phy: mxs: optimize disconnect line condition
MLK-14285-2 usb: chipidea: set mode for usb phy driver
MLK-14285-1 usb: phy: add usb mode for usb_phy
MLK-14747 driver: cpufreq: Correct dc regulator voltage on imx6ull
MLK-14720 epdc: correct WFE setting when bypass legacy process
MLK-13801-02 ARM: dts: Correct the gpt timer clock source on imx6ul/ull/sll
MLK-13801-01 ARM: imx: add gpt_3m clock on imx6sll
MLK-14680 pxp/epdc: add LUT cancellation feature
MLK-14518-2 pxp: set data path for pxp after reset
MLK-14518-1 pxp: initialize pxp according to recommended flow
MLK-14516 epdc: bypass pxp legacy process when there's no transformation
MLK-14369 epdc: sync LUT status to PXP before enable collision detection
MLK-13198 pxp: imx7d: fix error histogram status report issue
MLK-13917 pxp: fix build error for pxp library in user space
MLK-13862-2 epdc/pxp: imx6ull/imx6sll: enhance the LUT cleanup flow to avoid stalling display
MLK-13862-1 epdc/pxp: imx7d: enhance the LUT cleanup flow to avoid stalling display
MLK-14697 ARM: dts: imx: update the setpoint data of imx6sll
MXSCM-266 arm: dts: increase lpddr2 voltage to 1.25V
MXSCM-265: dts: place imx6sxscm dtb files under CONFIG_SOC_IMX6SX
...
|
|
[ Upstream commit 0c18927f51f4d390abdcf385bff5f995407ee732 ]
Current U-Boot enables the display already. Marking the regulator as
enabled on boot fixes sporadic panel initialization failures.
Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Tested-by: Misha Komarovskiy <zombah@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
|
|
The i.MX 7Solo SoCs are only rated up to 800MHz. Specify higher
operating points only in the i.MX 7Dual base device tree.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
[ Upstream commit d8581c7c8be172dac156a19d261f988a72ce596f ]
The board file for imx6sx-sdb overrides cpufreq operating points to use
higher voltages. This is done because the board has a shared rail for
VDD_ARM_IN and VDD_SOC_IN and when using LDO bypass the shared voltage
needs to be a value suitable for both ARM and SOC.
This only applies to LDO bypass mode, a feature not present in upstream.
When LDOs are enabled the effect is to use higher voltages than necessary
for no good reason.
Setting these higher voltages can make some boards fail to boot with ugly
semi-random crashes reminiscent of memory corruption. These failures only
happen on board rev. C, rev. B is reported to still work.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Fixes: 54183bd7f766 ("ARM: imx6sx-sdb: add revb board and make it default")
Cc: stable@vger.kernel.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
|
|
[ Upstream commit 1dd58e12dfd037edfa75825bb719031dec822a73 ]
imx6sx-sdb has custom operating points entries because it has one
power supply that drives both VDDARM_IN and VDDSOC_IN.
As per the MX6UL datasheet we have the following minimum voltages for
198 MHz operation (after adding the 25mV margin value):
VDDARM_IN = 0.975 V
VDDSOC_IN = 1.175 V
So use 1.175V for the 198MHz operation.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
|
|
Add CSI 5MP OV5640 Camera module support
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Enable ADV7280 decoder on Ixora. This somehow got missed when
ADV7280 support was introduced.
ADV7280 and ADV7180 have same addresses viz. 0x21 respectively,
changing the ADV7280 address to 0x20 would result in a conflict
with MAX9526. As a result enable ADV7280 by default and disable
ADV7180.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add support for Toradex Ixora V1.1 carrier board.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Split the pinctrl property for usdhc1 into a 4bit SD interface
and an extension to 8bit. This is required to support the 8 bit
MMC interface on the Evaluation Board for usdhc1 and the 4 bit
SD interface on Ixora V1.1 for usdhc1.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With the backport of 940adb280d23512965409c1fd6b42cc796ce6eb8 the
internal VDDD LDO is no longer unconditionally switched on.
In all Toradex modules which use the sgtl5000 VDDD is supplied
from an external source and thus the internal regulator can be
left in its off state.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
With the backport of 940adb280d23512965409c1fd6b42cc796ce6eb8 the
internal VDDD LDO is no longer unconditionally switched on.
In all Toradex modules which use the sgtl5000 VDDD is supplied
from an external source and thus the internal regulator can be
left in its off state.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Use the newly added "lrclk-strength" property to fix occational
channel swap on audio start.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This reverts commit ba2f75f559bc54406e8938ab5be722298fe7166c.
revert this to get be able to cherry-pick the mainlined patch
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Some pads are part of two pingroup nodes both added to the iomuxc
pinctrl-0. Clean that up, so that
- weim_gpio-2 only contains the pads which one might mux for
a 24bit display interface instead of gpio.
- weim_gpio-6 only contains the pads which one might mux for
flexcan2.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
[ Upstream commit d3df1ec06353e51fc44563d2e7e18d42811af290 ]
Remove ADC channels that are not available by default on the sama5d3_xplained
board (resistor not populated) in order to not create confusion.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: <stable@vger.kernel.org> # 3.16+
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
|
|
[ Upstream commit 9cdd31e5913c1f86dce7e201b086155b3f24896b ]
The voltage reference for the ADC is not 3V but 3.3V since it is connected to
VDDANA.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: <stable@vger.kernel.org> # 3.16+
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
|
|
[ Upstream commit ef8d02d4a2c36f7a93e74c95a9c419353b310117 ]
Enable DMA on usart3 to get a more reliable console. This is especially
useful for automation and kernelci were a kernel with PROVE_LOCKING enabled
is quite susceptible to character loss, resulting in tests failure.
Cc: stable <stable@vger.kernel.org> #v4.1+
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
|
|
EVK board uses KEY_ROW5 pin to control lcd power, which is
different from ARM2 board. This patch fixed it.
Signed-off-by: Robby Cai <robby.cai@nxp.com>
(cherry picked from commit d6a37c7bfe6e2a7de310bf332fc78a4646d319f1)
|
|
The GPT timer counter clock should be sourced from GPT_3M clock to avoid
counter clock frequency changed due to system bus clock changes.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
(cherry picked from commit 3f85257a0ab3471f2574d5a34a311d4ef4483f7d)
|
|
According to the latest datasheet(Rev.0 4/2017), The voltage of
996MHz should be updated to 1.23V. For NXP's Pfuze PMIC chip, the
minimum voltage step is 25mV, we need to set the voltage of 996MHz
to 1.25V. In order to cover board tolerance and IR drop, we add
25mV margin. Then the 996MHz setpoint voltage is 1.275V.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
(cherry picked from commit 4d40b3a6149e53f60f3cc6a14da1f2ffc55efb8e)
|
|
Use the newly added "lrclk-strength" property to fix occational
channel swap on audio start.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Colibri iMX7S V1.1B and later use a newer SoC tape-out which have
the RTC issue resolved. Hence re-enable the internal RTC for
Colibri iMX7S devices.
This reverts commit 77662b82e2eff7da9f56e1b32b4222b3dbf989e9.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Toradex Carrier boards use the ST M41T0 RTC (not M41T00). The RTC
is almost the same, but the M41T0 needs some special handling in
case the oscillator fails. Now that support for this difference is
available, using the new compatible string to make use of it.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Move the gpio-bl-on node under the ipu function node to prevent the following
boot error messages:
[ 0.134945] imx6q-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/gpio-bl-on
[ 0.387613] imx6q-pinctrl 20e0000.iomuxc: unable to find group for node gpio-bl-on
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Move the gpio-bl-on node under the ipu function node to prevent the following
boot error messages:
[ 0.122672] imx6dl-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/gpio-bl-on
[ 0.298165] imx6dl-pinctrl 20e0000.iomuxc: unable to find group for node gpio-bl-on
Delete the pin from its former gpio pincontrol so that it can be used from
the backlight node.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
By convention, the node name uses the address (specified by the reg
property) appended to the node name. Follow this convention in SPI
nodes too.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The Standard Colibri pin for Client/Host detection USBC_DET
(SODIMM pin 137) is multiplexed on the module with USB_OTG1_VBUS.
The USB_OTG1_VBUS pad seems to be pulled low by default and not
controllable through pinctrl. When the pin is unconnected on the
Carrier board, the pin is at a intermediate voltage level which is
not ideal. Pull-down the pin to make sure that the pin is at a
defined state by default (low, USB host).
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The Cortex-M4 clock is used in the busfreq driver to determine
whether a high bus frequency is required for the Cortex-M4 core.
This follows the design used on i.MX 6SoloX.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Use round voltages as it is common in other device trees. Also
fix wrong voltage of PWR_EN_+V3.3 rail. The error had no noticeable
effect since no customer explicitly requested a specific voltage.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The regulator-always-on property on the Ethernet rail prevents Linux
from disabling the rail when Ethernet is shut down (suspend or simply
link down). With this change the regulator framework will disable the
rail when the Ethernet PHY is not used, saving power especially on
carrier board not using Ethernet.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add sleep state for ENET pins to avoid pull-ups back-feeding the
Ethernet rail through the PHY.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The logic to enable USB power is part of the carrier board and
might differ depending on the carrier board design. Introduce basic
fixed regulators for power input and move the USB power enable
regulator to the carrier board device tree.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Introduce module level input regulators to better reflect the
real world power design. Also use correct rails for ADC/SGTL5000.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The two pinctrl settings for reset MOCI and eMMC reset do not get
applied currently because pinctrl settings need to be in the top
level of a device tree node. Move the settings to the respective
device tree nodes.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Use pwm-backlight driver 'enable-gpios' property for backlight
on/off control.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Use pwm-backlight driver 'enable-gpios' property for backlight
on/off control.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Commit 5fd79049c122bd0f7bd906f676d3b8d65765a280 added _LPSR to all iomux
pin names which are controlled by the lpsr iomux.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
|