Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Andreas Kemnade" <andreas@kemnade.info>
Cc: dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org,
	devicetree@vger.kernel.org, imx@lists.linux.dev, robh@kernel.org,
	conor+dt@kernel.org, Frank.Li@kernel.org, lee@kernel.org
Subject: Re: [PATCH 3/4] ARM: dts: imx: Add backlight for Kobo Clara 2e
Date: Mon, 30 Nov 2026 19:32:08 +0000	[thread overview]
Message-ID: <sashiko-outbox-241910@kernel.org> (raw)
In-Reply-To: <20261130-bl-aw99703-upstr-v1-3-986a15505ad7@kemnade.info>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] ARM: dts: imx: missing IOMUXC pinmux for Kobo Clara 2E
  backlight GPIOs
--

commit ebce1ef7c96a74606867ed907a6a2fdadf34c40a
Author: Andreas Kemnade <andreas@kemnade.info>

ARM: dts: imx: Add backlight for Kobo Clara 2e

This commit adds the fixed power regulator and the two aw99703 backlight
nodes for the Kobo Clara 2e device tree.

> diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi
> index 6f2deb366e029..6b60c94e21579 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi
> @@ -53,6 +53,14 @@ memory@80000000 {
>  		reg = <0x80000000 0x20000000>;
>  	};
>  
> +	reg_bl: regulator-backlight {
> +		compatible = "regulator-fixed";
> +		regulator-name = "bl_power";
> +		gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>;
> +		startup-delay-us = <20000>;
> +		enable-active-high;
> +	};
> +
>  	reg_wifi: regulator-wifi {
>  		compatible = "regulator-fixed";
>  		regulator-name = "SD3_SPWR";
> @@ -80,7 +88,18 @@ &i2c1 {
>  	clock-frequency = <100000>;
>  	status = "okay";
>  
> -	/* backlight aw99703 at 0x36 */
> +	backlight@36 {
> +		compatible = "awinic,aw99703";
> +		reg = <0x36>;
> +		vin-supply = <&reg_bl>;
> +		enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
> +		label = "cold";
> +
> +		awinic,ovp-microvolt = <24000000>;
> +		awinic,ocp-microamp = <900000>;
> +		awinic,channel-mask = <1>;
> +		awinic,inductor-nanohenry = <10000>;
> +	};
>  };
>  
>  &i2c2 {
> @@ -90,7 +109,18 @@ &i2c2 {
>  	clock-frequency = <100000>;
>  	status = "okay";
>  
> -	/* backlight aw99703 at 0x36 */
> +	backlight@36 {
> +		compatible = "awinic,aw99703";
> +		reg = <0x36>;
> +		vin-supply = <&reg_bl>;
> +		enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
> +		label = "warm";

[Severity: Medium]
Are pinctrl configurations missing for the backlight GPIOs in reg_bl
(gpio5 13, MX6SLL_PAD_SD1_DATA2__GPIO5_IO13) and the backlight@36 nodes
(gpio2 10, MX6SLL_PAD_EPDC_PWR_CTRL3__GPIO2_IO10)?

On i.MX6SLL, imx_pmx_ops does not implement .gpio_request_enable, so
requesting a GPIO does not switch the IOMUXC pad mux mode to GPIO.  Both
pads reset to ALT0 rather than ALT5 GPIO mode, leaving the backlight
power and enable pins unmuxed unless configured by the bootloader.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261130-bl-aw99703-upstr-v1-0-986a15505ad7@kemnade.info?part=3

  reply	other threads:[~2026-11-30 19:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 19:08 [PATCH 0/4] video: backlight: Backlight for Kobo Clara 2e Andreas Kemnade
2026-11-30 19:08 ` [PATCH 1/4] dt-bindings: leds: backlight: Add Awinic AW99703 backlight Andreas Kemnade
2026-11-30 19:16   ` sashiko-bot
2026-11-30 20:21     ` Frank Li
2026-11-30 19:08 ` [PATCH 2/4] video: backlight: Add Awinic AW99703 Andreas Kemnade
2026-11-30 19:24   ` sashiko-bot
2026-11-30 20:18     ` Frank Li
2026-11-30 20:35       ` Andreas Kemnade
2026-11-30 19:08 ` [PATCH 3/4] ARM: dts: imx: Add backlight for Kobo Clara 2e Andreas Kemnade
2026-11-30 19:32   ` sashiko-bot [this message]
2026-11-30 20:25     ` Andreas Kemnade
2026-11-30 19:08 ` [PATCH 4/4] arm: mach-imx: enable shared gpios Andreas Kemnade

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=sashiko-outbox-241910@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=andreas@kemnade.info \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=imx@lists.linux.dev \
    --cc=lee@kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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