Thread (4 messages) 4 messages, 4 authors, 2018-04-12

[PATCHv2] pinctrl: samsung: add pin_dbg_show callback for debugfs

From: krzk@kernel.org (Krzysztof Kozlowski)
Date: 2018-03-28 10:23:47
Also in: linux-gpio, linux-samsung-soc

On Tue, Mar 27, 2018 at 3:58 PM, Chanho Park [off-list ref] wrote:
This patch adds a samsung_pin_dbg_show function to implement the
pin_dbg_show callback function which can be used to show pin
confuration values. Basically, it can show pin setting values by
accessing the "pins" node like below:

$ cat pins
pin 0 (gpy7-0)  CON(0x0) DAT(0x1) PUD(0x1) DRV(0x0) CON_PDN(0x0) PUD_PDN(0x0)

Signed-off-by: Chanho Park <redacted>
---
Changes from v1:
- use samsung_pinconf_get instead of samsung_pinconf_rw
- use "static const char * const" type declaration of reg_names
- skip condition change

 drivers/pinctrl/samsung/pinctrl-samsung.c | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
Looks fine, thanks:
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Linus,
I do not have anything in my pinctrl queue for you so maybe you can
take it directly? Otherwise, I will apply it after upcoming merge
window.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help