[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140929132551.GA27428@netboy>
Date: Mon, 29 Sep 2014 15:25:51 +0200
From: Richard Cochran <richardcochran@...il.com>
To: "luwei.zhou@...escale.com" <luwei.zhou@...escale.com>
Cc: "davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"shawn.guo@...aro.org" <shawn.guo@...aro.org>,
"bhutchings@...arflare.com" <bhutchings@...arflare.com>,
"Fabio.Estevam@...escale.com" <Fabio.Estevam@...escale.com>,
"fugang.duan@...escale.com" <fugang.duan@...escale.com>,
"Frank.Li@...escale.com" <Frank.Li@...escale.com>,
"stephen@...workplumber.org" <stephen@...workplumber.org>
Subject: Re: [PATCH v2 3/4] ptp: Add PTP_PF_PPS enumeration to
ptp_pin_function.
On Mon, Sep 29, 2014 at 09:38:44AM +0000, luwei.zhou@...escale.com wrote:
> My understanding is n_pins should be 1 because there is only one PPS output
The field 'n_pins' is the number of *physical* *programmable* pins.
If the PPS signal on your SoC can appear on any of 4 different pins,
then n_pins should be 4.
If the PPS signal on your SoC can only appear on one pin,
then n_pins should be 0 (zero).
Please see:
Documentation/ptp/testptp.c
include/linux/ptp_clock_kernel.h
include/uapi/linux/ptp_clock.h
Thanks,
Richard
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists