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


Groups > linux.kernel > #1230387

Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support
Date Tue, 22 Sep 2015 18:00:03 +0200
Message-ID <qby95-1o7-53@gated-at.bofh.it> (permalink)
References <qbxPJ-10s-67@gated-at.bofh.it> <qbxZo-1c3-9@gated-at.bofh.it> <qby95-1o7-43@gated-at.bofh.it> <qby95-1o7-41@gated-at.bofh.it>
X-Original-To Maxime Ripard <maxime.ripard@free-electrons.com>
X-Received by 10.50.50.143 with SMTP id c15mr12250995igo.36.1442937405906; Tue, 22 Sep 2015 08:56:45 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 76
Organization linux.* mail to news gateway
X-Original-Cc Chen-Yu Tsai <wens@csie.org>, Vishnu Patekar <vishnupatekar0510@gmail.com>, Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Russell King - ARM Linux <linux@arm.linux.org.uk>, Emilio Lopez <emilio@elopez.com.ar>, Linus Walleij <linus.walleij@linaro.org>, Jens Kuske <jenskuske@gmail.com>, Hans De Goede <hdegoede@redhat.com>, devicetree <devicetree@vger.kernel.org>, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>, linux-kernel <linux-kernel@vger.kernel.org>, linux-sunxi <linux-sunxi@googlegroups.com>, "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>
X-Original-Date Tue, 22 Sep 2015 23:56:26 +0800
X-Original-Message-ID <CAGb2v67pX_q=O0ezUs4CbhMz-Do_0dxq7WnfGPjxw0JNDZar=g@mail.gmail.com>
X-Original-References <1442936337-3104-1-git-send-email-vishnupatekar0510@gmail.com> <1442936337-3104-2-git-send-email-vishnupatekar0510@gmail.com> <CAGb2v665FhnSoWYGJn+Tf79F7pZitYBrEOmAts4nVoUWb-uBqg@mail.gmail.com> <20150922155313.GK4684@lukather>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1230387

Show key headers only | View raw


On Tue, Sep 22, 2015 at 11:53 PM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> On Tue, Sep 22, 2015 at 11:47:40PM +0800, Chen-Yu Tsai wrote:
>> On Tue, Sep 22, 2015 at 11:38 PM, Vishnu Patekar
>> <vishnupatekar0510@gmail.com> wrote:
>> > Allwinner A83T is octa-core cortex-a7 based SoC.
>> > It's clock control unit and prcm, pinmux are different from previous sun8i
>> > series.
>> > Its processor cores are arragned in two clusters 4 cores each,
>> > similar to A80.
>> >
>> > Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
>> > ---
>> >  Documentation/devicetree/bindings/arm/sunxi.txt | 1 +
>> >  arch/arm/mach-sunxi/sunxi.c                     | 1 +
>> >  drivers/clk/sunxi/clk-sunxi.c                   | 6 ++++++
>> >  3 files changed, 8 insertions(+)
>> >
>> > diff --git a/Documentation/devicetree/bindings/arm/sunxi.txt b/Documentation/devicetree/bindings/arm/sunxi.txt
>> > index 67da205..cf5ed27 100644
>> > --- a/Documentation/devicetree/bindings/arm/sunxi.txt
>> > +++ b/Documentation/devicetree/bindings/arm/sunxi.txt
>> > @@ -11,4 +11,5 @@ using one of the following compatible strings:
>> >    allwinner,sun8i-a23
>> >    allwinner,sun8i-a33
>> >    allwinner,sun8i-h3
>> > +  allwinner,sun8i-a83t
>>
>> Alphabetic order please.
>>
>> >    allwinner,sun9i-a80
>> > diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
>> > index 65bab28..b04aefa 100644
>> > --- a/arch/arm/mach-sunxi/sunxi.c
>> > +++ b/arch/arm/mach-sunxi/sunxi.c
>> > @@ -69,6 +69,7 @@ static const char * const sun8i_board_dt_compat[] = {
>> >         "allwinner,sun8i-a23",
>> >         "allwinner,sun8i-a33",
>> >         "allwinner,sun8i-h3",
>> > +       "allwinner,sun8i-a83t",
>>
>> Same here.
>>
>> >         NULL,
>> >  };
>> >
>> > diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
>> > index 413070d..f216d5d 100644
>> > --- a/drivers/clk/sunxi/clk-sunxi.c
>> > +++ b/drivers/clk/sunxi/clk-sunxi.c
>> > @@ -1212,6 +1212,12 @@ CLK_OF_DECLARE(sun6i_a31s_clk_init, "allwinner,sun6i-a31s", sun6i_init_clocks);
>> >  CLK_OF_DECLARE(sun8i_a23_clk_init, "allwinner,sun8i-a23", sun6i_init_clocks);
>> >  CLK_OF_DECLARE(sun8i_a33_clk_init, "allwinner,sun8i-a33", sun6i_init_clocks);
>> >
>> > +static void __init sun8ia83t_init_clocks(struct device_node *node)
>> > +{
>> > +       sunxi_init_clocks(NULL, 0);
>> > +}
>> > +CLK_OF_DECLARE(sun9i_a83t_clk_init, "allwinner,sun8i-a83t", sun8ia83t_init_clocks);
>>
>> sun8i? Missing underscore too.
>>
>> I think you should add this once you actually have clock support.
>> Otherwise this call basically does nothing.
>
> That's not true, it actually initializes most of the clocks in the
> system.

