]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/log
mirror_ubuntu-artful-kernel.git
6 years agoarm64: dts: qcom: Enable USB manual pullup on msm8916
Ivan T. Ivanov [Tue, 7 Jul 2015 13:38:06 +0000 (16:38 +0300)]
arm64: dts: qcom: Enable USB manual pullup on msm8916

On msm8916 based chipset vbus is not routed to USB controller/phy
and controller driver therefore enables pull-up explicitly
before starting controller using usbcmd run/stop bit.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoarm64: dts: qcom: Fix MPP's function used for LED control
Ivan T. Ivanov [Tue, 7 Jul 2015 11:14:39 +0000 (14:14 +0300)]
arm64: dts: qcom: Fix MPP's function used for LED control

The qcom-spmi-mpp driver is now using string "digital" to denote
old "normal" functionality. Update DTS file.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoarm64: dts: qcom: apq8016-sbc: Enable SD card slot
Ivan T. Ivanov [Mon, 8 Jun 2015 09:57:01 +0000 (12:57 +0300)]
arm64: dts: qcom: apq8016-sbc: Enable SD card slot

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoarm64: dts: qcom: apq8016-sbc: Fix sdhci pinctrl default state name
Ivan T. Ivanov [Fri, 5 Jun 2015 12:38:47 +0000 (15:38 +0300)]
arm64: dts: qcom: apq8016-sbc: Fix sdhci pinctrl default state name

Pinctrl framework is using "default" string to find and activate
device pin configuration before driver probe method. s/active/default.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoarm64: dts: qcom: apq8016-sbc: add D+/D- route switch GPIO
Ivan T. Ivanov [Fri, 29 May 2015 12:47:21 +0000 (15:47 +0300)]
arm64: dts: qcom: apq8016-sbc: add D+/D- route switch GPIO

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoarm64: dts: qcom: Fix apq8016-sbc board USB related pin definitions
Ivan T. Ivanov [Thu, 21 May 2015 06:44:48 +0000 (09:44 +0300)]
arm64: dts: qcom: Fix apq8016-sbc board USB related pin definitions

USB2513B HUB reset line is connected to PMIC GPIO 3 not to GPIO 1.
TC7USB40MU Dual SPDT Switch select input line is connected to PMIC
GPIO 4 not to GPIO 2. Fix this. Remove unused LED nodes.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoarm64: dts: qcom: apq8016-sbc: Don't hog client driver pins
Ivan T. Ivanov [Fri, 8 May 2015 09:26:19 +0000 (12:26 +0300)]
arm64: dts: qcom: apq8016-sbc: Don't hog client driver pins

Hogging pins from pinctrl driver prevents client drivers
to probe.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoarm64: dts: Add apq8016-sbc hdmi audio support
Srinivas Kandagatla [Wed, 6 May 2015 08:57:34 +0000 (09:57 +0100)]
arm64: dts: Add apq8016-sbc hdmi audio support

This patch adds hdmi audio support to apq8016-sbc board.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Conflicts:
arch/arm64/boot/dts/qcom/msm8916.dtsi

6 years agoarm64: sb8016: Add ADV7533 bridge in sbc8016 dtsi
Archit Taneja [Thu, 16 Apr 2015 10:23:07 +0000 (15:53 +0530)]
arm64: sb8016: Add ADV7533 bridge in sbc8016 dtsi

- Add adv7533 bridge child to mdss_dsi
- Add pinmux configs required gpios connected to ADV7533

Signed-off-by: Archit Taneja <architt@codeaurora.org>
6 years agoarm64: msm8916 dtsi: Add mdss support
Archit Taneja [Thu, 16 Apr 2015 10:20:34 +0000 (15:50 +0530)]
arm64: msm8916 dtsi: Add mdss support

Add a DT node for mdss mdp and mdss_dsi and dsi phy. A new dtsi file is created
for this.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Conflicts:
arch/arm64/boot/dts/qcom/msm8916.dtsi

6 years agoARM: dts: Enable SD card (disable vmcc)
Georgi Djakov [Thu, 26 Mar 2015 15:41:01 +0000 (17:41 +0200)]
ARM: dts: Enable SD card (disable vmcc)

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
6 years agoarm64: dts: Add nodes we need for SMP boot
Kumar Gala [Fri, 27 Feb 2015 22:11:57 +0000 (16:11 -0600)]
arm64: dts: Add nodes we need for SMP boot

