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


Groups > linux.kernel > #1332536

Re: [PATCH 04/14] clk: sunxi: add ahb1 clock for A83T

From Vishnu Patekar <vishnupatekar0510@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 04/14] clk: sunxi: add ahb1 clock for A83T
Date 2016-02-12 06:30 +0100
Message-ID <r1esO-2zk-5@gated-at.bofh.it> (permalink)
References <qWOZY-44I-9@gated-at.bofh.it> <qWOZZ-44I-31@gated-at.bofh.it> <qXJ29-3sQ-9@gated-at.bofh.it> <qYlh8-4Ml-7@gated-at.bofh.it> <qYn9h-5Wd-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Maxime,

On Thu, Feb 4, 2016 at 4:01 PM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> On Thu, Feb 04, 2016 at 02:06:45PM +0800, Vishnu Patekar wrote:
>> Hello Maxime,
>>
>>
>> On Tue, Feb 2, 2016 at 9:17 PM, Maxime Ripard
>> <maxime.ripard@free-electrons.com> wrote:
>> > Hi,
>> >
>> > On Sun, Jan 31, 2016 at 09:20:56AM +0800, Vishnu Patekar wrote:
>> >> AHB1 on A83T is similar to ahb1 on A31, except parents are different.
>> >> clock index 0b1x is PLL6.
>> >>
>> >> Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
>> >
>> > If the clock is the same but the parents are different, then we don't
>> > need to duplicate all the logic. Simply add the number of parents to
>> > mux_data, and you're all set.
>>
>> Problem here is: parent 0b10 for A31 ahb1 is AXI, 0b11 is pll6/pre_div.
>> 0b10 and 0b11 is pll6/pre_div.
>> So, just adding number of parents to mux_data will not solve problem.
>
> Is anyone using 0b11 ? Can't we just ignore it?
Yes, it's used, 0b11 is pll6 parent in case of A31.
>
> Maxime
>
> --
> Maxime Ripard, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com

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


Thread

Re: [PATCH 04/14] clk: sunxi: add ahb1 clock for A83T Vishnu Patekar <vishnupatekar0510@gmail.com> - 2016-02-12 06:30 +0100

csiph-web