From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Stuebner Subject: Re: [PATCH v2] pinctrl: rockchip: add support the get_direction Date: Fri, 01 Apr 2016 02:21:07 +0200 Message-ID: <4521590.yHkfr458Oq@phil> References: <1458028545-1202-1-git-send-email-wxt@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1458028545-1202-1-git-send-email-wxt@rock-chips.com> Sender: linux-gpio-owner@vger.kernel.org To: Caesar Wang Cc: linus.walleij@linaro.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org List-Id: linux-rockchip.vger.kernel.org Am Dienstag, 15. M=E4rz 2016, 15:55:45 schrieb Caesar Wang: > This patch adds the get_direction to support the gpio > interface. >=20 > The gpio direction is not used on rockchip platform when use the gpio > debugfs. >=20 > Tested on kylin board. (RK3036 SoCs) > The repro steps: > $/sys/class/gpio/ > echo 53 > export > $/sys/class/gpio/gpio53# cat direction > in > In general, the gpio53 should be out value, but the direction is the > default value 'in', since the get_direction didn't supported in rock= chip > pinctrl. >=20 > So, we should add this patch to support it. >=20 > Reported-by: Jeffy Chen > Signed-off-by: Caesar Wang Reviewed-by: Heiko Stuebner -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html