On Mon, Aug 24, 2015 at 9:24 PM, Leizhen (ThunderTown)
wrote:
>
>
> On 2015/8/24 21:25, Rob Herring wrote:
>> +benh
>>
>> On Mon, Aug 24, 2015 at 7:30 AM, Zhen Lei wrote:
>>> If use of_platform_populate to scan dt-nodes and add devices, the
>>> subnode of root(such as /smmu), when being scanned
On Mon, Aug 24, 2015 at 9:24 PM, Leizhen (ThunderTown)
thunder.leiz...@huawei.com wrote:
On 2015/8/24 21:25, Rob Herring wrote:
+benh
On Mon, Aug 24, 2015 at 7:30 AM, Zhen Lei thunder.leiz...@huawei.com wrote:
If use of_platform_populate to scan dt-nodes and add devices, the
subnode of
On 2015/8/24 21:25, Rob Herring wrote:
> +benh
>
> On Mon, Aug 24, 2015 at 7:30 AM, Zhen Lei wrote:
>> If use of_platform_populate to scan dt-nodes and add devices, the
>> subnode of root(such as /smmu), when being scanned and invoke
>
> You should have a bus as the sub-node of root rather
+benh
On Mon, Aug 24, 2015 at 7:30 AM, Zhen Lei wrote:
> If use of_platform_populate to scan dt-nodes and add devices, the
> subnode of root(such as /smmu), when being scanned and invoke
You should have a bus as the sub-node of root rather than devices
directly off of root. You still have a
If use of_platform_populate to scan dt-nodes and add devices, the
subnode of root(such as /smmu), when being scanned and invoke
of_device_add, the ofdev->dev.parent is always equal _bus. So
that, function set_dev_node will not be called. And in device_add,
dev_to_node(parent) always return
+benh
On Mon, Aug 24, 2015 at 7:30 AM, Zhen Lei thunder.leiz...@huawei.com wrote:
If use of_platform_populate to scan dt-nodes and add devices, the
subnode of root(such as /smmu), when being scanned and invoke
You should have a bus as the sub-node of root rather than devices
directly off of
If use of_platform_populate to scan dt-nodes and add devices, the
subnode of root(such as /smmu), when being scanned and invoke
of_device_add, the ofdev-dev.parent is always equal platform_bus. So
that, function set_dev_node will not be called. And in device_add,
dev_to_node(parent) always return
On 2015/8/24 21:25, Rob Herring wrote:
+benh
On Mon, Aug 24, 2015 at 7:30 AM, Zhen Lei thunder.leiz...@huawei.com wrote:
If use of_platform_populate to scan dt-nodes and add devices, the
subnode of root(such as /smmu), when being scanned and invoke
You should have a bus as the sub-node
8 matches
Mail list logo