From patchwork Mon Jun 15 12:19:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 11604705 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 376A492A for ; Mon, 15 Jun 2020 12:16:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 28A26206D7 for ; Mon, 15 Jun 2020 12:16:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729876AbgFOMQZ (ORCPT ); Mon, 15 Jun 2020 08:16:25 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:53019 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729879AbgFOMQZ (ORCPT ); Mon, 15 Jun 2020 08:16:25 -0400 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 40E5B10000E; Mon, 15 Jun 2020 12:16:23 +0000 (UTC) From: Jacopo Mondi To: niklas.soderlund@ragnatech.se Cc: Jacopo Mondi , kieran.bingham+renesas@ideasonboard.com, laurent.pinchart@ideasonboard.com, linux-renesas-soc@vger.kernel.org Subject: [PATCH 1/3] scripts/boards.sh: Fix M3-W identifier Date: Mon, 15 Jun 2020 14:19:33 +0200 Message-Id: <20200615121935.108142-2-jacopo@jmondi.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615121935.108142-1-jacopo@jmondi.org> References: <20200615121935.108142-1-jacopo@jmondi.org> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The M3-W SoC has been renamed to r8a77960, adjust the board.sh script to identify it correctly. Signed-off-by: Jacopo Mondi Reviewed-by: Kieran Bingham --- scripts/boards.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/boards.sh b/scripts/boards.sh index 0ec2981..2069494 100644 --- a/scripts/boards.sh +++ b/scripts/boards.sh @@ -13,7 +13,7 @@ case $info in vins="0 1 2 3 4 5 6 7" csis="20 40 41" ;; - "Renesas Salvator-X board based on r8a7796" | \ + "Renesas Salvator-X board based on r8a77960" | \ "Renesas Salvator-X 2nd version board based on r8a77965") gen="gen3" vins="0 1 2 3 4 5 6 7" From patchwork Mon Jun 15 12:19:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 11604707 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6639092A for ; Mon, 15 Jun 2020 12:16:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 578D6206D7 for ; Mon, 15 Jun 2020 12:16:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729733AbgFOMQ1 (ORCPT ); Mon, 15 Jun 2020 08:16:27 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:58031 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729879AbgFOMQ0 (ORCPT ); Mon, 15 Jun 2020 08:16:26 -0400 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 8526F10001B; Mon, 15 Jun 2020 12:16:24 +0000 (UTC) From: Jacopo Mondi To: niklas.soderlund@ragnatech.se Cc: Jacopo Mondi , kieran.bingham+renesas@ideasonboard.com, laurent.pinchart@ideasonboard.com, linux-renesas-soc@vger.kernel.org Subject: [PATCH 2/3] scripts/boards.sh: Add support for M3-W+ SoC Date: Mon, 15 Jun 2020 14:19:34 +0200 Message-Id: <20200615121935.108142-3-jacopo@jmondi.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615121935.108142-1-jacopo@jmondi.org> References: <20200615121935.108142-1-jacopo@jmondi.org> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Identify the M3-W+ R8A77961 SoC in scripts/boards.sh. Signed-off-by: Jacopo Mondi --- scripts/boards.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/boards.sh b/scripts/boards.sh index 2069494..84361d9 100644 --- a/scripts/boards.sh +++ b/scripts/boards.sh @@ -14,6 +14,7 @@ case $info in csis="20 40 41" ;; "Renesas Salvator-X board based on r8a77960" | \ + "Renesas Salvator-X 2nd version board based on r8a77961" | \ "Renesas Salvator-X 2nd version board based on r8a77965") gen="gen3" vins="0 1 2 3 4 5 6 7" From patchwork Mon Jun 15 12:19:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 11604709 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 93C0092A for ; Mon, 15 Jun 2020 12:16:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7BDE8206D7 for ; Mon, 15 Jun 2020 12:16:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729883AbgFOMQ3 (ORCPT ); Mon, 15 Jun 2020 08:16:29 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:33351 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729879AbgFOMQ2 (ORCPT ); Mon, 15 Jun 2020 08:16:28 -0400 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id C3A82100008; Mon, 15 Jun 2020 12:16:25 +0000 (UTC) From: Jacopo Mondi To: niklas.soderlund@ragnatech.se Cc: Jacopo Mondi , kieran.bingham+renesas@ideasonboard.com, laurent.pinchart@ideasonboard.com, linux-renesas-soc@vger.kernel.org Subject: [PATCH 3/3] scripts/boards.sh: Add support for E3 SoC Date: Mon, 15 Jun 2020 14:19:35 +0200 Message-Id: <20200615121935.108142-4-jacopo@jmondi.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615121935.108142-1-jacopo@jmondi.org> References: <20200615121935.108142-1-jacopo@jmondi.org> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org 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 --- 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