Peter Lemenkov has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37293 )
Change subject: mb/lenovo/t520/devicetree: Use subsystemid inheritance ......................................................................
mb/lenovo/t520/devicetree: Use subsystemid inheritance
Change-Id: Iffeb634c73f58aa1cddac5210d75fda75a3d5e92 Signed-off-by: Peter Lemenkov lemenkov@gmail.com --- M src/mainboard/lenovo/t520/variants/t520/devicetree.cb 1 file changed, 9 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/37293/1
diff --git a/src/mainboard/lenovo/t520/variants/t520/devicetree.cb b/src/mainboard/lenovo/t520/variants/t520/devicetree.cb index 7893daf..0bfa18f 100644 --- a/src/mainboard/lenovo/t520/variants/t520/devicetree.cb +++ b/src/mainboard/lenovo/t520/variants/t520/devicetree.cb @@ -37,9 +37,13 @@ register "pci_mmio_size" = "2048"
device domain 0 on + subsystemid 0x17aa 0x21cf inherit + device pci 00.0 on end # host bridge device pci 01.0 on end # NVIDIA Corporation GF119M [NVS 4200M] - device pci 02.0 on end # vga controller + device pci 02.0 on + subsystemid 0x17aa 0x21d1 + end # vga controller
chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH # GPI routing @@ -73,7 +77,9 @@ device pci 16.1 off end device pci 16.2 off end device pci 16.3 off end - device pci 19.0 on end # Intel Gigabit Ethernet + device pci 19.0 on # Intel Gigabit Ethernet + subsystemid 0x17aa 0x21ce + end device pci 1a.0 on end # USB2 EHCI #2 device pci 1b.0 on end # High Definition Audio device pci 1c.0 off end # PCIe Port #1 @@ -91,8 +97,7 @@
device pci 1f.0 on #LPC bridge chip ec/lenovo/pmh7 - device pnp ff.1 on # dummy - end + device pnp ff.1 on end # dummy register "backlight_enable" = "0x01" register "dock_event_enable" = "0x01" end
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37293 )
Change subject: mb/lenovo/t520/devicetree: Use subsystemid inheritance ......................................................................
Patch Set 1: Code-Review+1
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37293 )
Change subject: mb/lenovo/t520/devicetree: Use subsystemid inheritance ......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/c/coreboot/+/37293/1/src/mainboard/lenovo/t520/v... File src/mainboard/lenovo/t520/variants/t520/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/37293/1/src/mainboard/lenovo/t520/v... PS1, Line 45: subsystemid 0x17aa 0x21d1 0x21cf?
https://review.coreboot.org/c/coreboot/+/37293/1/src/mainboard/lenovo/t520/v... PS1, Line 81: subsystemid 0x17aa 0x21ce 0x21cf?
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37293 )
Change subject: mb/lenovo/t520/devicetree: Use subsystemid inheritance ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37293/1/src/mainboard/lenovo/t520/v... File src/mainboard/lenovo/t520/variants/t520/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/37293/1/src/mainboard/lenovo/t520/v... PS1, Line 45: subsystemid 0x17aa 0x21d1
0x21cf?
Found here: https://github.com/linuxhw/LsPCI/blob/master/Notebook/Lenovo/ThinkPad/ThinkP...
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37293 )
Change subject: mb/lenovo/t520/devicetree: Use subsystemid inheritance ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37293/1/src/mainboard/lenovo/t520/v... File src/mainboard/lenovo/t520/variants/t520/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/37293/1/src/mainboard/lenovo/t520/v... PS1, Line 45: subsystemid 0x17aa 0x21d1
Found here: https://github. […]
Done
Peter Lemenkov has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37293 )
Change subject: mb/lenovo/t520/devicetree: Use subsystemid inheritance ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37293/1/src/mainboard/lenovo/t520/v... File src/mainboard/lenovo/t520/variants/t520/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/37293/1/src/mainboard/lenovo/t520/v... PS1, Line 81: subsystemid 0x17aa 0x21ce
0x21cf?
According to this one it's actually 0x21ce (as some other Lenovo ThinkPad mainboards)
https://github.com/linuxhw/LsPCI/blob/master/Notebook/Lenovo/ThinkPad/ThinkP... T520 4242DV7/4425DA2AB25E/NEON-18.04/4.15.0-45-GENERIC/X86_64/7DF79D0141#L42
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37293 )
Change subject: mb/lenovo/t520/devicetree: Use subsystemid inheritance ......................................................................
Patch Set 3: Code-Review+2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/37293 )
Change subject: mb/lenovo/t520/devicetree: Use subsystemid inheritance ......................................................................
mb/lenovo/t520/devicetree: Use subsystemid inheritance
Change-Id: Iffeb634c73f58aa1cddac5210d75fda75a3d5e92 Signed-off-by: Peter Lemenkov lemenkov@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/37293 Reviewed-by: Patrick Georgi pgeorgi@google.com Reviewed-by: HAOUAS Elyes ehaouas@noos.fr Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/lenovo/t520/variants/t520/devicetree.cb 1 file changed, 9 insertions(+), 4 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved HAOUAS Elyes: Looks good to me, but someone else must approve
diff --git a/src/mainboard/lenovo/t520/variants/t520/devicetree.cb b/src/mainboard/lenovo/t520/variants/t520/devicetree.cb index 7893daf..0bfa18f 100644 --- a/src/mainboard/lenovo/t520/variants/t520/devicetree.cb +++ b/src/mainboard/lenovo/t520/variants/t520/devicetree.cb @@ -37,9 +37,13 @@ register "pci_mmio_size" = "2048"
device domain 0 on + subsystemid 0x17aa 0x21cf inherit + device pci 00.0 on end # host bridge device pci 01.0 on end # NVIDIA Corporation GF119M [NVS 4200M] - device pci 02.0 on end # vga controller + device pci 02.0 on + subsystemid 0x17aa 0x21d1 + end # vga controller
chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH # GPI routing @@ -73,7 +77,9 @@ device pci 16.1 off end device pci 16.2 off end device pci 16.3 off end - device pci 19.0 on end # Intel Gigabit Ethernet + device pci 19.0 on # Intel Gigabit Ethernet + subsystemid 0x17aa 0x21ce + end device pci 1a.0 on end # USB2 EHCI #2 device pci 1b.0 on end # High Definition Audio device pci 1c.0 off end # PCIe Port #1 @@ -91,8 +97,7 @@
device pci 1f.0 on #LPC bridge chip ec/lenovo/pmh7 - device pnp ff.1 on # dummy - end + device pnp ff.1 on end # dummy register "backlight_enable" = "0x01" register "dock_event_enable" = "0x01" end