Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1253361

Re: [linux-sunxi] [PATCH 2/6] clk: sunxi: Add H3 clocks support

From Julian Calaby <julian.calaby@gmail.com>
Newsgroups linux.kernel
Subject Re: [linux-sunxi] [PATCH 2/6] clk: sunxi: Add H3 clocks support
Date 2015-10-22 02:20 +0200
Message-ID <qmbLQ-2dB-3@gated-at.bofh.it> (permalink)
References <qm4hk-8eF-5@gated-at.bofh.it> <qm4hn-8eF-69@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Jens,

On Thu, Oct 22, 2015 at 3:13 AM, Jens Kuske <jenskuske@gmail.com> wrote:
> The H3 clock control unit is similar to the those of other sun8i family
> members like the A23.
>
> It adds a new bus gates clock similar to the simple gates, but with a
> different parent clock for each single gate.
> Some of the gates use the new AHB2 clock as parent, whose clock source
> is muxable between AHB1 and PLL6/2. The documentation isn't totally clear
> about which devices belong to AHB2 now, especially USB EHIC/OHIC, so it
> is mostly based on Allwinner kernel source code.
>
> Signed-off-by: Jens Kuske <jenskuske@gmail.com>
> ---
>  Documentation/devicetree/bindings/clock/sunxi.txt |   2 +
>  drivers/clk/sunxi/Makefile                        |   1 +
>  drivers/clk/sunxi/clk-bus-gates.c                 | 105 ++++++++++++++++++++++
>  drivers/clk/sunxi/clk-sunxi.c                     |  12 ++-
>  4 files changed, 117 insertions(+), 3 deletions(-)
>  create mode 100644 drivers/clk/sunxi/clk-bus-gates.c
>
> diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
> index 7c4aee0..6293c65 100644
> --- a/drivers/clk/sunxi/clk-sunxi.c
> +++ b/drivers/clk/sunxi/clk-sunxi.c

This hunk should be in patch 1:

> @@ -1000,9 +1005,8 @@ static void __init sunxi_divs_clk_setup(struct device_node *node,
>
>                 for (i = 0; i < SUNXI_DIVS_BASE_NAME_MAX_LEN - 1 &&
>                                                 clk_name[i] != '_' &&
> -                                               clk_name[i] != '\0'; i++) {
> +                                               clk_name[i] != '\0'; i++)
>                         base_name[i] = clk_name[i];
> -               }
>
>                 base_name[i] = '\0';
>                 factors.name = base_name;

Thanks,

-- 
Julian Calaby

Email: julian.calaby@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support Jens Kuske <jenskuske@gmail.com> - 2015-10-21 18:20 +0200
  [PATCH 2/6] clk: sunxi: Add H3 clocks support Jens Kuske <jenskuske@gmail.com> - 2015-10-21 18:20 +0200
    Re: [linux-sunxi] [PATCH 2/6] clk: sunxi: Add H3 clocks support Julian Calaby <julian.calaby@gmail.com> - 2015-10-22 02:20 +0200
      Re: [linux-sunxi] [PATCH 2/6] clk: sunxi: Add H3 clocks support Jens Kuske <jenskuske@gmail.com> - 2015-10-22 09:50 +0200
  Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support Hans de Goede <hdegoede@redhat.com> - 2015-10-21 21:20 +0200
    Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support Jens Kuske <jenskuske@gmail.com> - 2015-10-22 09:50 +0200
      Re: [linux-sunxi] Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3  support Hans de Goede <hdegoede@redhat.com> - 2015-10-22 10:50 +0200
        Re: [linux-sunxi] Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support Peter Korsgaard <peter@korsgaard.com> - 2015-10-27 20:30 +0100
    Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support Jean-Francois Moine <moinejf@free.fr> - 2015-10-22 10:00 +0200
      Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support Hans de Goede <hdegoede@redhat.com> - 2015-10-22 11:10 +0200
  Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support Hans de Goede <hdegoede@redhat.com> - 2015-10-21 21:30 +0200

csiph-web