aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/tglrvp/acpi
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-06 13:36:45 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-12 14:39:36 +0000
commitf2042099cc0072831d2e790fab0e79c2a697a8c9 (patch)
treefef6dd008e31c785d1fa2f7ddd258fc0de5e0c22 /src/mainboard/intel/tglrvp/acpi
parente96941d9521dc897a1099071f4ea6fcdd3abf877 (diff)
mb/intel: Convert to ASL 2.0 syntax
Generated buils/dsdt.dsl for intel/kblrvp11 are same. Change-Id: I41195be171b48f41fe2955e4639d8b770853d483 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46081 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'src/mainboard/intel/tglrvp/acpi')
-rw-r--r--src/mainboard/intel/tglrvp/acpi/mipi_camera.asl16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl b/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl
index 0f83b053de..ffecfd2256 100644
--- a/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl
+++ b/src/mainboard/intel/tglrvp/acpi/mipi_camera.asl
@@ -154,7 +154,7 @@ Scope (\_SB.PCI0.I2C3)
Name (STA, Zero)
Method (_ON, 0, Serialized) /* Rear camera_ON_: Power On */
{
- If ((STA == Zero))
+ If (STA == 0)
{
/* Enable IMG_CLK */
MCON(0,1) /* Clock 0, 19.2MHz */
@@ -170,12 +170,12 @@ Scope (\_SB.PCI0.I2C3)
STXS(GPP_C15)
Sleep(1) /* t2 */
- Store(1,STA)
+ STA = 1
}
}
Method (_OFF, 0, Serialized) /* Rear camera _OFF: Power Off */
{
- If ((STA == One))
+ If (STA == 1)
{
/* Disable IMG_CLK */
Sleep(1) /* t0+t1 */
@@ -187,7 +187,7 @@ Scope (\_SB.PCI0.I2C3)
/* Pull PWREN low */
CTXS(GPP_B23)
- Store(0,STA)
+ STA = 0
}
}
Method (_STA, 0, NotSerialized) /* _STA: Status */
@@ -369,7 +369,7 @@ Scope (\_SB.PCI0.I2C5)
Name (STA, Zero)
Method (_ON, 0, Serialized) /* Front camera_ON_: Power On */
{
- If ((STA == Zero))
+ If (STA == 0)
{
/* Enable IMG_CLK */
MCON(1,1) /* Clock 1, 19.2MHz */
@@ -389,12 +389,12 @@ Scope (\_SB.PCI0.I2C5)
STXS(GPP_H12)
Sleep(1) /* t2 */
- Store(1,STA)
+ STA = 1
}
}
Method (_OFF, 0, Serialized) /* Front camera_OFF_: Power Off */
{
- If ((STA == One))
+ If (STA == 1)
{
/* Disable IMG_CLK */
Sleep(1) /* t0+t1 */
@@ -410,7 +410,7 @@ Scope (\_SB.PCI0.I2C5)
CTXS(GPP_R6)
#endif
- Store(0,STA)
+ STA = 0
}
}
Method (_STA, 0, NotSerialized) /* _STA: Status */