ChanServ changed the topic of #linux-msm to:
lumag_ has quit [Ping timeout: 480 seconds]
bamse_ has quit [Server closed connection]
bamse has joined #linux-msm
bamse is now known as Guest227
shawnguo4 has quit [Server closed connection]
shawnguo4 has joined #linux-msm
mani_s- has quit [Server closed connection]
mani_s has joined #linux-msm
vkoul has quit [Server closed connection]
vkoul has joined #linux-msm
norris has quit [Server closed connection]
norris has joined #linux-msm
flto has quit [Server closed connection]
flto has joined #linux-msm
hfink has quit [Server closed connection]
hfink has joined #linux-msm
steev has quit [Server closed connection]
steev has joined #linux-msm
dianders has quit [Server closed connection]
dianders has joined #linux-msm
elder_ has quit [Server closed connection]
elder_ has joined #linux-msm
ndec has quit [Server closed connection]
ndec has joined #linux-msm
agross has quit [Server closed connection]
agross has joined #linux-msm
flowriser has quit [Read error: No route to host]
flowriser has joined #linux-msm
thara has quit [Server closed connection]
thara has joined #linux-msm
lumag_ has joined #linux-msm
lumag_ has quit [Ping timeout: 480 seconds]
enok has quit [Server closed connection]
enok has joined #linux-msm
sibis has quit [Server closed connection]
sibis has joined #linux-msm
jessica_24 has quit [Server closed connection]
jessica_24 has joined #linux-msm
abhinav___ has quit [Server closed connection]
abhinav___ has joined #linux-msm
<aka_[m]> I do want to try port some funky device and it turns out it has some gpio stuff for antena.
<aka_[m]> Together with Toonis we came to idea putting default pin states for modem and wcnss remoteproc will it work or two devices cannot share same pinctrl state?
<aka_[m]> Xiaomi decided to write its own driver to just set pinctrl state.
<aka_[m]> or try to model it as fixed regulator which is always on?
<aka_[m]> in case of modem im not sure if putting remoteproc state to sleep will kick RF part out.
pundir has joined #linux-msm
jhugo____ has quit [Server closed connection]
jhugo____ has joined #linux-msm
<Mis012[m]> aka_: according to the schematic, it's an output
<Mis012[m]> eh
<Mis012[m]> not
<Mis012[m]> an input to the SoC
<Mis012[m]> and it would make more sense than the alternative considering how it's connected
<Mis012[m]> the nice thing about inputs is that you can probably just ignore them :P
<aka_[m]> some ppl say its not enabled by default
<aka_[m]> it is
<aka_[m]> ehh
arnd_ has quit [Server closed connection]
<Mis012[m]> I doubt you need to "enable" anything
<Mis012[m]> if it's an input pin
arnd_ has joined #linux-msm
<Mis012[m]> and it doesn't seem to need any internal pull-up/down
<Mis012[m]> well, I don't think Linux userspace has a need for information on the state of some antenna?
<Mis012[m]> `drivers/bus/qcom-ssc-block-bus.c:217:17: error: assigning to 'const char **' from 'const char *const[2]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]`
<Mis012[m]> uh hm
<Mis012[m]> I swear gcc didn't complain
<Mis012[m]> I wonder if that's why they use clang for the bot...
<Mis012[m]> to catch you on stuff your local gcc which you're clearly using didn't report
<Mis012[m]> aka_: if you get someone with RF knowledge to look at it, maybe you can make a `gpio-antenna-status` binding :P
<aka_[m]> maybe i will try with fake fixed-regulator tho
<Mis012[m]> ???
<Mis012[m]> that's for output
<Mis012[m]> this is input
<aka_[m]> not sure how RF1/RF2/RF3 works
<aka_[m]> uh
<Mis012[m]> pretty sure they got the direction right in the schematic
<aka_[m]> so how we set input vs output in pinctrl?
<Mis012[m]> this looks to me like the 470K resistor is pulling it up
<Mis012[m]> and when that top line gets pulled LOW, it will pull the signal low through the 10K resistor
<Mis012[m]> so basically it's an input that tells you if that top line is LOW
<Mis012[m]> and presumably it usually won't be
<Mis012[m]> since you would prefer to have the 470K resistor loading your battery all the time rather than the 10K one
<Mis012[m]> you will want this
<Mis012[m]> this is what you're looking for
jstultz has joined #linux-msm