rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
<smaeul> megi: H6 is sun50iw6. sun50iw3 is A63
jonasbits has quit [Ping timeout: 256 seconds]
_whitelogger has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 256 seconds]
ChriChri_ is now known as ChriChri
RichardG867 has quit [Quit: Keyboard not found, press F1 to continue]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Client Quit]
RichardG867 has joined #linux-sunxi
tuxd3v has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<tuxd3v> Does any one knows were can I find the DVFS driver for H6 on kernel 5.8?
<tuxd3v> could it be:
<tuxd3v> CPU Power Management > CPU Frequency scaling > Allwinner nvmem based SUN50I CPUFreq driver
<tuxd3v> ?
<tuxd3v> also I can't find the SPI driver for H6 :(
<tuxd3v> thanks in advance
<mirko> spi is probably CONFIG_SPI_SUN6I
<mirko> and if it isn't, then it's CONFIG_SPI_SUN4I ;)
<tuxd3v> thanks mirko :)
<tuxd3v> I believe both options are:
<tuxd3v> Allwinner A10 SoCs SPI controller
<tuxd3v> Allwinner A31 SPI controller
<tuxd3v> in the menuconfig
<tuxd3v> if its like that :)
<mirko> as far as i know option name and description usually mention the first supported device
<mirko> which later on turns into a group of devices - it's like that for lot's of sunxi kernel config options
<mirko> it's easy to get confused - best is to rely on maintained defconfigs i'd say
<tuxd3v> yeah its like going to hunt a specific rabit in hole world :D
<tuxd3v> now I just don't know if I have them correctly enabled lol
<smaeul> H6 is CONFIG_SPI_SUN4I
<tuxd3v> smaeul, thanks a lot :)
<smaeul> the best way to know is to find the node in the device tree, then grep the source for the compatible
<smaeul> here, the last/most generic compatible is allwinner,sun8i-h3-spi, so git grep finds:
<smaeul> drivers/spi/spi-sun6i.c: { .compatible = "allwinner,sun8i-h3-spi", .data = (void *)SUN8I_FIFO_DEPTH },
<mirko> smaeul: wait, that means h3's spi is CONFIG_SPI_SUN6I ?
<mirko> but h6 is CONFIG_SPI_SUN4I?
<smaeul> ugh, I meant CONFIG_SPI_SUN6I
<smaeul> *H6 is CONFIG_SPI_SUN6I
<mirko> ah - *phew* :)
<tuxd3v> Prompt: Allwinner A31 SPI controller
<smaeul> sorry, I copy/pasted from the wrong line
<tuxd3v> Depends on: SPI [=y] && SPI_MASTER [=y] && (ARCH_SUNXI [=y] || COMPILE_TEST [=n]) && RESET_CONTROLLER [=y]
<tuxd3v> I believe I have it enabled :)
<mirko> tuxd3v: you know in kconfig you can search for symbol names right? :)
<tuxd3v> I have done that :)
<mirko> (by pressing '/' - like in vim - opens a prompt)
<tuxd3v> yup :)
<mirko> ok :)
<smaeul> or F8 in nconfig
<mirko> i'm always afraid of F-keys being grabbed by whatever layer before (e.g. window manager or whatever..)
<smaeul> then you can use 8 instead :)
<tuxd3v> nice trick :)
<tuxd3v> for H6 I couldn't find a DVFS driver, at least not in the place were I searched for it..
<tuxd3v> in drivers
<mirko> tuxd3v: where did you get the src from? repo url and branch?
<tuxd3v> I got the oficial kernel release from www.kernel.org
<tuxd3v> 5.8
<mirko> i don't think it got upstreamed yet - at least i remember megous mentioning it got enabled in his branch quite recently - however maybe that only was for specific boards..
<mirko> which h6 based board are you running on?
<tuxd3v> I am on OrangePi One Plus
<mirko> then you should really use megous branch
<mirko> there's a lot in there which is not yet upstream
<smaeul> CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM is the correct option for H6 DVFS
<tuxd3v> smaeul, thanks, yeah I believe I have it enabled, but its in:
<tuxd3v> CPU Power Management > CPU Frequency scaling section
<tuxd3v> I was expecting it into Device Drivers :)
<tuxd3v> yeah its the NVMEM driver :)
<tuxd3v> thanks
<smaeul> the DVFS section in Device Drivers is for DVFS of everything *except* CPUs (so DRAM, GPU, etc.)
<tuxd3v> mirko, well yeah megous should indeed have something there :)
<tuxd3v> smaeul, ho, I didn't knew that, so its ok then
<tuxd3v> thanks a lot :)
<tuxd3v> now I just need to enable wireguard and test :)
gaston1980 has quit [Quit: Konversation terminated!]
kevery has joined #linux-sunxi
andy25225 has quit [Ping timeout: 240 seconds]
andy25225 has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
Kamilion has quit [Quit: I am kamilion. But you knew that, didn't you.]
kever_ has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
kevery has quit [Ping timeout: 264 seconds]
Kamilion has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
daregap has joined #linux-sunxi
<Ashleee> one day I wish that kernel menuconfig was sorted and had identical naming :) not "Realtek 8211" and after that "A64 Allwinner: for example :) so you could actually find what you are looking for.
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
gediz0x539 has joined #linux-sunxi
cmeerw has joined #linux-sunxi
[MasterPiece] is now known as [SupremeNTM]
jonasbits has joined #linux-sunxi
[SupremeNTM] is now known as [TwinPikes]
kever__ has joined #linux-sunxi
alexxy has quit [Ping timeout: 256 seconds]
kever_ has quit [Ping timeout: 256 seconds]
kever__ has quit [Remote host closed the connection]
kever__ has joined #linux-sunxi
kever_ has joined #linux-sunxi
kever__ has quit [Ping timeout: 256 seconds]
[TwinPikes] has quit [Quit: growth in middle of cactis, my rancor.]
alexxy has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
reinforce has joined #linux-sunxi
florian_kc has joined #linux-sunxi
florian_kc is now known as florian
JohnDoe_71Rus has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 256 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
andy25225 has quit [Ping timeout: 256 seconds]
andy25225 has joined #linux-sunxi
lurchi_ is now known as lurchi__
Mangy_Dog has joined #linux-sunxi
afaerber_ is now known as afaerber
alexxy has quit [Quit: No Ping reply in 180 seconds.]
alexxy has joined #linux-sunxi
andy25225 has quit [Ping timeout: 264 seconds]
alexxy has quit [Quit: No Ping reply in 180 seconds.]
andy25225 has joined #linux-sunxi
jbrown has joined #linux-sunxi
TEKrantz has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
TEKrantz has joined #linux-sunxi
freemangordon has quit [Ping timeout: 265 seconds]
freemangordon has joined #linux-sunxi