Skip to contentSkip to conversation

dt-bindings: display: bridge: Drop requirement on input port for DSI devices

PATCH Applied Maxime Ripard 5 participants 20 messages Mar 23, 2022 – Apr 5, 2022

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: display: bridge: Drop requirement on input port for DSI devices

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

---
 .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
 .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
 2 files changed, 2 deletions(-)
Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml +0 -1
index 62c3bd4cb28d..7257fd0ae4da 100644
@@ -51,7 +51,6 @@ properties:
           Video port for MIPI DPI output (panel or connector).
 
     required:
-      - port@0
       - port@1
 
 required:
Documentation/devicetree/bindings/display/bridge/toshiba,tc358762.yaml +0 -1
index 5216c27fc0ad..a412a1da950f 100644
@@ -39,7 +39,6 @@ properties:
           Video port for MIPI DPI output (panel or connector).
 
     required:
-      - port@0
       - port@1
 
 required:
Signature · 1 line
2.35.1
#1 lore raw

Hi Maxime,

(CC'ing Sakari)

Thank you for the patch.

Quoted 7 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

Quoted 6 lines

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

I'm sure this won't come as a surprise, I'm very much opposed to this change, for two reasons.

First, ports are part of the hardware, even if they're not connected. It thus simplifies handling in drivers if they're always present.

Then, and that's the most important reason, I think it's a mistake not to model the DSI data connection using OF graph unconditionally, even when the DSI sink device is also controlled through the DSI bus (using DCS) and is in that case a child of the DSI source device in the DT hierarchy.

The device tree describes a control hierarchy between devices. OF graph overlays on top of that a data transfer graph. The two are different concepts, and the fact that DSI can sometimes be used as a control bus doesn't change the concept. Using OF graph unconditionally to describe the data connections for DSI leads to less variation in the device tree structure, and thus less complexity in the implementation. We're suffering from the fact we haven't made it a requirement in the first place, which can't be fixed due to ABI breakage constraints, but let's not acknowledge it as a good idea.

Quoted 30 lines
---
 .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
 .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
 2 files changed, 2 deletions(-)
Documentation/devicetree/bindings/display/bridge/chipone,icn6211.yaml +0 -1
index 62c3bd4cb28d..7257fd0ae4da 100644
@@ -51,7 +51,6 @@ properties:
           Video port for MIPI DPI output (panel or connector).
 
     required:
-      - port@0
       - port@1
 
 required:
Documentation/devicetree/bindings/display/bridge/toshiba,tc358762.yaml +0 -1
index 5216c27fc0ad..a412a1da950f 100644
@@ -39,7 +39,6 @@ properties:
           Video port for MIPI DPI output (panel or connector).
 
     required:
-      - port@0
       - port@1
 
 required:
Signature · 3 lines
Regards,

Laurent Pinchart
#2 lore raw
Quoted 24 lines · Laurent Pinchart

Hi Maxime,

(CC'ing Sakari)

Thank you for the patch.

Quoted 7 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

Quoted 6 lines

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

I'm sure this won't come as a surprise, I'm very much opposed to this change, for two reasons.

Quoted 8 lines

First, ports are part of the hardware, even if they're not connected. It thus simplifies handling in drivers if they're always present.

Then, and that's the most important reason, I think it's a mistake not to model the DSI data connection using OF graph unconditionally, even when the DSI sink device is also controlled through the DSI bus (using DCS) and is in that case a child of the DSI source device in the DT hierarchy.

That's the way we do for any other device though. You never addressed that comment, but it's very much the same that occurs for i2c or spi controllers and their device. They all get their data from the parent bus. I don't see you advocate for using OF-Graph for those devices.

Quoted 9 lines

The device tree describes a control hierarchy between devices. OF graph overlays on top of that a data transfer graph. The two are different concepts, and the fact that DSI can sometimes be used as a control bus doesn't change the concept. Using OF graph unconditionally to describe the data connections for DSI leads to less variation in the device tree structure, and thus less complexity in the implementation. We're suffering from the fact we haven't made it a requirement in the first place, which can't be fixed due to ABI breakage constraints, but let's not acknowledge it as a good idea.

Honestly, it doesn't matter one bit.

We have a huge discrepancy here today, and only a couple of bridges have that arbitrary restriction. The situation you don't want to acknowledge is the de-facto standard, by the generic binding and by what all the bridges and panels are implementing. Even panel-simple-dsi is doing it. So it's very much there already.

What I'm trying to address here is that some controllers that do everything right can't be used because that restriction is completely arbitrary and in opposition to the consensus. And they can't be used *today*.

If we want to change that consensus, fine, but we should still have one. Having some bridges enforcing custom rules for no reason is very much unacceptable.

And changing that consensus won't happen overtime, we'll have to take care of the backward compatibility, etc. So it won't fix the issue that we can't use any bridge with any controller any time soon.

Maxime

#3 lore raw

Hi Maxime,

Quoted 34 lines · Maxime Ripard
Quoted 24 lines · Laurent Pinchart

Hi Maxime,

(CC'ing Sakari)

Thank you for the patch.

Quoted 7 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

Quoted 6 lines

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

I'm sure this won't come as a surprise, I'm very much opposed to this change, for two reasons.

Quoted 8 lines

First, ports are part of the hardware, even if they're not connected. It thus simplifies handling in drivers if they're always present.

Then, and that's the most important reason, I think it's a mistake not to model the DSI data connection using OF graph unconditionally, even when the DSI sink device is also controlled through the DSI bus (using DCS) and is in that case a child of the DSI source device in the DT hierarchy.

Quoted 4 lines

That's the way we do for any other device though. You never addressed that comment, but it's very much the same that occurs for i2c or spi controllers and their device. They all get their data from the parent bus. I don't see you advocate for using OF-Graph for those devices.

Those are different, there's no data stream independent of the control communications.

Quoted 10 lines
Quoted 9 lines

The device tree describes a control hierarchy between devices. OF graph overlays on top of that a data transfer graph. The two are different concepts, and the fact that DSI can sometimes be used as a control bus doesn't change the concept. Using OF graph unconditionally to describe the data connections for DSI leads to less variation in the device tree structure, and thus less complexity in the implementation. We're suffering from the fact we haven't made it a requirement in the first place, which can't be fixed due to ABI breakage constraints, but let's not acknowledge it as a good idea.

Quoted 7 lines

Honestly, it doesn't matter one bit.

We have a huge discrepancy here today, and only a couple of bridges have that arbitrary restriction. The situation you don't want to acknowledge is the de-facto standard, by the generic binding and by what all the bridges and panels are implementing. Even panel-simple-dsi is doing it. So it's very much there already.

It's here, and I think we should move away from it for new DSI sinks. I'd like OF graph to be used consistently for new drivers. We can't change existing DT bindings and drivers to drop support for the non-OF-graph description due to ABI stability, but we can avoid repeating the mistake going forward.

Quoted 5 lines

What I'm trying to address here is that some controllers that do everything right can't be used because that restriction is completely arbitrary and in opposition to the consensus. And they can't be used *today*.

Quoted 7 lines

If we want to change that consensus, fine, but we should still have one. Having some bridges enforcing custom rules for no reason is very much unacceptable.

And changing that consensus won't happen overtime, we'll have to take care of the backward compatibility, etc. So it won't fix the issue that we can't use any bridge with any controller any time soon.

I don't think that's the issue at hand here. You can still use a non-OF-graph DT event if the nodes for the two bridges affected by this patch define a port@0. It can just be left unconnected.

I do agree it will cause some DT bindings for DCS-based DSI sinks to have ports will others won't. If your concern is that all DT bindings should be coherent, would you be OK with a patch that makes the sink port mandatory in all DT bindings for DSI bridges and panels (and fixes the mainline DT sources accordingly to make sure they validate) ? The port would not be connected of course (at least when used with DSI source drivers that don't use OF graph today). That would make DT bindings coherent, and would be a first step towards using OF graph everywhere.

Signature · 3 lines
Regards,

Laurent Pinchart
#4 lore raw
Quoted 35 lines · Laurent Pinchart
Quoted 34 lines · Maxime Ripard
Quoted 32 lines · Laurent Pinchart

Hi Maxime,

(CC'ing Sakari)

Thank you for the patch.

Quoted 7 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

Quoted 6 lines

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

I'm sure this won't come as a surprise, I'm very much opposed to this change, for two reasons.

First, ports are part of the hardware, even if they're not connected. It thus simplifies handling in drivers if they're always present.

Then, and that's the most important reason, I think it's a mistake not to model the DSI data connection using OF graph unconditionally, even when the DSI sink device is also controlled through the DSI bus (using DCS) and is in that case a child of the DSI source device in the DT hierarchy.

Quoted 7 lines
Quoted 4 lines

That's the way we do for any other device though. You never addressed that comment, but it's very much the same that occurs for i2c or spi controllers and their device. They all get their data from the parent bus. I don't see you advocate for using OF-Graph for those devices.

Those are different, there's no data stream independent of the control communications.

Fine, then you have Ethernet PHYs, or any MMIO device that does DMA.

Quoted 41 lines
Quoted 10 lines
Quoted 9 lines

The device tree describes a control hierarchy between devices. OF graph overlays on top of that a data transfer graph. The two are different concepts, and the fact that DSI can sometimes be used as a control bus doesn't change the concept. Using OF graph unconditionally to describe the data connections for DSI leads to less variation in the device tree structure, and thus less complexity in the implementation. We're suffering from the fact we haven't made it a requirement in the first place, which can't be fixed due to ABI breakage constraints, but let's not acknowledge it as a good idea.

Quoted 7 lines

Honestly, it doesn't matter one bit.

We have a huge discrepancy here today, and only a couple of bridges have that arbitrary restriction. The situation you don't want to acknowledge is the de-facto standard, by the generic binding and by what all the bridges and panels are implementing. Even panel-simple-dsi is doing it. So it's very much there already.

It's here, and I think we should move away from it for new DSI sinks. I'd like OF graph to be used consistently for new drivers. We can't change existing DT bindings and drivers to drop support for the non-OF-graph description due to ABI stability, but we can avoid repeating the mistake going forward.

Quoted 5 lines

What I'm trying to address here is that some controllers that do everything right can't be used because that restriction is completely arbitrary and in opposition to the consensus. And they can't be used *today*.

Quoted 7 lines

If we want to change that consensus, fine, but we should still have one. Having some bridges enforcing custom rules for no reason is very much unacceptable.

And changing that consensus won't happen overtime, we'll have to take care of the backward compatibility, etc. So it won't fix the issue that we can't use any bridge with any controller any time soon.

I don't think that's the issue at hand here. You can still use a non-OF-graph DT event if the nodes for the two bridges affected by this patch define a port@0. It can just be left unconnected.

Quoted 9 lines

I do agree it will cause some DT bindings for DCS-based DSI sinks to have ports will others won't. If your concern is that all DT bindings should be coherent, would you be OK with a patch that makes the sink port mandatory in all DT bindings for DSI bridges and panels (and fixes the mainline DT sources accordingly to make sure they validate) ? The port would not be connected of course (at least when used with DSI source drivers that don't use OF graph today). That would make DT bindings coherent, and would be a first step towards using OF graph everywhere.

I'm trying to fix a (recent) mistake/cargo-cult in new bindings. That discussion is not going to be fairly controversial and I don't see how that can be solved quickly. So, as a second step, why not. But this one needs to come first.

Maxime

#5 lore raw

Hi Maxime,

Quoted 97 lines · Maxime Ripard
Quoted 35 lines · Laurent Pinchart
Quoted 34 lines · Maxime Ripard
Quoted 32 lines · Laurent Pinchart

Hi Maxime,

(CC'ing Sakari)

Thank you for the patch.

Quoted 7 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

Quoted 6 lines

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

I'm sure this won't come as a surprise, I'm very much opposed to this change, for two reasons.

First, ports are part of the hardware, even if they're not connected. It thus simplifies handling in drivers if they're always present.

Then, and that's the most important reason, I think it's a mistake not to model the DSI data connection using OF graph unconditionally, even when the DSI sink device is also controlled through the DSI bus (using DCS) and is in that case a child of the DSI source device in the DT hierarchy.

Quoted 7 lines
Quoted 4 lines

That's the way we do for any other device though. You never addressed that comment, but it's very much the same that occurs for i2c or spi controllers and their device. They all get their data from the parent bus. I don't see you advocate for using OF-Graph for those devices.

Those are different, there's no data stream independent of the control communications.

Fine, then you have Ethernet PHYs, or any MMIO device that does DMA.

Quoted 41 lines
Quoted 10 lines
Quoted 9 lines

The device tree describes a control hierarchy between devices. OF graph overlays on top of that a data transfer graph. The two are different concepts, and the fact that DSI can sometimes be used as a control bus doesn't change the concept. Using OF graph unconditionally to describe the data connections for DSI leads to less variation in the device tree structure, and thus less complexity in the implementation. We're suffering from the fact we haven't made it a requirement in the first place, which can't be fixed due to ABI breakage constraints, but let's not acknowledge it as a good idea.

Quoted 7 lines

Honestly, it doesn't matter one bit.

We have a huge discrepancy here today, and only a couple of bridges have that arbitrary restriction. The situation you don't want to acknowledge is the de-facto standard, by the generic binding and by what all the bridges and panels are implementing. Even panel-simple-dsi is doing it. So it's very much there already.

It's here, and I think we should move away from it for new DSI sinks. I'd like OF graph to be used consistently for new drivers. We can't change existing DT bindings and drivers to drop support for the non-OF-graph description due to ABI stability, but we can avoid repeating the mistake going forward.

Quoted 5 lines

What I'm trying to address here is that some controllers that do everything right can't be used because that restriction is completely arbitrary and in opposition to the consensus. And they can't be used *today*.

Quoted 7 lines

If we want to change that consensus, fine, but we should still have one. Having some bridges enforcing custom rules for no reason is very much unacceptable.

And changing that consensus won't happen overtime, we'll have to take care of the backward compatibility, etc. So it won't fix the issue that we can't use any bridge with any controller any time soon.

I don't think that's the issue at hand here. You can still use a non-OF-graph DT event if the nodes for the two bridges affected by this patch define a port@0. It can just be left unconnected.

Quoted 9 lines

I do agree it will cause some DT bindings for DCS-based DSI sinks to have ports will others won't. If your concern is that all DT bindings should be coherent, would you be OK with a patch that makes the sink port mandatory in all DT bindings for DSI bridges and panels (and fixes the mainline DT sources accordingly to make sure they validate) ? The port would not be connected of course (at least when used with DSI source drivers that don't use OF graph today). That would make DT bindings coherent, and would be a first step towards using OF graph everywhere.

Quoted 4 lines

I'm trying to fix a (recent) mistake/cargo-cult in new bindings. That discussion is not going to be fairly controversial and I don't see how that can be solved quickly. So, as a second step, why not. But this one needs to come first.

I don't think we need to flip the switch in one go, even on the DT binding side, we could agree on a direction for new bindings and then migrate the existing ones. The migration time should be minimized though, I agree about your cargo cult comment though, it's painful. And it shouldn't be difficult to convert all DT bindings in one go if we decide to do so. Changing drivers would be more complex, but that doesn't need to be tied to the bindings.

tl;dr: I'm fine dropping the required port@0 here short term to avoid divergence in bindings, as long as it won't be used as an argument against me in the future to make port@0 mandatory again :-)

Signature · 3 lines
Regards,

Laurent Pinchart
#6 lore raw
Quoted 113 lines · Laurent Pinchart

Hi Maxime,

Quoted 97 lines · Maxime Ripard
Quoted 35 lines · Laurent Pinchart
Quoted 34 lines · Maxime Ripard
Quoted 32 lines · Laurent Pinchart

Hi Maxime,

(CC'ing Sakari)

Thank you for the patch.

Quoted 7 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

Quoted 6 lines

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

I'm sure this won't come as a surprise, I'm very much opposed to this change, for two reasons.

First, ports are part of the hardware, even if they're not connected. It thus simplifies handling in drivers if they're always present.

Then, and that's the most important reason, I think it's a mistake not to model the DSI data connection using OF graph unconditionally, even when the DSI sink device is also controlled through the DSI bus (using DCS) and is in that case a child of the DSI source device in the DT hierarchy.

Quoted 7 lines
Quoted 4 lines

That's the way we do for any other device though. You never addressed that comment, but it's very much the same that occurs for i2c or spi controllers and their device. They all get their data from the parent bus. I don't see you advocate for using OF-Graph for those devices.

Those are different, there's no data stream independent of the control communications.

Fine, then you have Ethernet PHYs, or any MMIO device that does DMA.

Quoted 41 lines
Quoted 10 lines
Quoted 9 lines

The device tree describes a control hierarchy between devices. OF graph overlays on top of that a data transfer graph. The two are different concepts, and the fact that DSI can sometimes be used as a control bus doesn't change the concept. Using OF graph unconditionally to describe the data connections for DSI leads to less variation in the device tree structure, and thus less complexity in the implementation. We're suffering from the fact we haven't made it a requirement in the first place, which can't be fixed due to ABI breakage constraints, but let's not acknowledge it as a good idea.

Quoted 7 lines

Honestly, it doesn't matter one bit.

We have a huge discrepancy here today, and only a couple of bridges have that arbitrary restriction. The situation you don't want to acknowledge is the de-facto standard, by the generic binding and by what all the bridges and panels are implementing. Even panel-simple-dsi is doing it. So it's very much there already.

It's here, and I think we should move away from it for new DSI sinks. I'd like OF graph to be used consistently for new drivers. We can't change existing DT bindings and drivers to drop support for the non-OF-graph description due to ABI stability, but we can avoid repeating the mistake going forward.

Quoted 5 lines

What I'm trying to address here is that some controllers that do everything right can't be used because that restriction is completely arbitrary and in opposition to the consensus. And they can't be used *today*.

Quoted 7 lines

If we want to change that consensus, fine, but we should still have one. Having some bridges enforcing custom rules for no reason is very much unacceptable.

And changing that consensus won't happen overtime, we'll have to take care of the backward compatibility, etc. So it won't fix the issue that we can't use any bridge with any controller any time soon.

I don't think that's the issue at hand here. You can still use a non-OF-graph DT event if the nodes for the two bridges affected by this patch define a port@0. It can just be left unconnected.

Quoted 9 lines

I do agree it will cause some DT bindings for DCS-based DSI sinks to have ports will others won't. If your concern is that all DT bindings should be coherent, would you be OK with a patch that makes the sink port mandatory in all DT bindings for DSI bridges and panels (and fixes the mainline DT sources accordingly to make sure they validate) ? The port would not be connected of course (at least when used with DSI source drivers that don't use OF graph today). That would make DT bindings coherent, and would be a first step towards using OF graph everywhere.

Quoted 4 lines

I'm trying to fix a (recent) mistake/cargo-cult in new bindings. That discussion is not going to be fairly controversial and I don't see how that can be solved quickly. So, as a second step, why not. But this one needs to come first.

I don't think we need to flip the switch in one go, even on the DT binding side, we could agree on a direction for new bindings and then migrate the existing ones. The migration time should be minimized though, I agree about your cargo cult comment though, it's painful. And it shouldn't be difficult to convert all DT bindings in one go if we decide to do so. Changing drivers would be more complex, but that doesn't need to be tied to the bindings.

Quoted 3 lines

tl;dr: I'm fine dropping the required port@0 here short term to avoid divergence in bindings, as long as it won't be used as an argument against me in the future to make port@0 mandatory again :-)

