Re: [PATCH 1/5 v10] dt/bindings: Add binding for the DA8xx MUSB driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 03/11/2016 07:21 PM, Petr Kulhavy wrote:

I am having 2nd thought on parsing the clock prop, Sergei's comment
might be better. I will look more on this over this weekend. (DT is not
in my expertise...)

Regards,
-Bin.

I like Sergei's comment as well, but cannot see (yet) how the clock input
selection would be done.

The same way as now, of course. Only getting the clock frequency would be different, via clk_get_rate()...

I mean, it makes sense to do the clock abstraction only if it can be done
properly and the clock input selection can be covered as well.

No, this item has never been covered by the clk layer IIRC. That's what the device node props are for.

The DA8xx platform is missing the real clock framework and therefore the
different clocks cannot be referenced in DT.

   You mean more than one clock per device?

There is a fake clock framework in arch/arm/mach-davinci/clock.c - I've
already been through that and then gave up.

I'm not sure why you call it "fake". It's a normal clk implementation, just not converted to the common clk framework.

Regards
Petr

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux