ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
field^Zzz2 has quit [Ping timeout: 258 seconds]
kevery has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
kevery has quit [Ping timeout: 256 seconds]
stikonas_ has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
return0e_ has joined #linux-rockchip
return0e has quit [Ping timeout: 256 seconds]
vstehle has quit [Ping timeout: 265 seconds]
tuxd3v__ has joined #linux-rockchip
tuxd3v_ has quit [Ping timeout: 252 seconds]
tuxd3v__ has quit [Quit: Leaving]
tuxd3v has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
<wens> that is a regulator part number
adjtm has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
adjtm has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
<tuxd3v> wens, thanks, does this have anything to do with pwm support for a fan( active cooling )?
<wens> no. it is a 5A, 2.4 MHz, Digitally Programmable TinyBuck®Regulator
<wens> "FAN" just happens to be part of the part number
vagrantc has quit [Quit: leaving]
return0e_ has quit [Remote host closed the connection]
return0e_ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 240 seconds]
tuxd3v_ has joined #linux-rockchip
tuxd3v has quit [Remote host closed the connection]
chiastre has quit [Write error: Broken pipe]
return0e_ has quit [Ping timeout: 246 seconds]
chiastre has joined #linux-rockchip
vstehle has joined #linux-rockchip
return0e has joined #linux-rockchip
return0e has quit [Remote host closed the connection]
return0e has joined #linux-rockchip
return0e has quit [Read error: Connection reset by peer]
<tuxd3v_> wens, thanks, I was looking for a pwm driver to drive a fan on my rockpi4 :)
<wens> pwm_fan under hwmon
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
afaerber has quit [Remote host closed the connection]
afaerber has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
chewitt has quit [Quit: Adios!]
ldevulder_ has joined #linux-rockchip
ldevulder_ has quit [Client Quit]
kaspter has joined #linux-rockchip
adjtm has quit [Remote host closed the connection]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
adjtm has joined #linux-rockchip
vicencb has joined #linux-rockchip
adjtm has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
ldevulder has joined #linux-rockchip
adjtm has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
adjtm has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
phillid is now known as uh
return0e has joined #linux-rockchip
stikonas has joined #linux-rockchip
field^Zzz2 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
lkcl has quit [Ping timeout: 264 seconds]
vicencb has quit [Quit: Leaving.]
jelly-home is now known as jelly
lkcl has joined #linux-rockchip
<robmur01_> tuxd3v_: simply enabling the appropriate PWM channel in the DTS should be enough to manually control it from userspace (via /sys/class/pwm/)
<robmur01_> if you want to get fancy, see the RockPro64 or NanoPC-T4 DTSs for examples of full-blown pwm-fan and thermal integration
repk has quit [Quit: WeeChat 2.7.1]
repk has joined #linux-rockchip
Kelsar has joined #linux-rockchip
mps has quit [Ping timeout: 268 seconds]
mps has joined #linux-rockchip
kevery has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
thefloweringash has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 246 seconds]
vicencb has joined #linux-rockchip
kevery has quit [Ping timeout: 250 seconds]
maz has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
jlanda has quit [Read error: Connection reset by peer]
urjaman has quit [Ping timeout: 260 seconds]
phh has quit [Ping timeout: 265 seconds]
jlanda has joined #linux-rockchip
urjaman has joined #linux-rockchip
omegamoon[m] has quit [Ping timeout: 240 seconds]
return0e has quit [Remote host closed the connection]
phh has joined #linux-rockchip
jlanda has quit [Ping timeout: 256 seconds]
jlanda has joined #linux-rockchip
Jin^eLD has quit [Ping timeout: 256 seconds]
maz has joined #linux-rockchip
Guest87911 has quit [*.net *.split]
ojn has quit [*.net *.split]
sphalerite has quit [*.net *.split]
qa5 has quit [*.net *.split]
ojn has joined #linux-rockchip
qa5 has joined #linux-rockchip
Guest87911 has joined #linux-rockchip
sphalerite has joined #linux-rockchip
Guest87911 has quit [Max SendQ exceeded]
Guest87911 has joined #linux-rockchip
thefloweringash has quit [Ping timeout: 256 seconds]
psydruid has quit [Ping timeout: 260 seconds]
levd_ has quit [Quit: Goodbye!]
Guest87911 has quit [Read error: Connection reset by peer]
Guest87911 has joined #linux-rockchip
<tuxd3v_> we have /sys/class/pwm/pwmchip0, but I don't know how to assign it to a GPIO, so that I can use a hardware driver to control a fan..
<robmur01_> ??
<robmur01_> you don't. It's not a GPIO, it's a PWM
<tuxd3v_> yeah, but I would like to direct the output of it to a GPIO pin
<tuxd3v_> assign a pin to it, then I could use a hardware pwm driver like this:
<robmur01_> my point is you can't. PWM0 outputs on the PWM0 pin
<robmur01_> RK SoCs aren't like microcontrollers with super-flexible pinmux matrices
<robmur01_> From the Rock Pi 4 wiki, looks like you have a choice of PWM0 on pin 11 and PWM1 on pin 13
<tuxd3v_> yeah I was looking at it, it seems nice
<tuxd3v_> that way I can drive a fan externally :)
sphalerite has quit [Ping timeout: 240 seconds]
<tuxd3v_> now the problem is, how to I set pwm frequency and duty cicly :S
psydruid has joined #linux-rockchip
<robmur01_> beware that unless you've explicitly enabled PWM0 and/or PWM1 via DTS patch/overlay/u-boot script/etc., that "pwmchip0" is probably PWM2, which shouldn't let you export anything because it's busy driving a regulator
vagrantc has joined #linux-rockchip
thefloweringash has joined #linux-rockchip
<tuxd3v_> robmur01_, thanks, I will try via dts, to see if I am able to enable it :)
drrty has quit [Ping timeout: 250 seconds]
repk has quit [Quit: WeeChat 2.7.1]
repk has joined #linux-rockchip
return0e has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
vicencb has joined #linux-rockchip
vicencb has quit [Remote host closed the connection]
vicencb has joined #linux-rockchip
adjtm_ has joined #linux-rockchip
adjtm has quit [Ping timeout: 250 seconds]
vicencb has quit [Quit: Leaving.]
whoman321 has joined #linux-rockchip
field^Zzz2 has quit [Ping timeout: 246 seconds]