aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/patches-4.4
Commit message (Collapse)AuthorAgeFilesLines
* ipq806x: enable hw pseudo random number generatorPavel Kubelun2017-01-152-1/+17
| | | | | | Enables support for pseudo random number generator in device tree. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: disable usb3 phy suspend and add usb tcsr controlPavel Kubelun2017-01-152-1/+37
| | | | | | | | | According to Qualcomm SDK usb3 phy suspend should be disabled for ipq806x. This may solve issue on some ipq806x devices that breaks usb3 storage peripherals during system boot. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* kernel: update 4.4 kernel to 4.4.42Hauke Mehrtens2017-01-136-13/+13
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ipq806x: add thermal sensor driverdissent12016-12-0114-1/+2195
| | | | | | | | Allows to check cpu temperature. Huge thanks to @hnyman for valuable assistance! Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: increase coherent dma pool sizePavel Kubelun2016-12-011-0/+52
| | | | | | | Cherry-picked and rebased from https://source.codeaurora.org/quic/qsdk/system/openwrt/tree/?h=korg/linux-3.4.y/release/arugula_bb_cs Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add enable reg and masks for PRNGPavel Kubelun2016-12-011-0/+25
| | | | | | Cherry-picked from https://source.codeaurora.org/quic/qsdk/system/openwrt/tree/?h=korg/linux-3.4.y/release/arugula_bb_cs Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: refactor rpm clock controller patchesPavel Kubelun2016-12-018-87/+250
| | | | | | | | | | | | RPM clock controller driver had made its way upstream and previous approach of directly redoing a driver to support ipq806x is a no go anymore. Thus reverting mentioned patches to upstream state and renaming in correct patch numbering accordance. To make the driver work on ipq806x boards we introduce a custom patch. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* kernel: bump to 4.4.35Kevin Darbyshire-Bryant2016-11-2916-131/+68
| | | | | | | | | | | Refresh patches on all 4.4 supported platforms. 077-0005-bgmac-stop-clearing-DMA-receive-control-register-rig.patch removed as now upstream. Compile & run tested: ar71xx - Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* ipq806x: switch to upstream usb driver and backport fixesPavel Kubelun2016-11-2115-3/+1093
| | | | | | Also removing fifo-resize property drom DT as it has been removed from the driver. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix build errorsPavel Kubelun2016-11-193-0/+262
| | | | | | Add missing patches that broke LEDE builder while updating WDT driver Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: refresh patchesHannu Nyman2016-11-1714-50/+25
| | | | | | | | | | This patch refreshes the ipq806x kernel patches. There was a large PR for ipq806x in the queue when the kernel patches were refreshed for 4.4.32, so currently there is quite much fuzz for ipq806x. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* ipq806x: fix pci pinsPavel Kubelun2016-11-161-4/+5
| | | | | | Fix pci pins drive-strength according to oem sources. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add support for RPM message RAMPavel Kubelun2016-11-163-0/+147
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add support for RPM clock controllerdissent12016-11-165-0/+1625
| | | | | | The patch #179 for RPM has initially been made for apq806x board. It has been modified to support ipq806x instead of apq8064. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add CPU idle statesPavel Kubelun2016-11-163-0/+89
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: backport upstream wdt driverPavel Kubelun2016-11-1615-38/+2566
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix pcie reset gpiosPavel Kubelun2016-11-081-3/+3
| | | | | | Fix perst-gpios property in accordance to the driver, so it stops spamming that it can't parse it. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix a kconfig issueFelix Fietkau2016-11-041-0/+30
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: update DT in accordance to new drivers And add some more DT nodesPavel Kubelun2016-11-036-22/+59
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: switch to generic cpufreq driver cpufreq-dtPavel Kubelun2016-11-034-461/+378
| | | | | | | | This fixes ondemand frequency scaling and moves ipq806x onto upstream driver Also switching to ondemand frequency scaling as it is fixed now Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add opp patches for voltage scalingPavel Kubelun2016-11-032-0/+259
| | | | | | Preparing for cpufreq driver switch to generic cpufreq-dt Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: update clk-qcom patchesPavel Kubelun2016-11-035-6/+563
| | | | | | Preparing for cpufreq driver switch to generic cpufreq-dt Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x/nbg6817: add support for ZyXEL NBG6817André Valentin2016-10-261-1/+2
| | | | | | | | | | | | | | | | | CPU: 2x1.8GHz ARM, RAM: 512MiB Storage: 4MiB serial Flash, 3.9GiB MMC NIC: 2x1GBit/s, Switch with 5 external and 2 internal ports WiFi: Dualband, ath10k 2.4GHz, 5GHz MU-MIMO For installation copy xx-mmcblk0p4-kernel.bin and xx-mmcblk0p5-rootfs-full.bin to device. Then run: cat xx-mmcblk0p4-kernel.bin > /dev/mmc0blk0p4 cat xx-mmcblk0p5-rootfs-full.bin > /dev/mmc0blk0p5 reboot -f For debugging serial console is easily visible on board, no soldering needed. Signed-off-by: André Valentin <avalentin@marcant.net>
* ipq806x: update Netgear R7800 device treedissent12016-09-301-70/+0
| | | | | | | | | | | | | -add spi pins -move mdio and rgmii pinctrl from gmac and mdio into pinmux node -add i2c4 pinctrl into rpm node -add pin details into several nodes -update gmac1 and gmac2 parameters -update mdio phy0 and phy4 registers by ddwrt devs findings -fix i2c4 pin drive-strengh -remove pcie pins as it's already present in ipq8065 DT Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix ipq8065 s2a/s2b regulator frequency (fixes ethernet performance)Roman Yeryomin2016-08-241-2/+2
| | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* ipq806x: rename R7800 device tree file, merge R7500v2 dts additionJo-Philipp Wich2016-08-242-12/+3
| | | | | | | The R7800 is an IPQ8065, so rename its dts file to reflect that fact. Also fold the R7500v2 dts addition into the existing 800-devicetree.patch. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-2311-200/+148
| | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken. Runtime-tested on ar71xx, octeon and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ipq806x: Build image for Netgear Nighthawk X4 R7500v2Alexis Green2016-08-221-0/+10
| | | | | | Signed-off-by: Alexis Green <alexis@cessp.it> [Jo-Philipp Wich: add missing DEVICE_TITLE, fix model name in commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ipq806x: add usb pins to r7800 dts fileJohn Crispin2016-08-221-0/+166
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: sync with latest patches sent by QCAJohn Crispin2016-08-1810-92/+1333
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: fix boot hang if cmdline contains words with r in the middleJonas Gorski2016-08-011-1/+1
| | | | | | | | | | | | | | The ATB DTB mangle code will enter an infinite loop if it encounters a word in the command line that contains an r in the middle of the word. Fix this by increasing ptr everytime before invoking strchr, ot avoid finding the same r again. This fixes booting at least on Netgear R7500v1, which contains "ubi.mtd=rootfs" in its commandline, triggering the misbehaviour. Fixes: 0ddcbee26151 ("ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* ipq806x: add patch for kernel compiler flagsJosh Bendavid2016-07-171-0/+13
| | | | Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
* kernel: update to version 4.4.14Hauke Mehrtens2016-06-2629-910/+421
| | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14 Some manual changes to target/linux/generic/patches-4.4/610- netfilter_match_bypass_default_checks.patch were needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ipq806x: add initial support for Netgear R7800Pavel Kubelun2016-06-221-1/+2
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: move smb208 nodes into a regulator subnodePavel Kubelun2016-06-221-0/+69
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix MAC_POWER_SEL switch configurationJosh Bendavid2016-06-201-2/+2
| | | | | | Fixes instability/corruption on the ethernet interface connected to port0 on the switch. Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
* ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dtsAdrian Panella2016-06-171-0/+185
| | | | | | | | | | | | | | The command-line arguments provided by the boot loader will be appended to a new device tree property: bootloader-args. If there is a property "append-rootblock" in DT under /chosen and a root= option in bootloaders command line it will be parsed and added to DT bootargs with the form: <append-rootblock>XX. Only command line ATAG will be processed, the rest of the ATAGs sent by bootloader will be ignored. This is usefull in dual boot systems, to get the current root partition without afecting the rest of the system. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ipq806x: restore old stmmac dma patch which is still needed to fix data ↵Josh Bendavid2016-06-141-0/+117
| | | | | | corruption Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
* ipq806x: move dts file to the files folderJohn Crispin2016-06-134-1173/+26
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: qcom rpm fix support for smb208Adrian Panella2016-06-132-0/+124
| | | | | | | | | In commit "regulator: qcom: Rework to single platform device" the smb208 regulator used in IPQ8064 was left out. Add it to that new framework and update Docs and DT accordingly. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-9/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: fix 3.18 supportJohn Crispin2016-05-271-0/+1521
| | | | | | accidentially removed the files in the v4.4 commit Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x/dts: Add Archer C2600 DTSAsh Benz2016-05-271-0/+425
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ipq806x: Add support for linux-4.4Ram Chandra Jangir2016-05-2747-0/+10905
1)Changes - Rebased the patches for linux-4.4.7 - Added patch to fix spi nor fifo and dma support - Added patch to configure watchdog barktime 2)Testing Tested on IPQ AP148 Board: a. NOR boot and NAND boot b. ethernet network and ath10k wifi c. ubi sysupgrade UnTested dwc3 usb has not been validated on IPQ board(AP148) 3)Known Issues: Once we flash ubi image on AP148, and if we reset the board, uboot on first boot creates PEB and LEB for dynamic sized partitions, which is incorrect and not what linux expects which causes errors when trying to mount rootfs. In order to test this, we can use the below steps: a. Flash the ubi image on board and don't reset the board b. load the kernel fit image in RAM and boot from there. Signed-off-by: Ram Chandra Jangir <rjangi@codeaurora.org>