From patchwork Fri Aug 28 07:42:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 248465 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp848230ilg; Fri, 28 Aug 2020 00:43:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+Gh3JylHed9HaDilDeIN2l5yR9alQTzPReR2s+im9tCX/VefTZXpCwFcLJe4FbNIH8RxM X-Received: by 2002:a62:ed1a:: with SMTP id u26mr212825pfh.121.1598600586434; Fri, 28 Aug 2020 00:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598600586; cv=none; d=google.com; s=arc-20160816; b=CB5CIds1JTZBsYLXGAeJ5qoW0XZ9k3eLnQ7w2RCDT1qfqZ/4tkFzdT7NB60F0o5eZ1 ZROHFYv2EquZ+BYpa6Xv54L9O+3fDCAOTTRO3V9gL/YjmtB6VS6RpQ9JOKll5kOPSzlf Zlzml4x81fJkee/TV2QIMH+xW0SbfsBxejLvhsCXKN3iBu+BM+ZWSHOlXUfCnQruYRNp QGGIzybPzBtt4Qq/p5LH6NJ7H7QDw75Lw8Uh8XRguXJyBL0mKrnNFoePce8F7mZL2/u6 4qgNmfQgnYP0jS1/P7YH6GOTVTxxJLt3s+LQaTzkQIWXn3qRDmmNmr9QeHTGeAgzoHqm +vCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=qACqFiFau7fN8ceATjMmEM0FXHTLiVcQtpz8vzZTgoU=; b=KDHEAtVrts9PBTIMwtVYM6+mhTEv6j3GwJzv00wTWC3GJ5Oh8c3boScui+xXPuIiZE fLbbtR7pIgxBKFSEDpTKUZwDuOSBXC4z07wh4mMoluBIjfAwq3+2NBN+tcdUDuabOnRt aM7bciwgnYBAnEuroR0G4e/1Z+7Oqr+anWXlPn29UIPtkmXx3+gkD0KXCQ66zqYh5nFM 4O3uZHoQFkJiVs6QwPBigd7Be+OVRJ7D2EwcvjcOVBoMOhBfupy6nUi5m10vNrkh5YhT wMMQfQsyaDI7E8kJtZX3XDX9ZGRrpshl43TiLnWloIbxKOb93bjLply+087mu1uMgoqD gEWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=OlhVIskD; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id k1si90398pld.181.2020.08.28.00.43.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 00:43:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=OlhVIskD; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2BDF76E323; Fri, 28 Aug 2020 07:43:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 028826E323 for ; Fri, 28 Aug 2020 07:43:03 +0000 (UTC) Received: from localhost.localdomain (unknown [122.171.38.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7EBA620776; Fri, 28 Aug 2020 07:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598600583; bh=hwP7Z1Qw6TB+HuWMynMqgGLHide/4Ajq/hNm8rqV4M8=; h=From:To:Cc:Subject:Date:From; b=OlhVIskDIZNItaSs02q3XH8z3VGMmLh/fO8UGAfQdFl19Mx+30v3O2wvJOlp7Jbke MSvZCRLWiTlIA+YT1VRrGbNK81UNEF1rf/RsYJbnpS5nQlwC+ojb1JUzSp5V3nk17P vMkqbXiRtTVjFwZ6ofvhObQ/ha92Sq8TL7c89GiI= From: Vinod Koul To: Sam Ravnborg Subject: [PATCH] drm/bridge: Fix the dsi remote end-points Date: Fri, 28 Aug 2020 13:12:50 +0530 Message-Id: <20200828074251.3788165-1-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Neil Armstrong , David Airlie , linux-arm-msm@vger.kernel.org, Jonas Karlman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Bjorn Andersson , Andrzej Hajda , Vinod Koul , Srinivas Kandagatla , Laurent Pinchart , Dmitry Baryshkov Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" DSI end-points are supposed to be at node 0 and node 1 as per binding. So fix this and use node 0 and node 1 for dsi. Reported-by: Dmitry Baryshkov Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") Signed-off-by: Vinod Koul --- drivers/gpu/drm/bridge/lontium-lt9611.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.26.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/bridge/lontium-lt9611.c b/drivers/gpu/drm/bridge/lontium-lt9611.c index 1009fc4ed4ed..d734d9402c35 100644 --- a/drivers/gpu/drm/bridge/lontium-lt9611.c +++ b/drivers/gpu/drm/bridge/lontium-lt9611.c @@ -960,13 +960,13 @@ static const struct drm_bridge_funcs lt9611_bridge_funcs = { static int lt9611_parse_dt(struct device *dev, struct lt9611 *lt9611) { - lt9611->dsi0_node = of_graph_get_remote_node(dev->of_node, 1, -1); + lt9611->dsi0_node = of_graph_get_remote_node(dev->of_node, 0, -1); if (!lt9611->dsi0_node) { dev_err(lt9611->dev, "failed to get remote node for primary dsi\n"); return -ENODEV; } - lt9611->dsi1_node = of_graph_get_remote_node(dev->of_node, 2, -1); + lt9611->dsi1_node = of_graph_get_remote_node(dev->of_node, 1, -1); lt9611->ac_mode = of_property_read_bool(dev->of_node, "lt,ac-mode");