That's what I had in mind all along, so it's fine by me :)

And I plan on staying far away from that discussion

Maxime

#7 lore raw
In reply to Maxime Ripard

Hi Maxime,

Quoted 41 lines · Maxime Ripard
Quoted 40 lines · Laurent Pinchart
Quoted 38 lines · Maxime Ripard
Quoted 24 lines · Laurent Pinchart

Hi Maxime,

(CC'ing Sakari)

Thank you for the patch.

Quoted 7 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

Quoted 6 lines

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

I'm sure this won't come as a surprise, I'm very much opposed to this change, for two reasons.

Quoted 8 lines

First, ports are part of the hardware, even if they're not connected. It thus simplifies handling in drivers if they're always present.

Then, and that's the most important reason, I think it's a mistake not to model the DSI data connection using OF graph unconditionally, even when the DSI sink device is also controlled through the DSI bus (using DCS) and is in that case a child of the DSI source device in the DT hierarchy.

That's the way we do for any other device though. You never addressed that comment, but it's very much the same that occurs for i2c or spi controllers and their device. They all get their data from the parent bus. I don't see you advocate for using OF-Graph for those devices.

Quoted 4 lines
Quoted 2 lines

Those are different, there's no data stream independent of the control communications.

Fine, then you have Ethernet PHYs, or any MMIO device that does DMA.

Have those devices had the need for OF graphs? For display and capture we have a clear need. I don't think we should sometimes use OF graphs and sometimes not, but rather use them consistently at least in any new driver.

Quoted 51 lines
Quoted 41 lines
Quoted 10 lines
Quoted 9 lines

The device tree describes a control hierarchy between devices. OF graph overlays on top of that a data transfer graph. The two are different concepts, and the fact that DSI can sometimes be used as a control bus doesn't change the concept. Using OF graph unconditionally to describe the data connections for DSI leads to less variation in the device tree structure, and thus less complexity in the implementation. We're suffering from the fact we haven't made it a requirement in the first place, which can't be fixed due to ABI breakage constraints, but let's not acknowledge it as a good idea.

Quoted 7 lines

Honestly, it doesn't matter one bit.

We have a huge discrepancy here today, and only a couple of bridges have that arbitrary restriction. The situation you don't want to acknowledge is the de-facto standard, by the generic binding and by what all the bridges and panels are implementing. Even panel-simple-dsi is doing it. So it's very much there already.

It's here, and I think we should move away from it for new DSI sinks. I'd like OF graph to be used consistently for new drivers. We can't change existing DT bindings and drivers to drop support for the non-OF-graph description due to ABI stability, but we can avoid repeating the mistake going forward.

Quoted 5 lines

What I'm trying to address here is that some controllers that do everything right can't be used because that restriction is completely arbitrary and in opposition to the consensus. And they can't be used *today*.

Quoted 7 lines

If we want to change that consensus, fine, but we should still have one. Having some bridges enforcing custom rules for no reason is very much unacceptable.

And changing that consensus won't happen overtime, we'll have to take care of the backward compatibility, etc. So it won't fix the issue that we can't use any bridge with any controller any time soon.

I don't think that's the issue at hand here. You can still use a non-OF-graph DT event if the nodes for the two bridges affected by this patch define a port@0. It can just be left unconnected.

Quoted 9 lines

I do agree it will cause some DT bindings for DCS-based DSI sinks to have ports will others won't. If your concern is that all DT bindings should be coherent, would you be OK with a patch that makes the sink port mandatory in all DT bindings for DSI bridges and panels (and fixes the mainline DT sources accordingly to make sure they validate) ? The port would not be connected of course (at least when used with DSI source drivers that don't use OF graph today). That would make DT bindings coherent, and would be a first step towards using OF graph everywhere.

