Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp243852imn; Wed, 3 Aug 2022 01:56:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR54og8xFxlyferYUVjSJrfCcTCVFhiexlNBPKNFH55x50aYuoMt9NuTdBaJamlzOPeizQJg X-Received: by 2002:a17:907:a06f:b0:730:69c7:9a1d with SMTP id ia15-20020a170907a06f00b0073069c79a1dmr11584927ejc.685.1659517003363; Wed, 03 Aug 2022 01:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659517003; cv=none; d=google.com; s=arc-20160816; b=Uktf9jdaCXd/Cvrbb5wLTaC2S8uXa+NJO/NOxT/bdqXklzujM5qM0sO3YHM0Dy+/P/ CvQYnfkjoc6g1lPET7EFQnPuHTMAbMcjwzSIQID9T3WZgl0aF6P1w3/MS7D3t+VFQymQ bz3WvLUQlp3dhnDxNa+i+BkQPQCGMhKtZCBkgxgF4zHdBu70o+Zhp1wMOfx6lOK5sKmS Ub6duPRGyPNp1STEcI1y8xhCrURZcACnAl9HNJaPT21SaVDwpgBFNy+E4ue/lUX/iHhL FsovwMbJp+fe4kUgikoyEPaq6iE6WhKCbWHDfY36GIQMNy2YF+2X/ESzz8w2qdTvoG6k 8VQQ== 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=PYESAQiUch5YKqUXs3LmKbcK3itp+947LQclzoggae8=; b=j3skXwyAGQPPX6ROxrjAi+2lLE2GXlCZFboaAjOBAO81i7ShWrBZVQSzgKVCrBPDBu IFeZFYQz9mTD1pmDNLNx+rWPveQ9W1Awz41goEIyMdMNVKEW/UgwUmNK7QYZMggH0/TU fKhSf8XtCr/MqKSTUDV0O9LrY3qKXr8qOQwsA+AY7Auw5KIXXgz0XD3l6ZLlh3Ds2eG2 zsA0uOuftJreVtsXe3axja2Jt4J6slWiPFkoy6UeKeMl8bkw/ig2twAWg7snZPb1zL1g Bo0lbd95QEv9HnBfYntysxorUR4zqdckSy53ZRBtWdkukd+GgZLenU/4GY8z2XPJtukD Yw2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=Zwu8wAmS; 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 z66-20020a509e48000000b0043bb9893d78si14907586ede.246.2022.08.03.01.56.18; Wed, 03 Aug 2022 01:56:43 -0700 (PDT) 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 header.i=@denx.de header.s=phobos-20191101 header.b=Zwu8wAmS; 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 S235609AbiHCIV3 (ORCPT + 99 others); Wed, 3 Aug 2022 04:21:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237315AbiHCIV1 (ORCPT ); Wed, 3 Aug 2022 04:21:27 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A369B26D1; Wed, 3 Aug 2022 01:21:23 -0700 (PDT) Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 06202840A6; Wed, 3 Aug 2022 10:21:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1659514881; bh=PYESAQiUch5YKqUXs3LmKbcK3itp+947LQclzoggae8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Zwu8wAmSjAUG8H6pkh+mRzLR0yxEBscCZPjBjFv/94n/to/hQTUAauG5U5orjWu5q +V2TfAhB7z9ymbaHE/PYCF3m5PaMtbHiwElMDOLJk2pWiQNcMYViCQa82QcPD6sWm3 XmmcgPs/jd6qIHzFCEUjaCw86/D0PfonLOYHCWZrI8SpHeK2gLjGGnwOL+rCehTM16 /WSmNGDuK3hti6mBuiAWVQaOBt8UL2Q3YPzEX95sEKq6U82tY5arqJbMIalb0ctV+m OX27GC1hGGoq/JZ0AMFfy0wxVC9fWvdTFgNdB7dDX6dPeFGoe6zM+J9PnqafdczpZB aU66emVERFQSA== Message-ID: <7e30f558-d42e-9751-7729-f0422f3926fa@denx.de> Date: Wed, 3 Aug 2022 10:21:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v3 2/4] dt-bindings: display: add new bus-format property for panel-dpi Content-Language: en-US To: Max Krummenacher , max.krummenacher@toradex.com Cc: Laurent Pinchart , Rob Herring , Dave Stevenson , Maxime Ripard , Christoph Niedermaier , Francesco Dolcini , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Rob Herring , Sam Ravnborg , Thierry Reding , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20220628181838.2031-1-max.oss.09@gmail.com> <20220628181838.2031-3-max.oss.09@gmail.com> From: Marek Vasut In-Reply-To: <20220628181838.2031-3-max.oss.09@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 6/28/22 20:18, Max Krummenacher wrote: Hello Max, [...] > diff --git a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > index dae0676b5c6e..52f5db03b6a8 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > @@ -26,7 +26,28 @@ properties: > height-mm: true > label: true > panel-timing: true > - port: true > + > + port: > + $ref: /schemas/graph.yaml#/$defs/port-base > + description: > + Input port node, receives the panel data. > + > + properties: > + endpoint: > + $ref: /schemas/graph.yaml#/$defs/endpoint-base > + > + properties: > + bus-format: > + $ref: /schemas/types.yaml#/definitions/uint32 > + minimum: 0x1001 > + maximum: 0x1fff > + description: | > + Describes how the display panel is connected to the display interface. > + Valid values are defined in . > + The mapping between the color/significance of the panel lines to the > + parallel data lines are defined in: > + https://www.kernel.org/doc/html/v5.17/userspace-api/media/v4l/subdev-formats.html#packed-rgb-formats I am not sure whether I should re-open this discussion, but I still wonder, wouldn't it be better to describe the DPI bus color channel ordering (RGB, BGR, ...), width of each color channel in bits, pixel format (RGB, YUV, ...) instead of using specific constants for the entire format ?