aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/cortexa7
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Deactivate B53 symbols in generic configurationHauke Mehrtens2021-11-292-8/+0
| | | | | | | | | Deactivate all the symbols of the B53 DSA driver in the generic kernel configuration. Multiple targets are now using this drivers and they only need some of the options. This fixes the bcm4908 build which didn't deactivate all of the options. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: build kernel with sun6i-rtc driverDaniel Golle2021-11-211-0/+1
| | | | | | | | | | | | | | | | | sun6i-rtc cannot be built as a module and the hardware is only present in some of the sunxi SoCs, see driver source: { .compatible = "allwinner,sun6i-a31-rtc" }, { .compatible = "allwinner,sun8i-a23-rtc" }, { .compatible = "allwinner,sun8i-h3-rtc" }, { .compatible = "allwinner,sun8i-r40-rtc" }, { .compatible = "allwinner,sun8i-v3-rtc" }, { .compatible = "allwinner,sun50i-h5-rtc" }, { .compatible = "allwinner,sun50i-h6-rtc" }, Set CONFIG_RTC_DRV_SUN6I=y in kernel config file for cortexa7 and cortexa53 subtargets which covers all of the above. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* sunxi: Refresh kernel 5.10 configurationHauke Mehrtens2021-10-031-11/+1
| | | | | | | | The cortex53 subtarget was missing multiple config options and the other targets just defined some options which are not needed. Fixes: 83672f506d95 ("sunxi: add testing Linux 5.10") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: add testing Linux 5.10Daniel Golle2021-09-151-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add testing Linux kernel 5.10 for sunxi targets. Removed patches were replaced by upstream commits: - 410-v5.6-arm64-dts-allwinner-a64-olinuxino-Add-bank-supply-re.patch f0c3b29f56f0a arm64: dts: allwinner: a64: olinuxino: Add bank supply regulators - 420-v5.7-arm64-dts-allwinner-a64-olinuxino-add-user-red-LED.patch 89866b2667e0d arm64: dts: allwinner: a64: olinuxino: add user red LED - 440-add-h6-pwm.patch a7fe985633f92 pwm: sun4i: Add an optional probe for reset line b8d74644f34a8 pwm: sun4i: Prefer "mod" clock to unnamed 5b090b430d750 pwm: sun4i: Add an optional probe for bus clock fa4d81784681a pwm: sun4i: Always calculate params when applying new parameters 9f28e95b5286f pwm: sun4i: Add support to output source clock directly fdd2c12e3761f pwm: sun4i: Add support for H6 PWM - 441-arm64-dts-add-PWM-node.patch 88432f5f8469b arm64: dts: allwinner: h6: Add PWM node - 443-board-h6-orangepioneplus-fix-missing-ethernet.patch 7ee32a17e0d65 arm64: dts: allwinner: h6: orangepi-one-plus: Enable ethernet Run tested on friendlyarm,nanopi-neo (allwinner,sun8i-h3), looks all good. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* sunxi: bring up DSA b53 switch on Lamobo R1Daniel Golle2021-09-151-0/+12
| | | | | | | | | | | | | | | | | | | | | Build cortexa7 subtarget with DSA driver for MDIO-connected Broadcom BCM53xxx switches. This is needed for the Lamobo R1 aka. BananaPi BPi-R1 board which comes with such a switch IC. Remove old swconfig driver from target kernel config as the only board using it is now supported by the DSA driver. No changes to device tree are needed as upstream DTS already got a DSA switch definition and we are just using that upstream source. Update default network config of the Lamobo R1 to create lan bridge with all 4 lan ports. Introduce DEVICE_COMPAT_VERSION for the board to inform users about having the re-create their network configuration and add device alias as Bananapi BPi-R1 while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* sunxi: enable MUSB in A7 subtargetZhao Yu2021-09-131-0/+8
| | | | | | | like commit 78c1ed6. Without this,Some USB port on H3 baseboard can' work. So, need enable MUSB support on this target. Signed-off-by: Zhao Yu <574249312@qq.com>
* target: use SPDX license identifiers on MakefilesAdrian Schmutzler2021-02-101-4/+1
| | | | | | Use SPDX license tags to allow machines to check licenses. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: remove support for kernel 4.19Adrian Schmutzler2020-10-301-4/+0
| | | | | | | We use 5.4 on all targets by default, and 4.19 has never been released in a stable version. There is no reason to keep it. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* sunxi: add text referencing Allwinner H3 and H5 CPUsRogan Dawes2020-06-271-1/+1
| | | | | | This makes it a little easier to figure out which options to choose. Signed-off-by: Rogan Dawes <rogan@dawes.za.net>
* sunxi: move common options from subtargets into target kconfigAleksander Jan Bajkowski2020-03-161-33/+0
| | | | | | These new options are common for all subtargets and can be moved into target kconfig. Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* sunxi: refresh config for all subtargetsAleksander Jan Bajkowski2020-03-161-0/+44
| | | | | | | | This was done by executing these command for all subtargets: $ time make -j9 kernel_oldconfig CONFIG_TARGET=subtarget Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* sunxi: copy config and patches from 4.19 to 5.4Aleksander Jan Bajkowski2020-03-161-0/+4
| | | | Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* sunxi: Remove kernel 4.14 supportHauke Mehrtens2020-03-121-10/+0
| | | | | | | | | This target was switched to kernel 4.19 more than 6 months ago in commit f342ffd300da ("treewide: kernel: bump some targets to 4.19") and now with kernel 5.4 support being added it gets harder to support kernel 4.14 in addition to kernel 4.19 and 5.4. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: Turn on CONFIG_PINCTRL_SUN4I_A10 for A20Florian Fainelli2020-01-031-1/+1
| | | | | | | | | | CONFIG_PINCTRL_SUN4I_A10 controls both the A10 and the A20 enablong of the pinctrl driver, this is necessary since upstream commit 5d8d349618a9464714c07414c5888bfd9416638f ("pinctrl: sunxi: add A20 support to A10 driver") which has been included in v4.13 and onwards. Fixes: ad2b3bf310f7 ("sunxi: Add support for kernel 4.14") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* sunxi: Add support for Banana Pi M2 UltraHal Martin2019-09-211-1/+1
| | | | | | | | | | | | | | | | | | CPU: Allwinner R40 Quad-Core Cortex-A7 @ 1.2GHz GPU: Mali 400 MP2 Memory: 2GB DDR3 onboard (shared with GPU) Onboard: Storage microSD card slot Onboard: Storage 8GB eMMC Onboard: Network 10/100/1000M Ethernet RJ45 Onboard: Network WiFi 802.11b/g/n 1x1 (AMPAK AP6212; brcmfmac) Onboard header: SPI, I2C, GPIO, UART USB: Two USB 2.0 Host, One USB 2.0 OTG Known issues: - WiFi doesn't work - eMMC not supported Signed-off-by: Hal Martin <hal.martin@gmail.com>
* sunxi: Add support for SY8106A voltage regulatorDaniel Engberg2019-01-271-1/+0
| | | | | | | | | Add support for Silergy SY8106A voltage regulator which is needed for cpufreq support on boards such as Orange Pi PC Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> [Remove CONFIG_REGULATOR_SY8106A from cortexa7] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: Add support for kernel 4.19Hauke Mehrtens2019-01-131-0/+5
| | | | | | | | This adds supprot for kernel 4.19 to the sunxi target. The patches and the configuration were copied from the kernel 4.14 patches folder and adapted for kernel 4.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: Use kernel specific sub target configurationHauke Mehrtens2019-01-131-0/+0
| | | | | | | | To make it easier to support multiple kernel versions in parallel also copy the sub target specific kernel configurations into kernel specific files. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 4.14 to 4.14.77Koen Vandeputte2018-10-191-0/+1
| | | | | | | | | | | | | | | Refreshed all patches. Altered patches: - 666-Add-support-for-MAP-E-FMRs-mesh-mode.patch New symbol for arm targets: - HARDEN_BRANCH_PREDICTOR Compile-tested on: ar71xx, cns3xxx, imx6 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* sunxi: Turn on CONFIG_SUN4I_A10_CCU for A20Florian Fainelli2018-10-021-1/+0
| | | | | | | | | | CONFIG_SUN4I_A10_CCU controls both the A10 and the A20 enabling of the CCU (LCCF) driver, this will be necessary once we move beyond kernel 4.14 because 4.15 has commit f18698e1c66338b902de386e4ad97b8b1b9d999d ("ARM: dts: sun7i: Convert to CCU") which requires this driver. Fixes: ad2b3bf310f7 ("sunxi: Add support for kernel 4.14") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* sunxi: Add support for kernel 4.14Hauke Mehrtens2018-01-221-0/+3
| | | | | | | This is based on the code for kernel 4.9, but a lot of 4.9 patches are backports from more recent kernel version and can be removed now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: refresh kernel configurationHauke Mehrtens2018-01-221-1/+0
| | | | | | | | Just refresh the sunxi kernel configuration. This also moves the CONFIG_CRYPTO_DEV_SUN4I_SS_PRNG option to the config-4.9 file. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: backport support for Allwinner Security System PRNGLucian Cristian2017-10-151-0/+1
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* sunxi: backport the stmmac driver from kernel 4.13Hauke Mehrtens2017-10-011-0/+1
| | | | | | | | | | | This adds support for the GMAC which is use in the A64 and other Allwinner chips by backporting the changes from the kernel versions 4.13. Some commits are not backported which are adding support for newly introduced APIs which are not available in kernel 4.9. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: split into cortex A8 and A7 subtargetHauke Mehrtens2017-09-182-0/+18
Now we can activate some compiler optimizations for the cortex A7. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>