- Jun 18, 2013
-
-
Kevin Hilman authored
Ensure the console uart (UART3) on these boards is mux'd correctly, and IO ring wakeup is enabled. This is needed for serial console wakeups when using DT boot. Thanks to Florian Vaussard for suggestion to use preprocessor features. Cc: Florian Vaussard <florian.vaussard@epfl.ch> Signed-off-by:
Kevin Hilman <khilman@linaro.org> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Sourav Poddar authored
Booting omap5 uevm results in the following error "did not get pins for uart error: -19" This happens because omap5 uevm dts file is not adapted to use uart through pinctrl framework. Populate uart pinctrl data to get rid of the error. Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> [r.sricharan@ti.com: Replaced constants with preprocessor macros] Signed-off-by:
Sricharan R <r.sricharan@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Dan Murphy authored
Add support for blue LED 1 off of GPIO 153. Make the LED a heartbeat LED Configure the MUX for GPIO output. Signed-off-by:
Dan Murphy <dmurphy@ti.com> [r.sricharan@ti.com: Replaced constants with preprocessor macros] Signed-off-by:
Sricharan R <r.sricharan@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Roger Quadros authored
Provide the RESET regulators for the USB PHYs, the USB Host port modes and the PHY devices. Also provide pin multiplexer information for the USB host pins. Signed-off-by:
Roger Quadros <rogerq@ti.com> [r.sricharan@ti.com: Replaced constants with preprocessor macros] Signed-off-by:
Sricharan R <r.sricharan@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Sricharan R authored
The uevm is the only official board supported for the OMAP5 soc in mainline. The existent sevm platform will no more be supported. Hence cleaning up the board dts file to have only the data required for uevm. Renaming the board dts file and adding the following cleanups. * There are no devices connected on I2C 2,3,4 buses. So remove the pinmux data for the same. * OMAP5432 and DDR3 memory is used in the uevm. Temperature polling is not supported with DDR3 memories. Because of DDR3 phy limitation the voltage change across DVFS and all shadow registers for DVFS on DDR3 is not supported. Hence the emif kernel driver is not required, so removing the DDR3 device file and emif nodes for uevm. * Keypad is not supported on uevm. So remove the device node. Signed-off-by:
Sricharan R <r.sricharan@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Florian Vaussard authored
When making the dtbs target on OMAP/AM35xx, some trees are not built. Signed-off-by:
Florian Vaussard <florian.vaussard@epfl.ch> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Florian Vaussard authored
Using constants for pinctrl allows a better readability, and removes redundancy with comments. Signed-off-by:
Florian Vaussard <florian.vaussard@epfl.ch> Tested-by:
Afzal Mohammed <afzal@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Florian Vaussard authored
Use standard GPIO constants to enhance the readability of DT GPIOs. Signed-off-by:
Florian Vaussard <florian.vaussard@epfl.ch> Tested-by:
Afzal Mohammed <afzal@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Florian Vaussard authored
Replace /include/ by #include for AM33XX and AM35XX device tree files, in order to use the C pre-processor, making use of #define features possible. Signed-off-by:
Florian Vaussard <florian.vaussard@epfl.ch> Tested-by:
Afzal Mohammed <afzal@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Afzal Mohammed authored
DT source (minimal) for AM4372 SoC to represent AM43x SoC's. Those represented here are the minimal DT nodes necessary to get kernel booting. In DT nodes, "ti,hwmod" property has not been added, this would be added along with PRCM support for AM43x. Signed-off-by:
Ankur Kishore <a-kishore@ti.com> Signed-off-by:
Afzal Mohammed <afzal@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Dan Murphy authored
Update the dt property ti,audpwron-gpio to use the gpio macro definition for GPIO_ACTIVE_HIGH. Signed-off-by:
Dan Murphy <dmurphy@ti.com> Reviewed-by:
Florian Vaussard <florian.vaussard@epfl.ch> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Dan Murphy authored
The GPIO for LED D1 on the omap4-panda a1-a3 rev and the omap4-panda-es are different. A1-A3 = gpio_wk7 ES = gpio_110 There is no change to LED D2 Abstract away the pinmux and the LED definitions for the two boards into the respective DTS files. Signed-off-by:
Dan Murphy <dmurphy@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Florian Vaussard authored
Using constants for pinctrl allows a better readability, and removes redundancy with comments. Signed-off-by:
Florian Vaussard <florian.vaussard@epfl.ch> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Florian Vaussard authored
Use the constants defined in include/dt-bindings/interrupt-controller/ to enhance readability. Signed-off-by:
Florian Vaussard <florian.vaussard@epfl.ch> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Florian Vaussard authored
Use standard GPIO constants to enhance the readability of DT GPIOs. Signed-off-by:
Florian Vaussard <florian.vaussard@epfl.ch> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Florian Vaussard authored
Replace /include/ by #include for OMAP2+ DT, in order to use the C pre-processor, making use of #define features possible. Signed-off-by:
Florian Vaussard <florian.vaussard@epfl.ch> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Philip Avinash authored
GPMC controller on AM335x-EVM has a NAND flash connected to it. This patch updates following in am335x-evm.dts: - adds nandflash specific pin-mux configs - adds nand node as child of GPMC contoller, with information about NAND flash interface, NAND partition table, ECC scheme, elm handle id. - updates GPMC node for newer GPMC DT properties added in linux-3.10. Signed-off-by:
Philip Avinash <avinashphilip@ti.com> Signed-off-by:
Gupta, Pekon <pekon@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Philip, Avinash authored
ELM hardware engine is used for locating bit-flips in NAND data This patch is required for working of hardware based NAND ECC schemes with DT support. Signed-off-by:
Philip Avinash <avinashphilip@ti.com> Acked-by:
Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by:
Pekon Gupta <pekon@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Javier Martinez Canillas authored
The IGEP COM Module has an 512MB NAND flash memory. Add a device node for this NAND and its partition layout. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Javier Martinez Canillas authored
The IGEPv2 board has an 512MB NAND flash memory. Add a device node for this NAND and its partition layout. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Javier Martinez Canillas authored
The IGEPv2 board has an SMSC LAN9221i ethernet chip connected to the OMAP3 processor though the General-Purpose Memory Controller. This patch adds a device node for the ethernet chip as a GPMC child and all its dependencies (regulators, GPIO and pin muxs). Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Vaibhav Hiremath authored
xdma_event_intr1.clkout2 pad can be used to source clock from either 32K OSC or any of the PLL (except MPU) outputs. On the existing AM335x based boards (EVM, EVM-SK and Bone), this pad is used to feed the clock to audio codes. So, this patch configures the pinmux to get clkout2 on the pad. Signed-off-by:
Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Vaibhav Hiremath authored
Add pin control binding for UART0 device nodes in all board specific DT files. Signed-off-by:
Vaibhav Hiremath <hvaibhav@ti.com> Acked-by:
Matt Porter <mporter@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Vaibhav Hiremath authored
With DT support, where naming convention is based on base-addr and not id, so we should follow TRM/Spec numbering label. This patch changes UART numbering as per TRM, as uart0-5. Signed-off-by:
Vaibhav Hiremath <hvaibhav@ti.com> Acked-by:
Matt Porter <mporter@ti.com> Cc: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Vaibhav Hiremath authored
Now gpio-leds driver is using devm_pinctrl_get_select_default() api to set default pinmux configuration required for the functionality of the driver, so this patch moves respective pinctrl binding inside leds node. Signed-off-by:
Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Vaibhav Hiremath authored
Add pin control binding for I2C device nodes in all board specific DT files (as per current usage), EVM: Both i2c0 and i2c1 EVM-SK and Bone: Only i2c0 Signed-off-by:
Vaibhav Hiremath <hvaibhav@ti.com> Acked-by:
Matt Porter <mporter@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Suman Anna authored
The carveouts that have been reserved for multimedia usecases are not being used currently by any driver and so have been cleaned up. Memory will be allocated runtime through CMA for enabling the multimedia usecases. Signed-off-by:
Suman Anna <s-anna@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
- Jun 06, 2013
-
-
Thomas Petazzoni authored
The ranges DT entry needed by the PCIe controller is defined at the SoC .dtsi level. However, some boards have a NOR flash, and to support it, they need to override the SoC-level ranges property to add an additional range. Since PCIe and NOR support came separately, some boards were not properly changed to include the PCIe range in their ranges property at the .dts level. This commit fixes those platforms. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by:
Jason Cooper <jason@lakedaemon.net>
-
- Jun 05, 2013
-
-
Marc C authored
The previous mask values for the legacy ARM CPU IDs were conflicting with the CPU ID assignments for late-generation CPUs (like the Qualcomm MSM/QSD or Broadcom Brahma-15 processors). This change corrects the legacy ARM CPU ID value so that the jump table can fall-through to the appropriate cache maintenance / MMU functions. Signed-off-by:
Marc C <marc.ceeeee@gmail.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Arnd Bergmann authored
In August 2012, Matthew Gretton-Dann checked a change into binutils labelled "Error on obsolete & warn on deprecated registers", apparently as part of ARMv8 support. Apparently, this was supposed to emit the message "Warning: This coprocessor register access is deprecated in ARMv8" when using certain mcr/mrc instructions and building for ARMv8. Unfortunately, the message that is actually emitted appears to be '(null)', which is less helpful in comparison. Even more unfortunately, this is biting us on every single kernel build with a new gas, because arch/arm/boot/compressed/head.S and some other files in that directory are built with -march=all since kernel commit 80cec14a "[ARM] Add -march=all to assembly file build in arch/arm/boot/compressed" back in v2.6.28. This patch reverts Russell's nice solution and instead marks the head.S file to be built for armv7-a, which fortunately lets us build all instructions in that file without warnings even on the broken binutils. Without this patch, building anything results in: arch/arm/boot/compressed/head.S: Assembler messages: arch/arm/boot/compressed/head.S:565: Warning: (null) arch/arm/boot/compressed/head.S:676: Warning: (null) arch/arm/boot/compressed/head.S:698: Warning: (null) arch/arm/boot/compressed/head.S:722: Warning: (null) arch/arm/boot/compressed/head.S:726: Warning: (null) arch/arm/boot/compressed/head.S:957: Warning: (null) arch/arm/boot/compressed/head.S:996: Warning: (null) arch/arm/boot/compressed/head.S:997: Warning: (null) arch/arm/boot/compressed/head.S:1027: Warning: (null) arch/arm/boot/compressed/head.S:1035: Warning: (null) arch/arm/boot/compressed/head.S:1046: Warning: (null) arch/arm/boot/compressed/head.S:1060: Warning: (null) arch/arm/boot/compressed/head.S:1092: Warning: (null) arch/arm/boot/compressed/head.S:1094: Warning: (null) arch/arm/boot/compressed/head.S:1095: Warning: (null) arch/arm/boot/compressed/head.S:1102: Warning: (null) arch/arm/boot/compressed/head.S:1134: Warning: (null) Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Cc: stable@vger.kernel.org Cc: Matthew Gretton-Dann <matthew.gretton-dann@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Nicolas Pitre authored
Selecting this option produces: AS arch/arm/boot/compressed/debug.o arch/arm/boot/compressed/debug.S:4:33: fatal error: mach/debug-macro.S: No such file or directory compilation terminated. make[3]: *** [arch/arm/boot/compressed/debug.o] Error 1 The semihosting support cannot be modelled into a senduart macro as it requires memory space for argument passing. So the CONFIG_DEBUG_LL_INCLUDE may not have any sensible value and the include directive should be omitted. While at it, let's add proper semihosting output support to the decompressor. Signed-off-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Shawn Guo <shawn.guo@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Jun 03, 2013
-
-
Suman Anna authored
OMAP5 has 6 timers (GPTimers 5, 6, 8 to 11) that are capable of PWM. The PWM capability property is missing from the node definitions of couple of timers. Add ti,timer-pwm attribute for timer 5, 6, 8 and 11. Signed-off-by:
Suman Anna <s-anna@ti.com> [benoit.cousson@linaro.org: Update changelog and subject to highlight the fix] Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Kevin Hilman authored
Earlier commits ensured proper muxing of pins related to proper TWL6030 behavior: see commit 265a2bc8 (ARM: OMAP3: TWL4030: ensure sys_nirq1 is mux'd and wakeup enabled) and commit 1ef43369 (ARM: OMAP4: TWL: mux sys_drm_msecure as output for PMIC). However these only fixed legacy boot and not DT boot. For DT boot, the default mux values need to be set properly in DT. Special thanks to Nishanth Menon for the review and catching some major flaws in earlier versions. Tested on OMAP4430/Panda and OMAP4460/Panda-ES. Cc: Nishanth Menon <nm@ti.com> Cc: Tony Lindgren <tony@atomide.com> Signed-off-by:
Kevin Hilman <khilman@linaro.org> Acked-by:
Grygorii Strashko <grygorii.strashko@ti.com> [benoit.cousson@linaro.org: Slightly change the subject to align board name with file name] Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
Lars Poeschel authored
The gpmc driver is actually looking for "gpmc,num-cs" and "gpmc,num-waitpins" properties in DT. The binding doc also states this. Correct the properties in the dts to provide the right values for the gpmc driver. Signed-off-by:
Lars Poeschel <poeschel@lemonage.de> Acked-by:
Peter Korsgaard <jacmet@sunsite.dk> Acked-by:
Pekon Gupta <pekon@ti.com> Signed-off-by:
Benoit Cousson <benoit.cousson@linaro.org>
-
- Jun 02, 2013
-
-
Jongsung Kim authored
Stephen Warren reported the recent commit 78506f22 (add support for extended FIFO-size of PL011-r1p5) breaks the serial port on the BCM2835 ARM SoC. A UART compatible with the ARM PL011-r1p5 should have 32-deep FIFOs. The BCM2835 UART just looks like an ARM PL011-r1p5, but has 16-deep FIFOs just like PL011-r1p4 or earlier revisions. As a workaround for this compatibility issue, this patch overrides the HW UART periphid register values with the actually compatible UART periphid 0x00241011 (r1p3 or r1p4). Reported-by:
Stephen Warren <swarren@wwwdotorg.org> Signed-off-by:
Jongsung Kim <neidhard.kim@lge.com> Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- May 24, 2013
-
-
Boris Brezillon authored
The PA24 pin is wrongly assigned to peripheral B. In the current config there is 2 ETX3 pins (PA11 and PA24) and no ETXER pin (PA22). Signed-off-by:
Boris BREZILLON <b.brezillon@overkiz.com> Signed-off-by:
Nicolas Ferre <nicolas.ferre@atmel.com> Cc: stable <stable@vger.kernel.org> # 3.8+
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by:
Nicolas Ferre <nicolas.ferre@atmel.com>
-
Jonas Andersson authored
The CSPI controller has only one clock, but the driver spi-imx.c needs clock "per" to calculate bitrate divisor. Signed-off-by:
Jonas Andersson <jonas@microbit.se> Acked-by:
Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-
- May 21, 2013
-
-
Linus Walleij authored
The assignment of IRQ for the SMC91x ethernet adapter had two problems making it non-working: - It was not put into the ethernet device node. Let's do this by using the board-specific overlay, so we can make other overlays on other Nomadik boards. - The IRQ number was actually completely wrong, this was the number for NHK8815, not S8815. After this ethernet starts working on the USB S8815. Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- May 20, 2013
-
-
Gregory CLEMENT authored
During the conversion to the internal-regs' subnode, the L2-cache node haven not been converted (due to a wrong choice made by myself during the resolution of the merge conflict when I rebased the commit). This leads to wrong address for L2 cache which prevent it to be used on Armada 370. This commit fix the address reg of the e L2-cache node. Signed-off-by:
Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by:
Jason Cooper <jason@lakedaemon.net>
-