Received: by 10.192.165.156 with SMTP id m28csp715234imm; Mon, 16 Apr 2018 07:35:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/hAM02iEvNSlSOilxcrtQvmNHY55CCKxJiYZ+f/4/UAyJcklaD8k0dFGA92i3iisT6ZKoD X-Received: by 2002:a17:902:788b:: with SMTP id q11-v6mr1798211pll.76.1523889355238; Mon, 16 Apr 2018 07:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523889355; cv=none; d=google.com; s=arc-20160816; b=0CkY/J0jy/0B3xZDS10Uv8ep0+ocpG0wHtmkR1he2LnNUZ6C0Kts7kLgaTjWXwc1iY IyUah4bILr9olOlgPcic3S0gv9RQy1Wv3f7WJvA4kyo6/HNPEaHBmqmGDeUgQquZQKw/ nNbm5jROSm5rLmV/6gEEnjrh+0oWSq6FAbKwNyGPj9rhDcr2ykWXEnCXrHPTkkjahEtV UWuFkOlrbccvRPZCLidmbLCN61KnhedyK13XBYlhfXuF92zfBX1T+pr5n4xhxlHNVL+a MODT7Bjt27untwPS0HwZgdOOwyKfR/5iCIfZU7TG6vI/aprmpN3poWppQph4Cc2hBClP H4OA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=1rK6uiDuQ5umlD+I1zYBAj7vbNEQScN+ey4i2LiZD1M=; b=XM05xky/7m61BHh8UcWiECMLUm6cP8DdYNQxBNECV5SYng/7BkMlos9SLBuVbh121B Jtp+bmfaDlTOepmaeSmOI9gcenG3uFc5mk4/vWcyjs1Ooqjhfnn0hex5KZ2zrjMc2QHP q6Sh2bakMnJSTmLqdoEO9feZWcJqus+f7FBWi5PXRQaTJv0WssWFrS9ABBeJPKlSIQH/ ygBT+Ca6IhNKTTGhXCNr350Ytaw7S8TJAo+7X/0m1vMe8/3ZgBucwUAISJ2niNf+2C4l RGI/EMr0ie1Mg/PYrduR0grRYdnkBrtETvmyLo/zBsYD5HSL7zUQUecWJUk5kDgBwxxK Zxhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kcaF3Ptn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y75si3439079pfk.34.2018.04.16.07.35.41; Mon, 16 Apr 2018 07:35:55 -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; dkim=pass header.i=@linaro.org header.s=google header.b=kcaF3Ptn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755334AbeDPOAh (ORCPT + 99 others); Mon, 16 Apr 2018 10:00:37 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:43990 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578AbeDPOAf (ORCPT ); Mon, 16 Apr 2018 10:00:35 -0400 Received: by mail-wr0-f195.google.com with SMTP id y7so26333283wrh.10 for ; Mon, 16 Apr 2018 07:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=1rK6uiDuQ5umlD+I1zYBAj7vbNEQScN+ey4i2LiZD1M=; b=kcaF3PtnCCk6zpUrPDdlkWTyEoBjfpUMQ8HrEzeXvf/666m5EoYSPlz3nIpQ3q4jo7 t6PVc4IsoTDw4ojTzt9VtNd1kITPnC1FVLxMRovJ71GvKLCYcuC96l4X1F95/JbYIlcz QYxI67ZGHKQG1qIHdiaMnE3AJc5LczwFrUtpk= 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:content-transfer-encoding :in-reply-to:user-agent; bh=1rK6uiDuQ5umlD+I1zYBAj7vbNEQScN+ey4i2LiZD1M=; b=DPQihVulJrwg/d9x+cHYg0c6pFjao/YYORPJ/xX9Rwv1oY7mjhfUKic77VMpp/cFLJ 2dgTwD0z/aLQUcD7ahBadkgAtHSXiFNWidU0P6wK25xQ1VCho1Jm1hwpeMSPAJ2IsArN biuJv06Sy655Vsvabg35z/7Eds4ExhSM/W1Ah+wZ42tKuhWbWTiKMD4qJbyGYERcNiVB hhR9jTUIJj5x7wphb+z0nUTSY8YX6VwXKfx/SO9wA9D4ihv8Can/A8Yhed0U0GC+fYGQ SqWni7SOO+M/BiwzyUThg6/7VmviSAf7Wp/ZgeA44DOxtnzFPKA6wUxtIoB6k8NoSarf STww== X-Gm-Message-State: ALQs6tA0Jriwg4xS5o7jbyrVpfHZVXi+LsHcs1qh6bBWYpeM3Ih0ioxI 9Q+xn6Sy87YUbNByNsfgvIfNNw== X-Received: by 10.28.91.209 with SMTP id p200mr9776000wmb.11.1523887234163; Mon, 16 Apr 2018 07:00:34 -0700 (PDT) Received: from dell ([2.27.167.70]) by smtp.gmail.com with ESMTPSA id r196sm7745661wmf.9.2018.04.16.07.00.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Apr 2018 07:00:32 -0700 (PDT) Date: Mon, 16 Apr 2018 15:00:30 +0100 From: Lee Jones To: Felix Brack Cc: linux-fbdev@vger.kernel.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, b.zolnierkie@samsung.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] backlight: otm3225a: add support for ORISE OTM3225A LCD SoC Message-ID: <20180416140030.mojc6uy6ak65meoc@dell> References: <1523190765-2823-1-git-send-email-fb@ltec.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1523190765-2823-1-git-send-email-fb@ltec.ch> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 08 Apr 2018, Felix Brack wrote: > This patch adds a LCD driver supporting the OTM3225A LCD SoC > from ORISE Technology. This device can drive TFT LC panels having a > resolution of 240x320 pixels. After initializing the OTM3225A using > it's SPI interface it switches to use 16-bib RGB as external > display interface. > > Signed-off-by: Felix Brack > Acked-by: Daniel Thompson > > Changes in v3: > - fix a type in a comment > - don't make useless calls to msleep() by callig it with delay 0 > - add Daniel Thompson's Acked-by > > Changes in v2: > - use descriptive names for registers instead of hard coding them > - remove unnecessary registers in initialization sequence > - make use of resource-managed functions like devm_kzalloc() > instead of kzalloc() which simplifies and shortens the code > - replace mdelay() by msleep() > - use module_spi_init() since we do not do anything special > in init/exit > - use dev_name() instead of hard coding driver name multiple times > - use static storage class for structure otm3225a_ops > - sort include files alphabetically > - use standardized licensing header > - modify Makefile respecting alphabetical sort order > --- > drivers/video/backlight/Kconfig | 7 ++ > drivers/video/backlight/Makefile | 1 + > drivers/video/backlight/otm3225a.c | 252 +++++++++++++++++++++++++++++++++++++ > 3 files changed, 260 insertions(+) > create mode 100644 drivers/video/backlight/otm3225a.c Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog