Thread (85 messages) 85 messages, 11 authors, 2015-05-23

Re: [PATCH v8 14/16] ARM: dts: Introduce STM32F429 MCU

From: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Date: 2015-05-22 12:32:02
Also in: linux-api, linux-arch, linux-arm-kernel, linux-devicetree, linux-gpio

2015-05-22 12:07 GMT+02:00 Philipp Zabel [off-list ref]:
The STM32F427xx/STM32F429xx manual, Table 13. "STM32F427xx and
STM32F429xx register boundary addresses" contains this entry:
    Bus    Boundary address       Peripheral
    AHB1   0x40023800-0x400238bf  RCC

And that's how I'd expect it to be described by the device tree:

    rcc: rcc@40023800 {
        compatible = "st,stm32-rcc";
        reg = <0x40023800 0xc0>;
    };
Doing that, since this register bank contains both reset and clock
registers, the reset device cannot get the IO resource at probe time
because the clock driver has already reserved it.
Daniel, who has started to work on the clock driver is facing this issue.
This is why I proposed this binding for "reg" property.

We could think of creating a MFD driver, but the problem is that clock
need to be intialized before a MFD device can be probed.

Maybe there is a way to have you binding working properly, but I
haven't found one for now.

Regards,
Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help