From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Allen Martin <amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [tegra-pinmux-scripts] [PATCH] Add support for Norrin
Date: Fri, 01 Aug 2014 13:45:21 -0600 [thread overview]
Message-ID: <53DBEE51.1060102@wwwdotorg.org> (raw)
In-Reply-To: <53DACE72.2060602-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
On 07/31/2014 05:17 PM, Stephen Warren wrote:
> On 07/31/2014 04:42 PM, Allen Martin wrote:
>> Add support for Tegra124 Norrin FFD reference board (PM370). Pinmux
>> is based on PM370_T124_customer_pinmux_1.1 spreadsheet.
>
> Oh good; I guess the Excel spreadsheet format was similar enough to
> Jetson TK1 and Venice2 so no changes were required to
> csv-to-board-tegra124-xlsx.py other than adding the board name. That's
> good news:-)
Oh, I see I have the changes below in my local tree from when I was
fiddling with adding Norrin to tegra-pinmux-scripts. Are you sure you
don't need those?
> diff --git a/csv-to-board-tegra124-xlsx.py b/csv-to-board-tegra124-xlsx.py
> index e7afda7cd04d..fa986dc7b48a 100755
> --- a/csv-to-board-tegra124-xlsx.py
> +++ b/csv-to-board-tegra124-xlsx.py
> @@ -43,6 +43,7 @@ if dbg: print(args)
>
> supported_boards = {
> 'jetson-tk1': 'T124_customer_pinmux_PM375_30Apr2014_v2.csv', # worksheet PM375Beaver_Configuration
> + 'norrin': 'PM370_T124_customer_pinmux_1.1.csv', # worksheet Customer_Configuration
> 'venice2': 'Venice2_T124_customer_pinmux_based_on_P4_rev47_2013-07-12.csv', # worksheet Customer_Configuration
> }
>
Your patch has the part above, but none of:
> @@ -69,6 +70,7 @@ COL_E_INPUT = 12
> COL_GPIO_INIT_VAL = 13
> COL_DIRECTION = 14
> COL_RCV_SEL = 15
> +COL_CUST_USAGE = 16
>
> col_names = {
> COL_BALL_NAME: 'Ball Name',
> @@ -85,6 +87,7 @@ col_names = {
> COL_TRI: 'Tristate',
> COL_E_INPUT: 'E_Input',
> COL_GPIO_INIT_VAL: 'GPIO Init Value',
> + COL_CUST_USAGE: 'Customer Usage',
> COL_DIRECTION: 'Pin Direction',
> COL_RCV_SEL: 'High or Normal VIL/VIH',
> }
> @@ -184,13 +187,14 @@ with open(csvfile, newline='') as fh:
> pupd = pupd_munge(row[cols[COL_PUPD]])
> tri = tri_munge(row[cols[COL_TRI]])
> e_input = e_input_munge(row[cols[COL_E_INPUT]])
> + cust_usage = row[cols[COL_CUST_USAGE]].lower()
> od = od_from_direction(row[cols[COL_DIRECTION]])
> if cols[COL_RCV_SEL]:
> rcv_sel = rcv_sel_munge(row[cols[COL_RCV_SEL]])
> else:
> rcv_sel = False
>
> - mux_gpio = mux.startswith('gpio_p') or (mux == gpio)
> + mux_gpio = mux.startswith('gpio_p') or (mux == gpio) or cust_usage.startswith('gpio3_p')
> if mux_gpio:
> mux = None
> if e_input:
next prev parent reply other threads:[~2014-08-01 19:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-31 22:42 [tegra-pinmux-scripts] [PATCH] Add support for Norrin Allen Martin
[not found] ` <1406846532-12611-1-git-send-email-amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-07-31 23:17 ` Stephen Warren
[not found] ` <53DACE72.2060602-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-01 19:45 ` Stephen Warren [this message]
[not found] ` <53DBEE51.1060102-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-04 18:35 ` Allen Martin
[not found] ` <20140804183544.GA30474-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-08-04 18:47 ` Stephen Warren
[not found] ` <53DFD556.3010707-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-05 5:28 ` Allen Martin
2014-08-04 19:02 ` Allen Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53DBEE51.1060102@wwwdotorg.org \
--to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
--cc=amartin-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).