Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp5969107ybx; Mon, 11 Nov 2019 01:33:49 -0800 (PST) X-Google-Smtp-Source: APXvYqxoGU1K1LcdyxeUZJ4qYhf+Tw+gZD84gVJTVS2KfaBMpIFUH+E2S6T7eDvfxkhRe4jXVSI6 X-Received: by 2002:a50:8dc9:: with SMTP id s9mr602220edh.155.1573464829539; Mon, 11 Nov 2019 01:33:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573464829; cv=none; d=google.com; s=arc-20160816; b=UdQPs7OT/iRKaIcVDNqiUWHKeNbHbNnRi/4r6o+8tPJXM0gXY5h5F1Cw70o8Ay2FKg pVHBOPzo78EZXGzdi3lQJaw3FxomiNujfd4B6+3GGIYdBHxxZphEmWmHAtLC0mlvwz8y 6kz1XKFhUj43sQSlJXmZdvlLE/JPVpLMkMbiycrh0DNANet7HB99YLeSGL7MAgHXP76I YJ8xxmBaW4I9kxukEZsMjpXNg2wDo+Vr6mynscFPG7AMNUlhdorD0blK95DLeQgee+9N VwCustOxcUA/xfChPe3W8+D4ITrAFEpaQ0CRFiaYqF27SmTz8B51Crn3mS0HJaicRG/+ OJSQ== 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; bh=j4UsCyQdcZm2KCJe59FDjzH8nfUWhHJFhxVJ6xfimnY=; b=A+ehMEUx85d/wMckvjuBldRH0w4HJTv12nAdddcaiR5nCAnSt5ztcKUEirUs9pcCH/ uB/azUJa1v3HBdqIdUMXXwUS7NDrUnYX/FIyJwXMjCwJUnzXcqB0mY1UIiBYvmcThs91 0UQw33smMjm0H/8Xd0xYjA7WRFFLGp28Ts8crRtrjhk4of8X3aRBGJdiJLyC6o5+ap1A 5Iwxn0kIT6ufB2wKyK59rugYhnx0TvZZINU6rt86BNF3p356hGGY89zSoCAvRmg7HGXK yVFj9JwDEZBvn39qesGe0lSuGg9sxO/22aXoJS2d57iuBM7bQ6ifEB2r0gmQ3rPI00MN iF/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R07dOsYY; 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 35si11410313edl.409.2019.11.11.01.33.27; Mon, 11 Nov 2019 01:33:49 -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=@linaro.org header.s=google header.b=R07dOsYY; 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 S1727016AbfKKJav (ORCPT + 99 others); Mon, 11 Nov 2019 04:30:51 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38646 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726804AbfKKJau (ORCPT ); Mon, 11 Nov 2019 04:30:50 -0500 Received: by mail-wm1-f67.google.com with SMTP id z19so12425071wmk.3 for ; Mon, 11 Nov 2019 01:30:47 -0800 (PST) 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=j4UsCyQdcZm2KCJe59FDjzH8nfUWhHJFhxVJ6xfimnY=; b=R07dOsYYwpCpFqth2eEc/oCIsVGaao+wJn8wLg/tmKa7DWZrLBWvdgQx9iz4t5Bou+ NyhMN5nHtROIBDBw/J2CRYIOtN+EXzAti6P8xtElGQWvekQHtrzTT1eBZCFSPGwuzGNu iJOqNEoouqVKG5syT/aSf4ScmQTaC4Dm/aumuHvIxx8ScQuOYUQPsTQ8ogi05kcJA2nF j77KE5TGXxf7iWtwl1Vu/bowSieiJy/4G5x3mTV7Obk6ktIIcic+E42dTW3WxMSJBEB+ 68IyDuWAADrxnS4xxQ7FliuravZHxaMgwkmsk8Ogdrup6ezZyviq0N4hLN6CZ9tChZSi Z2PQ== 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=j4UsCyQdcZm2KCJe59FDjzH8nfUWhHJFhxVJ6xfimnY=; b=R53CsjjTDkyft1PhCX3aGaATu4hiYww11pnIlRqNJBW5sGoZ3JYMT0EMJHs56JkzC6 f0D2WeLN+mUC60fwfiZf7Mk8Fxl1FIrvjzdnwSSGr30HqXoDfV0O/O+xSDIqQ8hlr/lO gXtabm/nLZZFqYehvPCIAuk5XAb4G5lRwnNpigCFUMKj1ygzsBKR6EaYWfP4QZ0IR7fb qTvtsx4Mj73F0ZIhXQcyMQvxuNQO6sqg+NYh+W36JWyZ6swwY/B+gvdJ1MKMhU9DXd3l mt2VJgk8NyvjdMErHXxK6PWRBWE13lVP5YONP7tQotRKoXltYaH1Kgky/Nm1BaVi4kuF 7E3w== X-Gm-Message-State: APjAAAVWdiLNxeK3CCVlV354D3d3Tc97d37zKVeeGpO2INOTu2r9YLtX 4awsscxtCh8WRoT0jvkN4WkoIw== X-Received: by 2002:a1c:9a81:: with SMTP id c123mr18676120wme.118.1573464646982; Mon, 11 Nov 2019 01:30:46 -0800 (PST) Received: from dell ([95.147.198.88]) by smtp.gmail.com with ESMTPSA id z14sm13555064wrl.60.2019.11.11.01.30.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2019 01:30:45 -0800 (PST) Date: Mon, 11 Nov 2019 09:30:38 +0000 From: Lee Jones To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH 38/46] video: backlight: tosa: use gpio lookup table Message-ID: <20191111093038.GA3218@dell> References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-38-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191018154201.1276638-38-arnd@arndb.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Oct 2019, Arnd Bergmann wrote: > The driver should not require a machine specific header. Change > it to pass the gpio line through a lookup table, and move the > timing generator definitions into the drivers itself. > > Cc: Lee Jones > Cc: Daniel Thompson > Cc: Jingoo Han > Cc: Bartlomiej Zolnierkiewicz > Cc: dri-devel@lists.freedesktop.org > Cc: linux-fbdev@vger.kernel.org > Signed-off-by: Arnd Bergmann > > --- > I'm not overly confident that I got the correct device names > for the lookup table, it would be good if someone could > double-check. > --- > arch/arm/mach-pxa/include/mach/tosa.h | 15 -------------- > arch/arm/mach-pxa/tosa.c | 22 +++++++++++++++++++++ > drivers/video/backlight/tosa_bl.c | 10 +++++----- > drivers/video/backlight/tosa_bl.h | 8 ++++++++ > drivers/video/backlight/tosa_lcd.c | 28 ++++++++++++++++++++------- > 5 files changed, 56 insertions(+), 27 deletions(-) > create mode 100644 drivers/video/backlight/tosa_bl.h Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog