Linux LED subsystem development
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Svyatoslav Ryhel <clamor95@gmail.com>
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>,
	Pavel Machek <pavel@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 2/3] dt-bindings: leds: skyworks,aat1290: Document FLINH pin
Date: Wed, 14 Oct 2026 16:52:39 +0100	[thread overview]
Message-ID: <20261014155239.GC1182143@google.com> (raw)
In-Reply-To: <CAPVz0n3-=xn0Hy3BgPintGoONVO2NKyENYDQ_jSnM_Awxowjhw@mail.gmail.com>

On Wed, 14 Oct 2026, Svyatoslav Ryhel wrote:

> ср, 14 жовт. 2026 р. о 12:17 Lee Jones <lee@kernel.org> пише:
> >
> > On Tue, 13 Oct 2026, Jacek Anaszewski wrote:
> >
> > > On 10/12/26 9:25 AM, Svyatoslav Ryhel wrote:
> > > > нд, 11 жовт. 2026 р. о 20:35 Jacek Anaszewski <jacek.anaszewski@gmail.com> пише:
> > > > >
> > > > > On 10/11/26 3:55 PM, Svyatoslav Ryhel wrote:
> > > > > > нд, 11 жовт. 2026 р. о 16:28 Jacek Anaszewski <jacek.anaszewski@gmail.com> пише:
> > > > > > >
> > > > > > > Hi Svyatoslav,
> > > > > > >
> > > > > > > On 10/7/26 10:54 AM, Svyatoslav Ryhel wrote:
> > > > > > > > Both the AAT1270 and AAT1290 feature a FLINH pin used for mandatory Flash
> > > > > > > > inhibition.
> > > > > > > >
> > > > > > > > Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
> > > > > > > > ---
> > > > > > > >     Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml | 4 ++++
> > > > > > > >     1 file changed, 4 insertions(+)
> > > > > > > >
> > > > > > > > diff --git a/Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml b/Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml
> > > > > > > > index a65d92522c9cf..596b5e284f44a 100644
> > > > > > > > --- a/Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml
> > > > > > > > +++ b/Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml
> > > > > > > > @@ -31,6 +31,10 @@ properties:
> > > > > > > >         maxItems: 1
> > > > > > > >         description: FL_EN pin
> > > > > > > >
> > > > > > > > +  flinh-gpios:
> > > > > > > > +    maxItems: 1
> > > > > > > > +    description: FLINH pin
> > > > > > > > +
> > > > > > >
> > > > > > > You don't seem to make use of it in your patch.
> > > > > > >
> > > > > >
> > > > > > I don't have to use it in my patch. This change completes and improves
> > > > > > hardware description of the AAT1290/1270.
> > > > >
> > > > > Still, If we don't have the use case I'd avoid adding it to not confuse
> > > > > people looking for its use in the driver.
> > > > >
> > > >
> > > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/writing-bindings.rst?h=next-20261009#n17
> > > >
> > > > - DO attempt to make bindings complete even if a driver doesn't
> > > > support some features. For example, if a device has an interrupt, then
> > > > include the 'interrupts' property even if the driver is only polled
> > > > mode.
> > > >
> > > > - DON'T refer to Linux or "device driver" in bindings. Bindings should
> > > > be based on what the hardware has, not what an OS and driver currently
> > > > support.
> > >
> > > I'll leave it to the maintainer.
> >
> > DT should be OS agnostic and driver orthogonal.  So long as it
> > accurately and indisputably describes the H/W, then I think it's fair
> > game.
> >
> > Is `flinh` a datasheet term or did we make this up?
> >
> 
> You can check yourself if you don't believe me. Both AAT1270 and
> AAT1290 can be found freely.

I'd rather just ask you and trust the answer.

> FLINH pin #10
> 
> Flash inhibit pin. FLINH is an active HIGH control input with an
> internal 200kΩ resistor to AGND. A low-to-high transition on the FLINH
> pin reduces FL sink current to the maximum (default) movie-mode
> current level for the duration of FLINH. Strobing the FLINH pin low to
> high does not reset the flash timer.

Okay, thanks.

-- 
Lee Jones

  reply	other threads:[~2026-10-14 15:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-07  8:54 [PATCH v1 0/3] leds: aat1290: Add support for AAT1270 Svyatoslav Ryhel
2026-10-07  8:54 ` [PATCH v1 1/3] dt-bindings: leds: skyworks,aat1290: Document AAT1270 Current Regulator for Flash LEDs Svyatoslav Ryhel
2026-10-07  8:57   ` sashiko-bot
2026-10-07  8:54 ` [PATCH v1 2/3] dt-bindings: leds: skyworks,aat1290: Document FLINH pin Svyatoslav Ryhel
2026-10-07  9:02   ` sashiko-bot
2026-10-11 13:28   ` Jacek Anaszewski
2026-10-11 13:55     ` Svyatoslav Ryhel
2026-10-11 17:35       ` Jacek Anaszewski
2026-10-12  7:25         ` Svyatoslav Ryhel
2026-10-13 19:04           ` Jacek Anaszewski
2026-10-14  9:17             ` Lee Jones
2026-10-14  9:37               ` Svyatoslav Ryhel
2026-10-14 15:52                 ` Lee Jones [this message]
2026-10-07  8:54 ` [PATCH v1 3/3] leds: aat1290: Add support for AAT1270 Current Regulator for Flash LEDs Svyatoslav Ryhel
2026-10-07  9:05   ` sashiko-bot
2026-10-07 19:04   ` Jacek Anaszewski
2026-10-08  8:15     ` Svyatoslav Ryhel
2026-10-08 19:57       ` Jacek Anaszewski
2026-10-11 13:26   ` Jacek Anaszewski
2026-10-11 13:53     ` Svyatoslav Ryhel

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=20261014155239.GC1182143@google.com \
    --to=lee@kernel.org \
    --cc=clamor95@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jacek.anaszewski@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=pavel@kernel.org \
    --cc=robh@kernel.org \
    /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