From 5c85ab7e123dc24fa2f63182de8499a04984d37f Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 24 Sep 2021 17:06:36 -0400 Subject: 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 Change-Id: I882bdac8c30e42a2271c169e3cf888a6505093de --- .../recipes-kernel/linux/files/0001-add-agl-refhw.patch | 6 +++--- 1 file 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 -- cgit 1.2.3-korg