Quoted 4 lines

I'm trying to fix a (recent) mistake/cargo-cult in new bindings. That discussion is not going to be fairly controversial and I don't see how that can be solved quickly. So, as a second step, why not. But this one needs to come first.

I feel like I don't quite understand the problem and the discussion.

What's the problem this fixes? DT validation? Why not just fix the dts files which use these devices (although I didn't see any in mainline), by adding the port nodes?

Or is the argument that we should also support "implicit ports" when the control and data busses are the same?

Tomi

#8 lore raw

Hi Tomi,

Quoted 42 lines · Tomi Valkeinen
Quoted 41 lines · Maxime Ripard
Quoted 40 lines · Laurent Pinchart
Quoted 38 lines · Maxime Ripard
Quoted 24 lines · Laurent Pinchart

Hi Maxime,

(CC'ing Sakari)

Thank you for the patch.

Quoted 7 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

Quoted 6 lines

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

I'm sure this won't come as a surprise, I'm very much opposed to this change, for two reasons.

Quoted 8 lines

First, ports are part of the hardware, even if they're not connected. It thus simplifies handling in drivers if they're always present.

Then, and that's the most important reason, I think it's a mistake not to model the DSI data connection using OF graph unconditionally, even when the DSI sink device is also controlled through the DSI bus (using DCS) and is in that case a child of the DSI source device in the DT hierarchy.

That's the way we do for any other device though. You never addressed that comment, but it's very much the same that occurs for i2c or spi controllers and their device. They all get their data from the parent bus. I don't see you advocate for using OF-Graph for those devices.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Those are different, there's no data stream independent of the control communications.

Fine, then you have Ethernet PHYs, or any MMIO device that does DMA.

Have those devices had the need for OF graphs?

No, they don't. It's kind of my point actually :)

