User:Oliver/3.10 Backporting progress

This page lists drivers backported to experimental/sunxi-3.10

Timers UART pinctrl clocks interrupts (AW/GIC) SID EMAC I2C WDT

Magic command to backport all the things:

git sl v3.10..torvalds/master|grep -iE '(sunxi|sun4i|sun5i|sun6i|sun7i|allwinner|mv64xx|cubie)'|grep -vi merge|cut -f1 -d ' '|tac|xargs -P 1 git cherry-pick

Sun6i patches are omitted! List of committed patches (FROM BOTTOM to TOP): f7ec00b ARM: dts: sun7i: olinuxino-micro: Enable the EMAC 0547433 ARM: dts: sun7i: cubieboard2: Enable the EMAC 756084c ARM: dts: sun7i: Add the muxing options for the EMAC 2e804d0 ARM: dts: sun7i: Enable the Ethernet in the A20 d00680e watchdog: sunxi: New watchdog driver for Allwinner A10/A13 c9e3b2d pinctrl: sunxi: Fix off-by-one for valid offset range checking 07b7eb9 pinctrl: sunxi: drop lock on error path +--44d5f7b pinctrl: sink pinctrldev_list_mutex +--acf564a pinctrl: pinconf-generic: Remove ti prefix in dev_err messages +--2f62eb9 pinctrl: utils: include export.h to avoid warnings +--03b054e pinctrl: Pass all configs to driver on pin_config_set +--6ad30ce Merge tag 'v3.11-rc7' into devel +--9b77ace pinctrl: core: Add proper mutex lock in pinctrl_request_gpio +--3287c24 pinctrl: utils : add support to pass config type in generic util APIs +--6c325f8 pinctrl: core: Remove unnecessary test for desc->name +--5ffbe2e pinctrl: core: Hold pctldev->mutex mutex lock while traversing gpio_ranges list +--f005902 pinctrl: core: Hold pinctrldev_list_mutex mutex while traversing pinctrldev_list +--1c8e794 pinctrl: improve warning messages +--e81c8f1 pinctrl: pinconf-generic: add generic APIs for mapping pinctrl node +--1eb207a pinctrl: add utility functions for add map/configs +--744f0a9 pinctrl: pinmux: Don't free pins requested by other devices in pinmux_disable_setting. +--9b68035 pinctrl: pinconf: fix comparison of different types +--8a9dcc3 pinctrl: shut up a couple of pinctrl warnings +--db6c2c6 pinctrl: fix a memleak when freeing maps +--f333349 pinctrl: Remove duplicate code in pinctrl_pm_select_state functions +--5795c6a pinctrl: don't use PTR_RET. +--0d74d4a pinctrl: add includes and ifdefs for non-DT builds +--e81c8f1 pinctrl: pinconf-generic: add generic APIs for mapping pinctrl node +--5b81d55 pinctrl: remove bindings for pinconf options needing more thought +--256aeb6 pinctrl: set unit for debounce time pinconfig to usec +--70637a6 pinctrl: more clarifications for generic pull configs +--ad42fc6 pinctrl: rip out the direct pinconf API +--1c851fb pinctrl: fix pinconf_ops::pin_config_dbg_parse_modify kerneldoc +--5ca3353 pinctrl: establish pull-up/pull-down terminology +--56a5991 Fix comment on pinctrl_gpio_range.pin_base +--843aec9 pinctrl: Staticize local symbols +--c8f50e8 pinctrl: core: fix missing unlock on error in pinctrl_find_gpio_range_from_pin +--f472dea pinctrl: export pinctrl_pm_select_*_state +--6abab2d pinctrl: dynamically alloc temp array when parsing dt pinconf options +--e4a8844 pinctrl: handle zero found dt pinconfig properties better +--9ee1f7d pinctrl: clarify some dt pinconfig options \--c8587ee pinctrl: add pin list based GPIO ranges 03536cc net: mdio-sun4i: Convert to devm_* api 52be7cc clk: sunxi: Fix incorrect placement of __initconst 1ec5502 clk: sunxi: fix initialization of basic clocks 1fb2e4a clk: sunxi: Add Allwinner A20 gates !!!!!6a721db clk: sunxi: Add A31 clocks support!!!!! de7dc93 ARM: sun7i: Enable the A20 clocks in the DTSI !!!!!9809656 ARM: sun6i: Enable clock support in the DTSI!!!!! 29bb805 ARM: sun5i: dt: Use the A10s gates in the DTSI 70855bb clk: sunxi: Allow to specify the divider width from the dividers data 81ba6c5 clk: sunxi: Rename the structure to prepare the addition of sun6i 431807f clk: sunxi: fix initialization of basic clocks 2371dd8 clk: sunxi: Add A10s gates 7be60f2 i2c: mv64xxx: fix typo in binding documentation c1d15b6 i2c: mv64xxx: Fix timing issue on Armada XP (errata FE-8471889) 930ab3d i2c: mv64xxx: Add I2C Transaction Generator support 23ac6df pinctrl: sunxi: Add Allwinner A20 pins set !!!!!!!de0c902 pinctrl: sunxi: Add Allwinner A31 pins set!!!!!! 30e7166 pinctrl: sunxi: Fix inconsistent indentation 82abe52 ARM: sun7i: Add Cubieboard2 Device Tree 6e487da ARM: sun7i: a20-olinuxino: Enable the user LED 2fff6ac ARM: sun7i: a20-olinuxino: Enable UARTs muxing 9f229ba ARM: sun7i: DT: Add UART muxing options to the DTSI 17eac03 ARM: sun7i: Add the PIO controller node to the DTSI !!!!!!69fb3c0 ARM: sun6i: colombus: Add uart0 muxing!!!!! !!!!!!ab4238c ARM: sun6i: Add UART0 muxing options!!!!!! !!!!!!140e172 ARM: sunxi: dt: Add PIO controller to A31 DTSI!!!!! e476ac8 ARM: sun7i: Add Olimex A20-Olinuxino-Micro support 4790ecf ARM: sun7i: Add Allwinner A20 DTSI d18fd94 ARM: sunxi: Introduce Allwinner A20 support !!!!!!06d71bc ARM: sun6i: Add restart code for the A31!!!!! !!!!!!2d79451 ARM: sunxi: Add the Allwinner A31 compatible to the machine definition!!!!!! !!!!!!0bef900 ARM: sun6i: Add WITS Colombus A31 evaluation kit support!!!!!! !!!!!!8aed3b3 ARM: sunxi: Add Allwinner A31 DTSI!!!!!! 629ae88 ARM: sunxi: dt: Add device tree for Mele A1000 278fe8b ARM: sun5i: dt: Fix A13 SoC bus base address d528b03 ARM: sun5i: a13: Remove useless simple-bus reg property 9e19929 ARM: sun5i: dt: Fix A10s SoC bus base address ccb258a ARM: sun5i: a10s: Remove useless simple-bus reg property b74aec1 ARM: sun4i: dt: Fix A10 SoC bus base address dad0855 ARM: sun4i: a10: Remove useless simple-bus reg property ee85e9b clk: sunxi: Fix checking return value of clk_register_[composite|factors] 3efa921 pinctrl: sunxi: Fix incorrect NULL check 1bee963 pinctrl: sunxi: Add spinlocks df7b34f pinctrl: sunxi: Fix gpio_set behaviour 2aaaddf pinctrl: sunxi: Read register before writing to it in irq_set_type f480ada i2c: mv64xxx: Document the newly introduced allwinner compatible 29d3d37 ARM: sunxi: Remove Makefile.boot file 111cc5d drivers: net: sun4i-emac: select MDIO_SUN4I 05bc250 drivers: net: allwinner: Fix Kconfig indentation 2bf420a net: sun4i: fix timeout check b961418 ARM: sunxi: make the leds' names conform to the current naming convention 7e14183 clocksource: sun4i: Fix bug when switching from periodic to oneshot modes a2c49e7 clocksource: sun4i: Cleanup parent clock setup c2b852f clocksource: sun4i: Remove TIMER_SCAL variable 96651a0 clocksource: sun4i: Factor out some timer code 63d88f1 clocksource: sun4i: Fix the next event code 8c31bec clocksource: sun4i: Don't forget to enable the clock we use 137c6b3 clocksource: sun4i: Add clocksource and sched clock drivers 9eded23 clocksource: sun4i: rename AUTORELOAD define to RELOAD bb008b9 clocksource: sun4i: Wrap macros arguments in parenthesis 4077764 clocksource: sun4i: Use the BIT macros where possible bdbfd8e ARM: sun5i: dt: Add AT24 device on A10S-OLinuXino-Micro d6c451d ARM: sun5i: dt: Enable I2C controllers on A10S-OLinuXino-Micro ca3d4ed ARM: sun5i: dt: Add I2C controller nodes to the A10S dtsi 170ab43 ARM: sun5i: dt: Add I2C muxings for sun5i A10S d4e1c7e arm: multi_v7_defconfig: Tweaks for omap and sunxi baaecfa irqchip: sun4i: Staticize sun4i_irq_ack 4c730a0 i2c: mv64xxx: Set bus frequency to 100kHz if clock-frequency is not provided 6faa353 i2c: mv64xxx: Fix transfer error code fb1c602 ARM: multi_v7: Enable Allwinner EMAC in multi_v7_defconfig d0f2677 ARM: sunxi: Add Olimex A10s-Olinuxino-micro device tree ac68936 pinctrl: sunxi: Add Allwinner A10s pins 44abb93 pinctrl: sunxi: Move the pins definitions to a separate header d3ae078 ARM: sunxi: dt: Add Allwinner A10s DTSI 81265df ARM: sunxi: Add Allwinner A10s machine compatible 7f884b6 pinctrl: sunxi: Add external interrupt functions 60242db pinctrl: sunxi: Add external interrupts support 814d4f2 pinctrl: sunxi: Search the description array by pin id f51cb49 ARM: sun4i: cubieboard: Enable the i2c controllers 351617c ARM: sun5i: olinuxino: Enable the i2c controllers b4d7c23 ARM: sun5i: dt: Add i2c muxing options 27cce4f ARM: sun4i: dt: Add i2c muxing options f1741fd ARM: sunxi: dt: Add i2c controller nodes to the DTSI 3d66ac7 i2c: mv64xxx: Add Allwinner sun4i compatible 004e8ed i2c: mv64xxx: make the registers offset configurable 683e69b i2c: mv64xxx: Add macros to access parts of registers 39138bc ARM: sunxi: dt: Register the pio node as interrupt controller 4243fa0 I2C: mv64xxx: fix race between FSM/interrupt and process context 3420afb I2C: mv64xxx: move mv64xxx_i2c_prepare_for_io aa6bce5 I2C: mv64xxx: remove I2C_M_NOSTART code 0c195af I2C: mv64xxx: fix error handling for request_irq 2c91110 I2C: mv64xxx: use devm_kzalloc 4c5c95f I2C: mv64xxx: use devm_clk_get to avoid missing clk_put 16874b0 I2C: mv64xxx: use devm_ioremap_resource d5ac456 I2C: mv64xxx: use return value from mv64xxx_i2c_map_regs 11a164a net: sun4i-emac: Staticize local symbols aff5c35 net: sun4i-emac: Remove redundant platform_set_drvdata 10e179e net: sun4i-emac: remove erroneous assignment 93baf4c net: sun4i-emac: fix a typo in emac_probe d97a079 ARM: sunxi: Add EMAC Controller to Hackberry dt e5a84ba ARM: cubieboard: Enable ethernet (EMAC) support in dts e38afcb ARM: sunxi: Add EMAC controller node to sun4i DTSI b21da66 ARM: sun4i: Add muxing options for the ethernet controller 4bdcb1d net: Add MDIO bus driver for the Allwinner EMAC 4922050 net: Add EMAC ethernet driver found on Allwinner A10 SoC's 61fd58d clk: sunxi: "cpu_data" is defined in header files of some architectures ec3805e ARM: sunxi: irqchip: Update the documentation af65d45 ARM: sunxi: Update datasheet documentation 4f985b4 clk: sun5i: Add compatibles for Allwinner A13 442f150 ARM: sunxi: Remove the .map_io function declaration 14c44aa ARM: dts: sunxi: cpus/cpu nodes dts updates caf77a7 ARM: sunxi: Remove init_irq declaration in machine description 70be4ee ARM: sun5i: Update the clock compatible strings bc37324 ARM: mmu: Call debug_ll_io_init if no map_io function is specified d4785b6 sched_clock: Make ARM's sched_clock generic for all architectures 14005ee drivers: pinctrl sleep and idle states in the core 7970cb7 pinctrl: add pinconf-generic define for a pin-default pull a2df426 pinconf-generic: add BIAS_BUS_HOLD pinconf 73ae368 pinconf-generic: add drive strength to debugfs output