From patchwork Tue Apr 17 13:10:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10347443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5C0F760365 for ; Wed, 18 Apr 2018 07:25:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46E292000A for ; Wed, 18 Apr 2018 07:25:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B4EA219AC; Wed, 18 Apr 2018 07:25:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CA0792000A for ; Wed, 18 Apr 2018 07:25:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B6026E51D; Wed, 18 Apr 2018 07:25:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0133.outbound.protection.outlook.com [104.47.0.133]) by gabe.freedesktop.org (Postfix) with ESMTPS id AFC946E1E7 for ; Tue, 17 Apr 2018 13:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=KAX+P1I6sENbJLtOGGHQ+2tzE4V3RpXFMiPB1KfwWkQ=; b=YPH5cDVOAQowr0Lka6+G3wyDz35G37L2JStZVBAAu3z5R4LCchvjyS5zyHtoITvvVOs/H3oUROfLVvr3MxoNbYLq/JPMx30Zy83AM4a9gSDYWNsRPE8QJAxRoAU6HhVkJSL4FWo9IjFUZnWTY1oR1npZgSsem1lnl+hLxnUmkBM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by HE1PR0202MB2778.eurprd02.prod.outlook.com (2603:10a6:3:e8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Tue, 17 Apr 2018 13:11:23 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v2 2/6] dt-bindings: display: atmel: optional video-interface of endpoints Date: Tue, 17 Apr 2018 15:10:48 +0200 Message-Id: <20180417131052.16336-3-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180417131052.16336-1-peda@axentia.se> References: <20180417131052.16336-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR05CA0270.eurprd05.prod.outlook.com (2603:10a6:3:fc::22) To HE1PR0202MB2778.eurprd02.prod.outlook.com (2603:10a6:3:e8::20) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:HE1PR0202MB2778; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2778; 3:XrFrKz3j6nWu9VNa7BMjl5TbVOYrogFTkLC84UrrBvpbfNZlCMAkZTo3Q5DWQg5GV6YTJ5Sacpg+ue8+QHv0wnzIMn9maeSA5bTh/i6d0KZaZWFUW7Kl+I7Y7ZzQcPm55d3JJfzILSMQwWjP1yBb7ykcbTyWZvIH0aPIs/+c6uMvZql/1TI4C0HBjbPyjGgmObdtoh4tKQNq+xF8P8dc7HeuaP50jQPUIqFlvVWKjgwED1ukcfPFOJVb/H1f5uwR; 25:Mlga41DxoO9Wd9AUSORrbYDSz+aocguZShZ0kdXe/h5wovrMkATjLoY9Phyx+Guv9WKkttdTKAqNs7Z8xidLHKHjVgkOAXEdm3nUuKPDgZi2ngrRlbpeSJzwQ7dOSPAlG2GYJOHsMraNtMCZ/+aQbSbCfhuxS9hwx6iKQsgv4UtnpbhZXsdgeH1Rz5OuCkyQSVQr+BoQWV8zZxHN0PUddM6Qa/QKLatfEzfYc441H9q0Yv96YpOZdLdZMERl1hMo76BN5nSqffbQP9J3WuKxnMTlm1y6Teg9loLLmI/9/tsolMd7tzichd7k37+gBko4lC4mhrk2s6XxVyKTgnYjIw==; 31:oLYfFk2baVMZM/tbEdsMk0CAybQaU7ZTCK7PLamXOi6odraLW1GN/cBCOG7/Jp27uncq1UBDqUrCzWsNKMS3XOa478hwe4c/Qyl6gnhn78kIXbZ0d0XEGZ7/e7vufnXs6OCkDy8uy27uSVwQ3f3rYj+kUJvcMbkMeZgK6bl1xQiun84p50fvbZlEKKeyt2ImyLMwdu2+9GPKHkE3Jdu/Qc6KbwsPQncsbY1dVd6W2sg= X-MS-TrafficTypeDiagnostic: HE1PR0202MB2778: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231232)(944501327)(52105095)(3002001)(6041310)(20161123564045)(20161123560045)(2016111802025)(20161123562045)(20161123558120)(6043046)(6072148)(201708071742011); SRVR:HE1PR0202MB2778; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0202MB2778; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2778; 4:Af4nRxlQAr3OoCPS7Hb1199HZZu/ig65iYalqJOiqXBTBP/gWERwNW8uhwBVHR8MogOOe1/XqIg4OQ/eJQbFcGXVPZOdazEeutgwLKqbX9PwICPPIZXKiCVAoFkaqiBHQ4A9GHu35uSh8Kbpm7LCjMyGB18i3Y9hj2GTrj6oBftA0E+h+LGP3Zwaz5sYHxNRVMzdcWV7yYdsdWI11MCXu3H9uDiqNbxl2JXngWoIkagdtdifWJ8tESMQKtxfPhiEdH4aXEBZv8+t064HVC1IiA== X-Forefront-PRVS: 0645BEB7AA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(39380400002)(366004)(396003)(346002)(39830400003)(376002)(189003)(199004)(386003)(6116002)(6506007)(8676002)(51416003)(106356001)(97736004)(76176011)(26005)(52116002)(4326008)(53936002)(3846002)(6512007)(476003)(486006)(11346002)(446003)(2616005)(956004)(6486002)(305945005)(6666003)(6916009)(7416002)(86362001)(1076002)(2906002)(2361001)(2351001)(105586002)(50466002)(36756003)(66066001)(47776003)(81156014)(74482002)(54906003)(16526019)(186003)(68736007)(16586007)(8936002)(5660300001)(7736002)(50226002)(81166006)(48376002)(478600001)(316002)(25786009)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0202MB2778; H:orc.pedanet; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0202MB2778; 23:EDB0QA34qFAziXwjJK4pM6nSgSwNsEz5KYu/tdB?= =?us-ascii?Q?F45gREBCDff3PB71jgTxus19iaVYmsox8PiYPipJ0HkUVw/c59ibUUYqE0jt?= =?us-ascii?Q?UKjDQSSUyMsP1DdulXILrtiaqJyPnXAqPadaWFFsYYzb2KI4sTX+2ZzlJG61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7f9Yq3nEJiD3iNg==; 5:jeRz10+NIiYCvXotjtHdANugrGjFzGHwbLRXTDQqoh1qrM7K8KWMUEoGKx68zVP4vU3URqGbgGxUS85vIKL9DbFOPhb/QIAIEJ380aOXkz4OahKgmiHsAym/OCJgF6xm0ggiSocOFvkbvTTcJkJ/Ds6A29gvP3KF2zQzmNUVjpw=; 24:VhMy1fkNxBfgKerCLP5GOq3pnlzjfVnnv3ashzd7HsuZYKrbe3aPhbEsNPfeChx1Yyps+oNkiVE60Z3EOXjvuSRDfvSUZ5HqWSIITzJ8FOE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2778; 7:ddlP2X6qZpYqZ+jB9L9LWBci5A8UJ4cFf4qVjWCJuIih71TO6MOh5p8fSvEoaDHQNeN/9bNIbItVC11cnKjDaE8R25ZByJBId10nrkZ9+JUnseEIwbnZQc1OuZmvooEoOSCwqRUz+w3Tk1HfCklfBHOekfIlgpwAb25qL67J6YKkMycubNy3kWobCdJOaWjTItJSkmgqY6rX/WB9q6bBH9jkBKU4pL8d+cc8S7scwUKq31UhAxEX1HA8oT8QVI5p X-MS-Office365-Filtering-Correlation-Id: 45e0ecbb-6bd3-4ea8-601a-08d5a464b82c X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2018 13:11:23.2487 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45e0ecbb-6bd3-4ea8-601a-08d5a464b82c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2778 X-Mailman-Approved-At: Wed, 18 Apr 2018 07:25:05 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Boris Brezillon , Alexandre Belloni , devicetree@vger.kernel.org, David Airlie , Nicolas Ferre , dri-devel@lists.freedesktop.org, Russell King - ARM Linux , Rob Herring , Laurent Pinchart , Daniel Vetter , Peter Rosin , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP With bus-type/bus-width properties in the endpoint nodes, the video- interface of the connection can be specified for cases where the heuristic fails to select the correct output mode. This can happen e.g. if not all RGB pins are routed on the PCB; the driver has no way of knowing this, and needs to be told explicitly. This is critical for the devices that have the "conflicting output formats" issue (SAM9N12, SAM9X5, SAMA5D3), since the most significant RGB bits move around depending on the selected output mode. For devices that do not have the "conflicting output formats" issue (SAMA5D2, SAMA5D4), this is completely irrelevant. Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt b/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt index 82f2acb3d374..244b48869eb4 100644 --- a/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt +++ b/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt @@ -15,6 +15,14 @@ Required children nodes: to external devices using the OF graph reprensentation (see ../graph.txt). At least one port node is required. +Optional properties in grandchild nodes: + Any endpoint grandchild node may specify a desired video interface + according to ../../media/video-interfaces.txt, specifically + - bus-type: must be <0>. + - bus-width: recognized values are <12>, <16>, <18> and <24>, and + override any output mode selection hueristic, forcing "rgb444", + "rgb565", "rgb666" and "rgb888" respectively. + Example: hlcdc: hlcdc@f0030000 {