bluerise | cinap_lenrek: I think mntre-disp is a better than disp2. I did some stuff in disp2 that maybe aren't that nice, you should check the diff | 00:05 |
---|---|---|
bluerise | I think I went from dcss to the other one in disp2, not sure | 00:05 |
bluerise | it's been some time | 00:05 |
minute | this is becoming the hardest problem in computer science ^^ | 00:09 |
minute | an open source software demonstrates how to solve a problem, still, noone can understand how it does that nor reproduce it | 00:10 |
cinap_lenrek | http://okturing.com/src/13653/body | 00:14 |
cinap_lenrek | ^- how *NOT* to turn on the backlight | 00:14 |
cinap_lenrek | (it does not work) | 00:14 |
minute | peeks and pokes | 00:15 |
minute | i can't see from the pokes if you set it to 100% or 0% | 00:16 |
cinap_lenrek | i'm not sure on the theory of operation of the pwm yet | 00:16 |
cinap_lenrek | so i'm just changing the sample register | 00:17 |
cinap_lenrek | the first SAR is 0 | 00:17 |
cinap_lenrek | later 0xFFFF | 00:17 |
minute | the frequency should stay the same (like 10 khz) and the duty cycle determines the brightness IIRC | 00:17 |
cinap_lenrek | 10khz.... hmmmm | 00:18 |
cinap_lenrek | ok | 00:18 |
minute | not sure right now if a duty cycle of 0 or 100 turns it fully on | 00:18 |
minute | % that is | 00:18 |
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net) | 00:26 | |
- S0rin (QUIT: Ping timeout: 248 seconds) (~S0rin@user/s0rin) | 00:47 | |
+ S0rin (~S0rin@user/s0rin) | 00:49 | |
mtm | roon | 00:51 |
mtm | oops, wrong window | 00:51 |
- chomwitt (QUIT: Ping timeout: 260 seconds) (~chomwitt@athe730-c-multi-500.home.otenet.gr) | 00:53 | |
- mjw (QUIT: Quit: Leaving) (~mark@gnu.wildebeest.org) | 00:55 | |
cinap_lenrek | the devicetree arguments is pwms = <&pwm2 0 10000> | 00:59 |
cinap_lenrek | first is the channel, second is the period in *NANOSECONDS* | 00:59 |
cinap_lenrek | so 10000ns is 100khz not 10khz | 00:59 |
cinap_lenrek | ok | 01:11 |
cinap_lenrek | lets check the counter | 01:11 |
cinap_lenrek | in case the clock is fucked | 01:11 |
cinap_lenrek | otherwise, is here some gpio usable for output that is easy to check? | 01:12 |
cinap_lenrek | like some led on the board? | 01:12 |
cinap_lenrek | maybe my assumption is just wrong and we have to bring up the edp bridge before we can turn on the backlight? | 01:13 |
cinap_lenrek | thats a signal going into the panel directly? | 01:13 |
cinap_lenrek | ha | 01:14 |
cinap_lenrek | i'll just try the usb port rest :) | 01:14 |
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-37.cust.tzulo.com) | 01:22 | |
+ bkeys (~Thunderbi@static-198-54-135-37.cust.tzulo.com) | 01:22 | |
cinap_lenrek | gpio1.14? | 01:24 |
cinap_lenrek | here we go | 01:25 |
minute | cinap_lenrek: 100khz will work too, i used 10khz in the past | 01:36 |
minute | cinap_lenrek: the pwm goes directly to the panel, and it will light up completely independently from any edp stuff | 01:36 |
cinap_lenrek | hm, ok | 01:37 |
minute | i brought up the panel with the fpga module too | 01:37 |
minute | the backlight i mean (and some colorbars from the edp chip) | 01:37 |
minute | (it has a color bars test mode register) | 01:37 |
minute | cinap_lenrek: what kinda duty cycles did you try? | 01:38 |
cinap_lenrek | half the period | 01:40 |
cinap_lenrek | and the period being 25Mhz/100000 == 250 | 01:41 |
cinap_lenrek | ah! | 01:43 |
cinap_lenrek | i found something | 01:43 |
cinap_lenrek | pinctrl_pwm2: pwm2grp { | 01:43 |
cinap_lenrek | fsl,pins = < MX8MQ_IOMUX_SPDIF_RX_PWN2_OUT 0x16 >; } | 01:44 |
cinap_lenrek | lemme make sure the pwm output is actually muxed out | 01:44 |
cinap_lenrek | LIGHTS ON! | 01:48 |
cinap_lenrek | here we gooo | 01:48 |
cinap_lenrek | minute: everything works now! | 01:50 |
cinap_lenrek | thanks again! :) | 01:51 |
minute | great! | 01:51 |
cinap_lenrek | next: i2c controller driver and make the color strips on | 01:51 |
minute | cool | 01:51 |
cinap_lenrek | spend the whole day mostly with the clock forrest | 01:51 |
minute | there was a community post about how to get to color bars with pokes, have you seen that? | 01:52 |
cinap_lenrek | yes | 01:52 |
minute | ok cool | 01:54 |
- mtm (QUIT: Ping timeout: 276 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net) | 02:04 | |
- Christoph_ (QUIT: Remote host closed the connection) (~Christoph@p54bf6a01.dip0.t-ipconnect.de) | 03:19 | |
+ qbit (~qbit@h.suah.dev) | 03:45 | |
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net) | 04:09 | |
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-37.cust.tzulo.com) | 04:42 | |
+ bkeys (~Thunderbi@static-198-54-135-37.cust.tzulo.com) | 04:42 | |
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20) | 05:01 | |
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon) | 10:18 | |
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon) | 10:52 | |
+ chomwitt (~chomwitt@2a02:587:dc1e:cc00:630a:df82:afd2:eb70) | 10:59 | |
+ MajorBiscuit (~MajorBisc@86-88-79-148.fixed.kpn.net) | 11:19 | |
- MajorBiscuit (QUIT: Ping timeout: 240 seconds) (~MajorBisc@86-88-79-148.fixed.kpn.net) | 11:39 | |
+ MajorBiscuit (~MajorBisc@86-88-79-148.fixed.kpn.net) | 11:52 | |
- MajorBiscuit (QUIT: Ping timeout: 240 seconds) (~MajorBisc@86-88-79-148.fixed.kpn.net) | 12:07 | |
+ Christoph_ (~Christoph@p54bf6ee9.dip0.t-ipconnect.de) | 12:34 | |
- GNUmoon (QUIT: Ping timeout: 240 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon) | 12:44 | |
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon) | 12:48 | |
- mtm (QUIT: Ping timeout: 244 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net) | 14:02 | |
- S0rin (QUIT: Ping timeout: 244 seconds) (~S0rin@user/s0rin) | 14:57 | |
+ S0rin (~S0rin@user/s0rin) | 15:11 | |
+ mjw (~mark@gnu.wildebeest.org) | 15:38 | |
- S0rin (QUIT: Read error: Connection reset by peer) (~S0rin@user/s0rin) | 15:39 | |
+ S0rin (~S0rin@user/s0rin) | 15:45 | |
- S0rin (QUIT: Quit: WeeChat 3.0) (~S0rin@user/s0rin) | 15:58 | |
+ S0rin (~S0rin@user/s0rin) | 16:01 | |
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net) | 16:08 | |
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-37.cust.tzulo.com) | 16:35 | |
+ bkeys (~Thunderbi@static-198-54-135-37.cust.tzulo.com) | 16:35 | |
- Ar|stote|is (QUIT: Ping timeout: 244 seconds) (~linx@149-210-16-241.mobile.nym.cosmote.net) | 16:51 | |
+ Ar|stote|is (~linx@149-210-28-106.mobile.nym.cosmote.net) | 16:56 | |
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20) | 18:26 | |
- flowy (QUIT: Ping timeout: 248 seconds) (~flowy@2a01:4f8:c0c:1a8f::1) | 19:54 | |
- ndufresne (QUIT: Ping timeout: 276 seconds) (~ndufresne@gyros.collabora.co.uk) | 19:55 | |
+ ndufresne (~ndufresne@gyros.collabora.co.uk) | 20:10 | |
+ flowy (~flowy@2a01:4f8:c0c:1a8f::1) | 20:16 | |
- S0rin (QUIT: Quit: WeeChat 3.0) (~S0rin@user/s0rin) | 22:53 | |
+ MajorBiscuit (~MajorBisc@80.146.187.107) | 22:55 | |
- MajorBiscuit (QUIT: Quit: WeeChat 3.4) (~MajorBisc@80.146.187.107) | 23:02 | |
+ MajorBiscuit (~MajorBisc@80.146.187.107) | 23:08 | |
+ S0rin (~S0rin@user/s0rin) | 23:37 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!