u-boot-brain/arch/arc/dts
Eugeniy Paltsev fe3eb7a887 GPIO: CREG: improve flexibility of hsdk-creg-gpio driver
CREG GPIO is a driver for weird soc-specific output ports, which are
controlled by some fields in memory mapped register.

Example:

31                 9        7        5           0   < bit number
|                  |        |        |           |
[     not used     | gpio-1 | gpio-0 | <-shift-> ]   < 32 bit register
                       ^        ^
                       |        |
                write 0x2 == set output to "1" (activate)
                write 0x3 == set output to "0" (deactivate)

As of tooday we only support fixed (hardcoded) bit per gpio line,
activate / deactivatei and shift values. Fix that by read them from
device tree to be able to use this driver for other boards.

Remove "hsdk" prefix from compatible string as this driver can be
used with different boards like HSDK, AXS101, AXS103, etc.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-07-31 07:49:47 +03:00
..
abilis_tb100.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
axc001.dtsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
axc003.dtsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
axs10x_mb.dtsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
axs101.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
axs103.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
emdk.dts ARC: Add support for EM Development Kit board 2018-05-31 20:13:29 +03:00
hsdk.dts GPIO: CREG: improve flexibility of hsdk-creg-gpio driver 2018-07-31 07:49:47 +03:00
Makefile ARC: Add support for EM Development Kit board 2018-05-31 20:13:29 +03:00
nsim.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
skeleton.dtsi arc: dts: separate single axs10x.dts file 2017-03-24 14:47:52 +03:00