Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2447098imm; Mon, 16 Jul 2018 08:09:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfzG2x+scH5VCP2TUlFM2nFCJMwvNcHGjLPc4cpOejG/d7Ixib58r1NDcIJ76/hMUIcG6RA X-Received: by 2002:a17:902:d692:: with SMTP id v18-v6mr17164526ply.59.1531753774230; Mon, 16 Jul 2018 08:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531753774; cv=none; d=google.com; s=arc-20160816; b=TdK/dEOcY5bX6fSiB9uiWbVyY2DA3EXOV3pWe16IXL4Kci/ih4g89EnFTRrrkF9ISf DMi65+hYQM9SdmOLVJ+sclIZ6TSbQNZq3EMg7uf6xkVwyZkt2YezaW2ou1o4dOZEC/Hl tOPSeBh8y2RNMdSem2XwMtHIB9/rSigVnG9OWmgKDZYjO5FSWNSTxVqj2igX7ac95Frs D9Acmj8fayCx3Fm+ZFCOgJxCRMHVMsNp+ZSJj0x7fQw8Q+eZz3muDC6XKdSHU7ejAJRk bY2JPyLym2V5qfvphSHHh4EKxd/P0awpzwXzzd0wKrbL54qoHGsY+VoIrt5puukjmecR L8eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=NF3cd+LsqnY4FZ75lnd/qC4JwDh3GKYUPWZD79BWrwE=; b=UywZcFidJpycgbsSKyzBgjvwqhv/KjIp1L2bz95JNZV2HgfqpVkjXwZRnph3G8hVgq UQBmFsP2aUTHsMGFTVNUCiUQeg3h57EqeaJhcw2OxVBsE7hLJQ2StbjGywuM34dX10lU j2fX98rC0ArsnESgoMRXNSU8zzrafdOSGRlQCsFWClfvagQflmdl5cagukzFDr8AescY yq8Gfh6J7BT6BercSyUGEZhfVt7KyXunp+0hnmL1iHLd9VhuSeuBNlco9s20cBirn/2r LNKOkfuG4y1+StHOFEuwSebENFhsBM6x38rGbH0JtoDM/yXaNFnQCFkNC/MFRYntMvp4 t8gA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3-v6si29961000plr.131.2018.07.16.08.09.19; Mon, 16 Jul 2018 08:09:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729854AbeGPPga (ORCPT + 99 others); Mon, 16 Jul 2018 11:36:30 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:44988 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727342AbeGPPg3 (ORCPT ); Mon, 16 Jul 2018 11:36:29 -0400 Received: by mail-oi0-f67.google.com with SMTP id s198-v6so75415128oih.11; Mon, 16 Jul 2018 08:08:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=NF3cd+LsqnY4FZ75lnd/qC4JwDh3GKYUPWZD79BWrwE=; b=AAQM0Ds3R2h8MAQslfZzmYm7dqhHXjGK5ORi7PAfugWjTO/s7Ztj6IPZ2dRWi0k/Pw 1YxtMBrwQVeF70tYfYX8rWDCOQ60hMOgqw9acfPwyGJq5FlQcizyEXliHN50Qn9S5d2V XbPC3tuUf3sbz6cs/ZBwcDfa6x4GE3SYYPn4WYFSQdbKtUImy9O9bVoWcfLW/gTNVuc6 88tN8IwhoWrDZEgDxLyU7gta0ooKHHv7o1+OUDNNbSKGzi+jb5+Uex6/EEug3q7QH6nV 5zz8YxZiSQe025ihXra/CpsDg6qahQjh5Az44NKwD53sr2aummG19MwgA8xT9n1DC2Dr lpEQ== X-Gm-Message-State: AOUpUlHhz2mc25utAq75tSmvKWtcwGpf8lCdHuOYwBKvJOBEF+V+AUYY FWsfMxA0mBJKrn02XTmd/g== X-Received: by 2002:aca:f0d4:: with SMTP id o203-v6mr19190845oih.21.1531753718811; Mon, 16 Jul 2018 08:08:38 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id a14-v6sm36329589oih.54.2018.07.16.08.08.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 08:08:37 -0700 (PDT) Date: Mon, 16 Jul 2018 09:08:36 -0600 From: Rob Herring To: Stefan Mavrodiev Cc: Thierry Reding , David Airlie , Mark Rutland , "David S. Miller" , Mauro Carvalho Chehab , Greg Kroah-Hartman , Andrew Morton , Randy Dunlap , "open list:DRM PANEL DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v3 1/1] drm/panel: Add support for Olimex LCD-OLinuXino panel Message-ID: <20180716150836.GA16895@rob-hp-laptop> References: <1531383729-13932-1-git-send-email-stefan@olimex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1531383729-13932-1-git-send-email-stefan@olimex.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 12, 2018 at 11:21:53AM +0300, Stefan Mavrodiev wrote: > This patch adds Olimex Ltd. LCD-OLinuXino bridge panel driver. The > panel is used with different LCDs (currently from 480x272 to 1280x800). > Small EEPROM chip is used for identification, which holds some > factory data and timing requirements. > > Signed-off-by: Stefan Mavrodiev > --- > Changes for v3: > - Change module license from "GPL v2" to "GPL" > - Make use of backlight_enable()/backlight_disable() helpers > - Rework backlight device request > - Remove drm_panel_detach() > - Use module_i2c_driver() for initialization > - Make the first mode preferred > - If num_modes value is invalid, overwrite it with 4, which is the maximum > - Some variable types optimizations > > Changes for v2: > - Changed lcd_olinuxino_funcs to static const > > .../display/panel/olimex,lcd-olinuxino.txt | 42 +++ Reviewed-by: Rob Herring > MAINTAINERS | 6 + > drivers/gpu/drm/panel/Kconfig | 10 + > drivers/gpu/drm/panel/Makefile | 1 + > drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 331 +++++++++++++++++++++ > 5 files changed, 390 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt > create mode 100644 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c