[PATCH] bcma: populate bus DT subnodes as platform_device-s

Rafał Miłecki zajec5 at gmail.com
Tue Jun 30 21:45:28 PDT 2015


On 30 June 2015 at 23:45, Hauke Mehrtens <hauke at hauke-m.de> wrote:
> On 06/28/2015 05:17 PM, Rafał Miłecki wrote:
>> Our bus should allow defining children nodes as we may want to specify
>> devices attached to the bus. This is required e.g. to specify NAND or
>> ChipCommon cores and use bus's address and IRQ mappings.
>>
>> Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>
>> ---
>>  drivers/bcma/main.c | 8 ++++++++
>>  1 file changed, 8 insertions(+)
>
> Rafał have you solved the IRQ problem? Is it possible to assign all the
> sub devices the same IRQ number as the chipcommon core?

Not yet. The only working solution I have so far is:
serial0: serial at 0300 {
        compatible = "ns16550";
        reg = <0x0300 0x100>;
        interrupt-parent = <&gic>;
        interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
        clock-frequency = <100000000>;
};
(plus adding compatible = "simple-bus" to the chipcommon).

-- 
Rafał



More information about the linux-arm-kernel mailing list