Conflicts:
arch/arm64/boot/dts/qcom/msm8916.dtsi

6 years agoarm64: dts: qcom: Add sdhci support for APQ8016 SBC board
Ivan T. Ivanov [Tue, 7 Apr 2015 11:47:01 +0000 (12:47 +0100)]
arm64: dts: qcom: Add sdhci support for APQ8016 SBC board

Currently it have the same functionality as MTP board.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoarm64: dts: qcom: Add USB related device nodes on APQ8016 SBC board
Ivan T. Ivanov [Fri, 3 Apr 2015 12:31:34 +0000 (15:31 +0300)]
arm64: dts: qcom: Add USB related device nodes on APQ8016 SBC board

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoarm64: dts: qcom: Add APQ8016 SBC support
Andy Gross [Tue, 31 Mar 2015 19:26:15 +0000 (14:26 -0500)]
arm64: dts: qcom: Add APQ8016 SBC support

This patch set adds support for the APQ8016 SBC.

Signed-off-by: Andy Gross <agross@codeaurora.org>
[Srinivas Kandagatla]: rebased on top of kumars original patch
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoDT: arm64: msm8916-mtp: enable spi3
Stanimir Varbanov [Tue, 17 Mar 2015 16:25:32 +0000 (18:25 +0200)]
DT: arm64: msm8916-mtp: enable spi3

This enable spi3 on msm8916 mtp board

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
6 years agoarm64: dts: Add Qualcomm MSM8916 & MTP8916 ids
Kumar Gala [Wed, 11 Mar 2015 20:51:20 +0000 (15:51 -0500)]
arm64: dts: Add Qualcomm MSM8916 & MTP8916 ids

Add qcom,msm-id and qcom,board-id to allow bootloader to identify which
device tree to boot on the MTP8916 boards.

Signed-off-by: Kumar Gala <galak@codeaurora.org>
6 years agodevicetree: bindings: Document qcom,msm-id and qcom,board-id
Kumar Gala [Wed, 11 Mar 2015 20:51:19 +0000 (15:51 -0500)]
devicetree: bindings: Document qcom,msm-id and qcom,board-id

The top level qcom,msm-id and qcom,board-id are utilized by bootloaders
on Qualcomm MSM platforms to determine which device tree should be
utilized and passed to the kernel.

Cc: <devicetree@vger.kernel.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
6 years agoarm64: dts: apq8016-sbc: add label properties for UART, I2C, and SPI
Rob Herring [Thu, 10 Dec 2015 21:21:12 +0000 (15:21 -0600)]
arm64: dts: apq8016-sbc: add label properties for UART, I2C, and SPI

Add label properties to provide a way to identify UART, I2C and SPI
ports based on their connector names. This follows naming convention in
96boards CE spec. Ports without external connections are not labelled.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Andy Gross <agross@codeaurora.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoarm64: dts: apq8016-sbc: enable UART0 on LS connector
Rob Herring [Thu, 10 Dec 2015 21:21:11 +0000 (15:21 -0600)]
arm64: dts: apq8016-sbc: enable UART0 on LS connector

The LS UART0 is not used by anything else and should be enabled for
expansion boards.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Andy Gross <agross@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoarm64: dts: qcom: Add pm8994 gpios and MPPs
Stephen Boyd [Wed, 18 Nov 2015 01:12:29 +0000 (17:12 -0800)]
arm64: dts: qcom: Add pm8994 gpios and MPPs

Add the gpio and MPP devices to the pm8994 pmic dts.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: Add pm8994, pmi8994, pm8004 PMIC skeletons
Stephen Boyd [Wed, 18 Nov 2015 01:12:28 +0000 (17:12 -0800)]
arm64: dts: qcom: Add pm8994, pmi8994, pm8004 PMIC skeletons

Add the skeleton nodes for the PMICs found on msm8996-mtp
devices.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: Add PM8916 support on MSM8916
Andy Gross [Thu, 24 Sep 2015 19:18:54 +0000 (14:18 -0500)]
arm64: dts: Add PM8916 support on MSM8916

This patch adds the PM8916 regulator nodes found on MSM8916 platforms.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
6 years agoarm64: dts: qcom: Add RPM/SMD support on MSM8916
Andy Gross [Thu, 24 Sep 2015 19:18:53 +0000 (14:18 -0500)]
arm64: dts: qcom: Add RPM/SMD support on MSM8916

