How to configure pull up/down property of pin in dts
Hi I use GT9147 touch IC on my stm32mp157 board. I found the stm32mp157c-ev1.dts use same chip. But the ev1 use GPIO14 of stmfx GPIO expander chip as TP_INT signal. The GPIO14 of stmfx configure as below code.
486 hog_pins: hog {
487 pins = "gpio14";
488 drive-push-pull;
489 bias-pull-down;
490 };Now, my board use PG7 as TP_INT signal. I also want to configure the pull-down property to PG7.Below is my touch panel code.
gt9147@5d {
compatible = "goodix,gt9147";
reg = <0x5d>;
irq-gpios = <&gpiog 7 GPIO_ACTIVE_HIGH>;
irq-flags = <IRQ_TYPE_EDGE_RISING>;
reset-gpios = <&gpiog 8 GPIO_ACTIVE_HIGH>;
status = "okay";
};So, my question is how to configure pull-down property of irq-gpio. I try to add "pinctrl-names" and "pinctrl-0" property to gt9147 section, but kernel shows pinctrl errors. In my opinion, other SoC platform support "hog" to config each gpio pins. Does the gpiog or pinctrl suppor this function in stm32mp1 platform?
