mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
Perflosopher has joined #linux-rockchip
smaeul has quit [Remote host closed the connection]
smaeul has joined #linux-rockchip
warpme has joined #linux-rockchip
mripard has joined #linux-rockchip
erg has joined #linux-rockchip
eballetbo has joined #linux-rockchip
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
ungeskriptet has joined #linux-rockchip
ungeskriptet has quit [Client Quit]
anarsoul has quit [Ping timeout: 240 seconds]
anarsoul has joined #linux-rockchip
stikonas has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
raster has joined #linux-rockchip
ungeskriptet has joined #linux-rockchip
<naoki> Kwiboo: https://github.com/radxa/u-boot/commit/fc2c80b7f35faa283afc871fc23b3f2f5589ec44 there is (extremely dirty) patch to detect board type and override dtb file name for Radxa ZERO 3E/3W
<naoki> will you consider this method in your patch set? or should I fix it later? ;)
robmur01 has quit [Remote host closed the connection]
robmur01 has joined #linux-rockchip
<qschulz> naoki: Are you 100% sure that the ADC value are those ones? We have some channels oscillating around a number
<qschulz> naoki: sorry, cannot read properly it seems
<naoki> that commit was made by Radxa
<naoki> probably I'll make some changes not to abuse evb_rk3568
<naoki> (when I will send it to mainline u-boot)
<naoki> macromorgan already did it similar one
<robmur01> abusing a MAC address hook seems pretty yuck too... :)
<qschulz> naoki: look what board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c is doing, that is probably a more suitable hook function?
SystemError has quit [Ping timeout: 260 seconds]
<naoki> qschulz: I think so
naoki has quit [Quit: naoki]
dsimic has quit [Ping timeout: 260 seconds]
dsimic has joined #linux-rockchip
System_Error has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
psydroid has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
linkmauve has quit [Ping timeout: 246 seconds]
a1batross has quit [Ping timeout: 255 seconds]
linkmauve has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
tarel2 has joined #linux-rockchip
<tarel2> Do any of you know the registers for the blue led on the pine phone pro ?
<CounterPillow> there isn't a single register for the LED, you'll have to set GPIO muxes and then the GPIO
tarel2 has quit [Quit: Client closed]
Livio has joined #linux-rockchip
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<CounterPillow> If you're trying to do this from userspace, use the actual kernel your OS has to abstract this away from you and simply toggle the LED through the sysfs or what have you.
psydroid has joined #linux-rockchip
Livio has quit [Ping timeout: 255 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Livio has joined #linux-rockchip
Livio has quit [Ping timeout: 255 seconds]
System_Error has quit [Remote host closed the connection]
raster has quit [Quit: Gettin' stinky!]
System_Error has joined #linux-rockchip
System_Error has quit [Read error: Connection reset by peer]
tarel2 has joined #linux-rockchip
<tarel2> I have only programmed the pi and pico microcontroller.  What is gpio muxes?
System_Error has joined #linux-rockchip
Livio has joined #linux-rockchip
<CounterPillow> functions can be assigned to different pins depending on what the pin mux is set to.
stikonas has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
<CounterPillow> If you are not writing a low level tiny boot blob, you should not be touching the registers to blink an LED, but use the existing abstractions implemented by the drivers.
<tarel2> I know you don't have to do such .   I have been programming my raspberry pi pico microcontroller in arm 32 bit assembly and got my pi blinking led with the help of the firmware and making a small bare metal app so I thought why not try the phone.
<tarel2> any maybe one day help with the power management so I can switch to the pine phone pro all the time.
<tarel2> My Android device are the last not running Linux
<CounterPillow> Ok, then grab the RK3399 TRM from http://opensource.rock-chips.com/ and the PinePhone Pro schematics from Pine's website and check which pin is hooked up to the LED, and then check the GRF section of the TRM for the pinmux setting registers and the GPIO section for how the GPIO controller works
<tarel2> so you had to look at the schematics and the datasheet of the cpu to figure out , what the gpio is?
System_Error has joined #linux-rockchip
<CounterPillow> Yes?
<CounterPillow> If you want to know which registers to poke at in the SoC, the technical reference manual is the resource to consult
<tarel2> I looked for while I did not find that page
<CounterPillow> What page?
tarel2 has quit [Quit: Client closed]
tarel2 has joined #linux-rockchip
<CounterPillow> Okay?
<tarel2> The pine64 official page for the cpu  those files are not all there
<tarel2> haha never been so happy to see offsets in my life
<CounterPillow> You should edit that page then and improve it instead of complaining to a random IRC channel unaffiliated with pine64
Livio has quit [Ping timeout: 268 seconds]
<tarel2> I was not complaining , I was just stating .
<tarel2> If you work on the Linux code great job
<tarel2> I love my pine phone pro
<tarel2> really  I can't tell how great a job the kernel people do .   After working a bit with soc ,  its not easy.
Livio has joined #linux-rockchip
Livio has quit [Ping timeout: 260 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
paulk has joined #linux-rockchip
paulk has quit [Changing host]
paulk has joined #linux-rockchip
tarel2 has quit [Quit: Client closed]
raster has joined #linux-rockchip
kevery has joined #linux-rockchip
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
kevery has quit [Quit: kevery]
raster has quit [Quit: Gettin' stinky!]
serdarth has quit [Ping timeout: 256 seconds]
serdarth has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
naoki has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]