- 02 5月, 2018 5 次提交
-
-
由 Fabrice Gasnier 提交于
Add LPtimer definitions, depending on features they provide: - lptimer1 & 2 can act as PWM, trigger and encoder/counter - lptimer3 can act as PWM and trigger - lptimer4 & 5 can act as PWM Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
-
由 Fabrice Gasnier 提交于
stm32mp157c has vrefbuf regulator that can provide analog reference voltage from 1500mV to 2500mV. Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
-
由 Fabrice Gasnier 提交于
Enable timer 6 on stm32mp157c-ed1 that can serve as trigger for ADC for instance. Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
-
由 Fabrice Gasnier 提交于
stm32mp157c evaluation board has TIM2_CH4, TIM8_CH4 and TIM12_CH1 available on GPIO expansion connector. Add PWM and associated triggers (for ADC/DAC) on these timers. Keep them disabled so these pins can be used as GPIOs by default. Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
-
由 Fabrice Gasnier 提交于
stm32mp157c evaluation board has following PWM pins available on GPIO expansion connector: - TIM2_CH4 (PA3) - TIM8_CH4 (PI2) - TIM12_CH1 (PH6) Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
-
- 27 4月, 2018 1 次提交
-
-
由 Fabrice Gasnier 提交于
Add PWM and trigger support to stm32mp157c. Signed-off-by: NFabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
-
- 16 4月, 2018 1 次提交
-
-
由 Gabriel Fernandez 提交于
This patch enables stm32mp1 clock driver. Signed-off-by: NGabriel Fernandez <gabriel.fernandez@st.com> Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
-
- 09 4月, 2018 1 次提交
-
-
由 Esben Haabendal 提交于
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: NEsben Haabendal <eha@deif.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
-
- 06 4月, 2018 2 次提交
-
-
由 Huacai Chen 提交于
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: NHuacai Chen <chenhc@lemote.com> Acked-by: NJames Hogan <jhogan@kernel.org> Acked-by: NKees Cook <keescook@chromium.org> Acked-by: NRich 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: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
由 Russell King 提交于
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: NRussell King <rmk+kernel@armlinux.org.uk>
-
- 05 4月, 2018 6 次提交
-
-
由 Tomer Maimon 提交于
Modify Nuvoton NPCM7xx device tree structure by adding nuvoton common nNPCM7xx device tree structure that include all common modules. Signed-off-by: NTomer Maimon <tmaimon77@gmail.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Tomer Maimon 提交于
Signed-off-by: NTomer Maimon <tmaimon77@gmail.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Tomer Maimon 提交于
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: NTomer Maimon <tmaimon77@gmail.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Tomer Maimon 提交于
Modify timer register size in a common device tree for all Nuvoton NPCM750 BMCs. Signed-off-by: NTomer Maimon <tmaimon77@gmail.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Tomer Maimon 提交于
Modify UART compatible name in a common device tree for all Nuvoton NPCM750 BMCs. Signed-off-by: NTomer Maimon <tmaimon77@gmail.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Tomer Maimon 提交于
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: NTomer Maimon <tmaimon77@gmail.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 29 3月, 2018 1 次提交
-
-
由 Jinbum Park 提交于
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: NKees Cook <keescook@chromium.org> Signed-off-by: NJinbum Park <jinb.park7@gmail.com> Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
-
- 28 3月, 2018 1 次提交
-
-
由 Kunihiko Hayashi 提交于
Add pinctrl groups of ethernet, such as "ether1_rgmii" and "ether1_rmii". These are used for second ethernet instance. Signed-off-by: NKunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
- 27 3月, 2018 15 次提交
-
-
由 Gregory CLEMENT 提交于
Follow the recent trend for the license description Acked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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.htmlAcked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
Follow the recent trend for the license description Acked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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: NUwe Kleine-König <uwe@kleine-koenig.org> Acked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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: NChris Packham <chris.packham@alliedtelesis.co.nz> Acked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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: NChris Packham <chris.packham@alliedtelesis.co.nz> Acked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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.htmlAcked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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: NChris Packham <chris.packham@alliedtelesis.co.nz> Acked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Gregory CLEMENT 提交于
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.htmlAcked-by: NJason Cooper <jason@lakedaemon.net> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Russell King 提交于
Add SFP module support for Clearfog using the SFP phylink support. Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk> Tested-by: NAndrew Lunn <andrew@lunn.ch> Tested-by: NBaruch Siach <baruch@tkos.co.il> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Hauke Mehrtens 提交于
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: NHauke Mehrtens <hauke@hauke-m.de> Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
-
由 Viresh Kumar 提交于
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: NViresh Kumar <viresh.kumar@linaro.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 26 3月, 2018 1 次提交
-
-
由 Michael Forney 提交于
stat(1) is not standardized and different implementations have their own (conflicting) flags for querying the size of a file. ls(1) provides the same information (value of st.st_size) in the 5th column, except when the file is a character or block device. This output is standardized[0]. The -n option turns on -l, which writes lines formatted like "%s %u %s %s %u %s %s\n", <file mode>, <number of links>, <owner name>, <group name>, <size>, <date and time>, <pathname> but instead of writing the <owner name> and <group name>, it writes the numeric owner and group IDs (this avoids /etc/passwd and /etc/group lookups as well as potential field splitting issues). The <size> field is specified as "the value that would be returned for the file in the st_size field of struct stat". To avoid duplicating logic in several locations in the tree, create scripts/file-size.sh and update callers to use that instead of stat(1). [0] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html#tag_20_73_10Signed-off-by: NMichael Forney <forney@google.com> Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
- 24 3月, 2018 1 次提交
-
-
由 Nicolas Pitre 提交于
Send nm complaints about broken pipe (when sed exits early) to /dev/null. All errors should be printed to stderr. Don't trap on normal exit so the trap can return an error code. Signed-off-by: NNicolas Pitre <nico@linaro.org> Tested-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
-
- 23 3月, 2018 1 次提交
-
-
由 Philipp Puschmann 提交于
Fixes the warning "GIC: PPI13 is secure or misconfigured" by changing the interrupt type from level_low to edge_raising Signed-off-by: NPhilipp Puschmann <pp@emlix.com> Signed-off-by: NDinh Nguyen <dinguyen@kernel.org>
-
- 22 3月, 2018 4 次提交
-
-
由 Peter Rosin 提交于
For consistency with all other serial pins, add this pullup. It also prevents the signal from floating and so consuming a useless extra amount of power in crowbarred state if nothing is connected to RX. Signed-off-by: NPeter Rosin <peda@axentia.se> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Peter Rosin 提交于
For consistency with all other serial pins, add this pullup. It also prevents the signal from floating and so consuming a useless extra amount of power in crowbarred state if nothing is connected to RX. Signed-off-by: NPeter Rosin <peda@axentia.se> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Peter Rosin 提交于
Remove pullup on uart TX signals, they are push-pull outputs thus pullups are pointless. Add pullup on uart RX signals, they prevent the RX signals to be left floating and so consuming a useless extra amount of power in crowbarred state if nothing is connected to RX. Signed-off-by: NPeter Rosin <peda@axentia.se> Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-
由 Nicolas Ferre 提交于
There are only 19 PIOB pins having primary names PB0-PB18. Not all of them have a 'C' function. So the pinctrl property mask ends up being the same as the other SoC of the at91sam9x5 series. Reported-by: NMarek Sieranski <marek.sieranski@microchip.com> Signed-off-by: NNicolas Ferre <nicolas.ferre@microchip.com> Cc: <stable@vger.kernel.org> # v3.8+ Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
-