Add support for the SMD and RPM devices found on MSM8916 platforms.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
6 years agoarm64: dts: qcom: Add MSM8916 SMEM nodes
Andy Gross [Thu, 24 Sep 2015 19:18:52 +0000 (14:18 -0500)]
arm64: dts: qcom: Add MSM8916 SMEM nodes

This patch adds the nodes necessary to support the SMEM driver on MSM8916
platforms.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
6 years agoarm64: dts: set the default i2c pin drive strength to 16mA
Srinivas Kandagatla [Fri, 11 Dec 2015 18:13:12 +0000 (18:13 +0000)]
arm64: dts: set the default i2c pin drive strength to 16mA

2mA drive strength is not enough when we connect multiple i2c devices
on the bus with different pull up resistors.

This issue was detected when multiple i2c devices connected on the other side
of level shifters on Linaro sensor board. Maxing up to 16mA made i2c much stable.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: fix the i2c aliasing to match to schematics.
Srinivas Kandagatla [Fri, 11 Dec 2015 18:12:50 +0000 (18:12 +0000)]
arm64: dts: fix the i2c aliasing to match to schematics.

This patch fixes the i2c bus number aliasing so that it matches with the
schematics bus naming.

Without this patch the user might would get bus numbers depending on
the order the devices are probed.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: msm8916: Add fixed rate on-board oscillators
Georgi Djakov [Thu, 3 Dec 2015 14:02:52 +0000 (16:02 +0200)]
arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators

Currently the rates of the xo and sleep clocks are hard-coded in the
GCC driver, but this is a board layout description that actually should
be in the DT. Moving them into DT also allows us to insert the RPM
controlled clocks between the DT and GCC clocks.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agoarm64: dts: qcom: Alias pm8916 on msm8916 devices
Stephen Boyd [Fri, 20 Nov 2015 23:31:19 +0000 (15:31 -0800)]
arm64: dts: qcom: Alias pm8916 on msm8916 devices

Add an alias for pm8916 on msm8916 based SoCs so that the newly
updated dtbTool can find the pmic compatible string and add the
pmic-id element to the QCDT header.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agoarm64: dts: qcom: Make msm8916-mtp compatible string compliant
Stephen Boyd [Fri, 20 Nov 2015 23:31:17 +0000 (15:31 -0800)]
arm64: dts: qcom: Make msm8916-mtp compatible string compliant

This compatible string isn't compliant with the format for
subtypes. Replace it with a compliant compatible type.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agoarm64: dts: qcom: 8x16: UART1 and UART2 use DMA for RX and TX
Ivan T. Ivanov [Fri, 18 Sep 2015 13:18:54 +0000 (16:18 +0300)]
arm64: dts: qcom: 8x16: UART1 and UART2 use DMA for RX and TX

Add DMA channels definitions for UART1 and UART2 controllers.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agoarm64: dts: qcom: 8x16: UART1 add CTS_N, RTS_N pin configurations
Ivan T. Ivanov [Fri, 18 Sep 2015 13:18:53 +0000 (16:18 +0300)]
arm64: dts: qcom: 8x16: UART1 add CTS_N, RTS_N pin configurations

Add devicetree bindings for UART1 CTS_N and RTS_N pins.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agoarm: dts: apq8064: Add thermal zones, tsens and qfprom nodes
Rajendra Nayak [Fri, 9 Oct 2015 09:41:08 +0000 (15:11 +0530)]
arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes

TSENS is part of GCC, hence add TSENS properties as part of GCC node.
Also add thermal zones and qfprom nodes.
Update GCC bindings doc to mention the possibility of optional TSENS
properties that can be part of GCC node.

Cc: Andy Gross <agross@codeaurora.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
6 years agoARM: dts: apq8064: Increase critical temperature to 110C
Georgi Djakov [Thu, 17 Sep 2015 15:16:08 +0000 (18:16 +0300)]
ARM: dts: apq8064: Increase critical temperature to 110C

We can hit sometimes the current critical temperature of 95C and
trigger a linux shutdown. Increase the temperature to 110C. This
is still below the temperature at which the PMIC will reset the
board.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
6 years agoARM: dts: ifc6410: HACK add bt reset gpios to pwrseq
Srinivas Kandagatla [Thu, 17 Sep 2015 09:02:18 +0000 (10:02 +0100)]
ARM: dts: ifc6410: HACK add bt reset gpios to pwrseq

