Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4.5 rc3/apq8096 wip #259

Closed
wants to merge 44 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
7e43a2a
arm64: dts: Add msm8996 SoC and MTP board support
bebarino Oct 7, 2015
ea0b7bf
arm64: dts: qcom: Add apq8096 dragonboard dts skeletons
Nov 5, 2015
3d0ebba
clk: qcom: gdsc: Add support for hierarchical power domains
Nov 13, 2015
e7c6fc8
clk: qcom: gdsc: Add support for gdscs with gds hw controller
Nov 13, 2015
25b7887
clk: qcom: gdsc: Add support for votable gdscs
Nov 13, 2015
669173e
clk: qcom: gdsc: Add GDSCs in msm8996 GCC
Nov 5, 2015
240925b
clk: qcom: gdsc: Add mmcc gdscs for msm8996 family
Nov 13, 2015
d4150e0
clk: qcom: mmcc8974: Use gdscs .parent and remove genpd calls
Nov 24, 2015
9bd3802
clk: qcom: Add support for SMD-RPM Clocks
Dec 3, 2015
163101c
clk: qcom: Add support for RPM Clocks
Dec 3, 2015
57876fa
arm64: qcom: Enable GCC and Pinctrl drivers for 8996 SoC
Nov 5, 2015
a6e4422
soc: qcom: glink: Add initial support for glink
Jan 27, 2016
f48d80a
drivers: soc: qcom: Add support glink native support
Jan 27, 2016
aed8b85
drivers: soc: qcom: Remove smem and ssr support from glink xprt
Jan 27, 2016
f31578b
drivers: soc: qcom: Make glink to work with upstream smd bindings
Jan 28, 2016
db5d880
drivers: glink: Make smd-rpm as ipc-rpm driver over smd and glink
Dec 18, 2015
ee7dbe3
dts: 8996: Add glink base and glink-rpm nodes
Dec 18, 2015
32b54bd
drivers: glink: Makefile and Kconfig updates
Dec 18, 2015
81bd433
defconfig: Enable glink and clk_smd_rpm in defconfig for now
Dec 18, 2015
3d14ff5
clk: qcom: rpmcc: Add rpm clock data for msm8996
Dec 14, 2015
0a29288
regulator: qcom-smd: Add PM8994 regulator support
Dec 23, 2015
4c28303
arm64: dts: msm8996: Add PM8994 regulator support
boddob Dec 23, 2015
d83b6d6
drm/msm/dsi: Create separate Makefile/Kconfig
boddob Jan 21, 2016
2a1eeb8
drm/msm/hdmi: Create separate Makefile/Kconfig
boddob Jan 21, 2016
da5f045
drm/msm/edp: Create separate Makefile/Kconfig
boddob Jan 21, 2016
c36b8b1
drm/msm/hdmi: Clean up connector gpio usage
boddob Jan 21, 2016
25948d5
drm/msm/hdmi: Fix connector detect when there is no hpd gpio
boddob Jan 21, 2016
3f6014c
drm/msm/hdmi: Update generated headers to split PHY/PLL offsets
boddob Jan 21, 2016
909b7a6
drm/msm/hdmi: Create a separate hdmi phy driver
boddob Jan 21, 2016
ffe96e0
drm/msm/hdmi: Make hdmi core get its phy
boddob Jan 21, 2016
df02659
drm/msm/hdmi: Manage hdmi PLL through phy driver
boddob Jan 21, 2016
1aed393
drm/msm/hdmi: Convert phy files according to new design
boddob Jan 21, 2016
e6e27d8
drm/msm/hdmi: Update generated headers for hdmi 8996 phy
boddob Jan 21, 2016
56a49f2
drm/msm/hdmi: HDMI 8996 PHY/PLL support
boddob Jan 21, 2016
0eb2ca4
dt/bindings: drm/msm/hdmi: Add hdmi phy bindings
boddob Jan 21, 2016
80bd6c7
workqueue: skip flush dependency checks for legacy workqueues
htejun Jan 29, 2016
dc26959
clk: qcom: Add mmss_s0_axi_clk
boddob Feb 1, 2016
59a726f
drm/msm/mdp5: get additional mmagic ahb/iommu clocks for MSM8996
boddob Dec 22, 2015
3d0e6ca
HACK: drm/msm/mdp5: Configure bus clocks
boddob Feb 1, 2016
60cc92e
HACK: drm/msm/mdp5: Never disable clocks
boddob Feb 2, 2016
ba12372
arm64: msm8996.dtsi: Add MDP/HDMI DT nodes
boddob Nov 11, 2015
d6379d9
arm64: apq8096-dragonboard.dtsi: Add hdmi and hdmi phy nodes
boddob Feb 2, 2016
7e73fca
clk: qcom: gdsc: Add the missing BIMC gdsc for msm8996
Feb 1, 2016
5a46d4b
hack: add the msm/pmic/board ids for apq8096 dragonboards
Nov 5, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions Documentation/devicetree/bindings/clock/qcom,rpmcc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Qualcomm RPM Clock Controller Binding
------------------------------------------------
The RPM is a dedicated hardware engine for managing the shared
SoC resources in order to keep the lowest power profile. It
communicates with other hardware subsystems via shared memory
and accepts clock requests, aggregates the requests and turns
the clocks on/off or scales them on demand.

Required properties :
- compatible : shall contain only one of the following. The generic
compatible "qcom,rpmcc" should be also included.

"qcom,rpmcc-msm8916", "qcom,rpmcc"
"qcom,rpmcc-apq8064", "qcom,rpmcc"

