Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5482537rwj; Wed, 21 Dec 2022 03:20:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXu9Si+dT/XyjsTRzYnaIWP26DSvvEIfE3AHTq6815nmCd9hxVAsRTLRnIJKSEtQapK7ybIE X-Received: by 2002:a17:907:a707:b0:7d8:2488:4074 with SMTP id vw7-20020a170907a70700b007d824884074mr952964ejc.77.1671621629215; Wed, 21 Dec 2022 03:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671621629; cv=none; d=google.com; s=arc-20160816; b=UDY981lJ7WIWJkQm3X54B3UQt3IoDIDPnDlCNyK9Rul+0ZCdcOuNS5kEF0HAdPZBxn LY25eAbRtE6oA2zNNT6RIlm7yxIaw9shxt46eJNmsWEpzwtBvJFvfw73NTFtdnM2VvrL qlF+vqfSE/9YVCAH30uSlUF+3s1atQtXiEc2o8KvDxKhnG3ne7WYYC+UAHhBE1s8St3c ZgPTuUcIe2jgWHgqw9M3qoqM66vXzGH8vU5rQzRsv4JcPbsdJVTcJf2/jAsBSV3msDkg CYps7a8m+QTj+2zvbmRLi12Fxzxy1es4P7983VpTv95OsUrtesu+b6v9tnaq+K8LEt0L LeHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=sbTjoAQEBPkAaQaeBfoFjbnY/fm5xioNezb0xKJfsC4=; b=sQhoRDGkf5jwK4K84FpSXOQYmvR8FPzpmDIFGgYU8e+H5v7yHACVzwd88Rto5/DZkY DqnKR6o6qEK7ia5j/JvitMGe8vvJcihpBrG5KBd1AOp1Lq9urTYH+Sw7l/YkgKfICF08 7ra78aRHThokSuxm86ouKOaVhmbZxfHr+lmAfzzFt0XUUi2f5U809M3FuAd7W2gBT89G WYxgSOhAkEaDpYHGerZEEzgkFnRqPJtd/c4RM7JKFYQXC98ks3MjxNQJP9MBe/7jhoMU /7M2g7ieVWjGaOCyAK3GB4tIXVLdrBAJ4fe6FiQCn43SzBI/9b+yZec89NbwiVPtWw7z xhkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=BFPQumQj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr33-20020a1709073fa100b007d9e2b97565si14216676ejc.449.2022.12.21.03.20.12; Wed, 21 Dec 2022 03:20:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=BFPQumQj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234554AbiLUK53 (ORCPT + 69 others); Wed, 21 Dec 2022 05:57:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234686AbiLUK5S (ORCPT ); Wed, 21 Dec 2022 05:57:18 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39E3621E3E; Wed, 21 Dec 2022 02:57:16 -0800 (PST) Received: from [192.168.1.15] (91-154-32-225.elisa-laajakaista.fi [91.154.32.225]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3F15DFB; Wed, 21 Dec 2022 11:57:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1671620234; bh=NEpOfS56/yLzB83ZMRxsHhwGoWpFbzaQagcinoT0hU4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=BFPQumQjvP87bN20iHSFPGT01gZlr+AULllteYWgMbz0eUrGgI9tZGum4CvIdyQ6f hTNFGjtcEkul0rqNiDRxu89rNNCLwBF/iSVjKSM8jcTvnyPAFBckxbnndVRrlefz4T n9d3WJLWXPdCF7rWce/sU5WPGFKp5HoVwREzTPuc= Message-ID: <1d5bbb7f-19f1-1582-85df-35134da918a0@ideasonboard.com> Date: Wed, 21 Dec 2022 12:57:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v9 5/5] drm/bridge: cdns-dsi: Add support for J721E wrapper Content-Language: en-US To: Rahul T R , dri-devel@lists.freedesktop.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: andrzej.hajda@intel.com, narmstrong@baylibre.com, robert.foss@linaro.org, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@linux.ie, daniel@ffwll.ch, p.zabel@pengutronix.de, laurent.pinchart@ideasonboard.com, linux-kernel@vger.kernel.org, jpawar@cadence.com, sjakhade@cadence.com, mparab@cadence.com, a-bhatia1@ti.com, devicetree@vger.kernel.org, vigneshr@ti.com, lee.jones@linaro.org References: <20221031121924.29974-1-r-ravikumar@ti.com> <20221031121924.29974-6-r-ravikumar@ti.com> From: Tomi Valkeinen In-Reply-To: <20221031121924.29974-6-r-ravikumar@ti.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31/10/2022 14:19, Rahul T R wrote: > Add support for wrapper settings for DSI bridge on > j721e. Also enable DPI0 > > --------------- ----------------------- > | -------| |------- | > | DSS | DPI2 |----->| DPI0 | DSI Wrapper | > | -------| |------- | > --------------- ----------------------- > > As shown above DPI2 output of DSS is connected > to DPI0 input of DSI Wrapper, DSI wrapper > gives control wheather to enable/disable DPI0 > input. In j721e above is the only configuration > supported > > Signed-off-by: Rahul T R > --- > drivers/gpu/drm/bridge/cadence/Kconfig | 10 ++++ > drivers/gpu/drm/bridge/cadence/Makefile | 1 + > .../gpu/drm/bridge/cadence/cdns-dsi-core.c | 35 ++++++++++++- > .../gpu/drm/bridge/cadence/cdns-dsi-core.h | 13 +++++ > .../gpu/drm/bridge/cadence/cdns-dsi-j721e.c | 51 +++++++++++++++++++ > .../gpu/drm/bridge/cadence/cdns-dsi-j721e.h | 16 ++++++ > 6 files changed, 125 insertions(+), 1 deletion(-) > create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-j721e.c > create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-j721e.h Reviewed-by: Tomi Valkeinen Tomi