summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch
diff options
context:
space:
mode:
authorShiyu Sun <sshiyu@google.com>2020-06-15 02:58:53 +1000
committerPatrick Georgi <pgeorgi@google.com>2020-06-17 09:16:38 +0000
commitaeacf8b444d575abdaf52acf23edf8bc89f52d21 (patch)
tree5419706a7cd5cbe8c03e3f4fa3c0327819d61400 /src/mainboard/google/hatch
parent2ebea2d4278e8c002b04620d5f5aa4a4b26f8893 (diff)
mb/google/puff: add MST and LSPCON details to variants devicetree
Added device hid info to the MST and LSPCON devices on kaisa, duffy and noibat. BRANCH=None BUG=b:156546414 TEST=None Signed-off-by: Shiyu Sun <sshiyu@chromium.org> Change-Id: I7b54512cd88e7280374c188315cabc2fba197f69 Reviewed-on: https://review.coreboot.org/c/coreboot/+/42369 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sam McNally <sammc@google.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'src/mainboard/google/hatch')
-rw-r--r--src/mainboard/google/hatch/variants/duffy/overridetree.cb18
-rw-r--r--src/mainboard/google/hatch/variants/kaisa/overridetree.cb18
-rw-r--r--src/mainboard/google/hatch/variants/noibat/overridetree.cb18
3 files changed, 48 insertions, 6 deletions
diff --git a/src/mainboard/google/hatch/variants/duffy/overridetree.cb b/src/mainboard/google/hatch/variants/duffy/overridetree.cb
index 9804beb03d..55ce5ea084 100644
--- a/src/mainboard/google/hatch/variants/duffy/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/duffy/overridetree.cb
@@ -277,8 +277,22 @@ chip soc/intel/cannonlake
# RFU - Reserved for Future Use.
end # I2C #0
device pci 15.1 off end # I2C #1
- device pci 15.2 on end # I2C #2, PCON PS175.
- device pci 15.3 on end # I2C #3, Realtek RTD2142.
+ device pci 15.2 on
+ chip drivers/i2c/generic
+ register "hid" = ""1AF80175""
+ register "name" = ""PS17""
+ register "desc" = ""Parade PS175""
+ device i2c 4a on end
+ end
+ end # I2C #2, PCON PS175.
+ device pci 15.3 on
+ chip drivers/i2c/generic
+ register "hid" = ""10EC2142""
+ register "name" = ""RTD2""
+ register "desc" = ""Realtek RTD2142""
+ device i2c 4a on end
+ end
+ end # I2C #3, Realtek RTD2142.
device pci 19.0 on
chip drivers/i2c/generic
register "hid" = ""10EC5682""
diff --git a/src/mainboard/google/hatch/variants/kaisa/overridetree.cb b/src/mainboard/google/hatch/variants/kaisa/overridetree.cb
index b7ca308bde..1068b590e5 100644
--- a/src/mainboard/google/hatch/variants/kaisa/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/kaisa/overridetree.cb
@@ -277,8 +277,22 @@ chip soc/intel/cannonlake
# RFU - Reserved for Future Use.
end # I2C #0
device pci 15.1 off end # I2C #1
- device pci 15.2 on end # I2C #2, PCON PS175.
- device pci 15.3 on end # I2C #3, Realtek RTD2142.
+ device pci 15.2 on
+ chip drivers/i2c/generic
+ register "hid" = ""1AF80175""
+ register "name" = ""PS17""
+ register "desc" = ""Parade PS175""
+ device i2c 4a on end
+ end
+ end # I2C #2, PCON PS175.
+ device pci 15.3 on
+ chip drivers/i2c/generic
+ register "hid" = ""10EC2142""
+ register "name" = ""RTD2""
+ register "desc" = ""Realtek RTD2142""
+ device i2c 4a on end
+ end
+ end # I2C #3, Realtek RTD2142.
device pci 19.0 on
chip drivers/i2c/generic
register "hid" = ""10EC5682""
diff --git a/src/mainboard/google/hatch/variants/noibat/overridetree.cb b/src/mainboard/google/hatch/variants/noibat/overridetree.cb
index ed5fab2794..c223bb098c 100644
--- a/src/mainboard/google/hatch/variants/noibat/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/noibat/overridetree.cb
@@ -258,8 +258,22 @@ chip soc/intel/cannonlake
# RFU - Reserved for Future Use.
end # I2C #0
device pci 15.1 off end # I2C #1
- device pci 15.2 on end # I2C #2, PCON PS175.
- device pci 15.3 on end # I2C #3, Realtek RTD2142.
+ device pci 15.2 on
+ chip drivers/i2c/generic
+ register "hid" = ""1AF80175""
+ register "name" = ""PS17""
+ register "desc" = ""Parade PS175""
+ device i2c 4a on end
+ end
+ end # I2C #2, PCON PS175.
+ device pci 15.3 on
+ chip drivers/i2c/generic
+ register "hid" = ""10EC2142""
+ register "name" = ""RTD2""
+ register "desc" = ""Realtek RTD2142""
+ device i2c 4a on end
+ end
+ end # I2C #3, Realtek RTD2142.
device pci 19.0 on
chip drivers/i2c/generic
register "hid" = ""10EC5682""