- #clock-cells : shall contain 1

Example:
smd {
compatible = "qcom,smd";

rpm {
interrupts = <0 168 1>;
qcom,ipc = <&apcs 8 0>;
qcom,smd-edge = <15>;

rpm_requests {
compatible = "qcom,rpm-msm8916";
qcom,smd-channels = "rpm_requests";

rpmcc: qcom,rpmcc {
compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
#clock-cells = <1>;
};
};
};
};
39 changes: 38 additions & 1 deletion Documentation/devicetree/bindings/display/msm/hdmi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ Required properties:
- reg: Physical base address and length of the controller's registers
- reg-names: "core_physical"
- interrupts: The interrupt signal from the hdmi block.
- power-domains: Should be <&mmcc MDSS_GDSC>.
- clocks: device clocks
See ../clocks/clock-bindings.txt for details.
- qcom,hdmi-tx-ddc-clk-gpio: ddc clk pin
- qcom,hdmi-tx-ddc-data-gpio: ddc data pin
- qcom,hdmi-tx-hpd-gpio: hpd pin
- core-vdda-supply: phandle to supply regulator
- hdmi-mux-supply: phandle to mux regulator
- qcom,dsi-phy: phandle to HDMI PHY device node

Optional properties:
- qcom,hdmi-tx-mux-en-gpio: hdmi mux enable pin
Expand All @@ -27,6 +29,27 @@ Optional properties:
- pinctrl-0: the default pinctrl state (active)
- pinctrl-1: the "sleep" pinctrl state

HDMI PHY:
Required properties:
- compatible: Could be the following
* "qcom,hdmi-phy-8x60"
* "qcom,hdmi-phy-8960"
* "qcom,hdmi-phy-8x74"
* "qcom,hdmi-phy-8996"
- reg: Physical base address and length of the registers of the PHY sub blocks.
- reg-names: The names of register regions. The following regions are required:
* "hdmi_pll"
* "hdmi_phy"
For HDMI PHY on msm8996, these additional register regions are required:
* "hdmi_tx_l0"
* "hdmi_tx_l1"
* "hdmi_tx_l3"
* "hdmi_tx_l4"
- power-domains: Should be <&mmcc MDSS_GDSC>.
- clocks: device clocks
See Documentation/devicetree/bindings/clocks/clock-bindings.txt for details.
- core-vdda-supply: phandle to vdda regulator device node

Example:

/ {
Expand All @@ -35,7 +58,7 @@ Example:
hdmi: qcom,hdmi-tx-8960@4a00000 {
compatible = "qcom,hdmi-tx-8960";
reg-names = "core_physical";
reg = <0x04a00000 0x1000>;
reg = <0x04a00000 0x2f0>;
interrupts = <GIC_SPI 79 0>;
power-domains = <&mmcc MDSS_GDSC>;
clock-names =
Expand All @@ -54,5 +77,19 @@ Example:
pinctrl-names = "default", "sleep";
pinctrl-0 = <&hpd_active &ddc_active &cec_active>;
pinctrl-1 = <&hpd_suspend &ddc_suspend &cec_suspend>;

qcom,hdmi-phy = <&hdmi_phy>;
};

hdmi_phy: qcom,hdmi-phy-8960@4a00400 {
compatible = "qcom,hdmi-phy-8960";
reg-names = "hdmi_phy",
"hdmi_pll";
reg = <0x4a00400 0x60>,
<0x4a00500 0x100>;
power-domains = <&mmcc MDSS_GDSC>;
clock-names = "slave_iface_clk";
clocks = <&mmcc HDMI_S_AHB_CLK>;
core-vdda-supply = <&pm8921_hdmi_mvs>;
};
};
5 changes: 4 additions & 1 deletion arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb msm8916-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8916-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8096-dragonboard.dtb

always := $(dtb-y)
subdir-y := $(dts-dirs)
Expand Down
22 changes: 22 additions & 0 deletions arch/arm64/boot/dts/qcom/apq8096-dragonboard.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

/dts-v1/;

#include "apq8096-dragonboard.dtsi"

/ {
model = "Qualcomm Technologies, Inc. APQ 8096 DragonBoard";
compatible = "qcom,apq8096-dragonboard";
qcom,board-id = <10 0>;
};
44 changes: 44 additions & 0 deletions arch/arm64/boot/dts/qcom/apq8096-dragonboard.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*
* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

#include "msm8996.dtsi"

/ {
aliases {
serial0 = &blsp2_uart1;
};

chosen {
stdout-path = "serial0";
};

soc {
serial@75b0000 {
status = "okay";
};

qcom,hdmi_phy@9a0600 {
status = "okay";

vddio-supply = <&pm8994_l12>;
vcca-supply = <&pm8994_l28>;
};

qcom,hdmi_tx@9a0000 {
status = "okay";

core-vdda-supply = <&pm8994_l12>;
core-vcc-supply = <&pm8994_s4>;
};
};
};
21 changes: 21 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8996-mtp.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

/dts-v1/;

#include "msm8996-mtp.dtsi"

/ {
model = "Qualcomm Technologies, Inc. MSM 8996 MTP";
compatible = "qcom,msm8996-mtp";
};
30 changes: 30 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8996-mtp.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

#include "msm8996.dtsi"

/ {
aliases {
serial0 = &blsp2_uart1;
};

chosen {
stdout-path = "serial0";
};

soc {
serial@75b0000 {
status = "okay";
};
};
};
Loading