Quoted 3 lines

For display and capture we have a clear need. I don't think we should sometimes use OF graphs and sometimes not, but rather use them consistently at least in any new driver.

There's a clear need when the data don't follow the obvious path, ie when there's a direct FIFO between a CRTC and its connector. If it was going through that obvious path, like an Ethernet PHY, then we wouldn't need it.

A device being controlled through the DSI bus has that obvious path. If it's taking its data through the DSI bus, but is being controlled by an i2c bus, then it needs an OF-graph node...

Quoted 56 lines
Quoted 51 lines
Quoted 41 lines
Quoted 10 lines
Quoted 9 lines

The device tree describes a control hierarchy between devices. OF graph overlays on top of that a data transfer graph. The two are different concepts, and the fact that DSI can sometimes be used as a control bus doesn't change the concept. Using OF graph unconditionally to describe the data connections for DSI leads to less variation in the device tree structure, and thus less complexity in the implementation. We're suffering from the fact we haven't made it a requirement in the first place, which can't be fixed due to ABI breakage constraints, but let's not acknowledge it as a good idea.

Quoted 7 lines

Honestly, it doesn't matter one bit.

We have a huge discrepancy here today, and only a couple of bridges have that arbitrary restriction. The situation you don't want to acknowledge is the de-facto standard, by the generic binding and by what all the bridges and panels are implementing. Even panel-simple-dsi is doing it. So it's very much there already.

