Add support for R-Car E3 R8A77990 SoC in scripts/boards.sh. The E3 SoC features VIN4 and VIN5 instances only, so add them to yavta-hdmi and yavta-cvbs to support capture from there. Signed-off-by: Jacopo Mondi <jacopo@xxxxxxxxxx> --- scripts/boards.sh | 15 ++++++++++++--- yavta-cvbs | 10 ++++++++++ yavta-hdmi | 10 ++++++++++ 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/scripts/boards.sh b/scripts/boards.sh index 84361d9..69a4d77 100644 --- a/scripts/boards.sh +++ b/scripts/boards.sh @@ -3,6 +3,11 @@ info=$(strings /proc/device-tree/model) case $info in + "Renesas Ebisu board based on r8a77990") + gen="gen3" + vins="4 5" + csis="40" + ;; "Renesas Salvator-X board based on r8a7795 ES1.x") gen="gen3" vins="0 1 2 3 4 5 6 7" @@ -65,17 +70,21 @@ if [[ "$gen" == "gen3" ]]; then esac done - if [[ "$info" == "Renesas Eagle board based on r8a77970" ]]; then + case "$info" in + "Renesas Eagle board based on r8a77970" | \ + "Renesas Ebisu board based on r8a77990") cvbsname="adv748x 0-0070 afe" hdminame="adv748x 0-0070 hdmi" txaname="adv748x 0-0070 txa" txbname="adv748x 0-0070 txb" - else + ;; + *) cvbsname="adv748x 4-0070 afe" hdminame="adv748x 4-0070 hdmi" txaname="adv748x 4-0070 txa" txbname="adv748x 4-0070 txb" - fi + ;; + esac fi diff --git a/yavta-cvbs b/yavta-cvbs index 823db48..c32df1c 100755 --- a/yavta-cvbs +++ b/yavta-cvbs @@ -33,6 +33,16 @@ case $vc in dev=/dev/$vin3 csipad=4 ;; + 4) + vinname=$vinname4 + dev=/dev/$vin4 + csipad=1 + ;; + 5) + vinname=$vinname5 + dev=/dev/$vin5 + csipad=2 + ;; *) echo "Unkown VC '$vc'" exit 1 diff --git a/yavta-hdmi b/yavta-hdmi index b371d3b..62adf00 100755 --- a/yavta-hdmi +++ b/yavta-hdmi @@ -33,6 +33,16 @@ case $vc in dev=/dev/$vin3 csipad=4 ;; + 4) + vinname=$vinname4 + dev=/dev/$vin4 + csipad=1 + ;; + 5) + vinname=$vinname5 + dev=/dev/$vin5 + csipad=2 + ;; *) echo "Unkown VC '$vc'" exit 1 -- 2.27.0