ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
vup2 has joined #armlinux
vup2 has quit [Read error: Connection reset by peer]
vup2 has joined #armlinux
vup2 has quit [Client Quit]
vup2 has joined #armlinux
vup2 has quit [Client Quit]
apritzel has quit [Ping timeout: 272 seconds]
torez has quit [Quit: torez]
XV8 has joined #armlinux
XV8 has quit [Quit: Textual IRC Client: www.textualapp.com]
CrashTestDummy3 has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 244 seconds]
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 268 seconds]
CrashTestDummy3 has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 268 seconds]
apritzel has joined #armlinux
apritzel has quit [Ping timeout: 240 seconds]
guillaume_g has joined #armlinux
sszy has joined #armlinux
matthias_bgg has joined #armlinux
iivanov has joined #armlinux
<mwalle> geertu: actually, I guess compatible = "everspin,mr25h256"; won't produce a dtb check error because no binding is matching (unless there is a check for undefined compatible strings)
mvaittin has joined #armlinux
<geertu> mwalle: Doesn't it match "everspin,mr25h(10|40|128|256)" in Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml? And yes, "make dtbs_check" recently gained a check for undocumented compatible values.
<mwalle> geertu: not if jedec,spi-nor is not there
<mwalle> (or I missed something when I tried it myself)
prabhakarlad has joined #armlinux
<geertu> mwalle: You're right.
<geertu> If I change the compatible value slightly, it does complain:
<geertu> failed to match any schema with compatible: ['everspin,mr25h257']
<geertu> So the warning is suppressed incorrectly if there's a partial match?
<geertu> robher: ^
<mripard_> geertu: the way that is used to determine is relevant for a given node is through a "select" clause
<mripard_> which contains a schema, and if that sub-schema applies, then the rest of the schema applies to that node
<mripard_> it's fairly redundant, so the tools usually generate it from the compatible list unless it's been already set
<mripard_> in your case, the schema will only be applied if the compatible is what is under properties/compatible
<mripard_> which is basically: does it contain jedec,spi-nor or not
<geertu> mripard_: If I use "mxicy,mx25r1635f", it does complain:
<mripard_> if it doesn't, then the schema will not be applied, and thus would be silently ignored
<geertu> flash@0: compatible: 'oneOf' conditional failed, one must be fixed: ['mxicy,mx25r1635f'] is too short
<geertu> 'mxicy,mx25r1635f' does not match
<geertu> '^((((micron|spansion|st),)?(m25p(40|80|16|32|64|128)|n25q(32b|064|128a11|128a13|256a|512a|164k)))|atmel,at25df(321a|641|081a)|everspin,mr25h(10|40|128|256)|(mxicy|macronix),mx25l(4005a|1606e|6405d|8005|12805d|25635e)|(mxicy|macronix),mx25u(4033|4035)|(spansion,)?s25fl(128s|256s1|512s|008k|064k|164k)|(sst|microchip),sst25vf(016b|032b|040b)|(sst,)?sst26wf016b|(sst,)?sst25wf(040b|080)|winbond,w25x(80|32)|(w
<geertu> inbond,)?w25q(16|32(w|dw)?|64(dw)?|80bl|128(fw)?|256))$' 'jedec,spi-nor' was expected
<mripard_> maybe the pattern is wrong / handled a bit differently then?
<geertu> So there is some difference in matching with a pattern or an enum
<mripard_> you can try to write a select clause yourself if it helps, Documentation/devicetree/bindings/eeprom/at24.yaml has an example
<geertu> mripard_: Shouldn't the existing logic in Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml handle that fine?
<mripard_> this is what the expanded schema looks like
<mripard_> the pattern is completely ignored
<mripard_> or rather, it's not treated as a pattern but as a plain string
<mripard_> this is the function that generates that select
<mripard_> I guess if we have a pattern, we'd want to have a contains/oneOf with either the pattern of the enum with all the "string" compatibles
iokill has quit [Quit: leaving]
iokill has joined #armlinux
<geertu> mripard_: Indeed, the pattern is converted to a fixed string in the select statement of the expanded schema.
apritzel has joined #armlinux
tiggilyboo has joined #armlinux
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 268 seconds]
tiggilyboo has quit [Read error: Connection reset by peer]
<prabhakarlad> Hi All, are there any pointers on triggering CPU parity errors ?
shoragan[m] has quit [Quit: Bridge terminating on SIGTERM]
psydroid has quit [Quit: Bridge terminating on SIGTERM]
mvaittin has quit [Quit: Bridge terminating on SIGTERM]
sha has quit [Quit: Bridge terminating on SIGTERM]
psydroid has joined #armlinux
shoragan[m] has joined #armlinux
sha has joined #armlinux
mvaittin has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
mripard_ is now known as mripard
gcl has quit [Quit: leaving]
gcl has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
torez has joined #armlinux
CrashTestDummy3 has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 264 seconds]
psydroid has joined #armlinux
psydroid has quit [Changing host]
prabhakarlad has joined #armlinux
<robher> mripard, geertu: uh-oh!
matthias_bgg has quit [Quit: Leaving]
sudeepholla has quit [Ping timeout: 240 seconds]
dmart has joined #armlinux
sudeepholla has joined #armlinux
dmart has quit [Ping timeout: 268 seconds]
<geertu> robher: I didn't know it took 35 iterations to get right. Was that sufficient, or were 3 or 4 more needed? ;-)
_whitelogger has joined #armlinux
dmart has joined #armlinux
dmart has quit [Client Quit]
dmart has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<robher> geertu: it might be a record.
dmart has quit [Quit: leaving]
headless has joined #armlinux
tlwoerner has quit [Ping timeout: 244 seconds]
tlwoerner has joined #armlinux
pjw has quit []
pjw has joined #armlinux
sudeepholla has quit [Ping timeout: 272 seconds]
sudeepholla has joined #armlinux
guillaume_g has quit [Quit: Konversation terminated!]
prabhakarlad has quit [Quit: Client closed]
robinp has joined #armlinux
robinp_ has quit [Ping timeout: 244 seconds]
<geertu> robher: yeah, multi-color LED framework was merged at v31/v32
prabhakarlad has joined #armlinux
ausserz has quit [Ping timeout: 272 seconds]
headless has quit [Quit: Konversation terminated!]
prabhakarlad has quit [Quit: Client closed]
rbutler1728 has joined #armlinux
elastic_dog has quit [Ping timeout: 272 seconds]
elastic_dog has joined #armlinux
rbutler1728 has quit [Read error: Connection reset by peer]