From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1B3C5C433F5 for ; Fri, 14 Jan 2022 08:16:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 22D7310E8B9; Fri, 14 Jan 2022 08:16:48 +0000 (UTC) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by gabe.freedesktop.org (Postfix) with ESMTPS id D82F610E8A8 for ; Fri, 14 Jan 2022 08:16:42 +0000 (UTC) Received: by mail-ed1-x52a.google.com with SMTP id w16so32131359edc.11 for ; Fri, 14 Jan 2022 00:16:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OdJZNLVvcuTSDac9YwqmDjJS8Hwfny5NNtwtPKXm8zU=; b=p7PBfJNewDj3TiQZzEQq3TUnUTe5RXUlh9x6bCDDiUkxEmgIVum9FGRL0R0Lxyi24j jyoH5608sqIy0YIFkAGxaYafTDGsEXiAILgAb5cZkY1X7Wkj35s8+//hlsFK1ZBSzter sfGIv0Edd1Nzd9K7+LEqwhn3IyrFJHDWDPaeg= 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=OdJZNLVvcuTSDac9YwqmDjJS8Hwfny5NNtwtPKXm8zU=; b=asBT1hxk0OWQZjbzksQDlhL3ml47EX8T1UTvrSeaphOKTJOD7Tx5RhEa91Q3ov37DJ kjZFcfxNd3nbsnWIsI11vJ3x/ZWm3S/uEzS6xQCmk/ijjopoeBDM3fq2VjeSJ/yeq+4u VsTe0NjE38efA2rGw6ItsaK+8wi5pgeZNDRD7BK1zi+qlJyu6okY01nmifdjhh54jM8t wnoXRAy8MPKVfUmdYdrNE6B4uq1M1gJC28HRa/zuX/8WBfgYHZ0LOOqGN6WTSjh/UHeV 9eszVDAHNyeDSxTOqSRfounGYVsL40TSZZSgSLx7YzMsUivg6VW0uBGJZk8lVIJRt59Q LboA== X-Gm-Message-State: AOAM532Z1TQJ5Epr60hVyBLfoW88plFnj54zobBp6bPOJXv0itJM4ija LiWeeREsVNVN2TX+nsCI+FmlKyIXowS433uD9++3Kg== X-Google-Smtp-Source: ABdhPJycW6RFH+DGj0mQYrO9TfmDOeqKdmgW6WopPnOUis6Xk1e8ZyMWU8LDRUbEw51OIfY0nlq9YNqbr7a3qmgav7M= X-Received: by 2002:a05:6402:5214:: with SMTP id s20mr8007962edd.13.1642148201480; Fri, 14 Jan 2022 00:16:41 -0800 (PST) MIME-Version: 1.0 References: <20220114034838.546267-1-marex@denx.de> In-Reply-To: <20220114034838.546267-1-marex@denx.de> From: Jagan Teki Date: Fri, 14 Jan 2022 13:46:30 +0530 Message-ID: Subject: Re: [PATCH 01/14] drm: bridge: icn6211: Fix register layout To: Marek Vasut Content-Type: text/plain; charset="UTF-8" X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Zimmermann , Sam Ravnborg , Robert Foss , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Marek, Thanks for the patches. On Fri, Jan 14, 2022 at 9:18 AM Marek Vasut wrote: > > The chip register layout has nothing to do with MIPI DCS, the registers > incorrectly marked as MIPI DCS in the driver are regular chip registers > often with completely different function. > > Fill in the actual register names and bits from [1] and [2] and add the > entire register layout, since the documentation for this chip is hard to > come by. > > [1] https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/gpu/drm/bridge/icn6211.c > [2] https://github.com/tdjastrzebski/ICN6211-Configurator > > Fixes: ce517f18944e3 ("drm: bridge: Add Chipone ICN6211 MIPI-DSI to RGB bridge") > Signed-off-by: Marek Vasut > Cc: Jagan Teki > Cc: Robert Foss > Cc: Sam Ravnborg > Cc: Thomas Zimmermann > To: dri-devel@lists.freedesktop.org > --- > drivers/gpu/drm/bridge/chipone-icn6211.c | 134 ++++++++++++++++++++--- > 1 file changed, 117 insertions(+), 17 deletions(-) > > diff --git a/drivers/gpu/drm/bridge/chipone-icn6211.c b/drivers/gpu/drm/bridge/chipone-icn6211.c > index a6151db955868..eb26615b2993a 100644 > --- a/drivers/gpu/drm/bridge/chipone-icn6211.c > +++ b/drivers/gpu/drm/bridge/chipone-icn6211.c > @@ -14,8 +14,19 @@ > #include > #include > > -#include