From patchwork Mon May 10 20:35:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 433174 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp3184554jao; Mon, 10 May 2021 13:35:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyY9czGVe/g/tOnzL6pYefH/wPJHE37OqvT1zwjnpESKcsfBkWNXIgjLwdXuMWelbkJyNCo X-Received: by 2002:a5d:9149:: with SMTP id y9mr19045665ioq.159.1620678922172; Mon, 10 May 2021 13:35:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620678922; cv=none; d=google.com; s=arc-20160816; b=eWoP309TFQhQ5c2HqKhlox4A0nCct17/3hnzYAMoDwQ9gTzeL6NsOUSeq7tUthkBxE OreUcbhtShoKex8ZZeL4Efzms/QKQ66BuJUOHSN/0eQ4KTl+v6mHXoXyBQY9Tg5BwOtW IYw4UaZdo+/gcMT8F21Pvupgim9VldfAhYttjB/fvJpsirUEP6mxv6VbXcud3venHbgs CzM5rwt2/Y0Sn+AWsRtVRXSzOlEUKCaZBqXbzRpya5+P1laBWOMVj7Gng2Zrau/UtAJ3 GEkL7FWmDx5dRSGFH2UsmYD5jJWfVipDZD1ZiHqE7LZlw/BYGmoGc/l5MUTQkEl6Ie7e YzaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nL2nMaqiBYSydQqnUrjLbS0U3ekSRPwP+itlQ42UQbw=; b=GWCCHLBh9ORqBcNd6eIiR3wunxmBCarLBIesUeq+OD8o0I9rhahEcgq6SiX7gfDQs1 3xWvmzgE6DtoVJUNqcR98FuFAZNQwzTv4kIBRdvUXooPtGO6T7Vqlf8s5Iwi49lvgXDN xB5ij29UmDoyWygZfezd94EHhsvYrFwt9TmlaKr6lg31P44PiWljINRlzT9H42GI0qbI JLv9Jiia/Q5jCi3RYBfvNmeKjf1+KyeVXVVBjb29EoqabZyH64u45kgk9IBEE8R8YPp0 tp8h5BNZi57DjNNf8Jfdwwqq7owO0xBAM1olbPih5yFDWzP0JBddNU+J5YDVlWz5y/8/ jBRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x7si18212086ilv.97.2021.05.10.13.35.22; Mon, 10 May 2021 13:35:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231796AbhEJUgY (ORCPT + 4 others); Mon, 10 May 2021 16:36:24 -0400 Received: from mail-oi1-f170.google.com ([209.85.167.170]:33339 "EHLO mail-oi1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229946AbhEJUgW (ORCPT ); Mon, 10 May 2021 16:36:22 -0400 Received: by mail-oi1-f170.google.com with SMTP id b25so11763045oic.0; Mon, 10 May 2021 13:35:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nL2nMaqiBYSydQqnUrjLbS0U3ekSRPwP+itlQ42UQbw=; b=bQDWMWZ7KcrP/0c7Lg7ohq6gZTdQEdlPikMrI2EXBy7VloYQc5uvYAokkZhyFoqjmP jjPWd93XsJhRGBttSZ4d63o9/N42Wd3S3dDStW8r8G6rd3jPXjrCtIOMFZfO/Hsmz4Je 1f5CzA7F2MS06otRCIyWpRGskDW5TQOgDgX7bNE1ZRO6vqzjQ6qIERUPXaqaS8nfYKZM 02yUOIbVWr3XPGYG1LM0w1qy68vqb0FfwlXbZJ9HAS6LjINv9NAbeQdt4Oj95LowGj2H 6I/1d5elCzJhgyERT/rFG/xELOMvct2uvi7FScHCPlg+1fdTxVRHdOwNwZWicNUsVs6S z7rg== X-Gm-Message-State: AOAM531BvTiy7QPFfdOJF5k5IOIZs5afzK+HLDsm8E8UcU4FpLDeQi9f VtL7WWWEhkiOzUGvCbBjdKqUJP4Ggg== X-Received: by 2002:a05:6808:8ee:: with SMTP id d14mr788010oic.18.1620678917302; Mon, 10 May 2021 13:35:17 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id i130sm2866508oif.49.2021.05.10.13.35.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 13:35:16 -0700 (PDT) From: Rob Herring To: Fabrizio Castro , Laurent Pinchart Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Ramesh Shanmugasundaram , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH] dt-bindings: media: renesas,drif: Use graph schema Date: Mon, 10 May 2021 15:35:14 -0500 Message-Id: <20210510203514.603471-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Convert the renesas,drif binding schema to use the graph schema. The binding referred to video-interfaces.txt, but it doesn't actually use any properties from it as 'sync-active' is a custom property. As 'sync-active' is custom, it needs a type definition. Cc: Fabrizio Castro Cc: Mauro Carvalho Chehab Cc: Ramesh Shanmugasundaram Cc: linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org Signed-off-by: Rob Herring --- .../bindings/media/renesas,drif.yaml | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) -- 2.27.0 Reviewed-by: Fabrizio Castro diff --git a/Documentation/devicetree/bindings/media/renesas,drif.yaml b/Documentation/devicetree/bindings/media/renesas,drif.yaml index f1bdaeab4053..ce505a7c006a 100644 --- a/Documentation/devicetree/bindings/media/renesas,drif.yaml +++ b/Documentation/devicetree/bindings/media/renesas,drif.yaml @@ -99,32 +99,26 @@ properties: Indicates that the channel acts as primary among the bonded channels. port: - type: object + $ref: /schemas/graph.yaml#/properties/port + unevaluatedProperties: false description: - Child port node corresponding to the data input, in accordance with the - video interface bindings defined in - Documentation/devicetree/bindings/media/video-interfaces.txt. - The port node must contain at least one endpoint. + Child port node corresponding to the data input. The port node must + contain at least one endpoint. properties: endpoint: - type: object + $ref: /schemas/graph.yaml#/$defs/endpoint-base + unevaluatedProperties: false properties: - remote-endpoint: - description: - A phandle to the remote tuner endpoint subnode in remote node - port. - sync-active: + $ref: /schemas/types.yaml#/definitions/uint32 enum: [0, 1] description: Indicates sync signal polarity, 0/1 for low/high respectively. This property maps to SYNCAC bit in the hardware manual. The default is 1 (active high). - additionalProperties: false - required: - compatible - reg