Thread (7 messages) 7 messages, 3 authors, 2016-09-01

Re: hwrng: pasemi_rng.c: Migrate to managed API

From: PrasannaKumar Muralidharan <hidden>
Date: 2016-09-01 06:59:57
Also in: linux-crypto, lkml

I didn't explain well, There is a CFE command 'show devtree' here's the
relevant bits (I Hope)
This is much simple than I expected.
[CFE ]CFE> show devtree
[/]
 | #interrupt-cells                 val   0x00000002
 | #address-cells                   val   0x00000002
 | #size-cells                      val   0x00000002

...[snip]...

   [sdc@fc000000]
    | name                          str   'sdc'
    | device_type                   str   'sdc'
    | #address-cells                val   0x00000001
    | #size-cells                   val   0x00000001
    | compatible                    str   '1682m-sdc' 'pasemi,pwrficient-sdc'
'pasemi,sdc'
    | reg                           cell  00000000 FC000000 00000000 00800000

...[snip]...

      [rng@fc105000]
       | name                       str   'rng'
       | device_type                str   'rng'
       | compatible                 str   '1682m-rng' 'pasemi,pwrficient-rng'
'pasemi,rng'
       | reg                        cell  FC105000 00001000
Device tree provided by CFE has the size. I will send another patch
which uses devm_ioremap_resource().

Appreciate your help. Thank you :).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help