From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) (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 BA9B59445 for ; Sun, 25 Feb 2024 06:22:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.50.62.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708842169; cv=none; b=aFWi5rW6JLnCAK281/METOyr0fZ2v1NUaOdGjSt+wCDQ9q5NYAe2i5C71ayXik6nZXYlZG3IwaiE0dqFMXS7T4Fip1nFkM1sgyc4v1dxJX+EpZIKen/JiGH/JoP+Ik41vcm6xb8+6KwrSaePI1x/PmlyRrsouQssQiH3zjHpydA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708842169; c=relaxed/simple; bh=2YQlVtdBShuw6krXfWfGvayyaRZm4Qpf3bbRehj6cqI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=psgTwf8NPaYfX4bcpFflXM7isFWqJfv2wsSZ3Y6kuW/HLrQXe0qOfCcjgJO9+eOo06v89gv/XcEIJPTzlYPBRL4kijodc8ecXKKXWOD2egSuzcsSwNy61XygPFe+qwQM4jy3uar5uvHDApLF0l6V+GRRZ7rJxaI8ZcTl5PbLDiY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com; spf=fail smtp.mailfrom=atomide.com; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b=VhIyClw4; arc=none smtp.client-ip=74.50.62.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=atomide.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="VhIyClw4" Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 9BBFD6058D; Sun, 25 Feb 2024 06:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1708842167; bh=2YQlVtdBShuw6krXfWfGvayyaRZm4Qpf3bbRehj6cqI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VhIyClw4+7DpLZIeKAo/4nNg/otODA01hiSCtHRsFNxQVSUC4ROCoNb/AuZ5wynQi SkL3VeRiF4yo/nTsIGF1+0hzFUOTmrhLvWsbwNb/YB5IZ8ZNeyceh91k6Zx3CqhwE3 ozM4suwX9LVwumM95cznMcJZqW/R0iZtvfo0QTXihA+Jl5XCfHv7dpt8azeALH/E8T UBXyVqopUHiHd8H9LZgJMNG4cRkh2PRXBQFEds+LWbMRhsehvQWyejyCJf44UQlkvD wIKseP+I7ldPFs5UF/ISXrTSpcJmMRet1cakQpEg7mLv5pgDW+5vCucW5MiiSBZnfc k3UH/4HlRMDjA== From: Tony Lindgren To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Simha BN , Sam Ravnborg Cc: Dmitry Baryshkov , Krzysztof Kozlowski , Michael Walle , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v5 02/10] dt-bindings: display: bridge: tc358775: Add data-lanes Date: Sun, 25 Feb 2024 08:19:31 +0200 Message-ID: <20240225062008.33191-3-tony@atomide.com> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240225062008.33191-1-tony@atomide.com> References: <20240225062008.33191-1-tony@atomide.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The device uses a clock lane, and 1 to 4 DSI data lanes. Let's add the data-lanes property starting at 1 similar to what the other bridge bindings are doing. Let's also drop the data-lanes properties in the example for the DSI host controller to avoid confusion. The configuration of the DSI host depends on the controller used and is unrelated to the bridge binding. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Tony Lindgren --- .../display/bridge/toshiba,tc358775.yaml | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml --- a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml +++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml @@ -46,11 +46,27 @@ properties: properties: port@0: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: | DSI Input. The remote endpoint phandle should be a reference to a valid mipi_dsi_host device node. + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: + description: array of physical DSI data lane indexes. + minItems: 1 + items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 + port@1: $ref: /schemas/graph.yaml#/properties/port description: | @@ -107,6 +123,7 @@ examples: reg = <0>; d2l_in_test: endpoint { remote-endpoint = <&dsi0_out>; + data-lanes = <1 2 3 4>; }; }; @@ -131,7 +148,6 @@ examples: reg = <1>; dsi0_out: endpoint { remote-endpoint = <&d2l_in_test>; - data-lanes = <0 1 2 3>; }; }; }; @@ -166,6 +182,7 @@ examples: reg = <0>; d2l_in_dual: endpoint { remote-endpoint = <&dsi0_out_dual>; + data-lanes = <1 2 3 4>; }; }; @@ -197,7 +214,6 @@ examples: reg = <1>; dsi0_out_dual: endpoint { remote-endpoint = <&d2l_in_dual>; - data-lanes = <0 1 2 3>; }; }; }; -- 2.43.1