mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Lechner <dlechner@baylibre.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: "Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	"Linus Walleij" <linusw@kernel.org>,
	"Bartosz Golaszewski" <brgl@kernel.org>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-gpio@vger.kernel.org, "Chris Hall" <c-hall@ti.com>,
	"Patrick Edwards" <pedwards@ti.com>,
	"Kurt Borja" <kuurtb@gmail.com>
Subject: Re: [PATCH] iio: adc: ti-ads112c14: add gpio support
Date: Fri, 9 Oct 2026 18:14:00 -0500	[thread overview]
Message-ID: <7d542de9-0c87-4a1f-9d9a-48af8431cba1@baylibre.com> (raw)
In-Reply-To: <20260926014620.3b07660f@jic23-hlaptop>

On 9/25/26 7:46 PM, Jonathan Cameron wrote:
> On Fri, 25 Sep 2026 16:50:47 -0500
> "David Lechner (TI)" <dlechner@baylibre.com> wrote:
> 
>> Add support for using the AIN4/GPIO0 to AIN7/GPIO3 pins as GPIOs when
>> the gpio-controller property is present.
>>


> Even better if we give that helper and the mask shorter names.  resv probably enough for
> reserve for instance.
> 
> 
>> +				ads112c14_reserve_gpio_for_ain(gpio_reserved_mask, pair[1]);
>> +
> 

I tried the shorter name, but didn't like the way it looked (abbreviations
didn't seem immediately clear what they meant to me). It only saved two line
wraps anyway, so I kept reserve(d) spelled out everywhere.


  reply	other threads:[~2026-10-09 23:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-25 21:50 David Lechner (TI)
2026-09-26  0:46 ` Jonathan Cameron
2026-10-09 23:14   ` David Lechner [this message]
2026-09-28  8:36 ` Andy Shevchenko
2026-10-09 23:04   ` David Lechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7d542de9-0c87-4a1f-9d9a-48af8431cba1@baylibre.com \
    --to=dlechner@baylibre.com \
    --cc=andy@kernel.org \
    --cc=brgl@kernel.org \
    --cc=c-hall@ti.com \
    --cc=jic23@kernel.org \
    --cc=kuurtb@gmail.com \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=pedwards@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®