Thread (23 messages) 23 messages, 5 authors, 2018-03-27

[PATCH v3 3/3] pinctrl: qcom: Don't allow protected pins to be requested

From: Andy Shevchenko <hidden>
Date: 2018-03-23 16:31:09
Also in: linux-arm-msm, linux-devicetree, linux-gpio, lkml

On Fri, Mar 23, 2018 at 6:21 PM, Stephen Boyd [off-list ref] wrote:
       bitmap_zero(chip->valid_mask, max_gpios);
       for (i = 0; i < len; i++)
               set_bit(tmp[i], chip->valid_mask);
Looking to this code I just realized it would be nice to have

{of,device}_property_read_bitmask() where bitmask_parse() is called.

Since it related to change a binding, I would really take couple of
days to hear other opinions.

In the above case, you need to supply a string, like

"1-5,16,18,25"

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help