- 29 6月, 2018 1 次提交
-
-
由 oscardagrach 提交于
These properties are required for compatibility with runtime PM. Without these properties, MMC host controller will not be aware of power capabilities. When the wlcore driver attempts to power on the device, it will erroneously fail with -EACCES. This fixes a regression found here: https://lkml.org/lkml/2018/6/12/930 Fixes: 60f36637 ("wlcore: sdio: allow pm to handle sdio power") Signed-off-by: NRyan Grachek <ryan@edited.us> Tested-by: NJohn Stultz <john.stultz@linaro.org> Acked-by: NJohn Stultz <john.stultz@linaro.org> Tested-by: NValentin Schneider <valentin.schneider@arm.com> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
- 21 12月, 2017 1 次提交
-
-
由 Amit Kucheria 提交于
Blink the LED on a kernel panic. Signed-off-by: NAmit Kucheria <amit.kucheria@linaro.org> Acked-by: NGuodong Xu <guodong.xu@linaro.org> Tested-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 02 11月, 2017 1 次提交
-
-
由 Greg Kroah-Hartman 提交于
Many source files in the tree are missing licensing information, which makes it harder for compliance tools to determine the correct license. By default all files without license information are under the default license of the kernel, which is GPL version 2. Update the files which contain no license information with the 'GPL-2.0' SPDX license identifier. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This patch is based on work done by Thomas Gleixner and Kate Stewart and Philippe Ombredanne. How this work was done: Patches were generated and checked against linux-4.14-rc6 for a subset of the use cases: - file had no licensing information it it. - file was a */uapi/* one with no licensing information in it, - file was a */uapi/* one with existing licensing information, Further patches will be generated in subsequent months to fix up cases where non-standard license headers were used, and references to license had to be inferred by heuristics based on keywords. The analysis to determine which SPDX License Identifier to be applied to a file was done in a spreadsheet of side by side results from of the output of two independent scanners (ScanCode & Windriver) producing SPDX tag:value files created by Philippe Ombredanne. Philippe prepared the base worksheet, and did an initial spot review of a few 1000 files. The 4.13 kernel was the starting point of the analysis with 60,537 files assessed. Kate Stewart did a file by file comparison of the scanner results in the spreadsheet to determine which SPDX license identifier(s) to be applied to the file. She confirmed any determination that was not immediately clear with lawyers working with the Linux Foundation. Criteria used to select files for SPDX license identifier tagging was: - Files considered eligible had to be source code files. - Make and config files were included as candidates if they contained >5 lines of source - File already had some variant of a license header in it (even if <5 lines). All documentation files were explicitly excluded. The following heuristics were used to determine which SPDX license identifiers to apply. - when both scanners couldn't find any license traces, file was considered to have no license information in it, and the top level COPYING file license applied. For non */uapi/* files that summary was: SPDX license identifier # files ---------------------------------------------------|------- GPL-2.0 11139 and resulted in the first patch in this series. If that file was a */uapi/* path one, it was "GPL-2.0 WITH Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was: SPDX license identifier # files ---------------------------------------------------|------- GPL-2.0 WITH Linux-syscall-note 930 and resulted in the second patch in this series. - if a file had some form of licensing information in it, and was one of the */uapi/* ones, it was denoted with the Linux-syscall-note if any GPL family license was found in the file or had no licensing in it (per prior point). Results summary: SPDX license identifier # files ---------------------------------------------------|------ GPL-2.0 WITH Linux-syscall-note 270 GPL-2.0+ WITH Linux-syscall-note 169 ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21 ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17 LGPL-2.1+ WITH Linux-syscall-note 15 GPL-1.0+ WITH Linux-syscall-note 14 ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5 LGPL-2.0+ WITH Linux-syscall-note 4 LGPL-2.1 WITH Linux-syscall-note 3 ((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3 ((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1 and that resulted in the third patch in this series. - when the two scanners agreed on the detected license(s), that became the concluded license(s). - when there was disagreement between the two scanners (one detected a license but the other didn't, or they both detected different licenses) a manual inspection of the file occurred. - In most cases a manual inspection of the information in the file resulted in a clear resolution of the license that should apply (and which scanner probably needed to revisit its heuristics). - When it was not immediately clear, the license identifier was confirmed with lawyers working with the Linux Foundation. - If there was any question as to the appropriate license identifier, the file was flagged for further research and to be revisited later in time. In total, over 70 hours of logged manual review was done on the spreadsheet to determine the SPDX license identifiers to apply to the source files by Kate, Philippe, Thomas and, in some cases, confirmation by lawyers working with the Linux Foundation. Kate also obtained a third independent scan of the 4.13 code base from FOSSology, and compared selected files where the other two scanners disagreed against that SPDX file, to see if there was new insights. The Windriver scanner is based on an older version of FOSSology in part, so they are related. Thomas did random spot checks in about 500 files from the spreadsheets for the uapi headers and agreed with SPDX license identifier in the files he inspected. For the non-uapi files Thomas did random spot checks in about 15000 files. In initial set of patches against 4.14-rc6, 3 files were found to have copy/paste license identifier errors, and have been fixed to reflect the correct identifier. Additionally Philippe spent 10 hours this week doing a detailed manual inspection and review of the 12,461 patched files from the initial patch version early this week with: - a full scancode scan run, collecting the matched texts, detected license ids and scores - reviewing anything where there was a license detected (about 500+ files) to ensure that the applied SPDX license was correct - reviewing anything where there was no detection but the patch license was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied SPDX license was correct This produced a worksheet with 20 files needing minor correction. This worksheet was then exported into 3 different .csv files for the different types of files to be modified. These .csv files were then reviewed by Greg. Thomas wrote a script to parse the csv files and add the proper SPDX tag to the file, in the format that the file expected. This script was further refined by Greg based on the output to detect more types of files automatically and to distinguish between header and source .c files (which need different comment types.) Finally Greg ran the script using the .csv files to generate the patches. Reviewed-by: NKate Stewart <kstewart@linuxfoundation.org> Reviewed-by: NPhilippe Ombredanne <pombredanne@nexb.com> Reviewed-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 10 10月, 2017 1 次提交
-
-
由 Linus Walleij 提交于
This adds line names for all the GPIOs I could identify on the HiKey960 schematic. "GPIO-A" through "GPIO-L" are the most important since they give users a handle to look up the standard 96boards GPIOs from the GPIO character device. The rest of the names are more informational, nice debug information for "lsgpio" so you can see that the right line is taken for the right function in the kernel for example. Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Zhangfei Gao <zhangfei.gao@hisilicon.com> Cc: Guodong Xu <guodong.xu@linaro.org> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
- 16 8月, 2017 4 次提交
-
-
由 Guodong Xu 提交于
Update bluetooth UART max-speed to 3Mbps Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Guodong Xu 提交于
This patch reserves some memory in the DTS and sets up a pstore device tree node to enable pstore support on HiKey960. Cc: John Stultz <john.stultz@linaro.org> Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Guodong Xu 提交于
Add support to hikey960 dts for the syscon-reboot-mode driver. Cc: John Stultz <john.stultz@linaro.org> Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Victor Chong 提交于
This patch adds op-tee node for hikey960 Signed-off-by: NVictor Chong <victor.chong@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
- 16 6月, 2017 3 次提交
-
-
由 Guodong Xu 提交于
Add nodes for WiFi. HiKey960 is using TI WL1837MOD module. Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Li Wei 提交于
Add sd/sdio device nodes for hi3660 soc Signed-off-by: NLi Wei <liwei213@huawei.com> Signed-off-by: NChen Jun <chenjun14@huawei.com> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Wang Xiaoyin 提交于
add device node for hi6421 pmic core and hi6421v530 voltage regulator,include LDO(1,3,9,11,15,16) Signed-off-by: NWang Xiaoyin <hw.wangxiaoyin@hisilicon.com> Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
- 15 6月, 2017 7 次提交
-
-
由 Wang Xiaoyin 提交于
Add spi2 and spi3 device nodes for hi3660, and enable them for hikey960. On HiKey960: - SPI2 is wired out through low speed expansion connector. - SPI3 is wired out through high speed expansion connector. Signed-off-by: NWang Xiaoyin <hw.wangxiaoyin@hisilicon.com> Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Guodong Xu 提交于
HiKey960 has four user LEDs, and two special purpose LEDs: WiFi and BT respectively. All of them are implemented as GPIO. Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Chen Jun 提交于
We use gpio_034 as power key on hikey960, and set gpio with pull-up state, when key press the voltage on the gpio will come to lower, and power key event will be reported. Signed-off-by: NChen Jun <chenjun14@huawei.com> Signed-off-by: NJohn Stultz <john.stultz@linaro.org> Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Guodong Xu 提交于
This adds the serial slave device for the WL1837 Bluetooth interface. Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Chen Feng 提交于
Add nodes uart0 to uart4 and uart6 for hi3660 SoC. Enable uart3 and uart6, disable uart5, in hikey960 board dts. On HiKey960: - UART6 is used as default console, and is wired out through low speed expansion connector. - UART3 has RTS/CTS hardware handshake, and is wired out through low speed expansion connector. - UART5 is not used in commercial launched boards. So disable it. - UART4 is connected to Bluetooth, WL1837. Signed-off-by: NChen Feng <puck.chen@hisilicon.com> Signed-off-by: NWang Xiaoyin <hw.wangxiaoyin@hisilicon.com> Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Reviewed-by: NZhangfei Gao <zhangfei.gao@hisilicon.com> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Zhangfei Gao 提交于
Add I2C nodes for Hi3660-hikey960. On HiKey960, I2C0, I2C7 are connected to Low Speed Expansion Connector. I2C1 is connected to ADV7535. I2C3 is connected to USB5734. Cc: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: NZhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
由 Guodong Xu 提交于
Update compatible string for hikey960. HiKey960 is a develpment board built with SoC Hi3660. Signed-off-by: NGuodong Xu <guodong.xu@linaro.org> Signed-off-by: NChen Feng <puck.chen@hisilicon.com> Acked-by: NRob Herring <robh@kernel.org> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
- 10 4月, 2017 1 次提交
-
-
由 Wang Xiaoyin 提交于
Add pinctrl dtsi file for HiKey960 development board, enable 5 pinmux devices and 1 pinconf device, also include some nodes of configurations for pins. Signed-off-by: NWang Xiaoyin <hw.wangxiaoyin@hisilicon.com> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-
- 26 1月, 2017 1 次提交
-
-
由 Chen Feng 提交于
Add initial dtsi file to support Hisilicon Hi3660 SoC with support of Octal core CPUs in two clusters(4 * A53 & 4 * A73). Also add dts file to support HiKey960 development board which based on Hi3660 SoC. The output console is earlycon "earlycon=pl011,0xfdf05000". And the con_init uart5 with a fixed clock, which already configured at bootloader. When clock is available, the uart5 will be modified. Tested on HiKey960 Board. Signed-off-by: NChen Feng <puck.chen@hisilicon.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
-