[PATCH v3 2/6] dt-bindings: Use new video interface bus type macros in examples
Sakari Ailus
sakari.ailus at iki.fi
Sat Jul 16 02:28:45 PDT 2022
Hi Laurent,
On Thu, Jun 16, 2022 at 01:14:06AM +0300, Laurent Pinchart wrote:
> Now that a header exists with macros for the media interface bus-type
> values, replace hardcoding numerical constants with the corresponding
> macros in the DT binding examples.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> Changes since v2:
>
> - Go back to PARALLEL
>
> Changes since v1:
>
> - Rename PARALLEL to BT601
> ---
> .../devicetree/bindings/display/bridge/analogix,anx7625.yaml | 1 +
> Documentation/devicetree/bindings/media/i2c/mipi-ccs.yaml | 3 ++-
> Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml | 3 ++-
> .../devicetree/bindings/media/marvell,mmp2-ccic.yaml | 3 ++-
> Documentation/devicetree/bindings/media/microchip,xisc.yaml | 3 ++-
> Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml | 4 +++-
> 6 files changed, 12 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> index 35a48515836e..b0e5585f93e2 100644
> --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> @@ -118,6 +118,7 @@ additionalProperties: false
> examples:
> - |
> #include <dt-bindings/gpio/gpio.h>
> + #include <dt-bindings/media/video-interfaces.h>
>
> i2c0 {
> #address-cells = <1>;
The definition doesn't seem to be used here. Is there a need to include
this?
I could drop this chunk while applying. There's just one trivial change
elsewhere in this patch to make.
--
Kind regards,
Sakari Ailus
More information about the linux-arm-kernel
mailing list