Devicetree
 help / color / mirror / Atom feed
From: Neil Armstrong <neil.armstrong@linaro.org>
To: Mark Brown <broonie@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] regulator: add regulator driver for the Nexperia NEX10000UB
Date: Fri, 18 Sep 2026 14:12:00 +0200	[thread overview]
Message-ID: <91c73c90-9aed-4f27-9791-6cb091f03eb0@linaro.org> (raw)
In-Reply-To: <731ebfd1-4080-4343-afc7-95af081a9990@sirena.org.uk>

On 9/18/26 12:12, Mark Brown wrote:
> On Fri, Sep 18, 2026 at 09:25:39AM +0200, Neil Armstrong wrote:
>> Add regulator support for the Nexperia NEX10000UB dual output LCD
>> bias power supply which provides programmable positive and negative
>> output voltages mainly for display panels applications.
> 
>> +static int nex10000ub_of_parse_cb(struct device_node *np,
>> +				  const struct regulator_desc *desc,
>> +				  struct regulator_config *config)
>> +{
>> +	struct gpio_desc *ena_gpiod;
>> +
>> +	ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(np), "enable", 0,
>> +					   GPIOD_ASIS, desc->name);
> 
> This is GPIOD_ASIS so the direction might not have been configured.

Will fix

> 
>> +	if (IS_ERR(ena_gpiod))
>> +		return PTR_ERR(ena_gpiod);
> 
> The binding says the property is optional.

Good catch, forgot to make it mandatory.

Thanks,
Neil

      reply	other threads:[~2026-09-18 12:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18  7:25 [PATCH 0/3] regulator: add support for the Nexperia NEX10000UB dual output LCD bias power supply Neil Armstrong
2026-09-18  7:25 ` [PATCH 1/3] dt-bindings: vendor-prefixes: add vendor prefix for Nexperia B.V Neil Armstrong
2026-09-18  7:25 ` [PATCH 2/3] regulator: dt-bindings: document the Nexperia NEX10000UB dual output LCD bias power supply Neil Armstrong
2026-09-18  7:25 ` [PATCH 3/3] regulator: add regulator driver for the Nexperia NEX10000UB Neil Armstrong
2026-09-18  7:42   ` sashiko-bot
2026-09-18 10:12   ` Mark Brown
2026-09-18 12:12     ` Neil Armstrong [this message]

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=91c73c90-9aed-4f27-9791-6cb091f03eb0@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.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