This patch adds BT gpios to reset sequence in SDCC4 pwrseq.
Ideally BT UART bus should get hold of pwrseq and do the reset, but for
now as a hack we let the BT reset done just with SDIO bus.

Things will change once the pwrseq is converted in to a proper platform
driver and other buses can use it.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoarm: dts: Added eInfochips ERAGON600 board support
eInfochips Team [Wed, 16 Sep 2015 08:19:43 +0000 (10:19 +0200)]
arm: dts: Added eInfochips ERAGON600 board support

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
6 years agoARM: dts: apq8064: Add ADM configuration node
Ivan T. Ivanov [Fri, 31 Jul 2015 13:43:38 +0000 (16:43 +0300)]
ARM: dts: apq8064: Add ADM configuration node

Add Application Data Mover (DMA) device node.
Connect GSBI6 UARTDM RX and TX channels to it.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoARM: dts: apq8064: Add a DT node for the L2 data
Georgi Djakov [Wed, 9 Sep 2015 07:06:12 +0000 (10:06 +0300)]
ARM: dts: apq8064: Add a DT node for the L2 data

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
6 years agoARM: dts: apq8064: Add reference to the L2 clock
Georgi Djakov [Mon, 7 Sep 2015 09:39:44 +0000 (12:39 +0300)]
ARM: dts: apq8064: Add reference to the L2 clock

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
6 years agoARM: dts: apq8064: Add voltage ranges of the SAW2 regulators
Georgi Djakov [Wed, 26 Aug 2015 08:09:14 +0000 (11:09 +0300)]
ARM: dts: apq8064: Add voltage ranges of the SAW2 regulators

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
6 years agoARM: dts: apq8064: Add thermal cooling maps
Georgi Djakov [Wed, 26 Aug 2015 15:19:47 +0000 (18:19 +0300)]
ARM: dts: apq8064: Add thermal cooling maps

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Conflicts:
arch/arm/boot/dts/qcom-apq8064.dtsi

6 years agoARM: dts: apq8064: Add OPP data for frequencies above 1ghz
Georgi Djakov [Fri, 28 Aug 2015 08:43:33 +0000 (11:43 +0300)]
ARM: dts: apq8064: Add OPP data for frequencies above 1ghz

Now we can scale voltages, so add all frequencies.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
6 years agoARM: dts: apq8064: Assign a power supply to each CPU
Georgi Djakov [Fri, 28 Aug 2015 08:42:05 +0000 (11:42 +0300)]
ARM: dts: apq8064: Assign a power supply to each CPU

Assign to each CPU its power supply that will be used for
voltage scaling.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
6 years agoARM: qcom: add description of KPSS WDT for APQ8064
Pramod Gurav [Wed, 19 Nov 2014 10:09:04 +0000 (15:39 +0530)]
ARM: qcom: add description of KPSS WDT for APQ8064

Describe the Krait Processor Sub-system (KPSS) Watchdog timer in the
APQ8064 device tree.  Also, add a fixed-clock description of SLEEP_CLK,
which will do for now.

Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
6 years agoARM: dts: qcom: Add necessary DT data for Krait cpufreq
Stephen Boyd [Fri, 5 Sep 2014 22:47:36 +0000 (15:47 -0700)]
ARM: dts: qcom: Add necessary DT data for Krait cpufreq

Add the necessary DT nodes and data so we can probe the cpufreq
driver on MSM devices with Krait CPUs.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
6 years agoARM: dts: apq8064: add pci support in CM QS600
Srinivas Kandagatla [Wed, 26 Nov 2014 12:42:18 +0000 (13:42 +0100)]
ARM: dts: apq8064: add pci support in CM QS600

This patch adds PCIE support to APQ8064, tested with Ethernet on
Compulab QS600 board.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoARM: dts: APQ8064: Add iommu
Rob Clark [Thu, 10 Jul 2014 02:07:15 +0000 (22:07 -0400)]
ARM: dts: APQ8064: Add iommu

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Srinivas Kandagatla [updated with latest generic IOMMU changes from Sricharan]

6 years agoARM: dts: ifc6410: add inforce LVDS panel support
Srinivas Kandagatla [Tue, 28 Jul 2015 12:54:36 +0000 (13:54 +0100)]
ARM: dts: ifc6410: add inforce LVDS panel support

