caiortp has quit [Remote host closed the connection]
aholler has joined #imx6-dev
aholler_ has quit [Ping timeout: 264 seconds]
jnettlet has joined #imx6-dev
TuTizz has quit [Ping timeout: 246 seconds]
TuTizz has joined #imx6-dev
dv_ has joined #imx6-dev
caiortp has joined #imx6-dev
<caiortp> Hi guys , I need a help
<caiortp> I need to set an GPIO in the devicetree to enable my lcd display
<caiortp> the lcd enable is connected to the GPIO03_IO11 (in device tree gpio = 75)
<caiortp> *(in the linux is the gpio = 75)
<caiortp> I'm trying to add gpios = <&gpio3 11 1>;
<caiortp> but the pin doesn't go to '1' at the startup
<vpeter> caiortp: Did you define this gpio in pinctrl section?
<caiortp> yes
<caiortp> pinctrl_reset_lcd: reset-lcd {
<caiortp> fsl,pins = <
<caiortp> MX6QDL_PAD_EIM_DA11__GPIO3_IO11 PAD_CTRL_HYS_PD /* SODIMM 116 */
<caiortp> >;
<caiortp> };
<caiortp> it's inside of
<caiortp> &iomuxc {
<caiortp> /*
<caiortp> * Mux all pins which are unused to be GPIOs
<caiortp> * so they are ready for export to user space
<caiortp> */
<caiortp> pinctrl-names = "default";
<caiortp> pinctrl-0 = <
<caiortp> &pinctrl_gpio_2
<caiortp> &pinctrl_usbh_oc_1
<caiortp> &pinctrl_usbc_id_1
<caiortp> &pinctrl_usbc_det_1
<caiortp> &pinctrl_batery_mode
<caiortp> &pinctrl_reset_lcd
<caiortp> &pinctrl_5v_fault
<caiortp> &pinctrl_codec_int
<caiortp> >;
<caiortp> gpio {
<caiortp> pinctrl_reset_lcd: reset-lcd {
<caiortp> fsl,pins = <
<caiortp> MX6QDL_PAD_EIM_DA11__GPIO3_IO11 PAD_CTRL_HYS_PD /* SODIMM 116 */
<caiortp> >;
<caiortp> };
<caiortp> };
<vpeter> What is the value of PAD_CTRL_HYS_PD ?
<vpeter> I'm having this function through regulator: http://pastebin.com/NnpPTSDV
<caiortp> opss sorry, this a macro
<caiortp> #define PAD_CTRL_HYS_PD 0x130b0 /*(PAD_CTL_HYS | PAD_CTL_PUE | PAD_CTL_PKE | PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm)*/
<caiortp> I try to add in the lcd
<caiortp> &lcd {
<caiortp> pinctrl-0 = <&pinctrl_ipu1_1>;
<caiortp> status = "okay";
<caiortp> gpios = <&gpio3 11 1>;
<caiortp> };
paulk-collins has joined #imx6-dev
TuTizz has quit [Remote host closed the connection]
diego_r has quit [Quit: Konversation terminated!]
ftonello has quit [Ping timeout: 240 seconds]
<caiortp> I test with u-boot gpio and works fine
ncgs has quit [Read error: Connection reset by peer]
ncgs has joined #imx6-dev
paulk-collins has quit [Remote host closed the connection]
caiortp has quit [Remote host closed the connection]
bfederau has quit [Remote host closed the connection]
bfederau has joined #imx6-dev
tumdedum has quit [Ping timeout: 252 seconds]
tumdedum has joined #imx6-dev