Optional properties:
 - qcom,hdmi-tx-mux-en-gpio: hdmi mux enable pin
 - qcom,hdmi-tx-mux-sel-gpio: hdmi mux select pin
+- pinctrl-names: the pin control state names; should contain "default"
+- pinctrl-0: the default pinctrl state (active)
+- pinctrl-1: the "sleep" pinctrl state
 
 Example:
 
                qcom,hdmi-tx-hpd = <&msmgpio 72 GPIO_ACTIVE_HIGH>;
                core-vdda-supply = <&pm8921_hdmi_mvs>;
                hdmi-mux-supply = <&ext_3p3v>;
+               pinctrl-names = "default", "sleep";
+               pinctrl-0 = <&hpd_active  &ddc_active  &cec_active>;
+               pinctrl-1 = <&hpd_suspend &ddc_suspend &cec_suspend>;
        };
 };
 
  */
 
 #include <linux/gpio.h>
+#include <linux/pinctrl/consumer.h>
 
 #include "msm_kms.h"
 #include "hdmi.h"
                }
        }
 
+       ret = pinctrl_pm_select_default_state(dev);
+       if (ret) {
+               dev_err(dev, "pinctrl state chg failed: %d\n", ret);
+               goto fail;
+       }
+
        ret = gpio_config(hdmi, true);
        if (ret) {
                dev_err(dev, "failed to configure GPIOs: %d\n", ret);
        if (ret)
                dev_warn(dev, "failed to unconfigure GPIOs: %d\n", ret);
 
+       ret = pinctrl_pm_select_sleep_state(dev);
+       if (ret)
+               dev_warn(dev, "pinctrl state chg failed: %d\n", ret);
+
        for (i = 0; i < config->hpd_reg_cnt; i++) {
                ret = regulator_disable(hdmi->hpd_regs[i]);
                if (ret)