Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6257964imm; Mon, 27 Aug 2018 12:27:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZT8nvWLA7LPQHLLYCwIQO6mLnGHDNgm/4TLqYtXhBE+RH+toVsE+vtSvdaV+X9uLpFbbA0 X-Received: by 2002:a62:2a48:: with SMTP id q69-v6mr15600719pfq.86.1535398023264; Mon, 27 Aug 2018 12:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535398023; cv=none; d=google.com; s=arc-20160816; b=RJV7TG3vCbWYgR8yVpHqXo3HmrjJNq7BhBafwvvFzMyEM5iiANPhc+U1uaUp1UiFgC Jl9eCI/ri7MvJG2Rqj69Ouq0JyfM4m5CXLlhmkbnhQhBgOjdoV2SRsiG04SfwF/H8bg/ 4+KCJOGFDh38ugZY3vrFPYLS3oEAYdNCxO3K8jMCVSMMSwDn414HV6pPf8Xw3Uyen+hP rZ80uizY0dZRlSiTQc7SbjmN3OcDnTcAHHw8zwR5qt5yPR9U/1LU82LREJ3lYyJ1cZf9 Z+GPZjvSCYz9hwtyMQ2JdGHfcbk1xJiQOxmQXRXDrQIvde7BxQDRt9/IYbmniNaf1zHX jz7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=CmNOs5XMsOKqgmm5Ykl5E4MCuspesjmBxvCky4sbhBo=; b=n5e898hAckQxr6r02gzkBMsCFvbT5VpPW8hXNJ1thxr92D5Su5mHqvW7lZqLsfqm7Y eyvFlkQ/gE22FZ8fIGDcyGEdbjFaq8qZzHQG8lEXWo/DFaDJ1wPVEWXvWyD7mxeRx1Qk MiwqoInTd+fZqVl8jvM3MQuBFaXRWDHDwXIiRzI1oT1LnXJ9jsl/EdnALu2ceXrF5Dk+ 5PeWPv6N64cFpMNXuzaz/yqaW79ExnV+yOSrGOBayRgItriIck8dX9t3gyzG43H1v++N F/9Uix/1Itdj6PhtgXz4wic+WImVoc6fHZjQTNAchQYtt0QyquDEi5sg4DPCbmQB4i7R 7XmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1-v6si64301plc.168.2018.08.27.12.26.47; Mon, 27 Aug 2018 12:27:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727238AbeH0XMs (ORCPT + 99 others); Mon, 27 Aug 2018 19:12:48 -0400 Received: from mail.bootlin.com ([62.4.15.54]:50511 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726887AbeH0XMs (ORCPT ); Mon, 27 Aug 2018 19:12:48 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 5A71A2079D; Mon, 27 Aug 2018 21:24:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (unknown [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id 953A120711; Mon, 27 Aug 2018 21:24:50 +0200 (CEST) Date: Mon, 27 Aug 2018 21:24:49 +0200 From: Boris Brezillon To: Peter Rosin Cc: linux-kernel@vger.kernel.org, David Airlie , Rob Herring , Mark Rutland , Nicolas Ferre , Alexandre Belloni , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jyri Sarha , Daniel Vetter , Andrzej Hajda , Russell King - ARM Linux , Jacopo Mondi , Sakari Ailus Subject: Re: [PATCH v9 0/4] drm/atmel-hlcdc: bus-width override support Message-ID: <20180827212449.723bdc99@bbrezillon> In-Reply-To: <20180825085620.10566-1-peda@axentia.se> References: <20180825085620.10566-1-peda@axentia.se> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 25 Aug 2018 10:56:16 +0200 Peter Rosin wrote: > Hi! > > The background for these patches is that our PCB interface between > the SAMA5D3 and the ds90c185 lvds encoder is only using 16 bits, and > this has to be described somewhere, or the atmel-hlcdc driver have no > chance of selecting the correct output mode. Since we have similar > problems with a tda19988 HDMI encoder I added patches to override > the atmel-hlcdc output format via DT properties compatible with the > media video-interface binding and things start to play together. Queued to drm-misc-next. Thanks, Boris > > Cheers, > Peter > > Changes since v8 https://lkml.org/lkml/2018/8/10/309 > - go back to the solution in v7 (but the ep device_node leak fixed) > for patch 4/4 > - redo (part of) 3/4 w/o using the disliked of_graph_parse_endpoint > > Changes since v7 https://lkml.org/lkml/2018/8/4/288 > - The ep device_node was leaked in v7 patch 3/3, so add patch 3/4 > which simplifies fixing this in patch 4/4 (and adds flexibility) > and adjust patch 4/4 to the changes done in the new 3/4. > - return -ENOMEM on allocation failure in patch 4/4 > > Changes since v6 https://lkml.org/lkml/2018/8/3/333 > - zap bus-type from the binding in patch 2/3 > > Changes since (the shortened) v5 https://lkml.org/lkml/2018/8/3/182 > - add reg properties (and #*-cells) to the example in patch 2/3 > - prohibit bus-width 0 in the device-tree in patch 3/3 > - added reviewed-by from Jacopo to patch 2/3 and 3/3 > > Peter Rosin (4): > dt-bindings: display: bridge: lvds-transmitter: add ti,ds90c185 > dt-bindings: display: atmel: optional video-interface of endpoints > drm/atmel-hlcdc: always iterate over the first 4 output endpoints > drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes > > .../devicetree/bindings/display/atmel/hlcdc-dc.txt | 23 ++++++ > .../bindings/display/bridge/lvds-transmitter.txt | 8 +- > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 70 +++++++++++----- > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h | 1 + > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 92 +++++++++++++++++++--- > 5 files changed, 163 insertions(+), 31 deletions(-) >