X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-refhw-gen3%2Frecipes-kernel%2Flinux%2Ffiles%2F0001-add-agl-refhw.patch;h=f9c97264ef738dae0e2bc80cf191e94a3f404063;hb=845701b515cc12663601eac0a89b27390f3a7736;hp=8374b8f6c39335e189830cd424d992c4a017fe92;hpb=4687a2ae873e564412e68dc1477d2b31427b9e45;p=AGL%2Fmeta-agl-refhw.git 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 8374b8f..f9c9726 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 @@ -4,19 +4,21 @@ Upstream-Status: pending Signed-off-by: Scott Murray Signed-off-by: Raquel Medina +[asm330lhh interrupt fix] +Signed-off-by: Hiroyuki Ishii --- - arch/arm64/boot/dts/renesas/agl-refhw-common.dtsi | 918 ++++++++++++++++++++++ - arch/arm64/boot/dts/renesas/r8a7795-agl-refhw.dts | 378 +++++++++ + arch/arm64/boot/dts/renesas/agl-refhw-common.dtsi | 919 ++++++++++++++++++++++ + arch/arm64/boot/dts/renesas/r8a7795-agl-refhw.dts | 392 +++++++++ drivers/media/i2c/adv748x/adv748x-core.c | 24 +- - 3 files changed, 1319 insertions(+), 1 deletion(-) + 3 files changed, 1334 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/agl-refhw-common.dtsi b/arch/arm64/boot/dts/renesas/agl-refhw-common.dtsi new file mode 100644 -index 000000000000..cdd5975a77a2 +index 000000000000..7474ed578c21 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/agl-refhw-common.dtsi -@@ -0,0 +1,918 @@ +@@ -0,0 +1,919 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for common parts of AGL Reference Hardware board variants @@ -447,15 +449,16 @@ index 000000000000..cdd5975a77a2 + + status = "okay"; + -+ clock-frequency = <100000>; ++ clock-frequency = <400000>; + + asm330lhh@6a { + compatible = "st,asm330lhh"; + reg = <0x6a>; + + interrupt-names = "int1", "int2"; -+ interrupts = <&gpio6 23 IRQ_TYPE_EDGE_RISING>, -+ <&gpio2 6 IRQ_TYPE_EDGE_RISING>; ++ interrupts-extended = <&gpio6 23 IRQ_TYPE_EDGE_RISING>, ++ <&gpio2 6 IRQ_TYPE_EDGE_RISING>; ++ st,drdy-int-pin = <1>; + }; +}; + @@ -707,7 +710,7 @@ index 000000000000..cdd5975a77a2 + }; + + usb1_pins: usb1 { -+ groups = "usb1"; ++ groups = "usb1_ovc"; + function = "usb1"; + }; + @@ -937,10 +940,10 @@ index 000000000000..cdd5975a77a2 +}; 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..0a63d2e7a64b +index 000000000000..6c846a94afe2 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a7795-agl-refhw.dts -@@ -0,0 +1,378 @@ +@@ -0,0 +1,392 @@ +/* + * Device Tree Source for the AGL reference hardware board with R-Car H3 ES3.0 + * @@ -1319,6 +1322,20 @@ index 000000000000..0a63d2e7a64b + /delete-property/ wp-gpios; + non-removable; +}; ++ ++&gpio6 { ++ /* Enable the CAN 1 & 2 transceivers */ ++ can-1-transceiver-stb { ++ gpio-hog; ++ gpios = <21 GPIO_ACTIVE_HIGH>; ++ output-low; ++ }; ++ can-2-transceiver-stb { ++ gpio-hog; ++ gpios = <12 GPIO_ACTIVE_HIGH>; ++ output-low; ++ }; ++}; diff --git a/drivers/media/i2c/adv748x/adv748x-core.c b/drivers/media/i2c/adv748x/adv748x-core.c index 87092ce5ba73..357c334113aa 100644 --- a/drivers/media/i2c/adv748x/adv748x-core.c