Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3301021pxb; Mon, 1 Nov 2021 11:21:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS/BGFKJWzJ6Zt00wS3Nqe9bXMUELtEJGxHCxYFsTKbHI5p07193g8IIzbZ0R7srGPxDxS X-Received: by 2002:a17:907:1c03:: with SMTP id nc3mr24471362ejc.290.1635790914793; Mon, 01 Nov 2021 11:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635790914; cv=none; d=google.com; s=arc-20160816; b=lVt3cvWGiqoWKEWI9jqAPTJGcpdnUoSK66Wyuv7pQahN2pj6SC5Ttm7fKffJGelSOn S7jQ3B39bUU24BwoATM9L9zNAFcIxJX804mFsiE8mzajWVJItOMz7HWuLMg2s4MlxZu8 ar2GF2x9Gzq5QyaekULfSkemPWENDDEuL+vZIXWIhWcVhKjZyB42JKKgdzM6Usha7EUd M5t7nkAG25tp+t+EnjXF/GFNWCLhhj+ezzOmC67xc7hPa07FPXsJ1HHmLecYeAdy5iN3 DbnaD1famCZzw5ynJLduNP8I7rSviGB1g3AOuTnbUg76SvxB0XuokwWzB5Nu8KxKFArV 22Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AI0EGtO0fwy8ABQM2b3fEK3eUYU6jqjRFDdZhYpaGeo=; b=cBjgNL1XJoJHtGFyYiXnC0ALN78+Xo1qZvgevlUPjc9U+RoBCqrfBN3p8MRphJo2Zz u9nweMjaoMKGIFzlSSng4Un0e12UEr3TDq3LbWhmyDGGzQ8OxH6pIBYdvhC6laEd2BtH EDPdCaNRhYusOZL/puBcvmp73+ZRHtByeKTR9Tt/kj8EMSJOk6CLivKTpkb0A4o4o8n4 xVyQmo2RoZ9As16TVYb5Z23htsgyDaxf0KP4eUZS6n752eFFHpwo7CzGCjY2cVAKJgXB d6mVFiwN6cCF2O+foZPAvrqo3dHLHmtVOA6CclWVLFwy+M4VXEqK/OWu7xgnRq6YJRly oKzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JY8uJTVz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si21280496ejh.638.2021.11.01.11.21.28; Mon, 01 Nov 2021 11:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@chromium.org header.s=google header.b=JY8uJTVz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231812AbhKASQI (ORCPT + 99 others); Mon, 1 Nov 2021 14:16:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230384AbhKASLv (ORCPT ); Mon, 1 Nov 2021 14:11:51 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 186D9C061714 for ; Mon, 1 Nov 2021 11:02:23 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id f10so14814807ilu.5 for ; Mon, 01 Nov 2021 11:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AI0EGtO0fwy8ABQM2b3fEK3eUYU6jqjRFDdZhYpaGeo=; b=JY8uJTVzX0Ut5XrdC7dgInIh7GV7XogEtOsPZDF0iBibhsdEyA2fur4Td5p/bBfbP4 oMAGLpI6qDbHoQvCijJI9XalSLExjH7lI1CJfN3K/r3kltW5RRKMIGLcxEp/0FDCQvzk J88GY6szvCD0jZogUoNp+4HFUlPG2WGbLBzpc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AI0EGtO0fwy8ABQM2b3fEK3eUYU6jqjRFDdZhYpaGeo=; b=IpTPlEH6+J43jD6OZxSKZv7ZnoQXEMe8ZLkNz3WQ8c4m4N5H5s8tR/JaL8oGAnHlPB rZdggy1xol+dYQbFQ09AtRRMXmPVRdLeaJUUcrAJEtBUR8rXMHNzQw4aBWdpmImkJJUo kvmmCaW9kMeMEVDNLynl31wq89iPbrUCo2W4fo6BI8tpx743RhvcQIaeHeDGC+waQt0k +vf7NttKFb+w2h8MPNzc7DSaVKANXKDNF77sZX6HzmyS2dO6AojddC75yfrJrMUUgQZA b1O1cNS3p5VpNp5C44c/MB9I2qSI55JFCsMuXrei+FiBhClNGUXEkHuej8MuDvdrn6NL QcnA== X-Gm-Message-State: AOAM531/ie7hIhFGufxGYj9YCK/tkRxkAxMXVmJXuFkN3tt4KH2zIygS 3z3i1RLaAwnie/cGuIQwkJTF/fd7cb43dg== X-Received: by 2002:a05:6e02:13ca:: with SMTP id v10mr8896985ilj.140.1635789742233; Mon, 01 Nov 2021 11:02:22 -0700 (PDT) Received: from mail-io1-f44.google.com (mail-io1-f44.google.com. [209.85.166.44]) by smtp.gmail.com with ESMTPSA id f15sm302843ila.68.2021.11.01.11.02.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Nov 2021 11:02:21 -0700 (PDT) Received: by mail-io1-f44.google.com with SMTP id p204so10936007iod.8 for ; Mon, 01 Nov 2021 11:02:21 -0700 (PDT) X-Received: by 2002:a5d:9753:: with SMTP id c19mr8257662ioo.136.1635789741166; Mon, 01 Nov 2021 11:02:21 -0700 (PDT) MIME-Version: 1.0 References: <20211030100812.1.I6cd9af36b723fed277d34539d3b2ba4ca233ad2d@changeid> In-Reply-To: <20211030100812.1.I6cd9af36b723fed277d34539d3b2ba4ca233ad2d@changeid> From: Doug Anderson Date: Mon, 1 Nov 2021 11:02:09 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/msm/dsi: set default num_data_lanes To: Philip Chen Cc: LKML , Stephen Boyd , Rob Clark , Abhinav Kumar , Bernard Zhao , Dan Carpenter , Daniel Vetter , David Airlie , Dmitry Baryshkov , Jonathan Marek , Nicolas Boichat , Rob Clark , Sean Paul , Viresh Kumar , Yangtao Li , dri-devel , freedreno , linux-arm-msm Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sat, Oct 30, 2021 at 10:08 AM Philip Chen wrote: > > If "data_lanes" property of the dsi output endpoint is missing in > the DT, num_data_lanes would be 0 by default, which could cause > dsi_host_attach() to fail if dsi->lanes is set to a non-zero value > by the bridge driver. > > According to the binding document of msm dsi controller, the > input/output endpoint of the controller is expected to have 4 lanes. > So let's set num_data_lanes to 4 by default. > > Signed-off-by: Philip Chen > --- > > drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Douglas Anderson