Chen Wisley has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45190 )
Change subject: [TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module ......................................................................
[TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module
BUG=none TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/1
diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig index 2bb255f..c9c2803 100644 --- a/src/mainboard/google/dedede/Kconfig +++ b/src/mainboard/google/dedede/Kconfig @@ -11,6 +11,8 @@ select EC_GOOGLE_CHROMEEC_BOARDID select EC_GOOGLE_CHROMEEC_ESPI select EC_GOOGLE_CHROMEEC_SKUID + select FW_CONFIG + select FW_CONFIG_SOURCE_CHROMEEC_CBI select GOOGLE_SMBIOS_MAINBOARD_VERSION select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES diff --git a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb index 363307b..01fcad0 100644 --- a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb @@ -1,3 +1,10 @@ +fw_config + field TABLETMODE 10 + option TABLETMODE_DISABLED 0 + option TABLETMODE_ENABLED 1 + end +end + chip soc/intel/jasperlake device cpu_cluster 0 on device lapic 0 on end diff --git a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb index 0506cd4..2c78b21 100644 --- a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb +++ b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb @@ -242,7 +242,13 @@ register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
- device i2c 36 on end + device i2c 36 on + probe TABLETMODE TABLETMODE_DISABLED + end + device i2c 10 on + probe TABLETMODE TABLETMODE_ENABLED + end + end chip drivers/intel/mipi_camera register "acpi_hid" = "ACPI_DT_NAMESPACE_HID"
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#2).
Change subject: [TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module ......................................................................
[TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module
BUG=none TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/2
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#3).
Change subject: [TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module ......................................................................
[TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module
Use tablet mode bit to load LV module/TFC module for test.
BUG=none TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/3
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#4).
Change subject: [TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module ......................................................................
[TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module
Use tablet mode bit (bit10) to load LV module/TFC module for test.
0: TFC module 1: LV module
BUG=none TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/4
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#5).
Change subject: [TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module ......................................................................
[TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LV or TFC module
Use tablet mode bit (bit10) to load LVI module/TFC module for test.
0: TFC module 1: LVI module
BUG=none TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/5
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#6).
Change subject: [TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LVI or TFC module ......................................................................
[TEST only]: mb/google/dedede/var/drawcia: Use TABLEMODE bit to load LVI or TFC module
Use tablet mode bit (bit10) to load LVI module/TFC module for test.
0: TFC module 1: LVI module
BUG=none TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/6
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#7).
Change subject: mb/google/dedede/var/drawcia: Use TABLEMODE bit to probe mipi camera ......................................................................
mb/google/dedede/var/drawcia: Use TABLEMODE bit to probe mipi camera
Drawcia is convertible, drawman/drawlat is challshell and only drawcia support mipi camera.
Use tabletmode bit of fw_config to probe IPU/CAM1/NVM/VCM devices.
BUG=b:163879470 TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 22 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/7
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45190 )
Change subject: mb/google/dedede/var/drawcia: Use TABLEMODE bit to probe mipi camera ......................................................................
Patch Set 7:
(3 comments)
https://review.coreboot.org/c/coreboot/+/45190/7/src/mainboard/google/dedede... File src/mainboard/google/dedede/variants/drawcia/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/45190/7/src/mainboard/google/dedede... PS7, Line 80: probe TABLETMODE TABLETMODE_ENABLED trailing whitespace
https://review.coreboot.org/c/coreboot/+/45190/7/src/mainboard/google/dedede... PS7, Line 262: device i2c 0C on trailing whitespace
https://review.coreboot.org/c/coreboot/+/45190/7/src/mainboard/google/dedede... PS7, Line 279: device i2c 50 on trailing whitespace
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#8).
Change subject: mb/google/dedede/var/drawcia: Use TABLEMODE bit to probe mipi camera ......................................................................
mb/google/dedede/var/drawcia: Use TABLEMODE bit to probe mipi camera
Drawcia is convertible, drawman/drawlat is challshell and only drawcia support mipi camera.
Use tabletmode bit of fw_config to probe IPU/CAM1/NVM/VCM devices.
BUG=b:163879470 TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 22 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/8
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#9).
Change subject: mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera ......................................................................
mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera
Drawcia is convertible, drawman/drawlat is challshell and only drawcia support mipi camera.
Use tabletmode bit of fw_config to probe IPU/CAM1/NVM/VCM devices.
BUG=b:163879470 TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 22 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/9
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#10).
Change subject: mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera ......................................................................
mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera
Drawcia is convertible, drawman/drawlat is challshell and only drawcia support mipi camera.
Probe tabletmode bit of fw_config to add IPU/CAM1/NVM/VCM devices.
BUG=b:163879470 TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 22 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/10
Chen Wisley has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45190 )
Change subject: mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera ......................................................................
Patch Set 10:
The patch needs to rebase because fw_config feature already enabled in cb:45185
Hello Varshit B Pandya, build bot (Jenkins), Rizwan Qureshi, Sugnan Prabhu S,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45190
to look at the new patch set (#11).
Change subject: mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera ......................................................................
mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera
Drawcia is convertible, drawman/drawlat is challshell and only drawcia support mipi camera. Probe tabletmode bit of fw_config to add IPU/CAM1/NVM/VCM devices.
BUG=b:163879470 TEST=emerge-dedede coreboot, change tabletmode bit in CBI and dump ssdt table,
Change-Id: I35dcc7bb82ceb014fd40b794ccf190b226061281 Signed-off-by: Wisley Chen wisley.chen@quantatw.com --- M src/mainboard/google/dedede/Kconfig M src/mainboard/google/dedede/variants/baseboard/devicetree.cb M src/mainboard/google/dedede/variants/drawcia/overridetree.cb 3 files changed, 22 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/45190/11
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45190 )
Change subject: mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera ......................................................................
Patch Set 11: Code-Review+2
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45190 )
Change subject: mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera ......................................................................
Patch Set 11: -Code-Review
Thinking about it further, I don't think probing for TABLET mode is not the right approach to enable MIPI camera. You might want to consider provisioning the FW_CONFIG with camera information.
I am withdrawing my +2.
Martin L Roth has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/45190?usp=email )
Change subject: mb/google/dedede/var/drawcia: probe TABLEMODE bit to add mipi camera ......................................................................
Abandoned
This patch has not been touched in over 12 months. Anyone who wants to take over work on this patch, please feel free to restore it and do any work needed to get it merged. If you create a new patch based on this work, please credit the original author.