Received: by 10.223.164.202 with SMTP id h10csp3966wrb; Wed, 22 Nov 2017 02:52:50 -0800 (PST) X-Google-Smtp-Source: AGs4zMbeHrSv5iUjFFUHmxtfJN1efwD7jLc14w3CYhcthO3lv2nNo59WM4wm6BSMuM7ISTeDUbvz X-Received: by 10.98.21.17 with SMTP id 17mr18862204pfv.120.1511347970707; Wed, 22 Nov 2017 02:52:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511347970; cv=none; d=google.com; s=arc-20160816; b=TcfO0dDD2Nt4Fw6QZePWLypL3nVUh9mzMLq6UAtYOehrqE2QhsJtB+/gZrXbfUfwbv Lyd75j0XRL03wVo+CtpFHpFeRKlWhGpDY5GI7s/4VmyhCCobY6n/5QWXg541UcV5jz5S vRjFxduPIirJQ30hm49olhuXhq5pGBjyq5VlXjxLmtfhu0NfyQfkbMoTCQtWsMbTwt4j 0PE1GQpxxy/YCNu6YpS3jTYQug/4uQGdtmuPc54qFzGDZS659UXoPHvP7Axsk7WOf/S7 r8ePPDyCx7HTmaUsOXm9R9es0wEttA+WuKHSmUg1jO+366bMK0QlAaec8sCzqCYclJuy 36hg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=2wcWjV96e+D6hk/alG+UWJrX3rPMrkb4BXm3nPNANdY=; b=e12a5rrzCKzLMWOGn5f5tQneYGHbzY0VU0qxcGtwI8LG744SEB1TTguUVWtM9L7ilO 41L5U/nKplpGrXnOTqCGeWEacTvK6MFevd9IeaQLW8ugWgPzfnZ6nkU5zq/VhREyAb60 JMryxvVnBkOokjTWAoiX6aAphUkFTyZcTJndzdoHW1qH3HecqD7xBszHsnkF/pwawWk0 cfb8mwKF6nlXAzuadgwV7rhuKm1ToBNHy8GcJJRjvyVEUETMsYaU2c19+wVbPna4KyxR Or/BIivsC1AXQcWyUCRTD/Qgg32gFbFobdH0jureM8P4JustZGqiAsHHtWRXGd/q6r4Q eqYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=k+mcyOFn; 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 a33si4925230pla.26.2017.11.22.02.52.39; Wed, 22 Nov 2017 02:52:50 -0800 (PST) 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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=k+mcyOFn; 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 S1752169AbdKVKv7 (ORCPT + 77 others); Wed, 22 Nov 2017 05:51:59 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37127 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751982AbdKVKv4 (ORCPT ); Wed, 22 Nov 2017 05:51:56 -0500 Received: by mail-wm0-f65.google.com with SMTP id v186so9213099wma.2 for ; Wed, 22 Nov 2017 02:51:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2wcWjV96e+D6hk/alG+UWJrX3rPMrkb4BXm3nPNANdY=; b=k+mcyOFn/cOuwPelVxTIt7p7gBE2291AblYU9/8pqmDh77+GwtrAQWnogoSAy/J4Om V3XLbmSAXWa3tCEWNKS4coEVwR5ONk4h6CUkNhrJgeNE5bjXaajfzL7J4RJhiOILkGr3 R2sWNLpTZe7W7v8edJt/EblIsuqM+HFbW1q+5V+Si9Sf+ZoJt4I8ab2jIyxxbfdgZ/R0 BaTlMDi96jT+ddoRlu5g4d0oec913LGwOdeIj/9tGTvYAk4IaeM0djHlCsDFTJm6ad// VY7GRXsgOmX2ffXGasAf4WLO+iqtwXLaFtrWhPPvF484a+Krp9Hdwc0Zv4/WVGRHzDrQ yY6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=2wcWjV96e+D6hk/alG+UWJrX3rPMrkb4BXm3nPNANdY=; b=edYUK3qiSqi6U53V4brlrOdQIQwEV9Prh6bcYzOvKuObmMggPTaxITH4sA6wiYxQjR SQCaMzzgKzIPHveF0F8fASxusIldOZvfC85IJwj19Fzjsbqs6L8BrX7C3uDZT7IU5FpJ OVqeZTKx809vb3s7KLRBq1p9ul9g3Nt1AoHHto+fAmdTYkGRk/g+kjiaRgApjy/DjMFw eArszo8M11jXY2oXOyi7k5DPB5Hzu99IdS6s9kkPsYHpR182fxNq0zK9oZzCKtKLglV4 RRuUvqTqvCLBTlP2M4FwbkGQygASJlqYdyM7cP2Czj4Bdcmd+pdkkbdryoOclPmVv0gD /CTQ== X-Gm-Message-State: AJaThX5SIdA/KCeRoxBisFxdXGbSo45jFSGLZbdbeAzv1PdRtRQyTa4K Lpl79RpcrroZuu42q+bRlPShcTeyqeI= X-Received: by 10.80.192.5 with SMTP id r5mr29366568edb.138.1511347915386; Wed, 22 Nov 2017 02:51:55 -0800 (PST) Received: from [192.168.1.29] ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id d60sm10693379edc.44.2017.11.22.02.51.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Nov 2017 02:51:54 -0800 (PST) Subject: Re: [PATCH 3/4] ARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support To: Fabio Estevam Cc: Shawn Guo , Sascha Hauer , Fabio Estevam , linux-kernel , "linux-arm-kernel@lists.infradead.org" References: <1511281705-30849-1-git-send-email-narmstrong@baylibre.com> <1511281705-30849-4-git-send-email-narmstrong@baylibre.com> From: Neil Armstrong Organization: Baylibre Message-ID: <80224ed8-0405-f386-2d7f-44b646f8fbd4@baylibre.com> Date: Wed, 22 Nov 2017 11:51:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabio, On 21/11/2017 17:45, Fabio Estevam wrote: > On Tue, Nov 21, 2017 at 2:28 PM, Neil Armstrong wrote: > >> + gpio-keys { >> + compatible = "gpio-keys"; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + autorepeat; >> + >> + button@0 { > > If you build this with W=1 it will give you warnings about using a > unit address without its corresponding reg field. > > You could just drop the @x. Ok > >> + gpios = <&gpio4 26 GPIO_ACTIVE_LOW>; >> + linux,code = ; >> + label = "Key Back"; >> + linux,input-type = <1>; >> + debounce-interval = <100>; >> + gpio-key,wakeup; >> + }; >> + >> + button@1 { >> + gpios = <&gpio5 11 GPIO_ACTIVE_LOW>; >> + linux,code = ; >> + label = "Key Home"; >> + linux,input-type = <1>; >> + debounce-interval = <100>; >> + gpio-key,wakeup; >> + }; >> + >> + button@2 { >> + gpios = <&gpio4 25 GPIO_ACTIVE_LOW>; >> + linux,code = ; >> + label = "Key Menu"; >> + linux,input-type = <1>; >> + debounce-interval = <100>; >> + gpio-key,wakeup; >> + }; >> + }; > >> + panel1: lvds-panel { >> + compatible = "sgd,gktw70sdae4se", "panel-lvds"; > > sgd,gktw70sdae4se is not defined anywhere. > > Documentation/devicetree/bindings/display/panel/panel-lvds.txt says" > > "- compatible: Shall contain "panel-lvds" in addition to a mandatory > panel-specific compatible string defined in individual panel bindings. The > "panel-lvds" value shall never be used on its own." > Ok add vendor prefix and bindings. >> + backlight = <&backlight_lvds>; >> + >> + width-mm = <153>; >> + height-mm = <86>; >> + >> + label = "gktw70sdae4se"; >> + >> + data-mapping = "jeida-18"; >> + >> + panel-timing { >> + clock-frequency = <32000000>; >> + hactive = <800>; >> + vactive = <480>; >> + hback-porch = <39>; >> + hfront-porch = <39>; >> + vback-porch = <29>; >> + vfront-porch = <13>; >> + hsync-len = <47>; >> + vsync-len = <2>; >> + }; >> + >> + port { >> + panel_in: endpoint { >> + remote-endpoint = <&lvds1_out>; >> + }; >> + }; >> + }; >> + >> + reg_usb_h1_vbus: regulator-usbh1vbus { >> + compatible = "regulator-fixed"; >> + regulator-name = "usb_h1_vbus"; >> + regulator-min-microvolt = <5000000>; >> + regulator-max-microvolt = <5000000>; >> + gpio = <&gpio1 28 0>; > > It would be better to use: > gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; Ok > > >> + enable-active-high; >> + }; >> + >> + reg_usb_otg_vbus: regulator-usbotgvbus { >> + compatible = "regulator-fixed"; >> + regulator-name = "usb_otg_vbus"; >> + regulator-min-microvolt = <5000000>; >> + regulator-max-microvolt = <5000000>; >> + gpio = <&gpio4 15 0>; > > Same here. Ok > >> + enable-active-high; >> + }; >> + > >> + >> +&fec { >> + status = "okay"; >> + phy-mode = "rgmii"; >> + phy-reset-gpios = <&gpio1 25 0>; > > GPIO_ACTIVE_LOW please. Ok > > >> +}; >> + >> +&hdmi { >> + ddc-i2c-bus = <&i2c1>; >> + status = "okay"; >> +}; >> + >> +&pcie { >> + reset-gpio = <&gpio4 11 0>; > > GPIO_ACTIVE_LOW > >> + wake-up-gpio = <&gpio4 31 1>; > > This is not a valid property. > >> + disable-gpio = <&gpio5 5 0>; > > This is not a valid property. > I will drop pcie for now until I figure out the requirements for these 2 gpios. Thanks, Neil From 1584694899685368651@xxx Tue Nov 21 16:47:05 +0000 2017 X-GM-THRID: 1584693819401992813 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread