Message ID | 20230329131615.1328366-9-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBMHVSCQQMGQEI6H6KCY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A0BDD414BB for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 29 Mar 2023 15:18:41 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id q9-20020a170902dac900b001a18ceff5ebsf9369315plx.4 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 29 Mar 2023 06:18:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680095920; cv=pass; d=google.com; s=arc-20160816; b=H6ZGQOtzCIt3jBKq72X799BxwrPEhUszGnHK8jIk6wsMXYZ7kn0Lb0fCjkh5lFE5xp reOnaGjmk7Ycd+BMvMdqGKCtrbJSZEUmswJb8HhB0dWD0Tp2SFa2OOcGb7qKC420XWY0 FeexqZ5dwaGgGTvkrUJbRukJfB08dY6Ce4gAS5v4Dhtxf3KPYXJ39vAEs1IZZbGsqfSq Eaw/if3JZToXYfDfo4g9MEuk3C/x1P9NEMw6NLKdC9ggzxArpNJe7vtMmG7iQ4yO6nDD KiK2P9W6JilugMOElDrMhoBMSGlD9GckEPDip2CyyVCkRnMjTjngNEYuZAGc9Lywob51 6gZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Zib/oXCNJSB2dMp8yqZNVCTfuZgbNcnBZ1p+a7T/HqI=; b=J9sqnXbpukcLXYkUUpmMnuuDTqZ8BnUmTpkN5N2tTgVwlHFAYZFLvueIIGkipiLBBN xnuhVN1Ex9muuZPkc9l2iGIQEWhT+9zTMteBuTDIddhxM/j/JHBVGqml5IrxWdZ8xclG ZQEMTCy7bLJMVpqGi4p6SeIArRlpByVOeL2UQSnIdXeHZk87eGiIXVOzGfVd3HyK4aX0 1RdBcww//yyVftkW/ZxtTKThvfzOt+7AdjQoxnsks12p7+YL06z37RhplBS1ckA1oHlj aUuFkiV+xrVFQMCAfE4Rmfs3ayqo5tEjDg+mLxwGwqv0jpwzVvuJ523oP4Y+mbeQ3ZRU torA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BxNdyUGA; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1680095920; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Zib/oXCNJSB2dMp8yqZNVCTfuZgbNcnBZ1p+a7T/HqI=; b=F6shbEdUs5wkeZtfbrcyujATG9TLactWB7ZL/vnDvl/EnGHGFRquKn6fQg9brNLkEq s+wH88mVv1LwwlDcbZGSPLnwyn3lTrgf7nqpUhuBNlCO2pGKpk6Hh8xJZRSM40Oxvc2l ZspNODfkiGIR7JA8Xr+hNXnUUMKqryF+DojJc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680095920; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Zib/oXCNJSB2dMp8yqZNVCTfuZgbNcnBZ1p+a7T/HqI=; b=tQNkc5kBnzKOUCfowU2oAJIigFxwpl3h6C68WUmSHbXmEVVjzi9OJe+5qkS72pz561 C9XexPAGcTrBAmxX99hx8xXErQv8Ci3TBG9bQXUnXDixNr5Vq1ixG029midxlRP1j9BZ Owzefzo8UP1F4XJlAnhSZquFhyBGbCpktsFlNVWd/fui+BOVNSdcGRFTj1KpCwz2X+La 4wVQ2PBECqFtSnWJI3zOs4BI+fzbaMklZ3rAKEPF5Hn+0TIdAf2AslRRJ82HSihpkIYq yc4KiiDYPm2YmL+qJIBGlFPfnuqQ026LTxTf5/F9gtYRm6zWoKLoURRGlaanyzcrQ2xj hs0w== X-Gm-Message-State: AAQBX9dGAn0aQiwU4wpAUbsPOBW9tX0U/TckxLEH3JMEB5agPqL5fC6u 0ejDy46L5AAlj2acuAdCCLCPIjb6 X-Google-Smtp-Source: AKy350a9hCG19JxBGtPqoK2zFdp//ek9CQTbOSbtH/JAXPtlrKXi3wCTywAfqj27DQkKvpvR281kcQ== X-Received: by 2002:a63:1424:0:b0:503:4a2c:5f0 with SMTP id u36-20020a631424000000b005034a2c05f0mr5199884pgl.9.1680095920322; Wed, 29 Mar 2023 06:18:40 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:8bcc:b0:196:751e:4f6e with SMTP id r12-20020a1709028bcc00b00196751e4f6els12550761plo.10.-pod-prod-gmail; Wed, 29 Mar 2023 06:18:39 -0700 (PDT) X-Received: by 2002:a17:90b:4f48:b0:23a:87d1:9586 with SMTP id pj8-20020a17090b4f4800b0023a87d19586mr20233837pjb.23.1680095919336; Wed, 29 Mar 2023 06:18:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680095919; cv=none; d=google.com; s=arc-20160816; b=GrPRJnNqcuGPym3xsz25vweuBhgaRsN5AzriVgofpmlzyqoUnPWDvJ43gl5WXaq8E4 lfEtCB2pzkaJ1tmZKSl8HMTCtLpLOv367VBaeJQZ5mpDnkFxzzsnJeAwYgrVwZ1vn+6n nuyc3/xPhnxIFsR+3uwSYegSM50GqLz6ImrOrc4ung+bqY5dNytnJRxAGyrzUBUYjnDO lU2jneGh9H/LXhJ1otxkZ0An6nNGL95jgGol0gMs4IQZAHAqv3Ylvs17vzOujeB3f9xr 2UaMIXvxMwvoj+6OZ+99O19bJM3nZrxUtpVYLqjCC0SmPJLv4fUsrBTfSNHb4f1ipcnL ZAeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=nd2Hzi5pbnX457/tZ1SGDUudK/Mgpe+Ly4/pUeQ6HnM=; b=VxXAM0/0aypDCEBCrxp2PLX6UyrrAnuUqR/5nKMco8kaNfWFC2S2zDbruBQUoD7kpe pjcaCuZgX56pe3AT5arJEJyvC7z6Qmg37T4B5akqzR4wZcsy10cSNbZsN54QT7vz3vn5 7B09oj8CgKU2HBCKBdAG6dNfK0lWOAfrk+Jl19pTLcJ8C5LiB4pErRN9V1g1IKbu3nHK u739lPwi1zqLuM5O6Xw33uNJwMewouMaQ5q1KMWqjHFzsIYgWRrVmK8i3RbTM4PkqpTR gOVCnpLB3xReu9ZvBWyfrw8qQUa4qVvnYFn9mdh9OyF3a1ua0zvAR1U+/rP18hdvf+b/ RBOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BxNdyUGA; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id u14-20020a17090a5e4e00b0023d3d7964desor850312pji.15.2023.03.29.06.18.39 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Wed, 29 Mar 2023 06:18:39 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90b:1d8e:b0:23f:37b6:48f4 with SMTP id pf14-20020a17090b1d8e00b0023f37b648f4mr20675024pjb.43.1680095918961; Wed, 29 Mar 2023 06:18:38 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a047:206d:4722:c4fa:e845]) by smtp.gmail.com with ESMTPSA id s16-20020a17090b071000b0023f5c867f82sm1400192pjz.41.2023.03.29.06.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 06:18:38 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Dave Stevenson <dave.stevenson@raspberrypi.com>, Maxime Ripard <mripard@kernel.org>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Andrzej Hajda <andrzej.hajda@intel.com>, Neil Armstrong <neil.armstrong@linaro.org>, Robert Foss <rfoss@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Sam Ravnborg <sam@ravnborg.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Marek Vasut <marex@denx.de>, linux-amarula <linux-amarula@amarulasolutions.com>, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v7 08/12] ARM: dts: sun8i: a33: Add endpoint@0 to dsi_in_tcon0 Date: Wed, 29 Mar 2023 18:46:14 +0530 Message-Id: <20230329131615.1328366-9-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230329131615.1328366-1-jagan@amarulasolutions.com> References: <20230329131615.1328366-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BxNdyUGA; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index b3d1bdfb5118..50c2424ec31e 100644 --- a/arch/arm/boot/dts/sun8i-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a33.dtsi @@ -269,7 +269,11 @@ dsi: dsi@1ca0000 { #size-cells = <0>; port { - dsi_in_tcon0: endpoint { + #address-cells = <1>; + #size-cells = <0>; + + dsi_in_tcon0: endpoint@0 { + reg = <0>; remote-endpoint = <&tcon0_out_dsi>; }; };
The DSI downstream devices are likely to be Panel, Bridge and I2C-Configured Bridge. It is possible to connect all three devices using upstream OF-graph port or ports node however only Panel and Bridge are possible to connect via child node but not possible to connect I2C-Configured Bridge via child node since I2C-Configure bridges are child of I2C not upstream DSI hosts and it must represent them via port or ports with endpoint linking. Allwinner R33 DSI node already has a port so add endpoint 0 for input tcon so that the downstream DSI devices can use endpoint 1 to connect Panel or Bridge or I2C-Configured Bridge. An example of the I2C-Configured downstream bridge representation is, i2c1 { bridge@1b { compatible = "ti,dlpc3433"; ports { port@0 { reg = <0>; bridge_in_dsi: endpoint { remote-endpoint = <&dsi_out_bridge>; data-lanes = <1 2 3 4>; }; }; port@2 { reg = <2>; bridge_out_dmd: endpoint { remote-endpoint = <&dmd_out_bridge>; }; }; }; }; }; dsi { compatible = "allwinner,sun6i-a31-mipi-dsi"; port { dsi_in_tcon0: endpoint@0 { reg = <0>; remote-endpoint = <tcon0_out_dsi>; }; dsi_out_bridge: endpoint@1 { reg = <1>; remote-endpoint = <&bridge_in_dsi>; }; }; }; Note that existing device bindings are untouched and still represent the downstream devices via child nodes since the sun6i-mipi-dsi host will migrate to a standardized single helper to lookup for a downstream device via child or OF-graph port or port node. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- Changes for v7: - new patch arch/arm/boot/dts/sun8i-a33.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)