G'day All, In the device tree definition our hardwares GPIO I'd like to define some restictions on the gpio so the user space doesn't do anything dumb. ie: if the pin is input only prevent the user space application making it an output etc. Also specifying a initial state of high / low and output mode / polarity. So forcing open collector output to all ways be open collector etc. This then allows abstracting the gpio polarity mode etc to the hardware defintion and the user space application doesn't need to know the details of the hardware implement. gpio-hog setup seem to do something similar but then user space can't request the gpio. I get a busy error when tryingt o talk to the gpio. Am I missing something obvious? Or is this not catered for at the moment? Is not is it something worth considering? Regards Phil -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html