mb/google/poppy: Convert to ASL 2.0 syntax

Generated 'build/dsdt.dsl' are identical.

Change-Id: I4f8b77b3f196ca51346bb7932a40875c4dd5d2a6
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46221
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
Elyes HAOUAS 2020-10-08 20:26:55 +02:00 committed by Michael Niewöhner
parent 2a08ca7e7a
commit 37158c588e
2 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@ Scope (\_SB.PCI0.I2C3)
{
Name (STA, 0)
Method (_ON, 0, Serialized) {
If (LEqual(STA, 0)) {
If (STA == 0) {
CTXS (GPIO_FCAM_RST_L)
STXS (GPIO_FCAM_PWR_EN)
STXS (GPIO_PCH_FCAM_CLK_EN)
@ -22,15 +22,15 @@ Scope (\_SB.PCI0.I2C3)
* sequence completes
*/
Sleep (11)
Store (1, STA)
STA = 1
}
}
Method (_OFF, 0, Serialized) {
If (LEqual(STA, 1)) {
If (STA == 1) {
CTXS (GPIO_PCH_FCAM_CLK_EN)
CTXS (GPIO_FCAM_RST_L)
CTXS (GPIO_FCAM_PWR_EN)
Store (0, STA)
STA = 0
}
}
Method (_STA, 0, NotSerialized) {

View File

@ -6,7 +6,7 @@ Scope (\_SB.PCI0.I2C5)
{
Name (STA, 0)
Method (_ON, 0, Serialized) {
If (LEqual(STA, 0)) {
If (STA == 0) {
CTXS (GPIO_RCAM_RST_L)
STXS (GPIO_RCAM_PWR_EN)
STXS (GPIO_PCH_RCAM_CLK_EN)
@ -21,15 +21,15 @@ Scope (\_SB.PCI0.I2C5)
* on sequence completes
*/
Sleep (12)
Store (1, STA)
STA = 1
}
}
Method (_OFF, 0, Serialized) {
If (LEqual(STA, 1)) {
If (STA == 1) {
CTXS (GPIO_PCH_RCAM_CLK_EN)
CTXS (GPIO_RCAM_RST_L)
CTXS (GPIO_RCAM_PWR_EN)
Store (0, STA)
STA = 0
}
}
Method (_STA, 0, NotSerialized) {