stikonas_ has quit [Remote host closed the connection]
stikonas_ has joined #linux-rockchip
Kelsar has joined #linux-rockchip
alpernebbi has quit [Quit: alpernebbi]
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
stikonas_ has quit [Remote host closed the connection]
stikonas_ has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
mniip has quit [Remote host closed the connection]
mniip has joined #linux-rockchip
vagrantc has joined #linux-rockchip
return0e has joined #linux-rockchip
sb35 has quit [Quit: sb35]
cyrozap has quit [Ping timeout: 258 seconds]
cyrozap has joined #linux-rockchip
suniel has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
return0e has quit [Remote host closed the connection]
tuxd3v has joined #linux-rockchip
tuxd3v_ has quit [Ping timeout: 265 seconds]
whoman321 has joined #linux-rockchip
lkcl_ has joined #linux-rockchip
lkcl has quit [Ping timeout: 256 seconds]
Miouyouyou has quit [Quit: Leaving]
<inode>
what's a decent way to toggle an arbitrary gpio pin state from a devicetree node if the driver doesn't acknowledge the "enable-gpios" attribute?
<inode>
gpio-hog subnode on a gpio-controller? fixed-regulator with gpio attribute set? for testing i'm cheating with a subnode of gpio-leds to get the pin high
<DuClare>
gpio-leds hack is ok
<DuClare>
That's what people recommended when I needed to do this last year
<DuClare>
It's silly but I don't think there's any "proper way"
<DuClare>
Unless one has emerged recently
<DuClare>
I don't know why I didn't use gpio-hog. I recall trying it, but it wasn't a good solution for some reason
<DuClare>
Maybe I needed to export and gpio-hog prevents that
<DuClare>
If hog works for you then I'd probably use that
<inode>
thanks, i'll give gpio-leds another try
Leepty has quit [Ping timeout: 252 seconds]
<inode>
as a brief test i tried a gpio-hog as a child of the appropriate gpio controller node and the kernel seems to die before any output at all is sent to the console
<inode>
i mean, i'll give gpio-hog another try
<inode>
i didn't read the documentation well enough the first time
<inode>
a gpio-hog appears to work properly
whoman321 has quit [Remote host closed the connection]
vicencb has quit [Quit: Leaving.]
warpme_ has quit [Quit: Connection closed for inactivity]