Re: [PATCH 3/5] gen3-links: Support linking for digital input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jacopo,


On 2018-05-11 12:00:37 +0200, Jacopo Mondi wrote:
> Add support for linking the digital subdevice to a vin instance. This is
> useful for D3 board.
> 
> Signed-off-by: Jacopo Mondi <jacopo@xxxxxxxxxx>

As you might have noticed the vin-tests are in need of a big rework. But 
for now I'm happy with the digital property in board.sh. Or maybe we 
should start the renaming process of s/digital/parallel/ as it was a 
really bad name on my behalf to begin with. In any case.

Acked-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>

> ---
>  gen3-links.sh | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)
> 
> diff --git a/gen3-links.sh b/gen3-links.sh
> index cfcdeb7..0ec30e4 100755
> --- a/gen3-links.sh
> +++ b/gen3-links.sh
> @@ -8,8 +8,14 @@ source $base/scripts/vin-tests.sh
>  source $base/scripts/boards.sh
>  
>  mc_reset
> -mc_set_link "$csi40name" 1 "$vinname0" 1
> -mc_set_link "$csi20name" 1 "$vinname1" 1
>  
> -mc_propagate_hdmi "$vinname0"
> -mc_propagate_cvbs "$vinname1"
> +if [[ $digital -eq 1 ]]; then
> +	mc_set_link "$hdminame" 1  "$vinname4" 1
> +	mc_propagate_hdmi_digital "$vinname4"
> +else
> +	mc_set_link "$csi40name" 1 "$vinname0" 1
> +	mc_set_link "$csi20name" 1 "$vinname1" 1
> +
> +	mc_propagate_hdmi "$vinname0"
> +	mc_propagate_cvbs "$vinname1"
> +fi
> -- 
> 2.7.4
> 

-- 
Regards,
Niklas Söderlund



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux