linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH tegra-pinmux-scripts 1/2] fix kernel dt generation for Tegra 3
@ 2015-01-05 21:47 Lucas Stach
       [not found] ` <1420494447-18510-1-git-send-email-dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Lucas Stach @ 2015-01-05 21:47 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA

There is no attribute rcv_sel on Tegra 3.

Signed-off-by: Lucas Stach <dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
---
 board-to-kernel-dt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board-to-kernel-dt.py b/board-to-kernel-dt.py
index 86739db..20f27c3 100755
--- a/board-to-kernel-dt.py
+++ b/board-to-kernel-dt.py
@@ -56,7 +56,7 @@ for pincfg in board.pincfgs_by_num():
     print('				nvidia,enable-input = <' + mapper_bool(pincfg.e_inp) + '>;')
     if pincfg.gpio_pin.od:
         print('				nvidia,open-drain = <' + mapper_bool(pincfg.od) + '>;')
-    if pincfg.gpio_pin.rcv_sel:
+    if hasattr(pincfg.gpio_pin, 'rcv_sel') and pincfg.gpio_pin.rcv_sel:
         print('				nvidia,rcv-sel = <' + mapper_bool(pincfg.rcv_sel) + '>;')
     print('			};')
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-09 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05 21:47 [PATCH tegra-pinmux-scripts 1/2] fix kernel dt generation for Tegra 3 Lucas Stach
     [not found] ` <1420494447-18510-1-git-send-email-dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
2015-01-05 21:47   ` [PATCH tegra-pinmux-scripts 2/2] add support for Beaver board Lucas Stach
     [not found]     ` <1420494447-18510-2-git-send-email-dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
2015-01-09 17:16       ` Stephen Warren
2015-01-05 22:07   ` [PATCH tegra-pinmux-scripts 1/2] fix kernel dt generation for Tegra 3 Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).