* [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg
[not found] <cover.1611572142.git.xji@analogixsemi.com>
@ 2021-01-25 11:12 ` Xin Ji
2021-01-25 14:51 ` Rob Herring
2021-01-25 15:41 ` Rob Herring
0 siblings, 2 replies; 5+ messages in thread
From: Xin Ji @ 2021-01-25 11:12 UTC (permalink / raw)
To: Rob Herring, David Airlie, Nicolas Boichat, Hsin-Yi Wang
Cc: Daniel Vetter, Sam Ravnborg, Laurent Pinchart, Maxime Ripard,
Mark Brown, Ricardo Cañuelo, dri-devel, devicetree,
Sheng Pan, linux-kernel
Add 'bus-type' and 'data-lanes' define for port0, add HDCP support
flag and DP tx lane0 and lane1 swing register array define.
Signed-off-by: Xin Ji <xji@analogixsemi.com>
---
.../bindings/display/bridge/analogix,anx7625.yaml | 57 ++++++++++++++++++++--
1 file changed, 54 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
index 60585a4..3b1cbe0 100644
--- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
@@ -34,23 +34,69 @@ properties:
description: used for reset chip control, RESET_N pin B7.
maxItems: 1
+ analogix,lane0-swing:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description:
+ an array of swing register setting for DP tx lane0 PHY, please don't
+ add this property, or contact vendor.
+
+ analogix,lane1-swing:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description:
+ an array of swing register setting for DP tx lane1 PHY, please don't
+ add this property, or contact vendor.
+
+ analogix,hdcp-support:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: indicate the DP tx HDCP support or not.
+
ports:
type: object
+ additionalProperties: false
properties:
port@0:
type: object
description:
- Video port for MIPI DSI input.
+ Video port for MIPI input.
+
+ properties:
+ endpoint:
+ type: object
+ additionalProperties: false
+
+ # Properties described in
+ # Documentation/devicetree/bindings/media/video-interfaces.txt
+ properties:
+ remote-endpoint: true
+ bus-type: true
+ data-lanes: true
+
+ required:
+ - remote-endpoint
+
+ required:
+ - endpoint
port@1:
type: object
description:
Video port for panel or connector.
+ properties:
+ endpoint:
+ type: object
+ additionalProperties: false
+
+ required:
+ - remote-endpoint
+
+ required:
+ - endpoint
+
required:
- - port@0
- - port@1
+ - port@0
+ - port@1
required:
- compatible
@@ -73,6 +119,10 @@ examples:
enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
+ analogix,lane0-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>;
+ analogix,lane1-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>;
+ analogix,hdcp-support = <0>;
+
ports {
#address-cells = <1>;
#size-cells = <0>;
@@ -81,6 +131,7 @@ examples:
reg = <0>;
anx7625_in: endpoint {
remote-endpoint = <&mipi_dsi>;
+ bus-type = <5>;
};
};
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg
2021-01-25 11:12 ` [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg Xin Ji
@ 2021-01-25 14:51 ` Rob Herring
2021-01-26 10:18 ` Xin Ji
2021-01-25 15:41 ` Rob Herring
1 sibling, 1 reply; 5+ messages in thread
From: Rob Herring @ 2021-01-25 14:51 UTC (permalink / raw)
To: Xin Ji
Cc: devicetree, Mark Brown, linux-kernel, dri-devel, Daniel Vetter,
Sam Ravnborg, Laurent Pinchart, Rob Herring, Sheng Pan,
Hsin-Yi Wang, Nicolas Boichat, David Airlie, Ricardo Cañuelo,
Maxime Ripard
On Mon, 25 Jan 2021 19:12:21 +0800, Xin Ji wrote:
> Add 'bus-type' and 'data-lanes' define for port0, add HDCP support
> flag and DP tx lane0 and lane1 swing register array define.
>
> Signed-off-by: Xin Ji <xji@analogixsemi.com>
> ---
> .../bindings/display/bridge/analogix,anx7625.yaml | 57 ++++++++++++++++++++--
> 1 file changed, 54 insertions(+), 3 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.example.dt.yaml: encoder@58: ports: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+'
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.example.dt.yaml: encoder@58: ports:port@1:endpoint: Additional properties are not allowed ('remote-endpoint' was unexpected)
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
See https://patchwork.ozlabs.org/patch/1431199
This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg
2021-01-25 11:12 ` [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg Xin Ji
2021-01-25 14:51 ` Rob Herring
@ 2021-01-25 15:41 ` Rob Herring
2021-01-26 10:22 ` Xin Ji
1 sibling, 1 reply; 5+ messages in thread
From: Rob Herring @ 2021-01-25 15:41 UTC (permalink / raw)
To: Xin Ji
Cc: David Airlie, Nicolas Boichat, Hsin-Yi Wang, Daniel Vetter,
Sam Ravnborg, Laurent Pinchart, Maxime Ripard, Mark Brown,
Ricardo Cañuelo, dri-devel, devicetree, Sheng Pan,
linux-kernel
On Mon, Jan 25, 2021 at 07:12:21PM +0800, Xin Ji wrote:
> Add 'bus-type' and 'data-lanes' define for port0, add HDCP support
> flag and DP tx lane0 and lane1 swing register array define.
>
> Signed-off-by: Xin Ji <xji@analogixsemi.com>
> ---
> .../bindings/display/bridge/analogix,anx7625.yaml | 57 ++++++++++++++++++++--
> 1 file changed, 54 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> index 60585a4..3b1cbe0 100644
> --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> @@ -34,23 +34,69 @@ properties:
> description: used for reset chip control, RESET_N pin B7.
> maxItems: 1
>
> + analogix,lane0-swing:
> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + description:
> + an array of swing register setting for DP tx lane0 PHY, please don't
> + add this property, or contact vendor.
> +
> + analogix,lane1-swing:
> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + description:
> + an array of swing register setting for DP tx lane1 PHY, please don't
> + add this property, or contact vendor.
> +
> + analogix,hdcp-support:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description: indicate the DP tx HDCP support or not.
Sounds like a boolean.
> +
> ports:
> type: object
> + additionalProperties: false
>
> properties:
> port@0:
> type: object
> description:
> - Video port for MIPI DSI input.
> + Video port for MIPI input.
You're going to need to rebase this one drm-misc-next which uses the
graph schema now.
> +
> + properties:
> + endpoint:
> + type: object
> + additionalProperties: false
> +
> + # Properties described in
> + # Documentation/devicetree/bindings/media/video-interfaces.txt
> + properties:
> + remote-endpoint: true
> + bus-type: true
> + data-lanes: true
> +
> + required:
> + - remote-endpoint
> +
> + required:
> + - endpoint
>
> port@1:
> type: object
> description:
> Video port for panel or connector.
>
> + properties:
> + endpoint:
> + type: object
> + additionalProperties: false
> +
> + required:
> + - remote-endpoint
> +
> + required:
> + - endpoint
> +
> required:
> - - port@0
> - - port@1
> + - port@0
> + - port@1
>
> required:
> - compatible
> @@ -73,6 +119,10 @@ examples:
> enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
> reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
>
> + analogix,lane0-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>;
> + analogix,lane1-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>;
> + analogix,hdcp-support = <0>;
> +
> ports {
> #address-cells = <1>;
> #size-cells = <0>;
> @@ -81,6 +131,7 @@ examples:
> reg = <0>;
> anx7625_in: endpoint {
> remote-endpoint = <&mipi_dsi>;
> + bus-type = <5>;
> };
> };
>
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg
2021-01-25 14:51 ` Rob Herring
@ 2021-01-26 10:18 ` Xin Ji
0 siblings, 0 replies; 5+ messages in thread
From: Xin Ji @ 2021-01-26 10:18 UTC (permalink / raw)
To: Rob Herring
Cc: David Airlie, Nicolas Boichat, Hsin-Yi Wang, Daniel Vetter,
Sam Ravnborg, Laurent Pinchart, Maxime Ripard, Mark Brown,
Ricardo Cañuelo, dri-devel, devicetree, Sheng Pan,
linux-kernel
On Mon, Jan 25, 2021 at 08:51:35AM -0600, Rob Herring wrote:
> On Mon, 25 Jan 2021 19:12:21 +0800, Xin Ji wrote:
> > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support
> > flag and DP tx lane0 and lane1 swing register array define.
> >
> > Signed-off-by: Xin Ji <xji@analogixsemi.com>
> > ---
> > .../bindings/display/bridge/analogix,anx7625.yaml | 57 ++++++++++++++++++++--
> > 1 file changed, 54 insertions(+), 3 deletions(-)
> >
>
> My bot found errors running 'make dt_binding_check' on your patch:
Hi Rob, OK, I'll fix it in the next serial.
Thanks,
Xin
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.example.dt.yaml: encoder@58: ports: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+'
> From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.example.dt.yaml: encoder@58: ports:port@1:endpoint: Additional properties are not allowed ('remote-endpoint' was unexpected)
> From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
>
> See https://patchwork.ozlabs.org/patch/1431199
>
> This check can fail if there are any dependencies. The base for a patch
> series is generally the most recent rc1.
>
> If you already ran 'make dt_binding_check' and didn't see the above
> error(s), then make sure 'yamllint' is installed and dt-schema is up to
> date:
>
> pip3 install dtschema --upgrade
>
> Please check and re-submit.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg
2021-01-25 15:41 ` Rob Herring
@ 2021-01-26 10:22 ` Xin Ji
0 siblings, 0 replies; 5+ messages in thread
From: Xin Ji @ 2021-01-26 10:22 UTC (permalink / raw)
To: Rob Herring
Cc: David Airlie, Nicolas Boichat, Hsin-Yi Wang, Daniel Vetter,
Sam Ravnborg, Laurent Pinchart, Maxime Ripard, Mark Brown,
Ricardo Cañuelo, dri-devel, devicetree, Sheng Pan,
linux-kernel
Hi Rob, thanks for the comments, I'll fix the issue on the next serial.
Thanks,
Xin
On Mon, Jan 25, 2021 at 09:41:43AM -0600, Rob Herring wrote:
> On Mon, Jan 25, 2021 at 07:12:21PM +0800, Xin Ji wrote:
> > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support
> > flag and DP tx lane0 and lane1 swing register array define.
> >
> > Signed-off-by: Xin Ji <xji@analogixsemi.com>
> > ---
> > .../bindings/display/bridge/analogix,anx7625.yaml | 57 ++++++++++++++++++++--
> > 1 file changed, 54 insertions(+), 3 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> > index 60585a4..3b1cbe0 100644
> > --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> > +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> > @@ -34,23 +34,69 @@ properties:
> > description: used for reset chip control, RESET_N pin B7.
> > maxItems: 1
> >
> > + analogix,lane0-swing:
> > + $ref: /schemas/types.yaml#/definitions/uint32-array
> > + description:
> > + an array of swing register setting for DP tx lane0 PHY, please don't
> > + add this property, or contact vendor.
> > +
> > + analogix,lane1-swing:
> > + $ref: /schemas/types.yaml#/definitions/uint32-array
> > + description:
> > + an array of swing register setting for DP tx lane1 PHY, please don't
> > + add this property, or contact vendor.
> > +
> > + analogix,hdcp-support:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > + description: indicate the DP tx HDCP support or not.
>
> Sounds like a boolean.
OK, I'll change it to boolean.
>
> > +
> > ports:
> > type: object
> > + additionalProperties: false
> >
> > properties:
> > port@0:
> > type: object
> > description:
> > - Video port for MIPI DSI input.
> > + Video port for MIPI input.
>
> You're going to need to rebase this one drm-misc-next which uses the
> graph schema now.
OK, I'll rebase it.
>
> > +
> > + properties:
> > + endpoint:
> > + type: object
> > + additionalProperties: false
> > +
> > + # Properties described in
> > + # Documentation/devicetree/bindings/media/video-interfaces.txt
> > + properties:
> > + remote-endpoint: true
> > + bus-type: true
> > + data-lanes: true
> > +
> > + required:
> > + - remote-endpoint
> > +
> > + required:
> > + - endpoint
> >
> > port@1:
> > type: object
> > description:
> > Video port for panel or connector.
> >
> > + properties:
> > + endpoint:
> > + type: object
> > + additionalProperties: false
> > +
> > + required:
> > + - remote-endpoint
> > +
> > + required:
> > + - endpoint
> > +
> > required:
> > - - port@0
> > - - port@1
> > + - port@0
> > + - port@1
> >
> > required:
> > - compatible
> > @@ -73,6 +119,10 @@ examples:
> > enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
> > reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
> >
> > + analogix,lane0-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>;
> > + analogix,lane1-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>;
> > + analogix,hdcp-support = <0>;
> > +
> > ports {
> > #address-cells = <1>;
> > #size-cells = <0>;
> > @@ -81,6 +131,7 @@ examples:
> > reg = <0>;
> > anx7625_in: endpoint {
> > remote-endpoint = <&mipi_dsi>;
> > + bus-type = <5>;
> > };
> > };
> >
> > --
> > 2.7.4
> >
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-01-26 12:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cover.1611572142.git.xji@analogixsemi.com>
2021-01-25 11:12 ` [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg Xin Ji
2021-01-25 14:51 ` Rob Herring
2021-01-26 10:18 ` Xin Ji
2021-01-25 15:41 ` Rob Herring
2021-01-26 10:22 ` Xin Ji
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).