From: Jerome Brunet <jbrunet@baylibre.com>
To: Neil Armstrong <narmstrong@baylibre.com>,
Carlo Caione <carlo@caione.org>,
Kevin Hilman <khilman@baylibre.com>
Cc: linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: clk: meson: add ao controller clock inputs
Date: Mon, 03 Dec 2018 15:10:48 +0100 [thread overview]
Message-ID: <921f7fbc2091cc7973645d18a5c7e6257a798b4d.camel@baylibre.com> (raw)
In-Reply-To: <20181203131850.31388-2-jbrunet@baylibre.com>
On Mon, 2018-12-03 at 14:18 +0100, Jerome Brunet wrote:
> Add the clock inputs of amlogic AO clock controller
>
> Reviewed-by: Stephen Boyd <sboyd@kernel.org>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> .../devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt
> b/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt
> index 3a880528030e..c480db8f4793 100644
> --- a/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt
> +++ b/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt
> @@ -11,6 +11,11 @@ Required Properties:
> - GXM (S912) : "amlogic,meson-gxm-aoclkc"
> - AXG (A113D, A113X) : "amlogic,meson-axg-aoclkc"
> followed by the common "amlogic,meson-gx-aoclkc"
> +- clocks: list of clock phandle, one for each entry clock-names.
> +- clock-names: should contain the following:
> + * "xtal" : the platform xtal
> + * "mpeg-clk" : the main clock controller mother clock (aka clk81)
> + * "ext-32k" : external 32kHz reference if any (optional)
While chip like the AXG have only 1 external 32k input, the gx family appears
to have 3 :( I missed that detail when preparing this patchset. Please hold
on, I'll send a v3
>
> - #clock-cells: should be 1.
>
> @@ -40,8 +45,9 @@ ao_sysctrl: sys-ctrl@0 {
> compatible = "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gx-
> aoclkc";
> #clock-cells = <1>;
> #reset-cells = <1>;
> + clocks = <&xtal>, <&clkc CLKID_CLK81>;
> + clock-names = "xtal", "mpeg-clk";
> };
> -};
>
> Example: UART controller node that consumes the clock and reset generated
> by the clock controller:
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2018-12-03 14:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-03 13:18 [PATCH v2 0/3] arm64: dts: meson: add clock controllers input clocks Jerome Brunet
2018-12-03 13:18 ` [PATCH v2 1/3] dt-bindings: clk: meson: add ao controller clock inputs Jerome Brunet
2018-12-03 14:10 ` Jerome Brunet [this message]
2018-12-03 13:18 ` [PATCH v2 2/3] dt-bindings: clk: meson: add main controller clock input Jerome Brunet
2018-12-03 13:18 ` [PATCH v2 3/3] arm64: dts: meson: add clock controller clock inputs Jerome Brunet
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=921f7fbc2091cc7973645d18a5c7e6257a798b4d.camel@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=carlo@caione.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=narmstrong@baylibre.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
all inboxes | Powered by JetHome®