From patchwork Wed Jun 8 20:46:57 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: 12874639 X-Patchwork-Delegate: kieran@bingham.xyz 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 024A3C433EF for ; Wed, 8 Jun 2022 20:48:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234139AbiFHUsM (ORCPT ); Wed, 8 Jun 2022 16:48:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234222AbiFHUsJ (ORCPT ); Wed, 8 Jun 2022 16:48:09 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6514AF505A for ; Wed, 8 Jun 2022 13:47:36 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id v1so33041468ejg.13 for ; Wed, 08 Jun 2022 13:47:36 -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=FhCJBllozrMsVOewiDTmDGtBWkpMka58/b7PdCPf/1w=; b=RQaHzYxf7kIoIvpIRw3Br0NR8J5lZBWco7S5UXTW/nh2AXHaaZ+6In+g+HaakcNr8+ Iqsg23cdCbWlkj/9761viebCP1GICesYTOd1epZJ5CJH5OB7NxPGxo+SuNkKEEYhTVpp gBYTwvoi4SbT5B5E1PMzeSKMzXLconje8dtLWeodsRf+9ob9tkCZkUt+Fa4W7ah/yG9O KwLNQmXVMN4BmfG/9nNWEWHQNRl9sqQLSqDe6lTKlk5GF2UtAP1d+ofs+lZi9V+JFPE7 PqHHpBQeK3mDXU5eirLpqc2ZODmXZ3oQAUg9ooEmgJyCDtQ1CJjH9ryeMW75L/suqN/+ VVoA== 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=FhCJBllozrMsVOewiDTmDGtBWkpMka58/b7PdCPf/1w=; b=Zdnqi3g8GAzwp7gPyOs7hvFNOVuY1K+n3i3al1o2EmbZsOXN8aKdfkJ9At430HSxQc bvRP9f1MKfiM6qh7vh8qK1xkGhNF1NDxX8AvpmMXxOCsallKhasXHAlCaJc95TIqwDDJ 3qVAHVAPS1ISX54WvFwv9KDhbTwOr6u2bx6PoeJ23voXlwVqPJ2ZUNGLCfKEsdFiBBHR mQKw9I7YomOPtkfJwF++g35IUCacfjAJbH8MH21JopPYaD2KORmp0eGqNeob/m4pUPgd NRRY6qJBJOiJoPQYigJoNN1mPa9yoOWOYmx8OPCHu2KVkYn3dxWtOb9gjkg88VqOK9nP l7VA== X-Gm-Message-State: AOAM5320rQjFyzeFeVhM4s5nWqBvozyUEmsEb5+VFpOE3l4RwYDDYLNj H2+1vflViFczQlEL1qliI8L3OyGPJ6bwFIFG X-Google-Smtp-Source: ABdhPJyaDpWbBsoLjIxWTOSgU3pg+xovRe/xUfySxTYGZG6Z/yPOZDiMzl5x5AXZJbBKoCHteaJgTQ== X-Received: by 2002:a17:906:b18e:b0:710:26db:7a53 with SMTP id w14-20020a170906b18e00b0071026db7a53mr24708040ejy.290.1654721255243; Wed, 08 Jun 2022 13:47:35 -0700 (PDT) Received: from bismarck.berto.se (p4fca22cf.dip0.t-ipconnect.de. [79.202.34.207]) by smtp.googlemail.com with ESMTPSA id s20-20020a05640217d400b0042617ba6396sm13097432edy.32.2022.06.08.13.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 13:47:34 -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 v2] media: rcar-vin: Fix channel routing for Ebisu Date: Wed, 8 Jun 2022 22:46:57 +0200 Message-Id: <20220608204657.1101889-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-renesas-soc@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 Tested-by: Geert Uytterhoeven --- * Changes since v1 - Corrected the email to Geert and added his Tested-by tag. --- 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 */ } };