diff options
author | Saravana Kannan <saravanak@google.com> | 2020-07-24 16:44:15 -0700 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-07-27 15:07:31 -0600 |
commit | fb820b494acb70e3a20e50935118239c7e5c94dd (patch) | |
tree | c1062c0b30b6a2f57c149e66d1a62554a7b250ab /drivers/of/Kconfig | |
parent | 53e6a671f70abc2c30fa94ae33c0f1c2fe24985e (diff) |
of: property: Add device link support for pinctrl-0 through pinctrl-8
Add support for pinctrl-0 through pinctrl-8 explicitly instead of trying
to add support for pinctrl-%d properties.
Of all the pinctrl-* properties in dts files (20322), only 47% (9531)
are pinctrl-%d properties. Of all the pinctrl-%d properties, 99.5%
(9486) are made up of pinctrl-[0-2]. 'pinctrl-8' is the current maximum
found in dts files.
Trying to parse all pinctrl-* properties and checking for pinctrl-%d is
unnecessarily complicated. So, just add support for pinctrl-[0-8] for
now. In the unlikely event we ever exceed pinctrl-8, we can come back
and improve this.
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20200724234415.1651639-2-saravanak@google.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/Kconfig')
0 files changed, 0 insertions, 0 deletions