summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-29ARM: sunxi: update pangolin defconfigv4.0-pangolinJakob Unterwurzacher
Enable support for USB GSM modems.
2015-11-05ARM: sunxi: update defconfigKlaus Goger
use make savedefconfig to create a proper defconfig file. * added CAN, and SPIDEV to defconfig Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-11-05ARM: dts: pangolin: pinmux ohci2Klaus Goger
added pinmux settings for ohci2. enable pull downs on pins so that disconnects from USB devices are detected properly. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-11-05ARM: dts: pangolin: enable spi1 and spidevKlaus Goger
added devicetree entry for spi1 also added a spidev entries to create spi devices for the spidev userland interface Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-11-05can: ucan: added support for UCAN devicesMartin Elshuber
Driver for UCAN based USB CAN devices. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-08-03ARM: dts: pangolin: Switch led trigger to mmc1Jakob Unterwurzacher
mmc0 and mmc1 have swapped places, mmc0 is the emmc now. Also, let's have better labels.
2015-07-31ARM: sunxi: dts: pangolin: disable 1.2Ghz cpufreqKlaus Goger
disable the 1.2Ghz frequency point so users have to enable it explicity. this should ensure that only boards with installed thermal solutions are used with 1.2Ghz. Note that running on 1.2Ghz will not damage the board as we turn CPU off when overheating. We only want to avoid unexpected shutdowns for users when using the default setup and not mounting the heat sink. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30ARM: dts: pangolin: Use rootfs on sd card by defaultJakob Unterwurzacher
2015-07-30ARM: sunxi: dts: reduce rgmii drive strengthKlaus Goger
we don't need the highest drive strength for rgmii like the other sunxi boards. set it to second lowest as lowest didn't work anymore. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30ARM: dts: pangolin: Redefine mmc0 to change probing orderJakob Unterwurzacher
This makes sure the eMMC always is found as mmcblk0
2015-07-30ARM: dts: pangolin: enable spi and add spi norKlaus Goger
adds missing pin configuration to the a31 dtsi Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30ARM: dts: pangolin: change eth phy reset timingKlaus Goger
reset timing was a bit off which resulted in not detecting the phy. changed the settings so that the phy will be found again. TODO: verify timing while measuring the reset line Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30ARM: dts: pangolin: change default bootargsKlaus Goger
change the default bootargs in the dts to something more sane since the console will always be at ttyS2 for the dev kit. set rootfs to sd card as the devkit will ship with a sd card Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30sunxi: dts: enable uart1 for pangolinKlaus Goger
Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30sunxi: dts: add uart1 pinsKlaus Goger
Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30ARM: sunxi: enable drivers in pangolin defconfigKlaus Goger
AMC6821 - thermal sensor and fan controller ISL1208 - rtc Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30clk: sunxi: Address sun6i PLL1 stability issues.Christoph Muellner
Tests on several Allwinner A31 SoCs showed that PLL1 has problems when using low values for M in combination with high target frequencies. This patch addresses this issue by limiting M, such that it does not divide values higher than 2.6 GHz. Reported-by: Philip Tomsich <philip.tomsich@theobroma-systems.com> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30dts: sun6i: pangolin thermal trips and mapsOctav Zlatior
* defines the trip points for active and passive cooling * defines the fan device in i2c3 Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30dts: sun6i: adds cpu transition clockOctav Zlatior
Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30thermal: adds step-wise frequency cappingOctav Zlatior
Frequency capping forces the cooling state to a minimum, defined by the device tree. This forces the frequency to stay below a maximum determined by the operating points as long as we are above a thermal trip point. Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30thermal: enable selecting bang-bang in menuconfigOctav Zlatior
Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30clk: sunxi: removes pll stability tweaksOctav Zlatior
The pll stability tweaks are no longer necessary, since the cpu clock uses the transition parent while the pll changes the frequency Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30cpufreq: use transition mode during transitionsOctav Zlatior
A call to the clk_use_transition_mode is issued on transition begin. Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30clk: adds support for transition-clock propertyOctav Zlatior
The transition-clock property defines a parent clock to be used by a clock consumer during frequency transitions in variable frequency clocks. It is specified by referencing a clock (must be a parent clock). The clock functions clk_set_transition_parent and clk_get_transition_parent are defined to work with the transition parent in clocks. The clock function clk_use_transition_mode sets the clock parent to the specified transition parent. Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30dts: sunxi: changes operating points for stabilityOctav Zlatior
* improved stability by reducing number of operating points * sampling-rate set to a higher value for improved performance * regulator max-voltage set to a valid value (1.36) Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30clk: sunxi: Fixes sun6i PLL1 factor calculationOctav Zlatior
The fix takes two aspects into account: * proper factor calculation using prime number factorization * tweaking the factors for best stability Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30cpufreq: adds custom sampling-rate support in dtOctav Zlatior
This allows the setting of a sampling-rate property for a cpu in the device-tree; if set, this will override the defaut sampling rate calculation Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com> Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30ARM: sunxi: add I2C RTC to pangolin dtsKlaus Goger
enable the rtc (isl1208 compatible) disable the soc rtc since there will be no battery backup for it anyways Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30ARM: sunxi: enable I2C on pangolinKlaus Goger
* added i2c driver to defconfig * added i2c3 pins to A31 dtsi * enabled all i2c blocks in dts Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30ARM: sun6i: set cpu operating points and ramp-rateOctav Zlatior
* operating points for different frequencies with voltages set to optimize power consumption * clock latency and ramp-rate: these values seem to provide enough time for the voltage to adjust before frequency changes Signed-off-by: Octav Zlatior <octav.zlatior@theobroma-systems.com>
2015-07-30Regulator: axp20x: Enable support or set_voltage_time_sel.Christoph Muellner
The cpufreq operating points from the cpufreq-dt driver allows to define the property 'clock-latency' which is intended to be a delay used between changing the voltage and changing the frequency. This patch sets the set_voltage_time_sel function pointer to the default implementation from regulator/core.c. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30ARM: DTS: Enabling thermal sensor of Pangolin board.Christoph Muellner
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30ARM: sunxi: enable lzma in pangolin defconfigKlaus Goger
switching from gzip to lzma reduces the uImage size about 1MB Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30dts: sunxi: add leds to pangolin dtsKlaus Goger
* LED on the module (heartbeat) * LED on the baseboard (MMC0) Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30dts: sunxi: enable ethernet for pangolinKlaus Goger
Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2015-07-30ARM: DTS: Updating Pangolin defconfig.Christoph Muellner
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30ARM: DTS: Adding DVFS settings for Pangolin board.Christoph Muellner
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30clk: check ->determine/round_rate() return value in clk_calc_new_ratesBoris Brezillon
->determine_rate() and ->round_rate() can return the closest rate to the requested one or an error code. clk_calc_new_rates is assuming these functions can't return a negative value, which leads to a undefined behavior when the clk implementation returns such an error code. Fix this by returning NULL in case ->determine_rate() or ->round_rate() returned an error code. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Michael Turquette <mturquette@linaro.org> Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30Clk: Sunxi: Add support for reparenting.Christoph Muellner
This patch adds support for reparenting sunxi factor clocks. The idea is simple: if the DTS provides all possible parents in the correct order, they can be tagged by "clocks-complete" = "ok"; If such a property is found in a sunxi factor clock, then the reparenting uses the indices of the parent list provided in the DTB and the new clock properties parentwidth and parentshift to set the new parent in the clock configuration register. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30Clk: Fixed: Registering fixed clocks as clkdev.Christoph Muellner
This patch registers the fixed-factor and fixed-rate clocks as clkdev (after registering the clock itself). This makes it possible to access them later via clk_get(). Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30Clk: sunxi: Fixing sun6i PLL1 factor calculation.Christoph Muellner
The previous implementation was errornous and hard to debug. This patch provides a much simpler algorithm, which has been successfully tested on an Allwinner A31 based board. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30Clk: sunxi: Adding support for GPU clocks and PLL8/9.Christoph Muellner
This patch adds support for the GPU clocks on sun6i a31. This is a typical clock path, which can be realized with this patch: * PLL8 -> GPU_HYD -> GPU_MEM * PLL9 -> GPU_CORE * AHB1 -> AHB1_GPU Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30Clk: sunxi: Add support for resetting all gates.Christoph Muellner
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30pinctrl: sunxi: Defer on missing reset controller in probe.Christoph Muellner
This patch defers the device probing in case of a missing reset controller. This is needed for cases where the pinctrl device is probed before the reset controller. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30DTS: sunxi: Adding CPU supply and frequency info for Pangolin board.Christoph Muellner
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30DTS: sunxi: Fixing USB1 VBUS pin for the Pangolin board.Christoph Muellner
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30DTS: sunxi: Adding missing reset to pinctrl node.Christoph Muellner
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30DTS: sunxi: Add cpuN labels to sun6i-a31.dtsiChristoph Muellner
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30Adding Pangolin regulator information to DTS.Christoph Muellner
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2015-07-30regulator: axp20x: Fix AXP22X regulator bitmask.Christoph Muellner
This patch fixes the bitmasks of the AXP22X regulator driver according to the information listed in the datasheet. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>