It's here, and I think we should move away from it for new DSI sinks. I'd like OF graph to be used consistently for new drivers. We can't change existing DT bindings and drivers to drop support for the non-OF-graph description due to ABI stability, but we can avoid repeating the mistake going forward.

Quoted 5 lines

What I'm trying to address here is that some controllers that do everything right can't be used because that restriction is completely arbitrary and in opposition to the consensus. And they can't be used *today*.

Quoted 7 lines

If we want to change that consensus, fine, but we should still have one. Having some bridges enforcing custom rules for no reason is very much unacceptable.

And changing that consensus won't happen overtime, we'll have to take care of the backward compatibility, etc. So it won't fix the issue that we can't use any bridge with any controller any time soon.

I don't think that's the issue at hand here. You can still use a non-OF-graph DT event if the nodes for the two bridges affected by this patch define a port@0. It can just be left unconnected.

Quoted 9 lines

I do agree it will cause some DT bindings for DCS-based DSI sinks to have ports will others won't. If your concern is that all DT bindings should be coherent, would you be OK with a patch that makes the sink port mandatory in all DT bindings for DSI bridges and panels (and fixes the mainline DT sources accordingly to make sure they validate) ? The port would not be connected of course (at least when used with DSI source drivers that don't use OF graph today). That would make DT bindings coherent, and would be a first step towards using OF graph everywhere.

