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=a47b6fb21cdee06cf174e535925b7b62010793d3;hb=438c014047d2523878cf6a9dc0063ed8145c8969;hp=12df0d8d1525a8fe8b98c7c14df8068b6598b1c0;hpb=352223cdc65681499b87d78999d1d80126dcd7a3;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 12df0d8..a47b6fb 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 @@ -6,15 +6,14 @@ Signed-off-by: Scott Murray Signed-off-by: Raquel Medina --- - arch/arm64/boot/dts/renesas/agl-refhw-common.dtsi | 912 ++++++++++++++++++++++ - arch/arm64/boot/dts/renesas/r8a7795-agl-refhw.dts | 378 +++++++++ - drivers/media/i2c/adv748x/adv748x-core.c | 48 +- - drivers/media/i2c/adv748x/adv748x.h | 12 + - 4 files changed, 1346 insertions(+), 4 deletions(-) + arch/arm64/boot/dts/renesas/agl-refhw-common.dtsi | 918 ++++++++++++++++++++++ + arch/arm64/boot/dts/renesas/r8a7795-agl-refhw.dts | 392 +++++++++ + drivers/media/i2c/adv748x/adv748x-core.c | 24 +- + 3 files changed, 1333 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..a35cd24b27b9 +index 000000000000..796ac4c078e0 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/agl-refhw-common.dtsi @@ -0,0 +1,918 @@ @@ -150,7 +149,7 @@ index 000000000000..a35cd24b27b9 + sound_card: sound { + compatible = "audio-graph-card"; + -+ label = "rcar-sound"; ++ label = "ak4613"; + + dais = <&rsnd_port0>; + }; @@ -708,7 +707,7 @@ index 000000000000..a35cd24b27b9 + }; + + usb1_pins: usb1 { -+ groups = "usb1"; ++ groups = "usb1_ovc"; + function = "usb1"; + }; + @@ -938,10 +937,10 @@ index 000000000000..a35cd24b27b9 +}; 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..83638a6228c0 --- /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 + * @@ -1320,11 +1319,25 @@ 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-high; ++ }; ++ can-2-transceiver-stb { ++ gpio-hog; ++ gpios = <12 GPIO_ACTIVE_HIGH>; ++ output-high; ++ }; ++}; diff --git a/drivers/media/i2c/adv748x/adv748x-core.c b/drivers/media/i2c/adv748x/adv748x-core.c -index da8f0621a10b..c2b37f70f711 100644 +index 87092ce5ba73..357c334113aa 100644 --- a/drivers/media/i2c/adv748x/adv748x-core.c +++ b/drivers/media/i2c/adv748x/adv748x-core.c -@@ -97,6 +97,21 @@ static const struct adv748x_register_map +@@ -97,6 +97,21 @@ static const struct adv748x_register_map adv748x_default_addresses[] = { [ADV748X_PAGE_TXA] = { "txa", 0x4a }, }; @@ -1346,7 +1359,7 @@ index da8f0621a10b..c2b37f70f711 100644 static int adv748x_read_check(struct adv748x_state *state, int client_page, u8 reg) { -@@ -183,10 +198,17 @@ static int adv748x_initialise_clients(st +@@ -183,10 +198,17 @@ static int adv748x_initialise_clients(struct adv748x_state *state) int ret; for (i = ADV748X_PAGE_DPLL; i < ADV748X_PAGE_MAX; ++i) { @@ -1365,5 +1378,3 @@ index da8f0621a10b..c2b37f70f711 100644 if (IS_ERR(state->i2c_clients[i])) { adv_err(state, "failed to create i2c client %u\n", i); - -