*** tpb <[email protected]> has joined #litex | 00:00 | |
*** acathla <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 00:04 | |
*** acathla <[email protected]> has joined #litex | 00:16 | |
*** linear_cannon <[email protected]> has quit IRC (Quit: linear_cannon) | 00:57 | |
*** nelgau <[email protected]> has joined #litex | 01:23 | |
*** nelgau <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 01:28 | |
*** Degi_ <[email protected]> has joined #litex | 04:48 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 04:49 | |
*** Degi_ is now known as Degi | 04:49 | |
*** peeps <peeps!~peepsalot@openscad/peepsalot> has joined #litex | 05:25 | |
*** nelgau <[email protected]> has joined #litex | 05:27 | |
*** nelgau <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 05:32 | |
*** nelgau <[email protected]> has joined #litex | 05:34 | |
*** Wolfvak <Wolfvak!~Wolfvak@user/wolfvak> has quit IRC (*.net *.split) | 05:35 | |
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has quit IRC (*.net *.split) | 05:35 | |
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has quit IRC (*.net *.split) | 05:35 | |
*** Finde <[email protected]> has quit IRC (*.net *.split) | 05:35 | |
*** DoubleJ <DoubleJ!~DoubleJ@user/doublej> has quit IRC (*.net *.split) | 05:35 | |
*** nelgau <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 05:38 | |
*** Wolfvak <Wolfvak!~Wolfvak@user/wolfvak> has joined #litex | 05:40 | |
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has joined #litex | 05:40 | |
*** Finde <[email protected]> has joined #litex | 05:40 | |
*** DoubleJ <DoubleJ!~DoubleJ@user/doublej> has joined #litex | 05:40 | |
geertu | somlo: The actual voltage will depend on the board (e.g. 1.8V-only eMMC), so DT is the right place. | 07:21 |
---|---|---|
*** FabM <[email protected]> has joined #litex | 07:30 | |
*** nelgau <[email protected]> has joined #litex | 07:31 | |
*** nelgau <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 07:37 | |
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:8103:4bc0:4ebb:e3a4> has joined #litex | 08:36 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:6ce3:c0c5:783e:b45a> has quit IRC (Ping timeout: 240 seconds) | 08:37 | |
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:8103:4bc0:4ebb:e3a4> has quit IRC (Read error: Connection reset by peer) | 08:46 | |
*** Melkhior_ <[email protected]> has joined #litex | 08:54 | |
*** Melkhior <Melkhior!~Melkhior@2a01:e0a:1b7:12a0:225:90ff:fefb:e717> has quit IRC (Ping timeout: 240 seconds) | 08:54 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:b055:b2d4:d40a:a103> has joined #litex | 09:02 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:b055:b2d4:d40a:a103> has quit IRC (Remote host closed the connection) | 09:04 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:b055:b2d4:d40a:a103> has joined #litex | 09:04 | |
*** mupuf <[email protected]> has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) | 10:46 | |
*** mupuf <[email protected]> has joined #litex | 10:46 | |
*** nelgau <[email protected]> has joined #litex | 10:52 | |
*** nelgau <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 10:58 | |
somlo | geertu: huh, ok then -- v13 coming out later today, with REGULATOR and DT voltage config support :) | 12:35 |
somlo | I'll send another update to litex_json2dts_linux, too | 12:36 |
*** zjason` is now known as zjason | 13:24 | |
*** Melkhior_ <[email protected]> has left #litex (Leaving) | 13:59 | |
*** Melkhior_ <[email protected]> has joined #litex | 13:59 | |
*** Melkhior_ <[email protected]> has quit IRC (Quit: Leaving) | 13:59 | |
*** Melkhior_ <Melkhior_!~Melkhior@2a01:e0a:1b7:12a0:225:90ff:fefb:e717> has joined #litex | 13:59 | |
*** Melkhior_ is now known as Melkhior | 14:00 | |
shorne | somlo: there are hardly andy drivers depending on REGULATOR_FIXED_VOLTAGE, interesting | 14:07 |
geertu | shorne: That's why everybody has CONFIG_REGULATOR_FIXED_VOLTAGE=y in his defconfig file? | 14:12 |
geertu | some platforms do select REGULATOR_FIXED_VOLTAGE (if REGULATOR) | 14:12 |
shorne | I guess so, we could also 'select REGULATOR_FIXED_VOLTAGE' insteaed of depends | 14:13 |
shorne | I am just looking at some drivers that use regulators/power-supplies | 14:14 |
cr1901 | shorne: Not related to anything, but congrats on getting openrisc merged into glibc | 14:14 |
geertu | yes, and better than using depends, as that might create a circular dependency | 14:14 |
geertu | cr1901: +1 | 14:14 |
shorne | drivers/gpu/drm/panel/panel-sitronix-st7789v.c: ctx->power = devm_regulator_get(&spi->dev, "power"); | 14:15 |
geertu | cr1901: 7-8 years after I last played with OpenRISC on a de0-nano (before FLOSS FPGA toolchains emerged) | 14:16 |
shorne | cr1901: thanks, doing that work has made the whole toolchain improve. Now I can get back to hardware projects :) | 14:16 |
cr1901 | The more CPUs we have, the merrier | 14:16 |
shorne | geertu: it probably took me 3 years to get the glibc port upstreamed :) | 14:16 |
cr1901 | (Which reminds me, at some point soon, need to add Cora to LiteX) | 14:17 |
shorne | just looking more, almost all mmc host dirvers use: mmc_regulator_get_supply, but nothing about dependencies in Kconfig that I see | 14:24 |
geertu | shorne: So mmc_regulator_get_supply() would return -EPROBE_DEFER? Or device links even prevents getting that far? | 14:25 |
shorne | maybe an oversight? I see select REGULATOR_FIXED_VOLTAGE if REGULATOR in some arch/*/Kconfig too | 14:26 |
shorne | it looks like its returning -EPROBE_DEFER to me. | 14:27 |
shorne | we could test when driver v13 comes out | 14:27 |
shorne | but, device links only would fail if the dependency is specified. If you lave out the regulator from dts it will not defer calling probe. | 14:28 |
geertu | shorne: true | 14:34 |
shorne | this is the only commit I find: 26c2b19e9daf ("mmc: mtk-sd: select REGULATOR") | 14:34 |
shorne | thats related to mmc and regulators config | 14:35 |
*** nelgau <[email protected]> has joined #litex | 14:55 | |
*** nelgau <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 15:01 | |
*** nelgau <[email protected]> has joined #litex | 15:20 | |
*** nelgau <[email protected]> has quit IRC (Remote host closed the connection) | 15:46 | |
*** nrossi[m] <nrossi[m]!~nrossimat@2001:470:69fc:105::1:4527> has quit IRC (Quit: You have been kicked for being idle) | 16:00 | |
a3f | geertu: Great! Should import them back into barebox now ^^ | 16:13 |
somlo | geertu, shorne: my plan is to "ret = mmc_regulator_get_supply(mmc); if (ret || mmc->ocr_avail == 0) mmc->ocr_avail = MMC_VOD_32_33 | MMC_VOD_33_34;" | 16:19 |
somlo | i.e., fall back to 3.3V if anything at all smells wrong | 16:20 |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving) | 16:20 | |
somlo | we can definitely "select CONFIG_REGULATOR_FIXED_VOLTAGE" in Kconfig as well | 16:20 |
somlo | I think most of the other existing drivers using mmc_regulator_get_supply() simply blindly assume CONFIG_REGULATOR_* is enabled, tbh | 16:21 |
*** nelgau <[email protected]> has joined #litex | 16:55 | |
*** nelgau <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 17:01 | |
*** colton <[email protected]> has joined #litex | 17:22 | |
*** colton <[email protected]> has quit IRC (Client Quit) | 17:23 | |
*** coco3431 <coco3431!~coco3431@76-214-251-181.lightspeed.livnmi.sbcglobal.net> has joined #litex | 17:23 | |
*** coco3431 <coco3431!~coco3431@76-214-251-181.lightspeed.livnmi.sbcglobal.net> has quit IRC (Quit: Client closed) | 17:44 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:b055:b2d4:d40a:a103> has quit IRC (Read error: Connection reset by peer) | 18:23 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:b055:b2d4:d40a:a103> has joined #litex | 18:23 | |
*** yootis_ <[email protected]> has joined #litex | 18:27 | |
*** philpax__ <[email protected]> has joined #litex | 18:27 | |
*** guan_ <[email protected]> has joined #litex | 18:27 | |
*** tpw-rules <[email protected]> has joined #litex | 18:29 | |
*** truc <[email protected]> has joined #litex | 18:30 | |
*** mtretter_ <[email protected]> has joined #litex | 18:30 | |
*** tpw-rules <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 18:34 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:b055:b2d4:d40a:a103> has quit IRC (*.net *.split) | 18:34 | |
*** simeonm <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** yootis <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** indy <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** mtretter <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** guan <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** alanvgreen <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** philpax_ <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** bjonnh <bjonnh!~jo@about/aquilenet/bjonnh> has quit IRC (*.net *.split) | 18:34 | |
*** tpw_rules <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** Wolfvak <Wolfvak!~Wolfvak@user/wolfvak> has quit IRC (*.net *.split) | 18:34 | |
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has quit IRC (*.net *.split) | 18:34 | |
*** Finde <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** DoubleJ <DoubleJ!~DoubleJ@user/doublej> has quit IRC (*.net *.split) | 18:34 | |
*** acathla <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** zjason <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** _whitelogger <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** gruetzkopf <gruetzkopf!~quassel@wireguard/tunneler/gruetzkopf> has quit IRC (*.net *.split) | 18:34 | |
*** Emantor <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has quit IRC (*.net *.split) | 18:34 | |
*** MoeIcenowy <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** rektide <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** nats` <nats`!~nats@2001:41d0:8:c634::1> has quit IRC (*.net *.split) | 18:34 | |
*** trabucayre <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** tcal <[email protected]> has quit IRC (*.net *.split) | 18:34 | |
*** yootis_ is now known as yootis | 18:34 | |
*** guan_ is now known as guan | 18:34 | |
*** philpax__ is now known as philpax_ | 18:34 | |
*** alanvgreen <[email protected]> has joined #litex | 18:38 | |
*** indy_ <[email protected]> has joined #litex | 18:38 | |
*** DoubleJ <DoubleJ!~DoubleJ@user/doublej> has joined #litex | 18:38 | |
*** Finde <[email protected]> has joined #litex | 18:38 | |
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has joined #litex | 18:38 | |
*** Wolfvak <Wolfvak!~Wolfvak@user/wolfvak> has joined #litex | 18:38 | |
*** acathla <[email protected]> has joined #litex | 18:38 | |
*** zjason <[email protected]> has joined #litex | 18:38 | |
*** _whitelogger <[email protected]> has joined #litex | 18:38 | |
*** gruetzkopf <gruetzkopf!~quassel@wireguard/tunneler/gruetzkopf> has joined #litex | 18:38 | |
*** Emantor <[email protected]> has joined #litex | 18:38 | |
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has joined #litex | 18:38 | |
*** MoeIcenowy <[email protected]> has joined #litex | 18:38 | |
*** rektide <[email protected]> has joined #litex | 18:38 | |
*** nats` <nats`!~nats@2001:41d0:8:c634::1> has joined #litex | 18:38 | |
*** trabucayre <[email protected]> has joined #litex | 18:38 | |
*** tcal <[email protected]> has joined #litex | 18:38 | |
*** tpw_rules <[email protected]> has joined #litex | 18:38 | |
*** Martoni <Martoni!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex | 18:48 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:a4f9:ea5a:b2da:64df> has joined #litex | 18:57 | |
*** Martoni <Martoni!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 250 seconds) | 20:00 | |
*** zjason` <zjason`[email protected]> has joined #litex | 20:03 | |
*** zjason <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 20:04 | |
*** Guest8 <[email protected]> has joined #litex | 20:56 | |
shorne | somlo: if we do anything I think "select REGULATOR" would be it. But I am fine with leaving it out as we have the fallback | 20:56 |
*** Guest8 <[email protected]> has quit IRC (Client Quit) | 20:57 | |
shorne | cavium.c does something similar: | 20:59 |
shorne | if (IS_ERR(mmc->supply.vmmc)) | 20:59 |
shorne | mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34; | 20:59 |
shorne | so does drivers/mmc/host/dw_mmc.c, drivers/mmc/host/mxcmmc.c | 21:04 |
shorne | All others seem to use one or the other | 21:04 |
shorne | git grep -C4 'mmc_regulator_get_supply\|ocr_avail.*VDD' -- drivers/mmc/ | 21:08 |
shorne | to see the details | 21:08 |
*** linear_cannon <[email protected]> has joined #litex | 23:37 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!