Quoted 4 lines

I'm trying to fix a (recent) mistake/cargo-cult in new bindings. That discussion is not going to be fairly controversial and I don't see how that can be solved quickly. So, as a second step, why not. But this one needs to come first.

Quoted 8 lines

I feel like I don't quite understand the problem and the discussion.

What's the problem this fixes? DT validation? Why not just fix the dts files which use these devices (although I didn't see any in mainline), by adding the port nodes?

Or is the argument that we should also support "implicit ports" when the control and data busses are the same?

... But the discussion really is two-fold.

The problem this patch addresses is that there's two odd bridges that have an inconsistent binding with how the rest of the similar devices now. It was a mistake that slipped through review, we should address it.

Then, there's the larger discussion of whether or not we want to push the OF-graph for everyone. But that will require some kind of consensus, some work on the MIPI-DSI encoders that don't have that kind of support, in a backward compatible manner, etc. It's not going to happen over-night, especially since it seems like it's something that would be nice to have, but no-one is really interested in actually making it happen.

And we shouldn't wait for that to happen to fix the inconsistency mentioned above.

Maxime

maintainer Reviewed-by on v1 1/1
#9 lore raw
In reply to Maxime Ripard
Quoted 12 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Quoted 8 lines

Let's drop that requirement.

---
 .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
 .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
 2 files changed, 2 deletions(-)

I tend to agree with port@0 not being needed and really like consistency.

#10 lore raw
Quoted 22 lines · Rob Herring
Quoted 12 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Quoted 8 lines

Let's drop that requirement.

---
  .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
  .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
  2 files changed, 2 deletions(-)
Quoted 2 lines

I tend to agree with port@0 not being needed and really like consistency.

The consistent thing to do would be to always use port@0 and OF graph, no ?

#11 lore raw
Quoted 23 lines · Marek Vasut
Quoted 22 lines · Rob Herring
Quoted 20 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

---
  .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
  .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
  2 files changed, 2 deletions(-)
Quoted 4 lines
Quoted 2 lines

I tend to agree with port@0 not being needed and really like consistency.

The consistent thing to do would be to always use port@0 and OF graph, no ?

I think that's the direction we should take in the long term. I'm not opposed to a short-term consistency-focussed patch that makes the port optional, as long as there's an agreement on the long term goal and this patch won't be used as an argument against it in the future.

Signature · 3 lines
Regards,

Laurent Pinchart
maintainer
#12 lore raw
In reply to Marek Vasut
Quoted 23 lines · Marek Vasut
Quoted 22 lines · Rob Herring
Quoted 20 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Let's drop that requirement.

---
  .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
  .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
  2 files changed, 2 deletions(-)
Quoted 4 lines
Quoted 2 lines

I tend to agree with port@0 not being needed and really like consistency.

The consistent thing to do would be to always use port@0 and OF graph, no ?

I guess it depends how wide our scope for consistency is. Just DSI bus controlled bridges? DSI panels? All bridges and panels? Any panel without a control interface has the same dilemma as those can be a child of the display controller (or bridge) and not even use OF graph.

All simple panels don't require 'port' either. That's presumably only consistent because we made a single schema. I'd assume 'non-simple' panels with their own schema are not consistent.