This patch adds LVDS panel for IFC6410.

Signed-off-by: Rob Clark <robdclark@gmail.com>
[Rob Clark: WIP patch]
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoARM: dts: qs600: enable MDP support
Srinivas Kandagatla [Tue, 28 Jul 2015 12:54:27 +0000 (13:54 +0100)]
ARM: dts: qs600: enable MDP support

This patch enables MDP support on QS600 platform.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoARM: dts: ifc6410: enable MDP support
Srinivas Kandagatla [Tue, 28 Jul 2015 12:54:18 +0000 (13:54 +0100)]
ARM: dts: ifc6410: enable MDP support

This patch enables MDP support on IFC6410.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoARM: dts: apq8064: Add MDP support
Rob Clark [Tue, 28 Jul 2015 12:54:09 +0000 (13:54 +0100)]
ARM: dts: apq8064: Add MDP support

This patch adds MDP node to APQ8064 dt.

Signed-off-by: Rob Clark <robdclark@gmail.com>
[Srinivas Kandagatla] : updated with new style rpm regulators
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoARM: dts: ifc6410: enable pcie dt node for this board
Stanimir Varbanov [Thu, 3 Dec 2015 13:35:24 +0000 (15:35 +0200)]
ARM: dts: ifc6410: enable pcie dt node for this board

Enable pcie dt node and fill pcie dt node with regulator, pinctrl
and reset gpio, to use the pcie on the ifc6410 board.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
6 years agoARM: dts: apq8064: add pcie devicetree node
Stanimir Varbanov [Thu, 3 Dec 2015 13:35:23 +0000 (15:35 +0200)]
ARM: dts: apq8064: add pcie devicetree node

Add the pcie dt node so that it can probe and used.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
6 years agoARM: dts: qcom: apq8064-ifc6410 Use hardware flow control for GSBI6
Ivan T. Ivanov [Fri, 11 Dec 2015 18:29:58 +0000 (18:29 +0000)]
ARM: dts: qcom: apq8064-ifc6410 Use hardware flow control for GSBI6

GSBI6 UART module is connected to BT chip, which uses
hardware flow control lines. Enable them on SoC side.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm: dts: qcom: apq8064: Add fixed rate on-board oscillators
Georgi Djakov [Thu, 3 Dec 2015 14:02:55 +0000 (16:02 +0200)]
arm: dts: qcom: apq8064: Add fixed rate on-board oscillators

Currently the rates of the xo and sleep clocks are hard-coded in the
GCC driver, but this is a board layout description that actually should
be in the DT. Moving them into DT also allows us to insert the RPM
controlled clocks between the DT and GCC clocks.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agoarm: dts: qcom: Add generic PMIC gpio/MPP compat strings
Stephen Boyd [Sat, 21 Nov 2015 01:49:46 +0000 (17:49 -0800)]
arm: dts: qcom: Add generic PMIC gpio/MPP compat strings

Add the generic compatible strings for the PMIC gpio and MPP
modules found on qcom based PMICs.

Cc: <devicetree@vger.kernel.org>
Cc: "Ivan T. Ivanov" <iivanov@mm-sol.com>
Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agoARM: dts: qcom: apq8064: Introduce gsbi5 and gsbi5 serial node
Bjorn Andersson [Thu, 22 Oct 2015 18:13:50 +0000 (11:13 -0700)]
ARM: dts: qcom: apq8064: Introduce gsbi5 and gsbi5 serial node

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agoARM: dts: qcom: apq8064: Declare all pm8921 regulators
Bjorn Andersson [Thu, 22 Oct 2015 18:13:49 +0000 (11:13 -0700)]
ARM: dts: qcom: apq8064: Declare all pm8921 regulators

Consolidate all labeling of regulators into the core 8064 dtsi file to
make them available from all other dts files.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agoARM: dts: qcom: apq8064: Add hwmutex and SMEM nodes
Bjorn Andersson [Thu, 22 Oct 2015 18:13:48 +0000 (11:13 -0700)]
ARM: dts: qcom: apq8064: Add hwmutex and SMEM nodes

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agodevicetree: Add hardware rng entry to qcom-apq8064.dtsi
John Stultz [Fri, 18 Sep 2015 12:31:12 +0000 (13:31 +0100)]
devicetree: Add hardware rng entry to qcom-apq8064.dtsi

Add devicetree data to add support for hw_rng support
to the apq8064 dts.

