summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ARM: mxs: m28evk: Disable OCOTP OUI loadingMarek Vasut2012-09-191-2/+0
| | | | | | | | | | | Don't load the FEC MAC address from OCOTP, but use the one supplied via device tree by U-Boot. This is the preferred way, every DT-capable bootloader does set up "mac-address" and "local-mac-address" properties into the DT passed to the kernel. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* ARM: dts: imx23-olinuxino: Add USB host supportFabio Estevam2012-09-191-0/+26
| | | | | | | Add USB host support. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* ARM: dts: mx23: Add USB resourcesFabio Estevam2012-09-171-2/+8
| | | | | | | Add USB resources for mx23. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* ARM: dts: mxs: Add ethernetX to macX aliasesMarek Vasut2012-09-171-0/+2
| | | | | | | | | | | | | Add ethernet0 and ethernet1 aliases into the imx28.dtsi file, as that is what most bootloaders use to pass MAC address. The bootloader seeks for this alias and adds "mac-address" and "local-mac-address" properties to the aliased node. This fixes issues with FEC having NULL MAC address when update_fec_mac_prop() wasn't called. And not all boards call update_fec_mac_prop() . Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* Merge tag 'mxs-clk-dt-lookup' into mxs/dt-for-3.7-2Shawn Guo2012-09-176-152/+242
|\
| * clk: mxs: replace imx23 clk_register_clkdev with clock DT lookupShawn Guo2012-09-113-47/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | It really becomes a maintenance issue that every time a device needs to look up (clk_get) a clock we have to patch kernel clock file to call clk_register_clkdev for that clock. Since clock DT support which is meant to resolve clock lookup in device tree is in place, the patch moves imx23 client devices' clock lookup over to device tree, so that any new lookup to be added at later time can just get done in DT instead of kernel. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * clk: mxs: replace imx28 clk_register_clkdev with clock DT lookupShawn Guo2012-09-113-105/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | It really becomes a maintenance issue that every time a device needs to look up (clk_get) a clock we have to patch kernel clock file to call clk_register_clkdev for that clock. Since clock DT support which is meant to resolve clock lookup in device tree is in place, the patch moves imx28 client devices' clock lookup over to device tree, so that any new lookup to be added at later time can just get done in DT instead of kernel. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * Merge tag 'mxs-dt-3.7' into mxs/clk-dt-lookupShawn Guo2012-09-1147-4096/+485
| |\ | | | | | | | | | | | | | | | | | | | | | mxs-dt-3.7 - Remove all board files and make mach-mxs a DT-only platform - Some dts file formatting and style fixing - DTS update for additional boards and devices
* | \ Merge remote-tracking branch 'mturquette/clk-3.7' into mxs/dt-for-3.7-2Shawn Guo2012-09-1747-1547/+4360
|\ \ \
| * | | clk: add of_clk_src_onecell_get() supportShawn Guo2012-09-072-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For those SoCs that have hundreds of clock outputs, their clock DT bindings could reasonably define #clock-cells as 1 and require the client device specify the index of the clock it consumes in the cell of its "clocks" phandle. Add a generic of_clk_src_onecell_get() function for this purpose. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: ux500: Define smp_twd clock for u8500Ulf Hansson2012-09-061-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The smp_twd clock is based upon a prcmu_rate clock type for the PRCMU_ARMSS clock. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | mfd: dbx500: Provide a more accurate smp_twd clockMichel Jaouen2012-09-063-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The local timer clock is based on ARM subsystem clock. This patch obtains a more exact value of that clock by reading PRCMU registers. Using this increases the accuracy of the local timer events. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com> Signed-off-by: Michel Jaouen <michel.jaouen@stericsson.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: ux500: Support for prmcu_rate clockUlf Hansson2012-09-062-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The prmcu_rate clock is not gateable and has a rate which only can be fetched. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: Provide option for clk_get_rate to issue hw for new rateUlf Hansson2012-09-062-19/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By using CLK_GET_RATE_NOCACHE flag, we tell the clk_get_rate API to issue the hw for an updated clock rate. This can be used for a clock which rate may be updated without a client necessary modifying it. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clock: max77686: Add driver for Maxim 77686 32Khz crystal oscillator.Jonghwa Lee2012-09-063-0/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supports max77686 mfd's clock driver using common clock frame work. max77686 has 3 clock ouputs which all are generated from crystal oscillator and SOC can enable/disable them via I2C bus. All clocks are fixed-rate clock sources so that it doesn't supply interface for changing clock rate. Driver uses regmap API to communicate with internal register. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | ARM: ux500: Switch to use common clock frameworkUlf Hansson2012-09-066-886/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove machine specific clock implementation and switch to use new common clock framework. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: ux500: Clock definitions for u8500Ulf Hansson2012-09-061-1/+453
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First version of clock definitions of PRCMU and PRCC clocks for the u8500 platform. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: ux500: First version of clock definitions for ux500Ulf Hansson2012-09-065-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this first version of the clock definitions, the structure for ux500 are set. Support for u8500, u9540 and u8540 are prepared. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: ux500: Adapt PRCMU and PRCC clocks for common clkUlf Hansson2012-09-064-0/+452
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First version of common clock implementation of PRCMU clocks and PRCC clocks for ux500 platforms. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: versatile: make config option booleanLinus Walleij2012-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no choice to have the RealView clocks as module for sure, so turn this config option into a boolean. Reported-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: add Loongson1B clock supportKelvin Cheung2012-08-312-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds clock support to Loongson1B SoC using the common clock infrastructure. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | arm: mmp: make all SOCs use common clock by defaultChao Xie2012-08-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Chao Xie <xiechao.mail@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: mmp: add clock definition for mmp2Chao Xie2012-08-282-0/+450
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize the clocks for mmp2 Signed-off-by: Chao Xie <xiechao.mail@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: mmp: add clock definition for pxa910Chao Xie2012-08-282-0/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize the clocks for pxa910 Signed-off-by: Chao Xie <xiechao.mail@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: mmp: add clock definition for pxa168Chao Xie2012-08-282-0/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize the clocks for pxa168 Signed-off-by: Chao Xie <xiechao.mail@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: mmp: add mmp specific clocksChao Xie2012-08-286-0/+445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add mmp specific clocks including apbc cloks, apmu clocks, and pll2, fraction clocks Signed-off-by: Chao Xie <xiechao.mail@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: convert ARM RealView to common clkLinus Walleij2012-08-2413-127/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the ARM RealView machine over to using the common clock. The approach is similar to the one used for the Integrator, and we're reusing the ICST wrapper code. We have to put the clock intialization in the timer init function for the clocks to be available when initializing the timer, keeping them in early_init() is too early for the common clk. Since we now have to go down and compile drivers/clk/versatile a CONFIG_COMMON_CLK_VERSATILE symbol has been added so the proper code gets compiled into the kernel for either machine. A leftover CLK_VERSATILE in the Integrator Kconfig was fixed up to use the new symbol as well. Tested on ARM RealView PB1176. Cc: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | clk: prima2: move from arch/arm/mach to drivers/clkBarry Song2012-08-243-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Barry Song <Baohua.Song@csr.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mike Turquette <mturquette@linaro.org>
| * | | ARM: PRIMA2: convert to common clk and finish full clk treeBinghua Duan2012-08-244-267/+933
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 02c981c07bc95ac1e only implements a little part of primaII clk tree due to common clk framework was not ready at that time. This patch converts the old driver to common clk and finish the full clk tree. Signed-off-by: Binghua Duan <Binghua.Duan@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
* | | | Merge tag 'mxs-dt-3.7' into mxs/dt-for-3.7-2Shawn Guo2012-09-1747-4096/+485
|\ \ \ \ | | |_|/ | |/| |
| * | | ARM: dts: cfa10049: Add the 74HC595 gpio expandersMaxime Ripard2012-09-111-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the two daisy-chains of 74hc595s shift registers available on the CFA-10049. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: dts: m28evk: Fix MMC WP pin being invertedMarek Vasut2012-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MMC WP is active high on the m28evk, fix this. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: dts: cfa10049: Add SSP3 to the 10049 boardMaxime Ripard2012-09-051-0/+22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: dts: mxs: Add missing address and size cells in SSP nodesMaxime Ripard2012-09-051-0/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mx28evk: Add I2C EEPROM supportFabio Estevam2012-09-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mx28evk has a free slot U50 that can be used to populate an I2C EEPROM. Add support for it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: dts: mxs: Enable USB1 Host on the CFA-10049 expansion boardMaxime Ripard2012-09-031-0/+25
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: dts: mxs: Add the second I2C adapter to the CFA10049 expansion boardMaxime Ripard2012-09-032-0/+32
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: dts: mxs: Add I2C1 muxing options for imx28Maxime Ripard2012-09-031-0/+11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mx28evk: Add LRADC supportFabio Estevam2012-08-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add LRADC support. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mx28evk: Add SPI flash supportFabio Estevam2012-08-281-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mx28evk has a free slot (J89) which can be used to populate an SPI NOR Flash. Add support for it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mxs: Update DENX M28 machine and dts fileMarek Vasut2012-08-282-7/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the mach-mxs machine by removing the enet_clkout(). The new revision of the board doesn't need that. Also, update the DTS file with all the new drivers pulled in the mainline recently, that is, SPI, LRADC, USB. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mx28: Add USB PHY overcurrent pinmuxMarek Vasut2012-08-251-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the pinmux settings for USB PHY overcurrent pins. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chris Ball <cjb@laptop.org> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mx28: Add SPI 2 pinmux into imx28.dtsiMarek Vasut2012-08-251-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add this SSP port 2 pin multiplexing configuration into the imx28.dtsi file. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chris Ball <cjb@laptop.org> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: dts: mxs: Add pwm4 muxing options for imx28Maxime Ripard2012-08-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Brian Lilly <brian@crystalfontz.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: dts: mxs: Add alternative I2C muxing options for imx28Maxime Ripard2012-08-251-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Brian Lilly <brian@crystalfontz.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: olinuxino: Add gpio-led supportFabio Estevam2012-08-231-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Olinuxino has a LED connected to MX23_PAD_SSP1_DETECT__GPIO_2_1 pin. Add support for it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mxs: Let mmc0 pin detect be genericFabio Estevam2012-08-232-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of assigning SSP1_DETECT inside mmc0_4bit_pins_a, let the board dts handle this setup. Not every board will use MX23_PAD_SSP1_DETECT as SSP1 functionality. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mxs: Rename 'hog-gpios'Fabio Estevam2012-08-236-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hog_pins is used to setup the pin functions, and it is not neccesarily used only for GPIO pins, so use only 'hog' to describe a more generic term. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mxs: remove iomux driverShawn Guo2012-08-175-1162/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With all board files removed, there is no user of iomux driver. Remove it. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * | | ARM: mxs: remove platform device codesShawn Guo2012-08-1720-979/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With all the board files removed, there is no user for those platform device code. Remove them. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
OpenPOWER on IntegriCloud