meson_uart: enabling the core clock for uart_A

Helmut Klein hgkr.klein at gmail.com
Wed Mar 22 11:20:14 PDT 2017


On 22.03.2017 18:22, Carlo Caione wrote:
> On Wed, Mar 22, 2017 at 5:58 PM, Helmut Klein <hgkr.klein at gmail.com> wrote:
>> Hallo Carlo,
>>
>> the u-boot of my s905 based media player (netxeon minimx, p200 compatible)
>> doesn't enable the core clock for uart_A. therefore my bluetooth adapter,
>> which is connected to this device, isn't operational.
>
> weird. Which kernel are you using?

i dont think it's weird. all the none AO uarts have clock gating bits. 
Without enabling the clock, the device is not operational (see chapter 
22.3 of the bloody s905 public datasheet). I'm using kevin hilmans 
integration branch = v4.11-rc1

>
>> i've added some lines, extracted from amlogic's driver, to meson_uart.c and
>> modified the clock header files, to be able to add the core clock info to
>> the dtb.
>>
>> May i send you the patches?
>
> Send the patches to the Amlogic ML.

i will setup the patches like yours for the hwrng (or at least i will 
try it)

>
>> if yes, which git tree should i use as the base?
>
> Probably the integration branch is the better choice
> https://git.kernel.org/cgit/linux/kernel/git/khilman/linux-amlogic.git
>
> Cheers,
>

Helmut



More information about the linux-amlogic mailing list