- May 21, 2018
-
-
Stefan Mavrodiev authored
With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC. Currently used card is KLMAG2GEND, wired to MMC2 slot. Signed-off-by:
Stefan Mavrodiev <stefan@olimex.com> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
- May 17, 2018
-
-
Chen-Yu Tsai authored
The Bananapi M2 Ultra has a Realtek RTL8211E RGMII PHY tied to the GMAC. The PMIC's DC1SW output provides power for the PHY, while the ALDO2 output provides I/O voltages on both sides. Acked-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Chen-Yu Tsai <wens@csie.org>
-
Chen-Yu Tsai authored
The R40 SoC has a GMAC (gigabit capable Ethernet controller). Add a device node for it. The only publicly available board for this SoC uses an RGMII PHY. Add a pinmux node for it as well. Since this SoC also has an old 10/100 Mbps EMAC, which also has an MDIO bus controller, the MDIO bus for the GMAC is labeled "gmac_mdio". Acked-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Chen-Yu Tsai <wens@csie.org>
-
Chen-Yu Tsai authored
The device nodes dereference (&foo) usages should be sorted by the label names, barring any parsing order issues such as the #include statement for the PMIC's .dtsi file that must come after the PMIC. Move the mmc and ohci blocks in front of the PMIC's regulator blocks. Acked-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Chen-Yu Tsai <wens@csie.org>
-
- May 09, 2018
-
-
Mylène Josserand authored
Add the use of enable-method property for SMP support which allows to handle the SMP support for this specific SoC. This commit adds enable-method properties to all CPU nodes. Signed-off-by:
Mylène Josserand <mylene.josserand@bootlin.com> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
Mylène Josserand authored
Add CCI-400 node and control-port on CPUs needed by SMP bringup. Signed-off-by:
Mylène Josserand <mylene.josserand@bootlin.com> Reviewed-by:
Chen-Yu Tsai <wens@csie.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
Mylène Josserand authored
The R_CPUCFG is a collection of registers needed for SMP bringup on clusters and cluster's reset. For the moment, documentation about this register is found in Allwinner's code only. Signed-off-by:
Mylène Josserand <mylene.josserand@bootlin.com> Reviewed-by:
Chen-Yu Tsai <wens@csie.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
Mylène Josserand authored
As we found in sun9i-a80, CPUCFG is a collection of registers that are mapped to the SoC's signals from each individual processor core and associated peripherals. These registers are used for SMP bringup and CPU hotplugging. Signed-off-by:
Mylène Josserand <mylene.josserand@bootlin.com> Reviewed-by:
Chen-Yu Tsai <wens@csie.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
- Apr 25, 2018
-
-
Miquel Raynal authored
The Nintendo NES/SuperNES features an R16 already well supported in mainline. The console over UART0 may be wired on two ports of the R16, both available on the NES Classic PCB. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
Miquel Raynal authored
Declare NAND pins (bus, chip select and ready/busy) for a23/a33 SoCs. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
- Apr 19, 2018
-
-
kevans@FreeBSD.org authored
Allwinner a83t has a 1 KB sid block with efuse for security rootkey and thermal calibration data, add node to describe it. a83t-sid is not currently supported by nvmem/sunxi-sid, but it is supported in an external driver for FreeBSD. Signed-off-by:
Kyle Evans <kevans@FreeBSD.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
- Apr 16, 2018
-
-
Maxime Ripard authored
The A33 has a MIPI-DSI block, along with its D-PHY. Let's add it in order to use it in the relevant boards. Reviewed-by:
Chen-Yu Tsai <wens@csie.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
Tuomas Tynkkynen authored
Commit 45e01f40 ("ARM: dts: sunxi: Switch MMC nodes away from cd-inverted property") changed most of the sunxi boards away from using the cd-inverted property in MMC nodes. However, the sun7i-a20-olimex-som204-evb board which got merged concurrently with that commit is now using cd-inverted. Switch it away from using cd-inverted to be consistent with rest of the sunxi boards. Signed-off-by:
Tuomas Tynkkynen <tuomas@tuxera.com> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
Icenowy Zheng authored
Banana Pi M2 Berry has an on-board USB Hub that provides 4 USB Type-A ports, and it's connected to the USB1 port of the SoC. Enable it. Reviewed-by:
Chen-Yu Tsai <wens@csie.org> Signed-off-by:
Icenowy Zheng <icenowy@aosc.io> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com>
-
- Apr 08, 2018
-
-
Esben Haabendal authored
The current (mildly evil) fsl_pq_mdio code uses an undocumented shadow of the TBIPA register on LS1021A, which happens to be read-only. Changing TBI PHY address therefore does not work on LS1021A. The real (and documented) address of the TBIPA registere lies in the eTSEC block and not in MDIO/MII, which is read/write, so using that fixes the problem. Signed-off-by:
Esben Haabendal <eha@deif.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Apr 06, 2018
-
-
Huacai Chen authored
Calling __stack_chk_guard_setup() in decompress_kernel() is too late that stack checking always fails for decompress_kernel() itself. So remove __stack_chk_guard_setup() and initialize __stack_chk_guard before we call decompress_kernel(). Original code comes from ARM but also used for MIPS and SH, so fix them together. If without this fix, compressed booting of these archs will fail because stack checking is enabled by default (>=4.16). Link: http://lkml.kernel.org/r/1522226933-29317-1-git-send-email-chenhc@lemote.com Fixes: 8779657d ("stackprotector: Introduce CONFIG_CC_STACKPROTECTOR_STRONG") Signed-off-by:
Huacai Chen <chenhc@lemote.com> Acked-by:
James Hogan <jhogan@kernel.org> Acked-by:
Kees Cook <keescook@chromium.org> Acked-by:
Rich Felker <dalias@libc.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Russell King <linux@arm.linux.org.uk> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Ingo Molnar <mingo@elte.hu> Cc: <stable@vger.kernel.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Apr 05, 2018
-
-
Russell King authored
Commit ee333554 ("ARM: 8749/1: Kconfig: Add ARCH_HAS_FORTIFY_SOURCE") introduced a new warning: arch/arm/boot/compressed/misc.c: In function 'fortify_panic': arch/arm/boot/compressed/misc.c:167:1: error: 'noreturn' function does return [-Werror] The simple solution would be to make 'error' a noreturn function, but this causes a prototype mismatch as the function is prototyped in several .c files. So, move the function prototype to a new header. There are also a couple of variables that are also declared in several locations. Clean this up while we are here. Signed-off-by:
Russell King <rmk+kernel@armlinux.org.uk>
-
Tomer Maimon authored
Modify Nuvoton NPCM7xx device tree structure by adding nuvoton common nNPCM7xx device tree structure that include all common modules. Signed-off-by:
Tomer Maimon <tmaimon77@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Tomer Maimon authored
Signed-off-by:
Tomer Maimon <tmaimon77@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Tomer Maimon authored
Modify clock binding in a common device tree for all Nuvoton NPCM750 BMCs. Modify NPCM750 modules clock numbers accourding the new clock driver. Signed-off-by:
Tomer Maimon <tmaimon77@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Tomer Maimon authored
Modify timer register size in a common device tree for all Nuvoton NPCM750 BMCs. Signed-off-by:
Tomer Maimon <tmaimon77@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Tomer Maimon authored
Modify UART compatible name in a common device tree for all Nuvoton NPCM750 BMCs. Signed-off-by:
Tomer Maimon <tmaimon77@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Tomer Maimon authored
Add watchdog device node to a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by:
Tomer Maimon <tmaimon77@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- Mar 28, 2018
-
-
Jinbum Park authored
CONFIG_FORTIFY_SOURCE detects various overflows at compile-time. (6974f0c4 ("include/linux/string.h: add the option of fortified string.h functions) ARCH_HAS_FORTIFY_SOURCE means that the architecture can be built and run with CONFIG_FORTIFY_SOURCE. Since ARM can be built and run with that flag like other architectures, select ARCH_HAS_FORTIFY_SOURCE as default. Acked-by:
Kees Cook <keescook@chromium.org> Signed-off-by:
Jinbum Park <jinb.park7@gmail.com> Signed-off-by:
Russell King <rmk+kernel@armlinux.org.uk>
-
- Mar 27, 2018
-
-
Kunihiko Hayashi authored
Add pinctrl groups of ethernet, such as "ether1_rgmii" and "ether1_rmii". These are used for second ethernet instance. Signed-off-by:
Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Acked-by:
Uwe Kleine-König <uwe@kleine-koenig.org> Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Cc: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by:
Maxime Ripard <maxime.ripard@bootlin.com> Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Cc: Chris Packham <chris.packham@alliedtelesis.co.nz> Acked-by:
Chris Packham <chris.packham@alliedtelesis.co.nz> Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Cc: Chris Packham <chris.packham@alliedtelesis.co.nz> Acked-by:
Chris Packham <chris.packham@alliedtelesis.co.nz> Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Cc: Chris Packham <chris.packham@alliedtelesis.co.nz> Acked-by:
Chris Packham <chris.packham@alliedtelesis.co.nz> Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Gregory CLEMENT authored
Follow the recent trend for the license description, and also fix the wrongly stated X11 to MIT. As already pointed on the DT ML, the X11 license text [1] is explicitly for the X Consortium and has a couple of extra clauses. The MIT license text [2] is actually what the current DT files claim. [1] https://spdx.org/licenses/X11.html [2] https://spdx.org/licenses/MIT.html Acked-by:
Jason Cooper <jason@lakedaemon.net> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Russell King authored
Add SFP module support for Clearfog using the SFP phylink support. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Tested-by:
Andrew Lunn <andrew@lunn.ch> Tested-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Hauke Mehrtens authored
The internal RTC does not work correctly on these Linksys boards based on Marvell SoCs. For me it only shows Wed Dec 31 23:59:59 1969 and for others it is off by 3 minutes in 10 minutes running, this was reported by multiple users. On the Linksys Mamba device the device tree comment says that no crystal is connected to the internal RTC, this is probably also true for the other devices. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by:
Gregory CLEMENT <gregory.clement@bootlin.com>
-
Viresh Kumar authored
The "cooling-min-level" and "cooling-max-level" properties are not parsed by any part of the kernel currently and the max cooling state of gpio-fan cooling device is found by referring to the "gpio-fan,speed-map" instead. Remove the unused properties from the gpio-fan node. Signed-off-by:
Viresh Kumar <viresh.kumar@linaro.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-