dt-bindings: display: panel: ilitek,ili7807s: Allow backlight property
Subsystems (4)
PATCH 1/1 dt-bindings: display: panel: ilitek,ili7807s: Allow backlight property
The DLC0697 panel is lit by a separate backlight device, which is referenced from the panel node through the common 'backlight' property.
Declare 'backlight: true' so the property is explicitly allowed by the schema.
--- Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml +2 -0
@@ -23,6 +23,8 @@ properties: maxItems: 1 description: DSI virtual channel + backlight: true + vddi-supply: description: I/O voltage supply (1.8V)
---
base-commit: cf61bef3801c3c9d0d8c39026b7b2fb242898a3a
change-id: 20261025-dlc_backlight-c00d00ec8f62
Best regards,
Signature · 1 line
Vishnu Saini <[email protected]>
[email protected]
AI reviewThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] dt-bindings: display: panel: ilitek,ili7807s: redundant backlight property --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: display: panel: ilitek,ili7807s: redundant backlight property --
commit dfbb23459fc3c8847cb20a8c363e813da0ef5bc0
Author: Vishnu Saini <[email protected]>
dt-bindings: display: panel: ilitek,ili7807s: Allow backlight property
This commit adds the backlight property to the Ilitek ILI7807S DSI panel devicetree binding schema.
Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml properties: · line 26
Quoted 9 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml +1
-0@@ -23,6 +23,8 @@ properties: maxItems: 1 description: DSI virtual channel + backlight: true
[Severity: Low]
Is this declaration needed in Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml?
This binding schema already references panel-common.yaml and uses
unevaluatedProperties: false:
allOf:
- $ref: panel-common.yaml#
...
unevaluatedProperties: false
Because Documentation/devicetree/bindings/display/panel/panel-common.yaml already defines the backlight property:
backlight:
$ref: /schemas/types.yaml#/definitions/phandle description:
For panels whose backlight is controlled by an external backlight controller, this property contains a phandle that references the controller.
unevaluatedProperties: false automatically permits all properties defined in panel-common.yaml without re-listing them under properties (just as reset-gpios and port are used in this schema without being listed under properties).
Commit 72cfe73347fac6 ("dt-bindings: display: panel: Drop redundant properties") previously removed redundant backlight: true entries from panel bindings that reference panel-common.yaml and use unevaluatedProperties:
false. Unless the intent was to add backlight to the required list, could this change be dropped?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 6 lines · Vishnu Saini
The DLC0697 panel is lit by a separate backlight device, which is referenced from the panel node through the common 'backlight' property.
Declare 'backlight: true' so the property is explicitly allowed by the schema.
Why do you need to explicitly allow it? Since when?
I see no benefit of this patch and commit msg does not explain me what that benefit would be.
Best regards,
Krzysztof
Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Vishnu Saini
The DLC0697 panel is lit by a separate backlight device, which is referenced from the panel node through the common 'backlight' property.
Quoted 7 lines
Quoted 2 lines
Declare 'backlight: true' so the property is explicitly allowed by the schema.
Why do you need to explicitly allow it? Since when?
I see no benefit of this patch and commit msg does not explain me what that benefit would be.
It is required for below DLC panel, when enabling backlight using gpio-backlight driver, Apologies, missed to add this in dependency there.
https://lore.kernel.org/all/20261021-shikra_display_overlays-v1-2-adaea735999f@oss.qualcomm.com/
Quoted 3 lines
Best regards,
Krzysztof
Quoted 6 lines · Vishnu Saini
Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Vishnu Saini
The DLC0697 panel is lit by a separate backlight device, which is referenced from the panel node through the common 'backlight' property.
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
Declare 'backlight: true' so the property is explicitly allowed by the schema.
Why do you need to explicitly allow it? Since when?
I see no benefit of this patch and commit msg does not explain me what that benefit would be.
It is required for below DLC panel, when enabling backlight using gpio-backlight driver,
How is it required? You did not really answer, so again:
Why do you need to explicitly allow it?
Answer starts "because ... " and you provide technical arguments, not wishes.
Best regards,
Krzysztof
Quoted 14 lines · Krzysztof Kozlowski
Quoted 13 lines · Vishnu Saini
Quoted 12 lines · Krzysztof Kozlowski
Quoted 6 lines · Vishnu Saini
The DLC0697 panel is lit by a separate backlight device, which is referenced from the panel node through the common 'backlight' property.
Declare 'backlight: true' so the property is explicitly allowed by the schema.
Why do you need to explicitly allow it? Since when?
I see no benefit of this patch and commit msg does not explain me what that benefit would be.
Quoted 8 lines
Quoted 1 line
It is required for below DLC panel, when enabling backlight using gpio-backlight driver,
How is it required? You did not really answer, so again:
Why do you need to explicitly allow it?
Answer starts "because ... " and you provide technical arguments, not wishes.
Because the DLC panel node references an external gpio-backlight device through the backlight property, but the current DLC binding does not allow this property.
As a result, adding the backlight phandle to the panel node causes a dtbs_check validation error.
Adding backlight: true to the binding allows the common panel backlight property used by this DT. I will improve the commit message.
Quoted 3 lines
Best regards,
Krzysztof
Quoted 11 lines · Vishnu Saini
Quoted 11 lines
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
Declare 'backlight: true' so the property is explicitly allowed by the schema.
Why do you need to explicitly allow it? Since when?
I see no benefit of this patch and commit msg does not explain me what that benefit would be.
It is required for below DLC panel, when enabling backlight using gpio-backlight driver,
How is it required? You did not really answer, so again:
Quoted 7 lines
Quoted 4 lines
Why do you need to explicitly allow it?
Answer starts "because ... " and you provide technical arguments, not wishes.
Because the DLC panel node references an external gpio-backlight device through the backlight property, but the current DLC binding does not allow this property.
As a result, adding the backlight phandle to the panel node causes adtbs_checkvalidation error.
Thanks, but that's confusing or we looked at different source code, because to my eyes it clearly lists backlight already. Can you show me how can I reproduce the dtbs_check error?
Best regards,
Krzysztof
Quoted 16 lines · Krzysztof Kozlowski
Quoted 15 lines · Vishnu Saini
Quoted 15 lines
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
Declare 'backlight: true' so the property is explicitly allowed by the schema.
Why do you need to explicitly allow it? Since when?
I see no benefit of this patch and commit msg does not explain me what that benefit would be.
It is required for below DLC panel, when enabling backlight using gpio-backlight driver,
How is it required? You did not really answer, so again:
Why do you need to explicitly allow it?
Answer starts "because ... " and you provide technical arguments, not wishes.
Quoted 7 lines
Quoted 3 lines
Because the DLC panel node references an external gpio-backlight device through the backlight property, but the current DLC binding does not allow this property.
As a result, adding the backlight phandle to the panel node causes adtbs_checkvalidation error.Thanks, but that's confusing or we looked at different source code, because to my eyes it clearly lists backlight already. Can you show me how can I reproduce the
dtbs_checkerror?
You are right. I was looking at an older version of the binding which used additionalProperties: false. The current binding uses unevaluatedProperties: false and references panel-common.yaml, where the backlight property is already defined.
Therefore, I cannot reproduce the dtbs_check error with the current binding.
Thanks for pointing this out. This patch is redundent.
Quoted 3 lines
Best regards,
Krzysztof