linux-next: manual merge of the usb tree with the usb.current tree
Subsystems (6)
[email protected]
maintainerHi all,
Today's linux-next merge of the usb tree got a conflict in:
drivers/usb/dwc3/dwc3-pci.c
between commit:
d7c93a903f33f ("usb: dwc3: pci: Add "snps,dis_u2_susphy_quirk" for Intel Bay Trail")
from the usb.current tree and commit:
582ab24e096fd ("usb: dwc3: pci: Set "linux,phy_charger_detect" property on some Bay Trail boards")
from the usb 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.
arch/arm64/boot/dts/qcom/ipq6018.dtsi +0 -0
drivers/usb/dwc3/dwc3-pci.c +0 -0
@@@ -120,13 -119,14 +120,21 @@@ static const struct property_entry dwc3 {} }; +static const struct property_entry dwc3_pci_intel_byt_properties[] = { +PROPERTY_ENTRY_STRING ("dr_mode" ,"peripheral" ), +PROPERTY_ENTRY_BOOL ("snps,dis_u2_susphy_quirk" ), +PROPERTY_ENTRY_BOOL ("linux,sysdev_is_parent" ), + {} +}; + + static const struct property_entry dwc3_pci_intel_phy_charger_detect_properties[] = { +PROPERTY_ENTRY_STRING ("dr_mode" ,"peripheral" ), +PROPERTY_ENTRY_BOOL ("snps,dis_u2_susphy_quirk" ), +PROPERTY_ENTRY_BOOL ("linux,phy_charger_detect" ), +PROPERTY_ENTRY_BOOL ("linux,sysdev_is_parent" ), + {} + }; +static const struct property_entry dwc3_pci_mrfld_properties[] = {PROPERTY_ENTRY_STRING ("dr_mode" ,"otg" ),PROPERTY_ENTRY_STRING ("linux,extcon-name" ,"mrfld_bcove_pwrsrc" ), .properties = dwc3_pci_intel_properties, }; +static const struct software_node dwc3_pci_intel_byt_swnode = { + .properties = dwc3_pci_intel_byt_properties, +}; + + static const struct software_node dwc3_pci_intel_phy_charger_detect_swnode = { + .properties = dwc3_pci_intel_phy_charger_detect_properties, + }; +static const struct software_node dwc3_pci_intel_mrfld_swnode = { .properties = dwc3_pci_mrfld_properties, };
Quoted 58 lines · On Mon, Feb 21, 2022 at 08:39:17PM +0000, [email protected] wrote:
Hi all,
Today's linux-next merge of the usb tree got a conflict in:
drivers/usb/dwc3/dwc3-pci.cbetween commit:
d7c93a903f33f("usb: dwc3: pci: Add "snps,dis_u2_susphy_quirk" for Intel Bay Trail")from the usb.current tree and commit:
582ab24e096fd("usb: dwc3: pci: Set "linux,phy_charger_detect" property on some Bay Trail boards")from the usb 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.
arch/arm64/boot/dts/qcom/ipq6018.dtsi +0
-0drivers/usb/dwc3/dwc3-pci.c +8
-0@@@ -120,13 -119,14 +120,21 @@@ static const struct property_entry dwc3 {} }; +static const struct property_entry dwc3_pci_intel_byt_properties[] = { +PROPERTY_ENTRY_STRING ("dr_mode" ,"peripheral" ), +PROPERTY_ENTRY_BOOL ("snps,dis_u2_susphy_quirk" ), +PROPERTY_ENTRY_BOOL ("linux,sysdev_is_parent" ), + {} +}; + + static const struct property_entry dwc3_pci_intel_phy_charger_detect_properties[] = { +PROPERTY_ENTRY_STRING ("dr_mode" ,"peripheral" ), +PROPERTY_ENTRY_BOOL ("snps,dis_u2_susphy_quirk" ), +PROPERTY_ENTRY_BOOL ("linux,phy_charger_detect" ), +PROPERTY_ENTRY_BOOL ("linux,sysdev_is_parent" ), + {} + }; +static const struct property_entry dwc3_pci_mrfld_properties[] = {PROPERTY_ENTRY_STRING ("dr_mode" ,"otg" ),PROPERTY_ENTRY_STRING ("linux,extcon-name" ,"mrfld_bcove_pwrsrc" ),@@@ -169,10 -169,10 +177,14 @@@ static const struct software_node dwc3_ .properties = dwc3_pci_intel_properties, }; +static const struct software_node dwc3_pci_intel_byt_swnode = {
drivers/usb/dwc3/dwc3-pci.c
Quoted 10 lines
drivers/usb/dwc3/dwc3-pci.c +4
-0+ .properties = dwc3_pci_intel_byt_properties, +}; + + static const struct software_node dwc3_pci_intel_phy_charger_detect_swnode = { + .properties = dwc3_pci_intel_phy_charger_detect_properties, + }; +static const struct software_node dwc3_pci_intel_mrfld_swnode = { .properties = dwc3_pci_mrfld_properties, };
Looks good, thanks!
greg k-h