pinctrl: single: add support for pinctrl-single, pins when #pinctrl-cells = 2
authorAJ Bagwell <aj.bagwell@gmail.com>
Fri, 3 Dec 2021 15:18:53 +0000 (15:18 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 18 Jan 2022 13:31:02 +0000 (08:31 -0500)
commit1041eae4203cac442e4750a22c1f0007e2b9f628
tree4bd3d9c53a16adcbb4f1498f0f0ed0fa011a5ef0
parent7c075433feb95b34e762edd384e76a5d08f73ad9
pinctrl: single: add support for pinctrl-single, pins when #pinctrl-cells = 2

Changes to the am33xx device (33e9021a) trees have been merged in from
the upstream linux kernel which now means the device tree uses the new
pins format (as of 5.10) where the confinguration can be stores as a
separate configuration value and pin mux mode which are then OR'd
together.

This patch adds support for the new format to u-boot so that
pinctrl-cells is now respected when reading in pinctrl-single,pins
Signed-off-by: Anthony Bagwell <anthony.bagwell@hivehome.com>
drivers/pinctrl/pinctrl-single.c