Tested on the Nexus7 (2013).

Cc: Kumar Gala <galak@codeaurora.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: devicetree@vger.kernel.org
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
6 years agodrm/msm: mdp4 lvds: Check the panel node in detect_panel()
Srinivas Kandagatla [Fri, 14 Aug 2015 13:51:29 +0000 (14:51 +0100)]
drm/msm: mdp4 lvds: Check the panel node in detect_panel()

This patch checks if the panel node is disabled in DT or not, this would
let us return proper error code so that the driver could stop panel
specific intialization.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agodrm/msm: mdp4 lvds: continue if the panel is not connected
Srinivas Kandagatla [Fri, 14 Aug 2015 13:42:13 +0000 (14:42 +0100)]
drm/msm: mdp4 lvds: continue if the panel is not connected

Two issues:

1> Intializing panel specific bits without actual panel presence.
2> Bailing out if the detect_panel() return -ENODEV.

With the existing code if detect_panel() returns an error code the
driver would bail out without doing anything, However it could continue
intializing hdmi related things. This patch adds two things.

1> moves the panel specific intialization only if the panel is detected
2> let the driver continue with hdmi intialization if detect_panel()
return -ENODEV.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agodrm/panel: simple-panel: Add panel picker support.
Srinivas Kandagatla [Fri, 14 Aug 2015 12:58:07 +0000 (13:58 +0100)]
drm/panel: simple-panel: Add panel picker support.

This patch adds panel picker support to simple-panel.

The idea of panel picker is to select the correct panel timings if it
supports probing edid via DDC bus, edid contains manufacture ID
and Manufacturer product code, so it can match against the panel_picker
entries to get the correct panel timings.

From DT point of view the panel picker uses generic compatible string
"panel-simple", keeping the panel specific compatible strings still
supported.

Panels can be static entry in the DT, but practically development boards
like IFC6410 where developers can connect any LVDS panel which makes it
difficult to maintian the dt support for those panels in dts file.
With this dynamic probing via panel picker makes it easy to support such
use-cases.
This patch also adds panel presence detection based, if there is no
panel detected or panel picker could not find the panel then the driver
would mark the panel DT node as disabled so that the drm driver would
be able to take right decision based on that panel node status.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agodrm/edid: export edid_vendor()
Srinivas Kandagatla [Thu, 13 Aug 2015 13:15:40 +0000 (14:15 +0100)]
drm/edid: export edid_vendor()

This patch exports edid_vendor() match function, so that other drivers
could use it for matching the vendor id.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agodrm/edid: Add support to get edid early
Srinivas Kandagatla [Thu, 13 Aug 2015 13:13:40 +0000 (14:13 +0100)]
drm/edid: Add support to get edid early

This patch adds support to get edid way early before the connector is
created, this is mainly used for panel drivers to auto-probe the panel
based on the vendor and product id from EDID.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoPCI: qcom: Add Qualcomm PCIe controller driver
Stanimir Varbanov [Mon, 7 Dec 2015 14:05:27 +0000 (14:05 +0000)]
PCI: qcom: Add Qualcomm PCIe controller driver

The PCIe driver reuse the Designware common code for host
and MSI initialization, and also program the Qualcomm
application specific registers.

Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
6 years agoDT: PCI: qcom: Document PCIe devicetree bindings
Stanimir Varbanov [Thu, 3 Dec 2015 13:35:21 +0000 (15:35 +0200)]
DT: PCI: qcom: Document PCIe devicetree bindings

Document Qualcomm PCIe driver devicetree bindings.

Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
6 years agoPCI: designware: add memory barrier after enabling region
Stanimir Varbanov [Thu, 3 Dec 2015 13:35:20 +0000 (15:35 +0200)]
PCI: designware: add memory barrier after enabling region

Add 'write memory' barrier after enable region in PCIE_ATU_CR2
register. The barrier is needed to ensure that the region enable
request has been reached it's destination at time when we
read/write to PCI configuration space.

Without this barrier PCI device enumeration during kernel boot
is not reliable, and reading configuration space for particular
PCI device on the bus returns zero aka no device.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
6 years agomedia: vidc: Qualcomm video encoder/decoder driver
Stanimir Varbanov [Mon, 17 Aug 2015 12:38:23 +0000 (15:38 +0300)]
media: vidc: Qualcomm video encoder/decoder driver

