Fix CAN transceivers GPIO hog definitions 71/26671/1
authorScott Murray <scott.murray@konsulko.com>
Fri, 24 Sep 2021 21:06:36 +0000 (17:06 -0400)
committerScott Murray <scott.murray@konsulko.com>
Fri, 24 Sep 2021 21:06:36 +0000 (17:06 -0400)
Update reference hardware support kernel patch to fix enabling the
vehicle board CAN transceivers, I mistakenly set them to output-high
instead of output-low when creating the GPIO hog definitions.  The
pins need to be low to disable standby mode on the transceivers.

Bug-AGL: SPEC-4073

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I882bdac8c30e42a2271c169e3cf888a6505093de

meta-agl-refhw-gen3/recipes-kernel/linux/files/0001-add-agl-refhw.patch

index a47b6fb..71c8277 100644 (file)
@@ -937,7 +937,7 @@ index 000000000000..796ac4c078e0
 +};
 diff --git a/arch/arm64/boot/dts/renesas/r8a7795-agl-refhw.dts b/arch/arm64/boot/dts/renesas/r8a7795-agl-refhw.dts
 new file mode 100644
-index 000000000000..83638a6228c0
+index 000000000000..6c846a94afe2
 --- /dev/null
 +++ b/arch/arm64/boot/dts/renesas/r8a7795-agl-refhw.dts
 @@ -0,0 +1,392 @@
@@ -1325,12 +1325,12 @@ index 000000000000..83638a6228c0
 +      can-1-transceiver-stb {
 +              gpio-hog;
 +              gpios = <21 GPIO_ACTIVE_HIGH>;
-+              output-high;
++              output-low;
 +      };
 +      can-2-transceiver-stb {
 +              gpio-hog;
 +              gpios = <12 GPIO_ACTIVE_HIGH>;
-+              output-high;
++              output-low;
 +      };
 +};
 diff --git a/drivers/media/i2c/adv748x/adv748x-core.c b/drivers/media/i2c/adv748x/adv748x-core.c