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 X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4E41C47247 for ; Tue, 5 May 2020 21:24:38 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id ACE39206A5 for ; Tue, 5 May 2020 21:24:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="mjnNLkkp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ACE39206A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 163246E42E; Tue, 5 May 2020 21:24:38 +0000 (UTC) Received: from mail-ua1-x943.google.com (mail-ua1-x943.google.com [IPv6:2607:f8b0:4864:20::943]) by gabe.freedesktop.org (Postfix) with ESMTPS id 478D66E42E for ; Tue, 5 May 2020 21:24:37 +0000 (UTC) Received: by mail-ua1-x943.google.com with SMTP id y10so991388uao.8 for ; Tue, 05 May 2020 14:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xD9oC230/p7xdIyNhq/DI72VMWwLQ0pXEid/2VB2RIE=; b=mjnNLkkpMuBQM4TIComyfZixfgQHhE7tuFWValYOOMp5lib8ve2bEYRSkPoc6w3DfW x+MXBWW0cMkQbuC/d4jz2iCfV4rJYanNXcJZAoAycgsG6CSrTebEpKdKS1Jiumphdr4L iCabexNFAQFv7/oUMBhn7gE3sdcfhe6/b55/Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xD9oC230/p7xdIyNhq/DI72VMWwLQ0pXEid/2VB2RIE=; b=T+O4NwSG5KcFZXwuNjZvVLmVOH3V0BpOvGBhPNlrRou8S8rxYSvFm+feVXcz3fB2LF +HAetFF2UceIUpAv9MVY8CQDhZQZnBGqnzWFqLQCRq1p0aady7HHVFJQPFoVOJzhNmYO Yqg6hmcHC/SnwQoTQi1NbnfGMIkN5qp5xmzo121vFo/Qo4hEh5vKn1iD5yqV7VVoYMeB m4SXbAQIsmfluny98VxLtLe/BkWSF/Ki6+QsrAzTfXT9hGPZ/2brfewPjbHi29fMw8et opvgtGiXZQ1nHRGhFt3BFfGWr/siwE2KEEzyNVPlQFUpauVxiHvup9dyyHEzceuhiktf cp3Q== X-Gm-Message-State: AGi0PuaGGuKj9kjp+y5gnT6x9Vt7peru57KgEIuHglpvkLoQlkrOmRA7 N4ryu74lWlsWBxklgC/lkP7idG1sk1g= X-Google-Smtp-Source: APiQypLhuU+JOGIhrvGI5z7yg4gqM+wgyodkbc1aD1PUF14diXqc7fvMtg9HXNwtJcO6iAXAB5vOGQ== X-Received: by 2002:ab0:6806:: with SMTP id z6mr4345931uar.0.1588713876137; Tue, 05 May 2020 14:24:36 -0700 (PDT) Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com. [209.85.217.51]) by smtp.gmail.com with ESMTPSA id 64sm105240vkx.12.2020.05.05.14.24.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 May 2020 14:24:35 -0700 (PDT) Received: by mail-vs1-f51.google.com with SMTP id x136so122731vsx.2 for ; Tue, 05 May 2020 14:24:35 -0700 (PDT) X-Received: by 2002:a05:6102:4d:: with SMTP id k13mr4884961vsp.198.1588713874617; Tue, 05 May 2020 14:24:34 -0700 (PDT) MIME-Version: 1.0 References: <20200504213624.1.Ibc8eeddcee94984a608d6900b46f9ffde4045da4@changeid> <20200505082436.GD9658@pendragon.ideasonboard.com> <20200505210609.GA6094@pendragon.ideasonboard.com> <20200505211401.GC6094@pendragon.ideasonboard.com> In-Reply-To: <20200505211401.GC6094@pendragon.ideasonboard.com> From: Doug Anderson Date: Tue, 5 May 2020 14:24:23 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/bridge: ti-sn65dsi86: Implement lane reordering + polarity To: Laurent Pinchart 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: Rob Clark , Jernej Skrabec , Neil Armstrong , David Airlie , linux-arm-msm , Jonas Karlman , LKML , dri-devel , Andrzej Hajda , Sean Paul Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, On Tue, May 5, 2020 at 2:14 PM Laurent Pinchart wrote: > > > I'll add this documentation into the comments of the yaml, but I'm not > > going to try to implement enforcement at the yaml level. > > Why not ? :-) Because trying to describe anything in the yaml bindings that doesn't fit in the exact pattern of things that the yaml bindings are designed to check is like constructing the empire state building with only toothpicks. If you want to suggest some syntax that would actually make this doable without blowing out the yaml bindings then I'm happy to add it. Me being naive would assume that we'd need to do an exhaustive list of the OK combinations. That would be fine for the 1-land and 2-lane cases, but for 4 lanes that means adding 256 entries to the bindings. I think the correct way to do this would require adding code in the project but that's really only done for generic subsystem-level concepts and not for a single driver. -Doug _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel