From: Dinh Nguyen <dinguyen@kernel.org>
To: dwesterg@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
thor.thayer@intel.com
Cc: Dalon Westergreen <dalon.westergreen@linux.intel.com>
Subject: Re: [PATCH] arch: arm: socfpga: arria10: Add stmmac ptp_ref clock to socdk devicetree
Date: Thu, 13 Dec 2018 15:56:50 -0600 [thread overview]
Message-ID: <c703c4d4-4442-19b1-8645-aa906b08f7e6@kernel.org> (raw)
In-Reply-To: <20181213205910.26359-1-dalon.westergreen@linux.intel.com>
On 12/13/18 2:59 PM, dwesterg@gmail.com wrote:
> From: Dalon Westergreen <dalon.westergreen@linux.intel.com>
>
> Add the stmmac ptp_ref clock as it is configured in the arria10 socdk.
> The stmmac driver defaults the ptp_ref clock to the main stmmac clock
> if the ptp_ref clock is not set in the devicetree. This is inapprotiate
s/inapprotiate/inappropriate
> for the arria10 socdk.
>
> Signed-off-by: Dalon Westergreen <dalon.westergreen@linux.intel.com>
> ---
> arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
> index 2a7466891d0e..58bfa84dcdb3 100644
> --- a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
> +++ b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
> @@ -74,7 +74,8 @@
> &gmac0 {
> phy-mode = "rgmii";
> phy-addr = <0xffffffff>; /* probe for phy addr */
> -
> + clocks = <&l4_mp_clk>, <&peri_emac_ptp_clk>;
> + clock-names = "stmmaceth", "ptp_ref";
>
These should go into the base arria10 dtsi at socfpga_arria10.dtsi?
Should the other gmacs get the same updates?
Also the patch header should be "ARM: dts: arria10:"
Dinh
next prev parent reply other threads:[~2018-12-13 21:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-13 20:59 [PATCH] arch: arm: socfpga: arria10: Add stmmac ptp_ref clock to socdk devicetree dwesterg
2018-12-13 21:56 ` Dinh Nguyen [this message]
2018-12-13 22:30 ` Dalon Westergreen
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=c703c4d4-4442-19b1-8645-aa906b08f7e6@kernel.org \
--to=dinguyen@kernel.org \
--cc=dalon.westergreen@linux.intel.com \
--cc=devicetree@vger.kernel.org \
--cc=dwesterg@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=thor.thayer@intel.com \
/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).