Rob

#13 lore raw
Quoted 27 lines · Rob Herring
Quoted 26 lines · Marek Vasut
Quoted 24 lines · Rob Herring
Quoted 12 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Quoted 8 lines

Let's drop that requirement.

---
   .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
   .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
   2 files changed, 2 deletions(-)

I tend to agree with port@0 not being needed and really like consistency.

Quoted 6 lines
Quoted 1 line

The consistent thing to do would be to always use port@0 and OF graph, no ?

I guess it depends how wide our scope for consistency is. Just DSI bus controlled bridges? DSI panels? All bridges and panels? Any panel without a control interface has the same dilemma as those can be a child of the display controller (or bridge) and not even use OF graph.

I would likely opt for the OF graph in all cases, panels, bridges, controllers. Then it would be consistent.

Quoted 3 lines

All simple panels don't require 'port' either. That's presumably only consistent because we made a single schema. I'd assume 'non-simple' panels with their own schema are not consistent.

Maybe we would start requiring that port even for simple panels ? The port is physically there on that panel after all.

[...]

maintainer
#14 lore raw
Quoted 39 lines · Marek Vasut
Quoted 27 lines · Rob Herring
Quoted 26 lines · Marek Vasut
Quoted 24 lines · Rob Herring
Quoted 12 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Quoted 8 lines

Let's drop that requirement.

---
   .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
   .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
   2 files changed, 2 deletions(-)

I tend to agree with port@0 not being needed and really like consistency.

Quoted 6 lines
Quoted 1 line

The consistent thing to do would be to always use port@0 and OF graph, no ?

I guess it depends how wide our scope for consistency is. Just DSI bus controlled bridges? DSI panels? All bridges and panels? Any panel without a control interface has the same dilemma as those can be a child of the display controller (or bridge) and not even use OF graph.

I would likely opt for the OF graph in all cases, panels, bridges, controllers. Then it would be consistent.

Quoted 6 lines
Quoted 3 lines

All simple panels don't require 'port' either. That's presumably only consistent because we made a single schema. I'd assume 'non-simple' panels with their own schema are not consistent.

Maybe we would start requiring that port even for simple panels ? The port is physically there on that panel after all.

Fix this in all the dts files and then I'll agree. Though I think this ship has already sailed. I'd like to someday get to platforms without warnings and not just keep adding new warnings.

Rob

#15 lore raw
Quoted 44 lines · Rob Herring
Quoted 43 lines · Marek Vasut
Quoted 27 lines · Rob Herring
Quoted 26 lines · Marek Vasut
Quoted 24 lines · Rob Herring
Quoted 12 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Quoted 8 lines

Let's drop that requirement.

---
    .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
    .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
    2 files changed, 2 deletions(-)

I tend to agree with port@0 not being needed and really like consistency.

Quoted 6 lines
Quoted 1 line

The consistent thing to do would be to always use port@0 and OF graph, no ?

I guess it depends how wide our scope for consistency is. Just DSI bus controlled bridges? DSI panels? All bridges and panels? Any panel without a control interface has the same dilemma as those can be a child of the display controller (or bridge) and not even use OF graph.

I would likely opt for the OF graph in all cases, panels, bridges, controllers. Then it would be consistent.

Quoted 3 lines

All simple panels don't require 'port' either. That's presumably only consistent because we made a single schema. I'd assume 'non-simple' panels with their own schema are not consistent.

Quoted 6 lines
Quoted 2 lines

Maybe we would start requiring that port even for simple panels ? The port is physically there on that panel after all.

Fix this in all the dts files and then I'll agree. Though I think this ship has already sailed. I'd like to someday get to platforms without warnings and not just keep adding new warnings.

I doubt we can fix existing DTs, but can we at least require it for new DTs ?

maintainer
#16 lore raw
Quoted 49 lines · Marek Vasut
Quoted 47 lines · Rob Herring
Quoted 45 lines · Marek Vasut
Quoted 27 lines · Rob Herring
Quoted 26 lines · Marek Vasut
Quoted 24 lines · Rob Herring
Quoted 12 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Quoted 8 lines

Let's drop that requirement.

---
    .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
    .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
    2 files changed, 2 deletions(-)

I tend to agree with port@0 not being needed and really like consistency.

Quoted 6 lines
Quoted 1 line

The consistent thing to do would be to always use port@0 and OF graph, no ?

I guess it depends how wide our scope for consistency is. Just DSI bus controlled bridges? DSI panels? All bridges and panels? Any panel without a control interface has the same dilemma as those can be a child of the display controller (or bridge) and not even use OF graph.

I would likely opt for the OF graph in all cases, panels, bridges, controllers. Then it would be consistent.

Quoted 3 lines

All simple panels don't require 'port' either. That's presumably only consistent because we made a single schema. I'd assume 'non-simple' panels with their own schema are not consistent.

Maybe we would start requiring that port even for simple panels ? The port is physically there on that panel after all.

Quoted 6 lines
Quoted 3 lines

Fix this in all the dts files and then I'll agree. Though I think this ship has already sailed. I'd like to someday get to platforms without warnings and not just keep adding new warnings.

I doubt we can fix existing DTs, but can we at least require it for new DTs ?

