]> git.baikalelectronics.ru Git - uboot.git/commit
gpio: slg7xl45106: Update gpio desc flags from DT
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Wed, 30 Mar 2022 09:07:56 +0000 (11:07 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 5 Apr 2022 13:13:13 +0000 (15:13 +0200)
commit5e157bacb377d0f9c9d26fd8588814af84e1ed0c
tree95e817d219840c36bdc03b72fb796d640403d68c
parente8ef68dbd67a1e926f3597609bac5272aba5f93e
gpio: slg7xl45106: Update gpio desc flags from DT

In current slg7xl45106 gpio driver xlate() function we are not updating
gpio flags from DT. Read the given flag from DT and update the gpio desc
flags variable with required gpio direction state.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/a8d7b4799337bd99f61ace509889f02b192a9414.1648631275.git.michal.simek@xilinx.com
drivers/gpio/gpio_slg7xl45106.c