From patchwork Wed Jun 8 17:44:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 12874446 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FC5CCCA47B for ; Wed, 8 Jun 2022 17:45:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232849AbiFHRps (ORCPT ); Wed, 8 Jun 2022 13:45:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232797AbiFHRpr (ORCPT ); Wed, 8 Jun 2022 13:45:47 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE2E2182B8C for ; Wed, 8 Jun 2022 10:45:44 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id s12so35684283ejx.3 for ; Wed, 08 Jun 2022 10:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HRZfT94ACJ/ZflqdJTZPyeewUEefd9u2TxCqAzB+We4=; b=0qvEqaRFCp9bGX+rR3Aei4WUOjpKK7JLzGAMSp6lcRA1usnTCK1sq5Xr/8V55qwx83 PHl2O7yVgwUMRHtENwLS1ZtG/LMfg/qHaIsz9UxPKntaWDKd5qjfcOj1jYwUV6GEwIeS DAPsJt1j0V6HB6Cd1l0P8L/RKd5EtKnvK4GlCdRHQV9dR2opbJ4/S7CKyrC5a4KUtiZP zP8LBw6SXQfysJ4USKSZY92fWl8x7Lw3yieMwXyc8OJhPCDanVZy3Zv/NmTTkgHwfbSx E3BNqt2u6umqqdWSjNKGubo+elVvEmfGHWvUdGYTDH/ueeNj833M9fkj6NND2FHZ23ZP 7dKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HRZfT94ACJ/ZflqdJTZPyeewUEefd9u2TxCqAzB+We4=; b=LvL51KqErJmizYBeM3CAwtnXH5adKbgCxKldP5lDHQfXguwF8eCpT6RwyMPndzfg5b Y0cIrA7GKzhwH3aXkvsLIq7eQeDcdtHLyfAILreXxaYbEE9J4yw2L5Nuv81LUgsi3Bdu cTsQOI8LuQsq3ol8CMfx4nxQ0IK5jvjulzMLoQrrE16sU3p5CY7aTdREftEp5HYhpyrj mGuDYh5MhM7SM3+RfKLQk7VOtrSgXX2D2LgrC/OZoBEteNa9IGSUnaznQBPv6ZuRypPj MrvQdXo3Cw1f7k7qrq0h3BDaUPvS9PSoyjf000RRPLS2nvev22qEw4HHjHJc1W8X08oe 7aWA== X-Gm-Message-State: AOAM530V5pNA2en+es5YbBvqSsx85b5pZSjLdOkpcLBIB2Kf9EaGgiMZ inT+1AYBSULVr8uF226Mraxp7T6X9/OKS4QA X-Google-Smtp-Source: ABdhPJxZrDv9P9wvMv3NiaJqpKlWSAGH1JqH1nAo2JYFdxRuhcrMtIt3QAj6+f9RG5fT5WXnai8tlA== X-Received: by 2002:a17:906:72de:b0:711:f8c8:ba00 with SMTP id m30-20020a17090672de00b00711f8c8ba00mr3113312ejl.586.1654710343431; Wed, 08 Jun 2022 10:45:43 -0700 (PDT) Received: from bismarck.berto.se (p4fca22cf.dip0.t-ipconnect.de. [79.202.34.207]) by smtp.googlemail.com with ESMTPSA id j6-20020a170906254600b0070c1c494f73sm8152905ejb.90.2022.06.08.10.45.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 10:45:43 -0700 (PDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Hans Verkuil , linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= , Geert Uytterhoeven Subject: [PATCH] media: rcar-vin: Fix channel routing for Ebisu Date: Wed, 8 Jun 2022 19:44:46 +0200 Message-Id: <20220608174446.994823-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org When converting to full Virtual Channel routing an error crept into the routing table for Ebisu (r8a77990). The routing information is used at probe time preventing rcar-vin from probing correctly on this SoC, solve by correcting the routing table. Fixes: 3e52419ec04f9769 ("media: rcar-{csi2,vin}: Move to full Virtual Channel routing per CSI-2 IP") Reported-by: Geert Uytterhoeven Signed-off-by: Niklas Söderlund Reported-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven --- drivers/media/platform/renesas/rcar-vin/rcar-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/renesas/rcar-vin/rcar-core.c b/drivers/media/platform/renesas/rcar-vin/rcar-core.c index 49bdcfba010b2c8a..4b7a9743554af6c3 100644 --- a/drivers/media/platform/renesas/rcar-vin/rcar-core.c +++ b/drivers/media/platform/renesas/rcar-vin/rcar-core.c @@ -1261,7 +1261,7 @@ static const struct rvin_info rcar_info_r8a77980 = { }; static const struct rvin_group_route rcar_info_r8a77990_routes[] = { - { .master = 0, .csi = RVIN_CSI40, .chsel = 0x03 }, + { .master = 4, .csi = RVIN_CSI40, .chsel = 0x03 }, { /* Sentinel */ } };