We don't have any way to do that currently and get to warning free for all DTs. We'd need to be able to disable specific checks for specific DTs. I've thought about it, but haven't come up with a way to do it.

Rob

#17 lore raw
Quoted 52 lines · Rob Herring
Quoted 51 lines · Marek Vasut
Quoted 49 lines · Rob Herring
Quoted 38 lines · Marek Vasut
Quoted 27 lines · Rob Herring
Quoted 26 lines · Marek Vasut
Quoted 24 lines · Rob Herring
Quoted 12 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Quoted 8 lines

Let's drop that requirement.

---
    .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
    .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
    2 files changed, 2 deletions(-)

I tend to agree with port@0 not being needed and really like consistency.

Quoted 6 lines
Quoted 1 line

The consistent thing to do would be to always use port@0 and OF graph, no ?

I guess it depends how wide our scope for consistency is. Just DSI bus controlled bridges? DSI panels? All bridges and panels? Any panel without a control interface has the same dilemma as those can be a child of the display controller (or bridge) and not even use OF graph.

I would likely opt for the OF graph in all cases, panels, bridges, controllers. Then it would be consistent.

Quoted 6 lines
Quoted 3 lines

All simple panels don't require 'port' either. That's presumably only consistent because we made a single schema. I'd assume 'non-simple' panels with their own schema are not consistent.

Maybe we would start requiring that port even for simple panels ? The port is physically there on that panel after all.

Fix this in all the dts files and then I'll agree. Though I think this ship has already sailed. I'd like to someday get to platforms without warnings and not just keep adding new warnings.

Quoted 6 lines
Quoted 2 lines

I doubt we can fix existing DTs, but can we at least require it for new DTs ?

We don't have any way to do that currently and get to warning free for all DTs. We'd need to be able to disable specific checks for specific DTs. I've thought about it, but haven't come up with a way to do it.

I think Marek may have meant new bindings. While I do agree that inconsistencies in sources can cause new submissions to blindly copy mistakes, it shouldn't be a reason in itself to carry historical binding design mistakes in new bindings.

Signature · 3 lines
Regards,

Laurent Pinchart
maintainer
#18 lore raw
Quoted 56 lines · Laurent Pinchart
Quoted 55 lines · Rob Herring
Quoted 53 lines · Marek Vasut
Quoted 43 lines · Rob Herring
Quoted 42 lines · Marek Vasut
Quoted 27 lines · Rob Herring
Quoted 26 lines · Marek Vasut
Quoted 24 lines · Rob Herring
Quoted 12 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

However, some bridges controlled through the DSI bus still require an input OF-Graph port, thus requiring a controller with an OF-Graph output port. This prevents those bridges from being used with the controllers that do not have one without any particular reason to.

Quoted 8 lines

Let's drop that requirement.

---
    .../devicetree/bindings/display/bridge/chipone,icn6211.yaml      | 1 -
    .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml     | 1 -
    2 files changed, 2 deletions(-)

I tend to agree with port@0 not being needed and really like consistency.

Quoted 6 lines
Quoted 1 line

The consistent thing to do would be to always use port@0 and OF graph, no ?

I guess it depends how wide our scope for consistency is. Just DSI bus controlled bridges? DSI panels? All bridges and panels? Any panel without a control interface has the same dilemma as those can be a child of the display controller (or bridge) and not even use OF graph.

I would likely opt for the OF graph in all cases, panels, bridges, controllers. Then it would be consistent.

Quoted 3 lines

All simple panels don't require 'port' either. That's presumably only consistent because we made a single schema. I'd assume 'non-simple' panels with their own schema are not consistent.

Quoted 6 lines
Quoted 2 lines

Maybe we would start requiring that port even for simple panels ? The port is physically there on that panel after all.

Fix this in all the dts files and then I'll agree. Though I think this ship has already sailed. I'd like to someday get to platforms without warnings and not just keep adding new warnings.

I doubt we can fix existing DTs, but can we at least require it for new DTs ?

Quoted 8 lines
Quoted 3 lines

We don't have any way to do that currently and get to warning free for all DTs. We'd need to be able to disable specific checks for specific DTs. I've thought about it, but haven't come up with a way to do it.

I think Marek may have meant new bindings. While I do agree that inconsistencies in sources can cause new submissions to blindly copy mistakes, it shouldn't be a reason in itself to carry historical binding design mistakes in new bindings.

This patch and the whole thread is about consistency of existing bindings.

The only way to get some consistency reliably (beyond depending on reviews which doesn't achieve it) is either have a meta-schema to check something or make it a common schema. If we have new and old bindings, then we'd need panel-simple-old.yaml and panel-simple-new.yaml. There's other options probably, but not without more work on the tools.

Rob

author Applied
#19 lore raw

Re: (subset) [PATCH] dt-bindings: display: bridge: Drop requirement on input port for DSI devices

In reply to Maxime Ripard
Quoted 8 lines · Maxime Ripard

MIPI-DSI devices, if they are controlled through the bus itself, have to be described as a child node of the controller they are attached to.

Thus, there's no requirement on the controller having an OF-Graph output port to model the data stream: it's assumed that it would go from the parent to the child.

[...]

Applied to drm/drm-misc (drm-misc-fixes).

Thanks!
Maxime