Currently building with a chosen physical layout which has a kscan, but no chosen "shared" kscan fails. See example build and corresponding failing overlay.
I am guessing this is because DT_INST_PROP_LEN doesn't work for phandle type properties, and we can use DT_INST_NODE_HAS_PROP instead. (I haven't spent too much time looking into this, happy to change if there is a better check.)
Currently building with a chosen physical layout which has a kscan, but no chosen "shared" kscan fails. See example build and corresponding failing overlay.
I am guessing this is because
DT_INST_PROP_LEN
doesn't work for phandle type properties, and we can useDT_INST_NODE_HAS_PROP
instead. (I haven't spent too much time looking into this, happy to change if there is a better check.)