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=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 EAB0DC26641 for ; Sun, 20 Jan 2019 17:26:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C5C8020861 for ; Sun, 20 Jan 2019 17:26:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727747AbfATR00 (ORCPT ); Sun, 20 Jan 2019 12:26:26 -0500 Received: from shell.v3.sk ([90.176.6.54]:47328 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727589AbfATR0J (ORCPT ); Sun, 20 Jan 2019 12:26:09 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 900C7C9B44; Sun, 20 Jan 2019 18:26:07 +0100 (CET) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id KwcCbYCRKUB3; Sun, 20 Jan 2019 18:25:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 574B1C9A93; Sun, 20 Jan 2019 18:25:55 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pIEoYmUkbOiU; Sun, 20 Jan 2019 18:25:53 +0100 (CET) Received: from nedofet.lan (ip-89-102-31-34.net.upcbroadband.cz [89.102.31.34]) by zimbra.v3.sk (Postfix) with ESMTPSA id 2238DC9B2E; Sun, 20 Jan 2019 18:25:53 +0100 (CET) From: Lubomir Rintel To: Rob Herring , Mark Rutland Cc: Russell King , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel Subject: [PATCH 6/6] dt-bindings: display: armada: Document bus-width property Date: Sun, 20 Jan 2019 18:25:34 +0100 Message-Id: <20190120172534.24617-7-lkundrak@v3.sk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190120172534.24617-1-lkundrak@v3.sk> References: <20190120172534.24617-1-lkundrak@v3.sk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This makes it possible to choose a different pixel format for the endpoint. Modelled after what other LCD controllers use, including marvell,pxa2xx-lcdc and atmel,hlcdc-display-controller and perhaps more. Signed-off-by: Lubomir Rintel --- .../bindings/display/armada/marvell-armada-drm.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/armada/marvell-arm= ada-drm.txt b/Documentation/devicetree/bindings/display/armada/marvell-ar= mada-drm.txt index 53524077db25..0a734f6d5a1e 100644 --- a/Documentation/devicetree/bindings/display/armada/marvell-armada-drm= .txt +++ b/Documentation/devicetree/bindings/display/armada/marvell-armada-drm= .txt @@ -49,6 +49,11 @@ Required child nodes: =20 - port: video output port with endpoints, as described by Documentation/devicetree/bindings/graph.txt + The endpoints can optionally specify the following property: + + - bus-width: recognized values are <12>, <16>, <18> and <24>, that + select "rgb444", "rgb565", "rgb666" or "rgb888" pixel format + respectively. Defaults to <24> if unspecified. =20 Example: =20 @@ -61,6 +66,7 @@ Example: =20 lcd0_port: port { lcd0_rgb_out: endpoint { + bus-width =3D <24>; remote-endpoint =3D <&encoder_rgb_in>; }; }; --=20 2.20.1