summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-mediatek.c
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2017-08-01 22:04:17 +0800
committerLinus Walleij <linus.walleij@linaro.org>2017-08-14 15:03:39 +0200
commit659d8a62311ffc61742927350534643ad58aee81 (patch)
tree96f5cf417f749f8879452173b491ee77ebd7f10a /drivers/pwm/pwm-mediatek.c
parentca1f3ae3154ad6d08caa740c99be0d86644a4e44 (diff)
downloadop-kernel-dev-659d8a62311ffc61742927350534643ad58aee81.zip
op-kernel-dev-659d8a62311ffc61742927350534643ad58aee81.tar.gz
gpio: vf610: add imx7ulp support
The Rapid General-Purpose Input and Output with 2 Ports (RGPIO2P) on MX7ULP is similar to GPIO on Vibrid. But unlike Vibrid, the RGPIO2P has an extra Port Data Direction Register (PDDR) used to configure the individual port pins for input or output. We introduce a bool have_paddr with fsl_gpio_soc_data data to distinguish this differences. And we support getting the output status by checking the GPIO direction in PDDR. Cc: Alexandre Courbot <gnurou@gmail.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Stefan Agner <stefan@agner.ch> Cc: Fugang Duan <fugang.duan@nxp.com> Cc: Peter Chen <peter.chen@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pwm/pwm-mediatek.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud