Skip to content
  • Simon Glass's avatar
    fdtgrep: Allow propagating properties up to supernodes · 7a06cc20
    Simon Glass authored
    
    
    The existing bootph binding is defined such that properties in a
    subnode are also implied in the supernode also, as in this example:
    
       buttons {
          /* bootph,pre-ram is implied by btn1 */
          compatible = "gpio-keys";
    
          btn1 {
             bootph,pre-ram;
             gpios = <&gpio_a 3 0>;
             label = "button1";
             linux,code = <BTN_1>;
          };
    
    Provide an option to implement this in fdtgrep.
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    7a06cc20