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 21:16:03 +0000
commitff42e214a5b87c2dfeee1a3736ec6aa362d01dcf (patch)
treed953c3dbeb885721683d2de6ad8ad8c0da6a2ad4
parent2f89119bd5b08da539650893e5659f11c86390d0 (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