From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B62E39D6CF for ; Tue, 3 Mar 2026 13:24:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772544299; cv=none; b=aj8Fn7XLr9nswy/N/paw6CgS0Czg+9Q6UkncEcA5mYHYfwZ0/JYlOlH+pKq5b5d5nHws4itXRkKI8iaKwidhBsTvHefJZJ54HK91gNnODcJ2lh+hcnpPB2CzC1JgZgy3bYpECtXsbMz5FPAcoezaOqW+AIws/DP3nNnl2V5bFKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772544299; c=relaxed/simple; bh=5STwc6cUJfY8nE7pmW+Lf4c/Xiu43vKMcApjGm70axo=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:To:From:Subject: References:In-Reply-To; b=T4Jetnv8Ym6vvn1p68ffvyHxCTMRBqLjgbzhL4hdeGsCcdZuMFz6PWGKpXFpYnwtmXHSf0y+fvge9K7CB9erpFaLr7n/AS/NHbXEs+raR90nlSsk3G/pBrJxaiBtx/dGuPj2atRWAsyv/kaF8fbQGvaTmQxJ2158qsJ9ug2q2wY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=ooLRfBca; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="ooLRfBca" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 0C1C8C40FA8; Tue, 3 Mar 2026 13:25:13 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 50D485FF29; Tue, 3 Mar 2026 13:24:55 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 22F32103696DB; Tue, 3 Mar 2026 14:24:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772544294; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=5STwc6cUJfY8nE7pmW+Lf4c/Xiu43vKMcApjGm70axo=; b=ooLRfBcajd9cL6yYEnGnl1Gd8OAE3AX4PMSf0W8JSAn9x19kM0is3wHX5ap9LCPF7SUnxp thW6p7BWWWB0LDA1Um7FuB5dvRAnCas3bCgUZeeoBNwPtroDZ/4Jx82tWiBptwJuROjyuf 8lb5qCcuS3hl4hKxyqSKWIDYHn4ji3TGZQXDQH74zjL23HBiWAr3QJiRi53IGL+9nshmXj vPi1kUtULaSCr6K2kxsWiro/IflKdaOuOrfIAZX2Nom7qhngI4BspHzrV/wfp67ZYDYfOB fXTnVzLODhWAZlA2ahoryCa+8JI4vfhNRJnH99Pj7zj8FfxoXrSpvAq0eB7xcw== Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 03 Mar 2026 14:24:32 +0100 Message-Id: Cc: "Joseph Guo" , "Andrzej Hajda" , "Conor Dooley" , "David Airlie" , "Jernej Skrabec" , "Jonas Karlman" , "Krzysztof Kozlowski" , "Laurent Pinchart" , "Maarten Lankhorst" , "Maxime Ripard" , "Neil Armstrong" , "Rob Herring" , "Robert Foss" , "Simona Vetter" , "Thomas Zimmermann" , , , To: "Marek Vasut" , From: "Luca Ceresoli" Subject: Re: [PATCH v2 2/2] drm/bridge: waveshare-dsi: Add support for 1..4 DSI data lanes X-Mailer: aerc 0.20.1 References: <20260115024004.660986-1-marek.vasut+renesas@mailbox.org> <20260115024004.660986-2-marek.vasut+renesas@mailbox.org> In-Reply-To: <20260115024004.660986-2-marek.vasut+renesas@mailbox.org> X-Last-TLS-Session-Version: TLSv1.3 On Thu Jan 15, 2026 at 3:39 AM CET, Marek Vasut wrote: > Parse the data lane count out of DT. Limit the supported data lanes > to 1..4 which is the maximum available DSI pairs on the connector of > any known panels which may use this bridge. Internally, this bridge > is an ChipOne ICN6211 which loads its register configuration from a > dedicated storage and its I2C does not seem to be accessible. The > ICN6211 also supports up to 4 DSI lanes, so this is a hard limit. > > To avoid any breakage on old DTs where the parsing of data lanes from > DT may fail, fall back to the original hard-coded value of 2 lanes and > warn user. > > The lane configuration is preconfigured in the bridge for each of the > WaveShare panels. The 13.3" DSI panel works with 4-lane configuration, > others seem to use 2-lane configuration. This is a hardware property, > so the actual count should come from DT. > > Reviewed-by: Joseph Guo > Signed-off-by: Marek Vasut Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com