search are not complete
Hi, when we are searching some keyword in all the regmap, it seems we could not get all the result.
For example, there is a address map like below:
- regmap
- timing ctrl
- slot_ctrl0
- rg_t_slot
- slot_ctrl1
- field1
- slot_ctrl2
- field2
- slot_ctrl0
- timing ctrl
When we are searching the keyword "slot", we could only get the result like below:
regmap.timing_ctrl.slot_ctrl0
regmap.timing_ctrl.slot_ctrl1
regmap.timing_ctrl.slot_ctrl2
But we could not see the result, which should be regmap.timing_ctrl.slot_ctrl0.rg_t_slot
Thanks for pointing this out! This behavior was somewhat intentional - field results are hidden unless no other matches are found to avoid clutter. That said, I agree that your example results in surprising behavior. I'll look into fixing this. Search results are something I am constantly adjusting. There is a fine balance to returning results that "feel correct" and it is difficult to anticipate.