ARM: dts: move hdmi pinctrl out of board file.

This patch moves hdmi pinctrl defination from board file to soc level
pinctrl file. If not this pinctrl setup will be duplicated across all
the apq8064 based board files.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
Srinivas Kandagatla 2017-01-04 13:34:11 +00:00 committed by Andy Gross
parent 2bde888015
commit ec65428fdd
3 changed files with 21 additions and 22 deletions

View File

@ -75,25 +75,6 @@
bias-disable;
};
};
hdmi_pinctrl: hdmi-pinctrl {
mux {
pins = "gpio70", "gpio71", "gpio72";
function = "hdmi";
};
pinconf_ddc {
pins = "gpio70", "gpio71";
bias-pull-up;
drive-strength = <2>;
};
pinconf_hpd {
pins = "gpio72";
bias-pull-down;
drive-strength = <16>;
};
};
};
rpm@108000 {
@ -368,9 +349,6 @@
hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&hdmi_pinctrl>;
ports {
port@0 {
endpoint {

View File

@ -302,4 +302,23 @@
drive-strength = <6>;
bias-pull-down;
};
hdmi_pinctrl: hdmi-pinctrl {
mux {
pins = "gpio70", "gpio71", "gpio72";
function = "hdmi";
};
pinconf_ddc {
pins = "gpio70", "gpio71";
bias-pull-up;
drive-strength = <2>;
};
pinconf_hpd {
pins = "gpio72";
bias-pull-down;
drive-strength = <16>;
};
};
};

View File

@ -1355,6 +1355,8 @@
hdmi: hdmi-tx@4a00000 {
compatible = "qcom,hdmi-tx-8960";
pinctrl-names = "default";
pinctrl-0 = <&hdmi_pinctrl>;
reg = <0x04a00000 0x2f0>;
reg-names = "core_physical";
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;