Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp233680ybx; Wed, 30 Oct 2019 14:14:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9VlRzb4W+z1ElqldA2y9kVALs1VcPQbl7ThN7qI4KdZwRcOuPI+f6MmHncTx1NZAlwC3+ X-Received: by 2002:a17:906:670c:: with SMTP id a12mr292947ejp.273.1572470048093; Wed, 30 Oct 2019 14:14:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572470048; cv=none; d=google.com; s=arc-20160816; b=f0gMQkjyxTqi0VpRQ238jisMIcSsNwqyMqNF0mscaHs9Zs/6Qpzm/kPzM1/JwlpUpr Xgq7S4h9UnlBbcAsEKvOeGi6YV9uNXxf6twrP2XyPOIjmjG93HCucqN+KnrOyOli3bQR wnQ/0mOujQVaEpqSRrfIS4aO7VFbAGCW1O+GZUYrkPv1QX5pECxKtXFbOtNPWGYMNOhO PDP6BY7TKvdgkF2c0DyyJwcv7PQB901my5+CrE2YUt+M3gjbo2iN5IKqqQii9ZLmUnjw SlvHxdVr9DUmiwvJiXAahp6wwqPd2RB1MBmPDUrNHcCWtbUOWV3Tetx1ZRXneH173tl8 k7Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=bjjCQDTjSg8lDAiKUN7taQnBuQ03LeGafHKJB2lt6Ds=; b=Aah2yjuuvTWBQkzjFBmarqCQXIXbZWzkTsjm7E9qIgH525BZXAnefkaHmRmCf3gQ1D VvPIP2HYR1SPCHtC+HExZtT9MGS2zq6gHw/y1esN3zSry990L+c3zT5G2+magC8jd8PZ oSxFdu1OOicWLe9hihKq9ZSo4o2cAifLVSQWc2sFpF6BBGSAWFEDpXRa1IiZ2wUvBr+C E5/gMip7HX2If/c8eW72jtz6UrfBA3AM2xDnDaCRinXgPEkU/hGjqoMFyxCjSVWV+fPU jGzujTfhfUvJz8YfQXtXnfkkjx7/WX8Fol59ciUuQvMYRVFRuWuRsZY/SYD0L9KIHb2q vTqw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34si2531456edk.26.2019.10.30.14.13.43; Wed, 30 Oct 2019 14:14:08 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727044AbfJ3VKy (ORCPT + 99 others); Wed, 30 Oct 2019 17:10:54 -0400 Received: from smtp08.smtpout.orange.fr ([80.12.242.130]:47667 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727022AbfJ3VKy (ORCPT ); Wed, 30 Oct 2019 17:10:54 -0400 Received: from belgarion ([90.55.204.252]) by mwinf5d15 with ME id KxAo210045TFNlm03xAoN2; Wed, 30 Oct 2019 22:10:52 +0100 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Wed, 30 Oct 2019 22:10:52 +0100 X-ME-IP: 90.55.204.252 From: Robert Jarzmik To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Lee Jones , 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 References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-38-arnd@arndb.de> X-URL: http://belgarath.falguerolles.org/ Date: Wed, 30 Oct 2019 22:10:48 +0100 In-Reply-To: <20191018154201.1276638-38-arnd@arndb.de> (Arnd Bergmann's message of "Fri, 18 Oct 2019 17:41:53 +0200") Message-ID: <87h83qlz1j.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/26 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > 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. Ah the I2C and SPI devices querrying GPIOs ... unless someone does an actual test, this will probably be very regression prone ... Anyway : Acked-by: Robert Jarzmik Cheers. -- Robert