diff options
| author | MaJun <[email protected]> | 2016-03-17 08:34:00 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2016-03-21 10:24:10 +0000 |
| commit | d0e286415dc1f4fea2971d6186b0775c7062575b (patch) | |
| tree | 463bff92457de600485e01c7585b56525d0fa347 /net/switchdev/switchdev.c | |
| parent | irqchip/tegra: Switch to use irq_domain_free_irqs_common (diff) | |
| download | kernel-d0e286415dc1f4fea2971d6186b0775c7062575b.tar.gz kernel-d0e286415dc1f4fea2971d6186b0775c7062575b.zip | |
irqchip/mbigen: Adjust DT bindings to handle multiple devices in a module
A mbigen hardware module can contain more than one device node. These device
nodes contain the same register definition.
mbigen_dev1:intc_dev1 {
...
reg = <0x0 0xc0080000 0x0 0x10000>;
...
};
mbigen_dev2:intc_dev2 {
...
reg = <0x0 0xc0080000 0x0 0x10000>;
...
};
In this case both devices try to request the same resource resulting in a
resource conflict.
To address this problem the devices need to be subnodes of the mbigen hardware
module, which then contains the unique register space.
[ tglx: Massaged changelog ]
Suggested-by: Mark Rutland <[email protected]>
Signed-off-by: Ma Jun <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/20160203111602.GA1234@leverpostej
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
