From patchwork Thu Jul 23 10:45:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 247031 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1357993ilg; Thu, 23 Jul 2020 03:45:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSIDuD2LT6sINRa3zzlLnb+u4G+QYziu6AFmx4TteG4XWhsqm3abyT5WWkGrNCR1D5BkZd X-Received: by 2002:a17:907:10d4:: with SMTP id rv20mr3844112ejb.413.1595501141153; Thu, 23 Jul 2020 03:45:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595501141; cv=none; d=google.com; s=arc-20160816; b=vd8IbVwQCeTPfHmGEiHxQboSHx/62mQTQrtcKI4pQSGFPv5syEN9tKt9yFkRiyLb5c agoGKuuhcr7ulQCOHL1HqEw7UNfiOSLlfB5A7wrjwYijg9E3zvdBUyjur8Vfpejn4KIl 0YCXXNclL68/1SPoBGuj7U/g18O6+hTBPRPHBK2uMCOYtA3IwMo8gmQBzhGX9h6ypGBX 0BUSooA9wlMDxFk2BMTVC5QoHLxObjmKbElWV/20SLrMwKzAKVrpTweubxv4cjUD/xVl 6WOUwX9KWkoInauCiPb/gYV4m+YZyz4xg3TDIvLtrkD7/5gkT1o41n5s5kegzJq0+YFJ Q1mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=N++kSWg6zWBd8+lG0BxjcymUK09qrn/zfhT3380R8kk=; b=0kJao8bplpanTn1vz/fTWzLfKMk6K3rOcC1RlbQuJE8Mi+uSx9pu+gGqsv/c9djzOm +2ar4YX5C7srOx5nZ9lmQUw6QW65If0WxmsJx51olLULD1dmdKUMkeh6vbYNssQ11ONw TrmAb4yAN7QvUd0UAQwrsm8Ws/Hhng76wPsLUdMa8tDkPFM24y0FNogMT4gOFKy5Z9tn VAQbZLJWoHjQEcpFOu/rYfDJ52HNnGFBR8X/ynaUuFFXZk5MoR2fE89CS3+N8F8ngjJE H7hTt7Js9VaSZk9LzPPODs8S5qHEye7lYI5WmuNuBCuF1r2CwpJPFVoroub9F2MOeBaX frIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=awq9nOdJ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si2096053edq.338.2020.07.23.03.45.40; Thu, 23 Jul 2020 03:45:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=awq9nOdJ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727828AbgGWKpk (ORCPT + 15 others); Thu, 23 Jul 2020 06:45:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:42330 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbgGWKpk (ORCPT ); Thu, 23 Jul 2020 06:45:40 -0400 Received: from localhost.localdomain (unknown [122.171.202.192]) (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 D8B142064C; Thu, 23 Jul 2020 10:45:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595501139; bh=Zz0y3R3pM6WlxKDZI6QF8jEpwkN4nY0Y85iMe50eUTs=; h=From:To:Cc:Subject:Date:From; b=awq9nOdJyx5nARNbYW9zQRWsxxGgSdyq1yyaldhqyy6eWmc6vW78ioW4XrzSKmEKn C2NOqnMX7D9FF27yTmWa4T4noCnZfnzhtnpLcdEbgGbpwm3wqE811O56/uiesRwBdb LHAhHo7EZ5DdWifn7yF7itZh7dmoa/4UFf3Xcqy0= From: Vinod Koul To: Sam Ravnborg , Laurent Pinchart Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Andrzej Hajda , Neil Armstrong , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Bogdan Togorean , Tomi Valkeinen , Rob Clark , Wolfram Sang , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: bridge: adv7511: Add missing bridge type Date: Thu, 23 Jul 2020 16:15:23 +0530 Message-Id: <20200723104523.1006706-1-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add bridge type as DRM_MODE_CONNECTOR_HDMIA Signed-off-by: Vinod Koul --- I found this when testing Dragon-board 410c which uses this bridge [ 6.671913] msm 1a00000.mdss: [drm:msm_dsi_manager_ext_bridge_init [msm]] *ERROR* drm_bridge_connector_init failed: -22 [ 6.678879] msm 1a00000.mdss: [drm:msm_dsi_modeset_init [msm]] *ERROR* failed to create dsi connector: -19 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 1 + 1 file changed, 1 insertion(+) -- 2.26.2 diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c index f45cdca9cce5..a0d392c338da 100644 --- a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c @@ -1283,6 +1283,7 @@ static int adv7511_probe(struct i2c_client *i2c, const struct i2c_device_id *id) adv7511->bridge.ops = DRM_BRIDGE_OP_DETECT | DRM_BRIDGE_OP_EDID | DRM_BRIDGE_OP_HPD; adv7511->bridge.of_node = dev->of_node; + adv7511->bridge.type = DRM_MODE_CONNECTOR_HDMIA; drm_bridge_add(&adv7511->bridge);