aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* mediatek: fill wlan device entries in board.json on mt7622Felix Fietkau2022-10-141-0/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* airoha: fix imagebuilder generation by introducing generic targetNick Hainke2022-10-131-0/+1
| | | | | | | | | | | | | | | The generic imagebuilder does not have a generic in the name, although this is the default naming scheme. Apply the same fix as for the octeon target. Thanks to @dangowrt for reporting that the same issues applies also for the airoha target. Before the fix: openwrt-imagebuilder-airoha.Linux-x86_64.tar.xz After: openwrt-imagebuilder-airoha-generic.Linux-x86_64.tar.xz Signed-off-by: Nick Hainke <vincent@systemli.org>
* bcm53xx: linksys ea6500-v2: extend RAM to full 256MBAleksey Nasibulin2022-10-132-0/+64
| | | | | | | | | Linksys ea6500-v2 have 256MB of ram. Currently we only use 128MB. Expand the definition to use all the available RAM. Signed-off-by: Aleksey Nasibulin <alealexpro100@ya.ru> [ wrap to 80 columns ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: backport gnu11 upgradeOlliver Schinagl2022-10-136-0/+367
| | | | | | | | | | | Upstream has switched to gnu11 not too long ago. One advantage of backporting this to these older kernels is, that we can encourage and write better upstreamable kernels. E.g. the kernel devs prefer loop declarations. Shrinking the master/local gap will be useful in these cases. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Acked-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: Fix wrong GPIO for internal status LED on ZTE MF289FGiammarco Marzano2022-10-121-1/+1
| | | | | | | | Change GPIO from 10 to 35 to make it works as expected Fixes: 0de6a3339f1a ("ipq40xx: Add ZTE MF289F") Signed-off-by: Giammarco Marzano <stich86@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com>
* ipq806x: switch to 5.15 kernel by defaultChristian Marangi2022-10-111-2/+1
| | | | | | | Switch to 5.15 kernel by default to promote more wider testing and use better upstream patch. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add clk krait fixes/improvement patchChristian Marangi2022-10-112-0/+198
| | | | | | Add various krait fixes patch that correctly bringup mux and cpu clocks. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: enable again usb node for each deviceChristian Marangi2022-10-1121-15/+343
| | | | | | | Usb node now are disabled by default in dtsi. Enable again them in each device dts. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add krait-cc modernization patch and fixupChristian Marangi2022-10-1110-8/+760
| | | | | | | | Add multiple patch for krait-cc modernization and multiple fixup for the driver. Also modify a patch to enable the qsb fixed clock and add pxo to krait-cc node. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add krait clock modernization patchChristian Marangi2022-10-115-0/+282
| | | | | | Backport krait clock modernization patch. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: backport qcom clk fixes for krait and hfpllChristian Marangi2022-10-112-0/+127
| | | | | | Backport some qcom clock fixes for krait and hfpll driver. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: renumber tsens patch with new orderChristian Marangi2022-10-112-0/+0
| | | | | | Renumber tsens patch with new order for consistency. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: enable new devfreq scaling driver in configChristian Marangi2022-10-111-1/+3
| | | | | | Enable new devfreq scaling driver in kernel config. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: rework nand_pins for wg2600hp3 dtsChristian Marangi2022-10-111-2/+0
| | | | | | | nand_pins definition is now shipped in ipq8064 dtsi. Rework the nand_pins definition for wg2600hp3 5.15 files. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add boot-partitions binding to fix block warningChristian Marangi2022-10-1110-8/+12
| | | | | | | | | | | | | | The patch has changed implementation and now the binding has changed. Replace the old binding with boot-partitions and reimplement the definition with the new definition. The new definition is: <offset1 size1 offset2 size2 offset3 ...> and now supports sparsed patch. Also add missing binding in some dts and add the backup boot partition to the boot-partitions list. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: remove useless spm patchChristian Marangi2022-10-111-10/+0
| | | | | | | Remove useless spm patch as using the normal qcom,spm compatible is enough to register it with no clks. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace nandc patch with upstream versionChristian Marangi2022-10-114-281/+674
| | | | | | Replace nandc fix patch with upstream version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace fab scaling patch with devfreq driverChristian Marangi2022-10-113-243/+251
| | | | | | Replace fab scaling patch with devfreq driver. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: add new version of cache cpu scaling driverChristian Marangi2022-10-115-1001/+292
| | | | | | | Use a new implementation by using a devfreq driver to scale the shared cache of the krait cpu cores. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: backport devfreq new cpufreq based PASSIVE governorChristian Marangi2022-10-1110-0/+1399
| | | | | | | Backport devfreq new cpufreq based PASSIVE governor needed for devfreq based fab and cache scaling. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace stmmac pcs fix with upstream versionChristian Marangi2022-10-113-83/+261
| | | | | | Replace stmmac pcs fix with upstream version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace gcc fixes with upstream versionChristian Marangi2022-10-1113-272/+1761
| | | | | | Replace gcc patch fixes with upstream version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace lcc patch with upstream versionChristian Marangi2022-10-114-59/+294
| | | | | | Replace lcc patch with proposed upstream version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: replace dtsi patches with upstream versionChristian Marangi2022-10-1148-1179/+1618
| | | | | | | | | Reorganize dtsi patches with upstream version and drop dtsi in 5.15 files. Also add an additional upstream patch for hwspinlock support. Refresh all the dts with needed changes. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: remove PCI_DOMAINS patch not needed anymoreChristian Marangi2022-10-111-29/+0
| | | | | | | This doesn't cause any panic anymore and no regression are observed with ath10k. Remove this additional patch. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 5.15: remove qcom adm Documentation patchChristian Marangi2022-10-111-71/+0
| | | | | | | Remove qcom adm Documentation patch that is not needed for the target. Probably a leftover when the adm bus was added, now merged upstream. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: split files dir to 5.10 and 5.15Christian Marangi2022-10-1164-0/+8525
| | | | | | | In preparation for a cleanup of 5.15 patches copy the files dir to 5.10 and 5.15 kernel version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* lantiq: dts: vr9: Add missing properties to the CPU port on the switchMartin Blumenstingl2022-10-101-0/+6
| | | | | | | | | | | | | | | | The CPU port should define the phy-mode and and a PHY phandle or fixed-link to indicate how the CPU port is connected to the SoC's Ethernet controller. On xRX200 this is all internal connection, so use phy-mode = "internal" along with a fixed-link that matches the definition inside &eth0. Linux 6.0 shows a warning since upstream commit e09e9873152e3f ("net: dsa: make phylink-related OF properties mandatory on DSA and CPU ports"). when these properties are missing. Adding the properties before OpenWrt is updated to Linux 6.0 is harmless. Suggested-by: Martin Schiller <ms@dev.tdt.de> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* ramips: use lzma-loader on JCG Q20Du Cai2022-10-091-0/+1
| | | | | | Fixes the LZMA uncompression issue on JCG Q20. Signed-off-by: Du Cai <caidu@smail.nju.edu.cn>
* ipq40xx: convert to DSA and enable Sony NCP-HG100/CellularINAGAKI Hiroshi2022-10-094-19/+23
| | | | | | | This patch converts networking on Sony NCP-HG100/Cellular to DSA and re-enables support for the device. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* ipq40xx: ZTE MF289F: convert to DSADirk Buchwalder2022-10-093-22/+19
| | | | | | | | | Convert ZTE MF289F device to DSA, re-order network ports to match the labels on the case and re-enable the device. Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de> Reviewed-by: Robert Marko <robimarko@gmail.com> Reviewed-by: Lech Perczak <lech.perczak@gmail.com>
* kernel: bump 5.15 to 5.15.72John Audia2022-10-0932-290/+151
| | | | | | | | | | | | | | | | | Removed upstreamed: generic/pending-5.15/722-net-mt7531-only-do-PLL-once-after-the-reset.patch[1] bcm53xx/patches-5.15/082-v6.0-clk-iproc-Do-not-rely-on-node-name-for-correct-PLL-s.patch[2] All other patches automatically rebased Build system: x86_64 Build-tested: bcm2711/RPi4B, mt7622/RT3200, mvebu/cortexa72 Run-tested: bcm2711/RPi4B, mt7622/RT3200, mvebu/cortexa72 (RB5009UG+S+IN) 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.72&id=5de02ab84aeca765da0e4d8e999af35325ac67c2 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.72&id=ab5c5787ab5ecdc4a7ea20b4ef542579e1beb49d Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 5.10 to 5.10.147John Audia2022-10-0917-108/+37
| | | | | | | | | | | Removed upstreamed: bcm53xx/patches-5.10/083-v6.0-clk-iproc-Do-not-rely-on-node-name-for-correct-PLL-s.patch[1] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.147&id=a8e6cde5062fb2aff81f86cc0770591714bee545 Signed-off-by: John Audia <therealgraysky@proton.me>
* mediatek: filogic: set correct PWM clock and clean thermal zoneDaniel Golle2022-10-093-18/+18
| | | | | | | | | | | | * set correct clocks for PWM to work. * MT7986 PWM does have the 26MHz-clock-select, set that in patch * drop useless 'passive' trip point in thermal zone * extend pwm-fan to have 3 active operating points * set reasonable trip points in thermal zone * invert pwm-fan operating points and set shorter period to allow less noisy operation of the PWM fan of the BPi-R3. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* realtek: cleanup rtl83{8x,9x}_enable_learning/floodINAGAKI Hiroshi2022-10-082-44/+22
| | | | | | | | | | | | | In *_enable_learning() only address learning should be configured, so remove enabling forwarding. Forwarding is configured by the respective *_enable_flood() functions. Clean up both functions for RTL838x and RTL839x, and fix the comment on the number of entries. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [squash RTL838x, RTL839x changes] Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: swap *_phylink_mac_link_down() contentsINAGAKI Hiroshi2022-10-081-7/+8
| | | | | | | | | Fix the (accidentally?) swapped contents of rtl83xx_phylink_mac_link_down() and rtl93xx_phylink_mac_link_down(). Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [amend commit message] Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: fix place of fdb/mdb info messagesINAGAKI Hiroshi2022-10-081-2/+2
| | | | | | | | | Those messages should be printed when entry was found (idx >= 0). Move them to the right place to not print invalid entry indices. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [amden commit message] Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: add missing of.h include in phy driverINAGAKI Hiroshi2022-10-081-0/+1
| | | | | | | | of.h is required for of_property_read_u32(). Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [amend commit message] Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: fix use of uninitialized sds_modeINAGAKI Hiroshi2022-10-081-2/+1
| | | | | | | | | The initial state of sds_mode in rtl9300_force_sds_mode() is null and it will be configured in switch-case. So print message after it. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [amend commit message] Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: use MIPS fw_init_cmdline()INAGAKI Hiroshi2022-10-081-20/+2
| | | | | | | | | Use the generic function of MIPS in Linux Kernel instead of open coding our own initialisation. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [amend commit message] Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: update SMP-related calls in prom_init()INAGAKI Hiroshi2022-10-081-6/+2
| | | | | | | | | | | | | | | | | | | | The availabibity of probing CPC depends on CONFIG_MIPS_CPC symbol and it will be checked in arch/mips/include/asm/mips-cpc.h. RTL9310 selects this symbol, so the family check is redudant. Furthermore, mips_cm_probe() is already called from setup_arch() in mips/kernel/setup.c before prom_init(), and as such is not required. Also move mips_cpc_probe() to run just before registering SMP ops. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [squash SMP change commits, reword commit message] Signed-off-by: Sander Vanheule <sander@svanheule.net> --- This patch only really has an impact on the rtl931x subtarget, which has no devices. Noboby is currently set up to test these patches either, but the end result is closer to MIPS_GENERIC, so I do not expect it to cause issues.
* realtek: separate lock of RTL8231 from phy driverINAGAKI Hiroshi2022-10-081-9/+10
| | | | | | | RTL8231 and ethernet phys are not on the same bus, so separate the lock to each own to cut off the unnecessary dependency. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* ath79: fix model name of Extreme Networks WS-AP3805iTom Herbers2022-10-081-1/+1
| | | | | | | Everywhere else the device is referred to as WS-AP3805i, only the model name wrongly only said AP3805i. Signed-off-by: Tom Herbers <mail@tomherbers.de>
* mediatek: filogic: enable thermal, I2C and PWM of the BPi-R3Daniel Golle2022-10-072-1/+32
| | | | | | | Setup thermal zone, select pins and enabled drivers for I2C (on 26-pin GPIO bank) and PWM (1x fan and 1x GPIO bank). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: add support for hw i2c, pwm and thermalDaniel Golle2022-10-078-1/+524
| | | | | | | Add support for hardware I2C and PWM units found in the Filogic SoCs as well as the CPU thermal support. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: refresh backport-5.15 patchesDaniel Golle2022-10-0710-20/+0
| | | | | | | Refresh patches, removing unwanted git metadata from some backported commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ath79: increase max tx ring buffer for ag71xxRobert Meijer2022-10-061-1/+1
| | | | | | | | | | | | This allows the user to specify a larger tx ring buffer size via ethtool. Having symmetrical ring buffer sizes increases throughput on high bandwidth (1 gbps tested) network connections. The default value is not changed so the same behaviour is saved. Signed-off-by: Robert Meijer <robert.s.meijer@gmail.com> [ improve title, commit description and wrap to 80 columns ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: pakedge_wr-1: convert to DSATomasz Maciej Nowak2022-10-053-2/+39
| | | | | | | | | Convert pakedge_wr-1 device to DSA and enable it. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com>i [ improve commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: luma_wrtq-329acn: convert to DSATomasz Maciej Nowak2022-10-053-18/+41
| | | | | | | | | Convert luma_wrtq-329acn device to DSA and enable it. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com> [ improve commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qoriq: fix typo in FEATURESStijn Tintel2022-10-051-1/+1
| | | | | | | There is no root-part FEATURE. Reported-by: Karl Palsson <karlp@etactica.com> Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>