Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: mediatek: mt8516: harmonize node names and compatibles

This is used to fix dtbs_check warning:
harmonize node names and compatibles;
add property "usb-role-switch" for connector dependence.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20210316092232.9806-8-chunfeng.yun@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

authored by

Chunfeng Yun and committed by
Matthias Brugger
86c5ed12 357c5f71

+6 -4
+5 -4
arch/arm64/boot/dts/mediatek/mt8516.dtsi
··· 480 480 }; 481 481 482 482 usb0: usb@11100000 { 483 - compatible = "mediatek,mtk-musb"; 483 + compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb"; 484 484 reg = <0 0x11100000 0 0x1000>; 485 485 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>; 486 486 interrupt-names = "mc"; ··· 493 493 }; 494 494 495 495 usb1: usb@11190000 { 496 - compatible = "mediatek,mtk-musb"; 496 + compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb"; 497 497 reg = <0 0x11190000 0 0x1000>; 498 498 interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_LOW>; 499 499 interrupt-names = "mc"; ··· 506 506 status = "disabled"; 507 507 }; 508 508 509 - usb_phy: usb@11110000 { 510 - compatible = "mediatek,generic-tphy-v1"; 509 + usb_phy: t-phy@11110000 { 510 + compatible = "mediatek,mt8516-tphy", 511 + "mediatek,generic-tphy-v1"; 511 512 reg = <0 0x11110000 0 0x800>; 512 513 #address-cells = <2>; 513 514 #size-cells = <2>;
+1
arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi
··· 188 188 &usb0 { 189 189 status = "okay"; 190 190 dr_mode = "peripheral"; 191 + usb-role-switch; 191 192 192 193 usb_con: connector { 193 194 compatible = "usb-c-connector";