Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp578239pxb; Thu, 5 Nov 2020 07:40:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6b1PixtER0Ixj0E+dUbiB/XZ6wZaQOX5SfOmchQbcqEujQ1r2UDUrG8y3+N8qlhOSKqAf X-Received: by 2002:a05:6402:1f0:: with SMTP id i16mr3098929edy.122.1604590815685; Thu, 05 Nov 2020 07:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604590815; cv=none; d=google.com; s=arc-20160816; b=jm53NoC7EZNa01wdISNDJeiFYiGt2ssStEFCkosN+lwjeVdcyb8FlBY/UsuMY5D1C8 7Fg0cDFAwiVg9T0Cb/d7QPlmntx4qdFEEP4bKDv8mEG28B4GNE08tdv8tWfCKvnlqKJb AOqBGRVKbdXp/hmUvKjF7YVWVK1LD/9kXEqoL3qB5tmxBdO4448KZzpa1WZQquaDzVm3 MwmHg2cftn2lJJy13O1a95m3pqknb+zszBNufwgFKB0E0pKO4HxgISgn+o+cDMAtjC6x 81yqn4ilBQLd0eTrqaxPDuU1iXvPN2RKQfQL05Bhba8UrWAO05+CPj8vioEGN2F+Mofm kmQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=oe4W/9IIStX5PS7df8SEBHKooPDTXbwCBDTfcyxclaE=; b=CsD9AH9rhqTKyXewXTlZgL3kqs8f2ZH8CXu9X0WXalA7mvx/MZRcrNhYHGLkZS9jmQ L25ZWZTaxrLyVDXVSmnfSAj1vz4HWNnK7BLppvnBpwXY0VjYBvjAo+jUT1wPFFG/CFp8 hZAHR5aPigkCZkkE9L3QiLUNJ68sKFM/NsJcHknHjJJb1/QvFZKXrDKj1TdH7bMvKyC9 FY54wUKlCQBAIIiPbka+s+NJVsPR1Z4mVIrCdiNYtSETvfNCiFvzMieW/2WvVqnKXSbH /CCq/jfHxy07hb3gbIEWgp69762MFf/nMUZvxwUIng7PbyQ6rbuACQIQeMbafcjovhQR htWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=ibKi6Xco; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si1628285edm.401.2020.11.05.07.39.52; Thu, 05 Nov 2020 07:40:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=ibKi6Xco; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731133AbgKEPi3 (ORCPT + 99 others); Thu, 5 Nov 2020 10:38:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731050AbgKEPi2 (ORCPT ); Thu, 5 Nov 2020 10:38:28 -0500 Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB48DC0613D2 for ; Thu, 5 Nov 2020 07:38:26 -0800 (PST) Received: by mail-qk1-x742.google.com with SMTP id r7so1535676qkf.3 for ; Thu, 05 Nov 2020 07:38:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oe4W/9IIStX5PS7df8SEBHKooPDTXbwCBDTfcyxclaE=; b=ibKi6Xco8MbXn0RJgBL8wrtu+4b1FSUNJKWqyMWfWNim4CmEOYuxl+56dpkCSXEp1F EKWCuq3aDu78RxAcJc5idAsuNU14Dpg2ZljVY1dm4WShBh7QxwRZAF9efcnsuNUTJlqm IbJOUdV5Td1YLwBQcBjIMGxJxu4n9gwVJgVYU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oe4W/9IIStX5PS7df8SEBHKooPDTXbwCBDTfcyxclaE=; b=VysFUIj+WS6bG6Xzd64qJ3vsWpEBrM/WnNJhD9wwbovqmJkoamqpR9/fGmHzTSGRWj 02y3OfgVXhAfNd7NeATJaueoRTBZDkP4iuUCxjao0wKkwDSPwPmgc8HJxmoZvOjs0iH4 y6dwDutPVi4VOm91Lc5tg63TDY+mO5g6a1qJV3uPOCpGaMyDfdkuoj+sKLUYNq1bcJZK lCWToStVGopBGDUjwyMK9R4NEFIi9cde5jMiE3SU6xMkxJzjYt9BAP2v/niUSuXShumF WtWAGjjT1HDz2o+FiU3zm7Ljqj76mzTck3Vd1Bkp29EdfsCWXzcobQCshFSy9bSyUpiW 1ScQ== X-Gm-Message-State: AOAM530oGJUoSlJSXLK7NEnVSatCZFPBzBNJa9+YW/TkbfswgpQGwOxa J0sdTNoMLGxdhUQG6iYT8EcjVG6NtjG7RIvp1E0I6k94R95Y5Q== X-Received: by 2002:a05:620a:1024:: with SMTP id a4mr2677116qkk.390.1604590706076; Thu, 05 Nov 2020 07:38:26 -0800 (PST) MIME-Version: 1.0 References: <20201011024831.3868571-1-daniel@0x0f.com> <20201011024831.3868571-4-daniel@0x0f.com> <20201105093107.GB21245@1wt.eu> In-Reply-To: From: Daniel Palmer Date: Fri, 6 Nov 2020 00:39:13 +0900 Message-ID: Subject: Re: [PATCH 3/5] gpio: msc313: MStar MSC313 GPIO driver To: Linus Walleij Cc: Willy Tarreau , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Linux ARM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Thanks for all of the comments. On Thu, 5 Nov 2020 at 18:42, Linus Walleij wrote: > > On Thu, Nov 5, 2020 at 10:31 AM Willy Tarreau wrote: > > On Thu, Nov 05, 2020 at 10:21:27AM +0100, Linus Walleij wrote: > > > > If your SoC is only used by OpenWrt (like ixp4xx) then it is fine > > > to just use bool because that distribution is always built with an > > > image for a specific hardware, whereas distributions are generic. > > .. snip .. >> It's unlikely that we'll see very > > generic distros there given the limited storage you'd typically have > > in an SPI NOR (16-32 MB) and the small RAM (64MB) which tends to > > discourage anyone from booting a regular distro over other storage > > anyway. > > > > Thus my guess is that most users will keep building their own kernels. > > > > But this just emphasizes your points :-) > > I think that is a good argument to keep this as bool. Thanks. I did change it to a tristate for v3 but I'll change it back. Just a heads up: There is another GPIO driver for this chip (same functionality, totally different register layout for no reason) that'll look pretty similar to this that'll follow soon. It might be similar enough that people confuse the two series as the same thing. Thanks, Daniel