add venus video encoder/decoder driver.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
6 years agomedia: v4l2-controls: add h264 5.2 level and constrained high profile
Stanimir Varbanov [Mon, 17 Aug 2015 12:35:55 +0000 (15:35 +0300)]
media: v4l2-controls: add h264 5.2 level and constrained high profile

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
6 years agoInput: pm8941: Add RESIN_N input handling
Ivan T. Ivanov [Fri, 18 Sep 2015 08:44:09 +0000 (11:44 +0300)]
Input: pm8941: Add RESIN_N input handling

RESIN_N PMIC input is commonly used as "Volume Down"
button on Quallcom platforms. Add support for it.

TODO: Do it better.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
6 years agoiommu:msm: fix compilation error.
Srinivas Kandagatla [Thu, 18 Sep 2014 17:56:58 +0000 (18:56 +0100)]
iommu:msm: fix compilation error.

As part of Rob Clarks cleanup one of the flags have been renamed in
header which introduced a compilation failure.

drivers/iommu/msm_iommu.c: In function ‘msm_iommu_map’:
drivers/iommu/msm_iommu.c:426:7: error: ‘FL_AP_READ’ undeclared (first use in this function)
drivers/iommu/msm_iommu.c:426:7: note: each undeclared identifier is reported only once for each function it appears in
drivers/iommu/msm_iommu.c:426:20: error: ‘FL_AP_WRITE’ undeclared (first use in this function)
make[3]: *** [drivers/iommu/msm_iommu.o] Error 1
make[2]: *** [drivers/iommu] Error 2
make[1]: *** [drivers] Error 2

iThis patch fixes the error by using the new flags in the driver.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoWIP:pwrseq: Convert in to proper platform device
Srinivas Kandagatla [Thu, 17 Sep 2015 09:17:05 +0000 (10:17 +0100)]
WIP:pwrseq: Convert in to proper platform device

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoarm:multi_v7_defconfig: Add QCOM specific Kconfigs
Srinivas Kandagatla [Wed, 18 Mar 2015 18:40:30 +0000 (18:40 +0000)]
arm:multi_v7_defconfig: Add QCOM specific Kconfigs

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agoARM: qcom_defconfig: Add QCOM specific drivers
Srinivas Kandagatla [Tue, 9 Dec 2014 10:15:24 +0000 (10:15 +0000)]
ARM: qcom_defconfig: Add QCOM specific drivers

This patch adds common kconfig options required for qcom chips to work.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
6 years agohid: add support for Lilliput touchscreen
Kiran Rudramuni [Tue, 15 Sep 2015 19:06:04 +0000 (21:06 +0200)]
hid: add support for Lilliput touchscreen

Signed-off-by: Kiran Rudramuni <kchitrik@codeaurora.org>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
6 years agommc: mmci: Support any block sizes for ux500v2 and qcom variant
Ulf Hansson [Mon, 18 Aug 2014 05:06:46 +0000 (06:06 +0100)]
mmc: mmci: Support any block sizes for ux500v2 and qcom variant

For the ux500v2 variant of the PL18x block, any block sizes are
supported. This will make it possible to decrease data overhead
for SDIO transfers.

