Aug. 16, 2018
7:07 p.m.
You or someone else first need to define device tree bindings in Documention/devicetree/bindings/usb/* somwhere, then augment the driver to use these bindings, including the right name for the GPIO line, when using the devm_gpiod_get().
OK, I will try to start a discussion about this.
I wonder how you're testing this though.
I don't have this equipment to be honest. Once work is done I count on kindness of interested people who actually have it and are able to test the patch on the target. Is there any other way? Thanks, Arek