From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Gerhard Sittig <gsi@denx.de>
Cc: linuxppc-dev@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org,
Anatolij Gustschin <agust@denx.de>,
Mike Turquette <mturquette@linaro.org>,
Scott Wood <scottwood@freescale.com>, Detlev Zundel <dzu@denx.de>,
Jiri Slaby <jslaby@suse.cz>,
linux-serial@vger.kernel.org
Subject: Re: [PATCH v6 10/17] serial: mpc512x: setup the PSC FIFO clock as well
Date: Wed, 4 Dec 2013 16:55:21 -0800 [thread overview]
Message-ID: <20131205005521.GA21377@kroah.com> (raw)
In-Reply-To: <1385851897-23475-11-git-send-email-gsi@denx.de>
On Sat, Nov 30, 2013 at 11:51:30PM +0100, Gerhard Sittig wrote:
> prepare and enable the FIFO clock upon PSC FIFO initialization,
> check for and propagage errors when enabling the PSC FIFO clock,
> disable and unprepare the FIFO clock upon PSC FIFO uninitialization
>
> devm_{get,put}_clk() doesn't apply here, as the SoC provides a
> single FIFO component which is shared among several PSC components,
> thus the FIFO isn't associated with a device (while the PSCs are)
>
> provide a fallback clock lookup approach in case the OF based clock
> lookup for the PSC FIFO fails, this allows for successful operation in
> the presence of an outdated device tree which lacks clock specs
>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Jiri Slaby <jslaby@suse.cz>
> Cc: linux-serial@vger.kernel.org
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> # for v4
> Signed-off-by: Gerhard Sittig <gsi@denx.de>
> ---
> Greg, the addition since v4 is the clk_get_sys() call for the 'ipg'
> clock item (backwards compat for device trees w/o clock specs)
That's fine, my ACK still stands.
thanks,
greg k-h
WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Gerhard Sittig <gsi@denx.de>
Cc: Mike Turquette <mturquette@linaro.org>,
Detlev Zundel <dzu@denx.de>, Jiri Slaby <jslaby@suse.cz>,
linux-serial@vger.kernel.org,
Scott Wood <scottwood@freescale.com>,
Anatolij Gustschin <agust@denx.de>,
linuxppc-dev@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v6 10/17] serial: mpc512x: setup the PSC FIFO clock as well
Date: Wed, 4 Dec 2013 16:55:21 -0800 [thread overview]
Message-ID: <20131205005521.GA21377@kroah.com> (raw)
In-Reply-To: <1385851897-23475-11-git-send-email-gsi@denx.de>
On Sat, Nov 30, 2013 at 11:51:30PM +0100, Gerhard Sittig wrote:
> prepare and enable the FIFO clock upon PSC FIFO initialization,
> check for and propagage errors when enabling the PSC FIFO clock,
> disable and unprepare the FIFO clock upon PSC FIFO uninitialization
>
> devm_{get,put}_clk() doesn't apply here, as the SoC provides a
> single FIFO component which is shared among several PSC components,
> thus the FIFO isn't associated with a device (while the PSCs are)
>
> provide a fallback clock lookup approach in case the OF based clock
> lookup for the PSC FIFO fails, this allows for successful operation in
> the presence of an outdated device tree which lacks clock specs
>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Jiri Slaby <jslaby@suse.cz>
> Cc: linux-serial@vger.kernel.org
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> # for v4
> Signed-off-by: Gerhard Sittig <gsi@denx.de>
> ---
> Greg, the addition since v4 is the clk_get_sys() call for the 'ipg'
> clock item (backwards compat for device trees w/o clock specs)
That's fine, my ACK still stands.
thanks,
greg k-h
WARNING: multiple messages have this Message-ID (diff)
From: gregkh@linuxfoundation.org (Greg Kroah-Hartman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 10/17] serial: mpc512x: setup the PSC FIFO clock as well
Date: Wed, 4 Dec 2013 16:55:21 -0800 [thread overview]
Message-ID: <20131205005521.GA21377@kroah.com> (raw)
In-Reply-To: <1385851897-23475-11-git-send-email-gsi@denx.de>
On Sat, Nov 30, 2013 at 11:51:30PM +0100, Gerhard Sittig wrote:
> prepare and enable the FIFO clock upon PSC FIFO initialization,
> check for and propagage errors when enabling the PSC FIFO clock,
> disable and unprepare the FIFO clock upon PSC FIFO uninitialization
>
> devm_{get,put}_clk() doesn't apply here, as the SoC provides a
> single FIFO component which is shared among several PSC components,
> thus the FIFO isn't associated with a device (while the PSCs are)
>
> provide a fallback clock lookup approach in case the OF based clock
> lookup for the PSC FIFO fails, this allows for successful operation in
> the presence of an outdated device tree which lacks clock specs
>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Jiri Slaby <jslaby@suse.cz>
> Cc: linux-serial at vger.kernel.org
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> # for v4
> Signed-off-by: Gerhard Sittig <gsi@denx.de>
> ---
> Greg, the addition since v4 is the clk_get_sys() call for the 'ipg'
> clock item (backwards compat for device trees w/o clock specs)
That's fine, my ACK still stands.
thanks,
greg k-h
next prev parent reply other threads:[~2013-12-05 2:52 UTC|newest]
Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-30 22:51 [PATCH v6 00/17] add COMMON_CLK support for PowerPC MPC512x Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` [PATCH v6 01/17] powerpc/fsl-pci: improve clock API use Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-02 9:46 ` Mark Rutland
2013-12-02 9:46 ` Mark Rutland
[not found] ` <20131202094656.GA12952-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-12-02 14:20 ` [PATCH v1 1/1] dts: bindings: add mpc5121 clocks binding document Gerhard Sittig
[not found] ` <1385994034-2513-1-git-send-email-gsi-ynQEQJNshbs@public.gmane.org>
2013-12-02 16:55 ` Gerhard Sittig
2013-12-02 14:25 ` [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header Gerhard Sittig
2013-12-02 14:25 ` Gerhard Sittig
2013-12-02 14:25 ` Gerhard Sittig
2013-12-07 9:32 ` Anatolij Gustschin
2013-12-07 9:32 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 03/17] dts: mpc512x: add clock related device tree specs Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:34 ` Anatolij Gustschin
2013-12-07 9:34 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 04/17] clk: mpc512x: introduce COMMON_CLK for MPC512x (disabled) Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:37 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 05/17] clk: mpc512x: add backwards compat to the CCF code Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:40 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 06/17] dts: mpc512x: add clock specs for client lookups Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:41 ` Anatolij Gustschin
2013-12-07 9:41 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 07/17] clk: mpc5xxx: switch to COMMON_CLK, retire PPC_CLOCK Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:42 ` Anatolij Gustschin
[not found] ` <1385851897-23475-1-git-send-email-gsi-ynQEQJNshbs@public.gmane.org>
2013-11-30 22:51 ` [PATCH v6 08/17] spi: mpc512x: adjust to OF based clock lookup Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
[not found] ` <1385851897-23475-9-git-send-email-gsi-ynQEQJNshbs@public.gmane.org>
2013-12-02 9:50 ` Mark Rutland
2013-12-02 9:50 ` Mark Rutland
2013-12-02 9:50 ` Mark Rutland
[not found] ` <20131202095034.GB12952-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-12-02 15:10 ` Gerhard Sittig
2013-12-02 15:10 ` Gerhard Sittig
2013-12-02 15:10 ` Gerhard Sittig
2013-12-07 9:46 ` Anatolij Gustschin
2013-12-07 9:46 ` Anatolij Gustschin
2013-12-02 11:32 ` Mark Brown
2013-12-02 11:32 ` Mark Brown
2013-12-02 11:32 ` Mark Brown
2013-11-30 22:51 ` [PATCH v6 09/17] serial: mpc512x: adjust for " Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-07 9:49 ` Anatolij Gustschin
2013-12-07 9:49 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 10/17] serial: mpc512x: setup the PSC FIFO clock as well Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-05 0:55 ` Greg Kroah-Hartman [this message]
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-07 9:51 ` Anatolij Gustschin
2013-12-07 9:51 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 11/17] USB: fsl-mph-dr-of: adjust for OF based clock lookup Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-05 0:55 ` Greg Kroah-Hartman
2013-12-07 9:53 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 12/17] mtd: mpc5121_nfc: " Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:55 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 13/17] [media] fsl-viu: " Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:55 ` Anatolij Gustschin
2013-12-07 9:55 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 14/17] net: can: mscan: adjust to common clock support for mpc512x Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:57 ` Anatolij Gustschin
2013-12-07 9:57 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 15/17] net: can: mscan: remove non-CCF code for MPC512x Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:58 ` Anatolij Gustschin
2013-12-07 9:58 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 16/17] powerpc/mpc512x: improve DIU related clock setup Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 9:59 ` Anatolij Gustschin
2013-11-30 22:51 ` [PATCH v6 17/17] clk: mpc512x: remove migration support workarounds Gerhard Sittig
2013-11-30 22:51 ` Gerhard Sittig
2013-12-07 10:05 ` Anatolij Gustschin
2013-12-10 13:20 ` [PATCH v6 00/17] add COMMON_CLK support for PowerPC MPC512x Gerhard Sittig
2013-12-10 13:20 ` Gerhard Sittig
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=20131205005521.GA21377@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=agust@denx.de \
--cc=dzu@denx.de \
--cc=gsi@denx.de \
--cc=jslaby@suse.cz \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mturquette@linaro.org \
--cc=scottwood@freescale.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.