This patch is based on Ulf Hansson patch
http://www.spinics.net/lists/linux-mmc/msg12160.html

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
enabled this support on qcom variant.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
6 years agoUBUNTU: [packaging] collect all packaging history
Paolo Pisati [Thu, 3 Dec 2015 16:24:39 +0000 (17:24 +0100)]
UBUNTU: [packaging] collect all packaging history

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: Fix getabis
Paolo Pisati [Thu, 3 Dec 2015 16:10:19 +0000 (17:10 +0100)]
UBUNTU: Fix getabis

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: [Packaging] Fix dependency on linux-dragon410c-tools-common
Paolo Pisati [Thu, 3 Dec 2015 16:08:37 +0000 (17:08 +0100)]
UBUNTU: [Packaging] Fix dependency on linux-dragon410c-tools-common

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: Remove unused package definitions
Paolo Pisati [Thu, 3 Dec 2015 16:06:35 +0000 (17:06 +0100)]
UBUNTU: Remove unused package definitions

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: Disable doc and source package generation
Paolo Pisati [Thu, 3 Dec 2015 16:02:18 +0000 (17:02 +0100)]
UBUNTU: Disable doc and source package generation

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: arm64.mk: do_linux_tools=true
Paolo Pisati [Thu, 3 Dec 2015 15:58:21 +0000 (16:58 +0100)]
UBUNTU: packaging: arm64.mk: do_linux_tools=true

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: [Packaging] Clean up d-i
Paolo Pisati [Thu, 3 Dec 2015 15:56:38 +0000 (16:56 +0100)]
UBUNTU: [Packaging] Clean up d-i

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: [Debian] drop generic.inclusion-list
Paolo Pisati [Thu, 3 Dec 2015 15:53:03 +0000 (16:53 +0100)]
UBUNTU: [Debian] drop generic.inclusion-list

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: [Config] Added libssl-dev to Build-Depends
Paolo Pisati [Thu, 3 Dec 2015 15:47:49 +0000 (16:47 +0100)]
UBUNTU: [Config] Added libssl-dev to Build-Depends

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: [Config] Add uuid-dev to Build-Depends
Paolo Pisati [Thu, 3 Dec 2015 15:46:46 +0000 (16:46 +0100)]
UBUNTU: [Config] Add uuid-dev to Build-Depends

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: remove the abi dir
Paolo Pisati [Thu, 3 Dec 2015 15:31:05 +0000 (16:31 +0100)]
UBUNTU: packaging: remove the abi dir

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: remove all but generic-dragon410c vars
Paolo Pisati [Thu, 3 Dec 2015 15:30:08 +0000 (16:30 +0100)]
UBUNTU: packaging: remove all but generic-dragon410c vars

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: remove all but arm64 rules.mk
Paolo Pisati [Thu, 3 Dec 2015 15:28:38 +0000 (16:28 +0100)]
UBUNTU: packaging: remove all but arm64 rules.mk

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: remove all but arm64 configs
Paolo Pisati [Thu, 3 Dec 2015 15:23:10 +0000 (16:23 +0100)]
UBUNTU: packaging: remove all but arm64 configs

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: rename generic config to generic-dragon410c
Paolo Pisati [Thu, 3 Dec 2015 16:29:04 +0000 (17:29 +0100)]
UBUNTU: packaging: rename generic config to generic-dragon410c

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: arm64.mk: disable_d_i=true, do_libc_dev_package=false and do_commo...
Paolo Pisati [Thu, 3 Dec 2015 15:20:15 +0000 (16:20 +0100)]
UBUNTU: packaging: arm64.mk: disable_d_i=true, do_libc_dev_package=false and do_common_headers_indep=false

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: flavour-control.stub: linux-headers-PKGVER-ABINUM-FLAVOUR depends...
Paolo Pisati [Thu, 3 Dec 2015 15:11:57 +0000 (16:11 +0100)]
UBUNTU: packaging: flavour-control.stub: linux-headers-PKGVER-ABINUM-FLAVOUR depends on SRCPKGNAME-headers-PKGVER-ABINUM

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: control.stub.in: keep the src pkg as linux-dragon410c
Paolo Pisati [Thu, 3 Dec 2015 15:09:51 +0000 (16:09 +0100)]
UBUNTU: packaging: control.stub.in: keep the src pkg as linux-dragon410c

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: 2-binary-arch.mk: skip modules signing if the private key is not...
Paolo Pisati [Thu, 26 Feb 2015 16:41:19 +0000 (16:41 +0000)]
UBUNTU: packaging: 2-binary-arch.mk: skip modules signing if the private key is not available

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: kernel-versions.in: arm64 only and generic-dragon410c rename"
Paolo Pisati [Thu, 3 Dec 2015 14:58:10 +0000 (15:58 +0100)]
UBUNTU: packaging: kernel-versions.in: arm64 only and generic-dragon410c rename"

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: arm64.mk: generic-dragon410c rename
Paolo Pisati [Thu, 3 Dec 2015 14:57:54 +0000 (15:57 +0100)]
UBUNTU: packaging: arm64.mk: generic-dragon410c rename

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: vars.generic: arm64 only and generic-410c rename
Paolo Pisati [Thu, 3 Dec 2015 14:51:00 +0000 (15:51 +0100)]
UBUNTU: packaging: vars.generic: arm64 only and generic-410c rename

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
6 years agoUBUNTU: packaging: control.stub.in: arm64 only
Paolo Pisati [Thu, 3 Dec 2015 14:49:41 +0000 (15:49 +0100)]
UBUNTU: packaging: control.stub.in: arm64 only

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>