aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-09-24 17:06:36 -0400
committerScott Murray <scott.murray@konsulko.com>2021-09-24 17:06:36 -0400
commit5c85ab7e123dc24fa2f63182de8499a04984d37f (patch)
tree4de5de00431ccb376980507436d5497a8c1f029d
parenta0117f8c0d614a2d15111db312eebfe9378c868e (diff)
Fix CAN transceivers GPIO hog definitions
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
-rw-r--r--meta-agl-refhw-gen3/recipes-kernel/linux/files/0001-add-agl-refhw.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-agl-refhw-gen3/recipes-kernel/linux/files/0001-add-agl-refhw.patch b/meta-agl-refhw-gen3/recipes-kernel/linux/files/0001-add-agl-refhw.patch
index a47b6fb..71c8277 100644
--- a/meta-agl-refhw-gen3/recipes-kernel/linux/files/0001-add-agl-refhw.patch
+++ b/meta-agl-refhw-gen3/recipes-kernel/linux/files/0001-add-agl-refhw.patch
@@ -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