Skip to contentSkip to conversation

linux-next: manual merge of the devicetree tree with the usb tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Dec 18, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the devicetree tree got a conflict in:

Documentation/devicetree/bindings/connector/usb-connector.yaml

between commits:

76cd718a9ffd ("dt-bindings: connector: usb: add accessory mode description") d1756ac67e7f ("dt-bindings: connector: usb: add altmodes description")

from the usb tree and commit:

0d3a771610d0 ("dt-bindings: connector: Add child nodes for multiple PD capabilities")

from the devicetree tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 57 lines
Cheers,
Stephen Rothwell

diff --cc Documentation/devicetree/bindings/connector/usb-connector.yaml
index f5966b3a2d9a,5a93cdb9fdbc..000000000000
--- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
+++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
@@@ -166,49 -141,6 +141,44 @@@ properties
      maxItems: 6
      $ref: /schemas/types.yaml#/definitions/uint32-array
  
-   op-sink-microwatt:
-     description: Sink required operating power in microwatt, if source can't
-       offer the power, Capability Mismatch is set. Required for power sink and
-       power dual role.
- 
 +  accessory-mode-audio:
 +    type: boolean
 +    description: Whether the device supports Audio Adapter Accessory Mode. This
 +      is only necessary if there are no other means to discover supported
 +      alternative modes (e.g. through the UCSI firmware interface).
 +
 +  accessory-mode-debug:
 +    type: boolean
 +    description: Whether the device supports Debug Accessory Mode. This
 +      is only necessary if there are no other means to discover supported
 +      alternative modes (e.g. through the UCSI firmware interface).
 +
 +  altmodes:
 +    type: object
 +    description: List of Alternative Modes supported by the schematics on the
 +      particular device. This is only necessary if there are no other means to
 +      discover supported alternative modes (e.g. through the UCSI firmware
 +      interface).
 +
 +    additionalProperties: false
 +
 +    patternProperties:
 +      "^(displayport)$":
 +        type: object
 +        description:
 +          A single USB-C Alternative Mode as supported by the USB-C connector logic.
 +
 +        additionalProperties: false
 +
 +        properties:
 +          svid:
 +            $ref: /schemas/types.yaml#/definitions/uint16
 +            description: Unique value assigned by USB-IF to the Vendor / AltMode.
 +            enum: [ 0xff01 ]
 +          vdo:
 +            $ref: /schemas/types.yaml#/definitions/uint32
 +            description: VDO returned by Discover Modes USB PD command.
 +
    port:
      $ref: /schemas/graph.yaml#/properties/port
      description: OF graph bindings modeling a data bus to the connector, e.g.
#1 lore raw
Quoted 15 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the devicetree tree got a conflict in:

Documentation/devicetree/bindings/connector/usb-connector.yaml

between commits:

76cd718a9ffd ("dt-bindings: connector: usb: add accessory mode description") d1756ac67e7f ("dt-bindings: connector: usb: add altmodes description")

from the usb tree and commit:

0d3a771610d0 ("dt-bindings: connector: Add child nodes for multiple PD capabilities")

Quoted 8 lines

from the devicetree tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Looks good to me, thanks!

greg k-h