Right. Sorry, I think my thoughts strayed to sun9i.

ChenYu
--
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/4] Add basic support for Allwinner A83T SOC Vishnu Patekar <vishnupatekar0510@gmail.com> - 2015-09-22 17:40 +0200
  [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support Vishnu Patekar <vishnupatekar0510@gmail.com> - 2015-09-22 17:50 +0200
    Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-09-22 18:00 +0200
      Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support Chen-Yu Tsai <wens@csie.org> - 2015-09-22 18:00 +0200
    Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-09-22 18:00 +0200
      Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support Vishnu Patekar <vishnupatekar0510@gmail.com> - 2015-09-24 13:00 +0200
    Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support Chen-Yu Tsai <wens@csie.org> - 2015-09-22 18:10 +0200
      Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support Vishnu Patekar <vishnupatekar0510@gmail.com> - 2015-09-24 13:00 +0200
  [PATCH 4/4] ARM: dts: sun8i: Add A83T HomletV2 Board by Allwinner Vishnu Patekar <vishnupatekar0510@gmail.com> - 2015-09-22 17:50 +0200
    Re: [PATCH 4/4] ARM: dts: sun8i: Add A83T HomletV2 Board by Allwinner Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-09-22 18:10 +0200
      Re: [PATCH 4/4] ARM: dts: sun8i: Add A83T HomletV2 Board by Allwinner Vishnu Patekar <vishnupatekar0510@gmail.com> - 2015-09-22 18:30 +0200
  [PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller support Vishnu Patekar <vishnupatekar0510@gmail.com> - 2015-09-22 17:50 +0200
    Re: [PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller  support Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-09-22 18:00 +0200
    Re: [PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller support Chen-Yu Tsai <wens@csie.org> - 2015-09-22 18:10 +0200
      Re: [PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller  support Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-09-24 12:20 +0200
    Re: [PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller support Linus Walleij <linus.walleij@linaro.org> - 2015-10-02 13:20 +0200
  [PATCH 3/4] ARM: dts: sun8i: Add Allwinner A83T dtsi Vishnu Patekar <vishnupatekar0510@gmail.com> - 2015-09-22 17:50 +0200
    Re: [PATCH 3/4] ARM: dts: sun8i: Add Allwinner A83T dtsi Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-09-22 18:00 +0200
      Re: [PATCH 3/4] ARM: dts: sun8i: Add Allwinner A83T dtsi Chen-Yu Tsai <wens@csie.org> - 2015-09-22 18:20 +0200

csiph-web