@@ -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
@@ -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
@@ -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
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@jmondi.org> --- scripts/boards.sh | 15 ++++++++++++--- yavta-cvbs | 10 ++++++++++ yavta-hdmi | 10 ++++++++++ 3 files changed, 32 insertions(+), 3 deletions(-)