- 02 Mar, 2018 1 commit
-
-
oscardagrach authored
According to the hi6220 datasheet, the MMC controller is JEDEC eMMC 4.5 compliant, in addition to supporting a clock of up to 150MHz. The Hikey schematic also indicates the device utilizes 1.8v signaling. Define these parameters in the device tree to enable HS200 mode. Signed-off-by:
Ryan Grachek <ryan@edited.us> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
- 21 Dec, 2017 1 commit
-
-
Amit Kucheria authored
Blink the LED on a kernel panic. Signed-off-by:
Amit Kucheria <amit.kucheria@linaro.org> Acked-by:
Guodong Xu <guodong.xu@linaro.org> Acked-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 02 Nov, 2017 1 commit
-
-
Greg Kroah-Hartman authored
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:
Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by:
Philippe Ombredanne <pombredanne@nexb.com> Reviewed-by:
Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 16 Jun, 2017 1 commit
-
-
John Stultz authored
Add entry for k3-dma driver and i2s/hdmi audio devices. This enables HDMI audio output. Cc: Zhangfei Gao <zhangfei.gao@linaro.org> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: Jaroslav Kysela <perex@perex.cz> Cc: Takashi Iwai <tiwai@suse.com> Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Andy Green <andy@warmcat.com> Cc: Dave Long <dave.long@linaro.org> Cc: Guodong Xu <guodong.xu@linaro.org> Cc: Antonio Borneo <borneo.antonio@gmail.com> Cc: Olof Johansson <olof@lixom.net> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by:
John Stultz <john.stultz@linaro.org> v2: * Split core i2s entry into dtsi and hdmi specific bits into hikey dts v4: * Rework simple-card to use many-dai-links method, as there may be other links in the future v5: * Rework audio description to use the audio-card-graph method as requested by Mark. Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
- 09 Jun, 2017 1 commit
-
-
Ulf Hansson authored
To make the TI WiLink chip work again for Bluetooth, let's add the missing external clock to the Bluetooth node, such the driver can deal properly with it during power on/off. Fixes: ea452678 ("arm64: dts: hikey: Fix WiFi support") Cc: Wei Xu <xuwei5@hisilicon.com> Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Tested-by:
John Stultz <john.stultz@linaro.org> Signed-off-by:
Marcel Holtmann <marcel@holtmann.org>
-
- 23 May, 2017 5 commits
-
-
Ulf Hansson authored
The description of the connection between the dwmmc (SDIO) controller and the Wifi chip, which is attached to the SDIO bus is wrong. Currently the SDIO card can't be detected and thus the Wifi doesn't work. Let's fix this by assigning the correct vmmc supply, which is the always on regulator VDD_3V3 and remove the WLAN enable regulator altogether. Then to properly deal with the power on/off sequence, add a mmc-pwrseq node to describe the resources needed to detect the SDIO card. Except for the WLAN enable GPIO and its corresponding assert/de-assert delays, the mmc-pwrseq node also contains a handle to a clock provided by the hi655x pmic. This clock is also needed to be able to turn on the WiFi chip. Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Ulf Hansson authored
Move the board specific descriptions for the dwmmc nodes in the hi6220 SoC dtsi, into the hikey dts as it's there these belongs. While changing this, let's take the opportunity to drop the use of the "ti,non-removable" binding for one of the dwmmc device nodes, as it's not a valid binding and not used. Drop also the unnecessary use of "num-slots = <0x1>" for all of the dwmmc nodes, as there is no need to set this since when default number of slots is one. Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Acked-by:
Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Ulf Hansson authored
Add these regulators to better describe the HW, but also because those is needed in following changes. Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Acked-by:
Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Ulf Hansson authored
The regulator is a part of the hikey board, therefore let's move it from the hi6220 SoC dtsi file into the hikey dts file . Let's also rename the regulator according to the datasheet (5V_HUB) to better reflect the HW. Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Acked-by:
Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Daniel Lezcano authored
The hi655x PMIC provides the regulators but also a clock. The latter is missing so let's add it. This clock is used by WiFi/Bluetooth chip, but that connection is done in a separate change on top of this one. Signed-off-by:
Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by:
Rob Herring <robh@kernel.org> Acked-by:
Lee Jones <lee.jones@linaro.org> [Ulf: Split patch and updated changelog] Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
- 13 Apr, 2017 1 commit
-
-
Rob Herring authored
This adds the serial slave device for the WL1835 Bluetooth interface. Signed-off-by:
Rob Herring <robh@kernel.org> Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by:
Marcel Holtmann <marcel@holtmann.org>
-
- 10 Mar, 2017 1 commit
-
-
Jerome Forissier authored
Acked-by:
Wei Xu <xuwei5@hisilicon.com> Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- 30 Aug, 2016 1 commit
-
-
Guodong Xu authored
To support display in Debian on HiKey, cma heap is used to allocate graphic buffers. The default size of CMA is 16 MB which is not enough. Increase the default CMA size to 128 MB. cc: Fathi Boudra <fathi.boudra@linaro.org> cc: John Stultz <john.stultz@linaro.org> cc: Xinliang Liu <xinliang.liu@linaro.org> Signed-off-by:
Guodong Xu <guodong.xu@linaro.org> Acked-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
- 24 Aug, 2016 5 commits
-
-
John Stultz authored
This patch reserves some memory in the DTS and sets up a pstore device tree node to enable pstore support on HiKey. Cc: Kees Cook <keescook@chromium.org> Cc: Guodong Xu <guodong.xu@linaro.org> Cc: Haojian Zhuang <haojian.zhuang@linaro.org> Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Reviewed-by:
Kees Cook <keescook@chromium.org> Signed-off-by:
John Stultz <john.stultz@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
John Stultz authored
Add support to hikey dts for the syscon-reboot-mode driver. After trying an approach using a sram driver and node, a number of issues cropped up which would make it so we would be duplicating a lot of extra syscon infrastructure in order to support mfds on sram. After talking with Bjorn, using the syscon driver for this seems like an better choice. Cc: Andy Yan <andy.yan@rock-chips.com> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Haojian Zhuang <haojian.zhuang@linaro.org> Cc: Guodong Xu <guodong.xu@linaro.org> Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Acked-by:
Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by:
John Stultz <john.stultz@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Xinliang Liu authored
Add adv7533 HDMI DT node for HiKey board. Cc: Guodong Xu <guodong.xu@linaro.org> Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by:
Xinliang Liu <xinliang.liu@linaro.org> Signed-off-by:
John Stultz <john.stultz@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Xinliang Liu authored
Add ade and dsi DT nodes for hikey board. Cc: Guodong Xu <guodong.xu@linaro.org> Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by:
Xinliang Liu <xinliang.liu@linaro.org> Signed-off-by:
John Stultz <john.stultz@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Jorge Ramirez-Ortiz authored
Enable support for higher baud rates (up to 3Mbps) in UART1 - required for bluetooth transfers. Signed-off-by:
Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> Tested-by:
Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> Reviewed-by:
Michael Turquette <mturquette@baylibre.com> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
- 28 Jun, 2016 1 commit
-
-
Linus Walleij authored
This names the GPIO lines on the HiKey board in accordance with the 96Board Specification for especially the Low Speed External Connector: "GPIO-A" thru "GPIO-L". This will make these line names reflect through to userspace so that they can easily be identified and used with the new character device ABI. Some care has been taken to name all lines, not just those used by the external connectors, also lines that are muxed into some other function than GPIO: these are named "[FOO]" so that users can see with lsgpio what all lines are used for. Cc: devicetree@vger.kernel.org Cc: John Stultz <john.stultz@linaro.org> Cc: Rob Herring <robh@kernel.org> Cc: David Mandala <david.mandala@linaro.org> Cc: Haojian Zhuang <haojian.zhuang@linaro.org> Cc: Wei Xu <xuwei5@hisilicon.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
- 15 Apr, 2016 8 commits
-
-
Guodong Xu authored
Add wifi nodes support for hi6220-hikey Signed-off-by:
Guodong Xu <guodong.xu@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Chen Feng authored
Add the mfd hi655x dts node and regulator support on hi6220 platform. Signed-off-by:
Chen Feng <puck.chen@hisilicon.com> Signed-off-by:
Fei Wang <w.f@huawei.com> Signed-off-by:
Xinwei Kong <kong.kongxinwei@hisilicon.com> Signed-off-by:
Guodong Xu <guodong.xu@linaro.org> Reviewed-by:
Haojian Zhuang <haojian.zhuang@linaro.org> Reviewed-by:
Rob Herring <robh@kernel.org> Acked-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Guodong Xu authored
Add LED nodes for hi6220-hikey. There are total 6 LEDs on HiKey. Four general purposed, one for WiFi activity, and one for Bluetooth activity. Signed-off-by:
Guodong Xu <guodong.xu@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Guodong Xu authored
Add pinctrl for uart2 uart3 and uart4. Enable uart1 uart2 and uart3. Signed-off-by:
Guodong Xu <guodong.xu@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Guodong Xu authored
In HiKey board dts file, enable i2c0 and i2c1 for working with 96boards' LS mezzanine. Signed-off-by:
Guodong Xu <guodong.xu@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Zhong Kaihua authored
Add Hi6220 spi configuration nodes. Disable by default in hi6220.dtsi and enable it in board dts for usage of 96boards LS mezzanine board. Signed-off-by:
Zhong Kaihua <zhongkaihua@huawei.com> Signed-off-by:
Guodong Xu <guodong.xu@linaro.com> Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Zhong Kaihua authored
Add Hi6220 pinctrl configuration nodes Signed-off-by:
Zhong Kaihua <zhongkaihua@huawei.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
Haojian Zhuang <haojian.zhuang@linaro.org> Acked-by:
Tony Lindgren <tony@atomide.com> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Leo Yan authored
On Hi6220, below memory regions in DDR have specific purpose: 0x05e0,0000 - 0x05ef,ffff: For MCU firmware using at runtime; 0x06df,f000 - 0x06df,ffff: For mailbox message data; 0x0740,f000 - 0x0740,ffff: For MCU firmware's section; 0x3e00,0000 - 0x3fff,ffff: For OP-TEE. This patch reserves these memory regions in DT. Signed-off-by:
Leo Yan <leo.yan@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
- 09 Jan, 2016 1 commit
-
-
Greg Kroah-Hartman authored
This reverts commit 59dfafd0 Mark Brown reports that the dts file should not be accepted at this time as it is not following the convention that has been agreed on for the ion drivers. Reported-by:
Mark Brown <broonie@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Chen Feng <puck.chen@hisilicon.com> Cc: Yu Dongbin <yudongbin@hisilicon.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 22 Dec, 2015 1 commit
-
-
Rob Herring authored
Add label properties to provide a way to identify UARTs based on their board or connector name. This follows naming convention in 96boards CE spec. Ports without external connections are not labelled. Signed-off-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 21 Dec, 2015 1 commit
-
-
Chen Feng authored
Add ION node to enable ION on hi6220 SoC platform Signed-off-by:
Chen Feng <puck.chen@hisilicon.com> Signed-off-by:
Yu Dongbin <yudongbin@hisilicon.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 06 Oct, 2015 1 commit
-
-
Tyler Baker authored
This patch adds all UART nodes for the Hi6220 SoC. Recently a board[1] has been developed to standardize UART access across all the 96boards consumer edition boards. To use this hardware on HiKey we must configure and enable UART3. However, to ensure backward compatibility we must keep UART0 enabled as well. I have removed the hard coded clock index values in favor of using the ones already defined in include/dt-bindings/clock/hi6220-clock.h. Since UART0 needs to be soldered, it has been suggested to use the UART3 as the default console. This patch was boot tested on top of next-20150930, with both UART configurations. [1] http://www.seeedstudio.com/depot/96Boards-UART-p-2525.html?ref=newInBazaarSigned-off-by:
Tyler Baker <tyler.baker@linaro.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 05 Jun, 2015 1 commit
-
-
Bintian Wang authored
Add initial dtsi file to support Hisilicon Hi6220 SoC with support of Octal core CPUs in two clusters and each cluster has quard Cortex-A53. Also add dts file to support HiKey development board which based on Hi6220 SoC. Signed-off-by:
Bintian Wang <bintian.wang@huawei.com> Acked-by:
Haojian Zhuang <haojian.zhuang@linaro.org> Reviewed-by:
Yiping Xu <xuyiping@hisilicon.com> Tested-by:
Will Deacon <will.deacon@arm.com> Tested-by:
Tyler Baker <tyler.baker@linaro.org> Tested-by:
Kevin Hilman <khilman@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-