Thread (1 message) 1 message, 1 author, 2016-08-23

Re: [PATCH 3/6] dt/bindings: Add bindings for Tegra GMI controller

From: Jon Hunter <hidden>
Date: 2016-08-23 14:48:25
Also in: linux-arm-kernel, linux-clk, linux-tegra

On 23/08/16 11:33, Mirza Krak wrote:

...
Like we discussed I am now trying to implement this but without
success and I am starting to think that it is not that simple unless I
am missing something.

Below tree

gmi@70009000 {
     status = "okay";
     #address-cells = <1>;
     #size-cells = <1>;
     ranges = <4 0x48000000 0x7ffffff>;

     bus@4 {
          compatible = "simple-bus";
          reg = <4 0>;
I don't think you want reg here.
          #address-cells = <1>;
          #size-cells = <1>;
May be ranges here?
         nvidia,snor-mux-mode;
         nvidia,snor-adv-inv;

        can@0 {
              compatible = "nxp,sja1000";
              reg = <0 0x100>;
              ....
     };

     can@40000 {
           compatible = "nxp,sja1000";
           reg = <0x40000 0x100>;
           ....
    };
};
};
Have a look at some other drivers for example:

Documentation/devicetree/bindings/memory-controllers/arm,pl172.txt

Cheers
Jon

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