Re: [PATCH v1 3/4] dt-bindings: pinctrl: add binding for MT7988 SoC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rob

Thank you for first review

Am 5. Oktober 2024 20:44:49 MESZ schrieb Rob Herring <robh@xxxxxxxxxx>:
>On Fri, Oct 04, 2024 at 02:34:17PM +0200, Frank Wunderlich wrote:

>> +patternProperties:
>> +  '-pins$':
>> +    type: object
>> +    additionalProperties: false
>> +
>> +    patternProperties:
>> +      '^.*mux.*$':
>
>Do you really need 'mux' anywhere in the name?
>
>> +        type: object
>> +        additionalProperties: false
>> +        description: |
>> +          pinmux configuration nodes.
...
>> +      '^.*conf.*$':
>
>Really need 'conf' anywhere in the name? 
>
>> +        type: object
>> +        additionalProperties: false
>> +        description:
>> +          pinconf configuration nodes.
>> +        $ref: /schemas/pinctrl/pincfg-node.yaml

mux and conf are used to match subnodes see example for mdio0_pins

mdio0_pins: mdio0-pins {
  mux {
    function = "eth";
    groups = "mdc_mdio0";
  };

  conf {
    pins = "SMI_0_MDC", "SMI_0_MDIO";
    drive-strength = <MTK_DRIVE_8mA>;
  };
};

This is same as done for previous SoC like mt7986.


regards Frank





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux