From: Geert Uytterhoeven <geert+renesas@glider.be> To: "Lee Jones" <lee@kernel.org>, "Daniel Thompson" <daniel.thompson@linaro.org>, "Jingoo Han" <jingoohan1@gmail.com>, "Pavel Machek" <pavel@ucw.cz>, "Rob Herring" <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, "Conor Dooley" <conor+dt@kernel.org>, "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>, "Lad Prabhakar" <prabhakar.mahadev-lad.rj@bp.renesas.com> Cc: dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be> Subject: [PATCH] dt-bindings: backlight: pwm: Make power-supply not required Date: Tue, 23 May 2023 17:38:37 +0200 [thread overview] Message-ID: <29943059c80c8db0db437f9548f084a67326647b.1684856131.git.geert+renesas@glider.be> (raw) make dtbs_check: arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7.dtb: backlight: 'power-supply' is a required property From schema: Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml As that backlight device node already has an "enable-gpios" property to control the power supplied to the backlight, it sounds a bit silly to have to add a "power-supply" property just to silence this warning. In addition, as of commit deaeeda2051fa280 ("backlight: pwm_bl: Don't rely on a disabled PWM emiting inactive state"), the Linux driver considers the power supply optional. Fix this by synchronizing the bindings with actual driver behavior by making the "power-supply" optional. Fixes: deaeeda2051fa280 ("backlight: pwm_bl: Don't rely on a disabled PWM emiting inactive state") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- As commit deaeeda2051fa280 was only upstreamed in v6.3, I'm wondering if the backlight on the iWave Systems RainboW-G20D/G21D Qseven and RainboW-G22D-SODIMM boards worked before? I don't have the hardware. Thanks! --- .../devicetree/bindings/leds/backlight/pwm-backlight.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml index 5ec47a8c6568b60e..53569028899020d6 100644 --- a/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml +++ b/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml @@ -68,7 +68,6 @@ dependencies: required: - compatible - pwms - - power-supply additionalProperties: false -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert+renesas@glider.be> To: "Lee Jones" <lee@kernel.org>, "Daniel Thompson" <daniel.thompson@linaro.org>, "Jingoo Han" <jingoohan1@gmail.com>, "Pavel Machek" <pavel@ucw.cz>, "Rob Herring" <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, "Conor Dooley" <conor+dt@kernel.org>, "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>, "Lad Prabhakar" <prabhakar.mahadev-lad.rj@bp.renesas.com> Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be>, linux-leds@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH] dt-bindings: backlight: pwm: Make power-supply not required Date: Tue, 23 May 2023 17:38:37 +0200 [thread overview] Message-ID: <29943059c80c8db0db437f9548f084a67326647b.1684856131.git.geert+renesas@glider.be> (raw) make dtbs_check: arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7.dtb: backlight: 'power-supply' is a required property From schema: Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml As that backlight device node already has an "enable-gpios" property to control the power supplied to the backlight, it sounds a bit silly to have to add a "power-supply" property just to silence this warning. In addition, as of commit deaeeda2051fa280 ("backlight: pwm_bl: Don't rely on a disabled PWM emiting inactive state"), the Linux driver considers the power supply optional. Fix this by synchronizing the bindings with actual driver behavior by making the "power-supply" optional. Fixes: deaeeda2051fa280 ("backlight: pwm_bl: Don't rely on a disabled PWM emiting inactive state") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- As commit deaeeda2051fa280 was only upstreamed in v6.3, I'm wondering if the backlight on the iWave Systems RainboW-G20D/G21D Qseven and RainboW-G22D-SODIMM boards worked before? I don't have the hardware. Thanks! --- .../devicetree/bindings/leds/backlight/pwm-backlight.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml index 5ec47a8c6568b60e..53569028899020d6 100644 --- a/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml +++ b/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml @@ -68,7 +68,6 @@ dependencies: required: - compatible - pwms - - power-supply additionalProperties: false -- 2.34.1
next reply other threads:[~2023-05-23 15:38 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-05-23 15:38 Geert Uytterhoeven [this message] 2023-05-23 15:38 ` [PATCH] dt-bindings: backlight: pwm: Make power-supply not required Geert Uytterhoeven 2023-05-23 17:35 ` Conor Dooley 2023-05-23 17:35 ` Conor Dooley 2023-05-25 11:32 ` Lee Jones 2023-05-25 11:32 ` Lee Jones
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=29943059c80c8db0db437f9548f084a67326647b.1684856131.git.geert+renesas@glider.be \ --to=geert+renesas@glider.be \ --cc=conor+dt@kernel.org \ --cc=daniel.thompson@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=dri-devel@lists.freedesktop.org \ --cc=jingoohan1@gmail.com \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=lee@kernel.org \ --cc=linux-leds@vger.kernel.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=pavel@ucw.cz \ --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \ --cc=robh+dt@kernel.org \ --cc=u.kleine-koenig@pengutronix.de \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.