Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753390AbcLMKSt (ORCPT ); Tue, 13 Dec 2016 05:18:49 -0500 Received: from mail-vk0-f41.google.com ([209.85.213.41]:34150 "EHLO mail-vk0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752937AbcLMKSr (ORCPT ); Tue, 13 Dec 2016 05:18:47 -0500 MIME-Version: 1.0 In-Reply-To: <9d5fa409-bb4f-f62b-2548-0a3b82228e08@ti.com> References: <1481547942-24775-1-git-send-email-bgolaszewski@baylibre.com> <1481547942-24775-5-git-send-email-bgolaszewski@baylibre.com> <9d5fa409-bb4f-f62b-2548-0a3b82228e08@ti.com> From: Bartosz Golaszewski Date: Tue, 13 Dec 2016 11:18:45 +0100 Message-ID: Subject: Re: [PATCH v6 4/5] ARM: dts: da850-lcdk: add the vga-bridge node To: Tomi Valkeinen Cc: Jyri Sarha , David Airlie , Kevin Hilman , Michael Turquette , Sekhar Nori , Rob Herring , Frank Rowand , Mark Rutland , Laurent Pinchart , Peter Ujfalusi , Russell King , LKML , arm-soc , linux-drm , linux-devicetree Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1284 Lines: 51 2016-12-13 9:46 GMT+01:00 Tomi Valkeinen : > Hi, > > On 12/12/16 15:05, Bartosz Golaszewski wrote: > >> +&lcdc { >> + status = "okay"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&lcd_pins>; >> + >> + ports { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + lcdc_out: port@1 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <1>; >> + >> + lcdc_out_vga: endpoint { >> + reg = <0>; >> + remote-endpoint = <&vga_bridge_in>; >> + }; >> + }; >> + }; >> +}; >> > > This is not correct. LCDC has just one output, so port@1 doesn't make > sense. It's port@0. But with just one port, you can leave "ports" away. > And you don't need the port's label for anything, if I'm not mistaken. So: > > &lcdc { > status = "okay"; > pinctrl-names = "default"; > pinctrl-0 = <&lcd_pins>; > > port { > lcdc_out_vga: endpoint { > remote-endpoint = <&vga_bridge_in>; > }; > }; > }; > > Tomi > Right, fixed in v7. Thanks, Bartosz