Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2909216pxj; Mon, 10 May 2021 13:36:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWDSmxm8kuCyLSeekSCxUi/nu4pJd4tnr90VayWWwEe5mQpNn0rr6P4ObHtgBQF25hQ3KN X-Received: by 2002:a05:6e02:d53:: with SMTP id h19mr22581777ilj.232.1620678984860; Mon, 10 May 2021 13:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620678984; cv=none; d=google.com; s=arc-20160816; b=Ml7uHXsX/o2PIBBcsRGdMOx+hfce/CRwEL3vtE21zcpJdJhd1k+21UwXDs2NMCWqUL WQFcoyjWVOqVsOtXojtypmUX/l6oET1z2mpAj65CcWPdHVwLT7mT3tt1i+zEeAHsxcjK 34EBGNCLJk0MrcMor5iWogJ9guwHR83vwj8IVwmxLaT2Lslz7odfoB8yZ/N6yRbtSG0I Kxf3IvzCul0GgYzihV5iJnMDAafHhVNNNmBZvBv48wGglhBXX1Piyw9p+XP8eTqm6A8l /kLQPDFLDeWsPssg4AkGAIwkkMFB3HDa9ADGmU2shtCOEwd4dsAPESmMsq9/BuvlmXcg lSnQ== 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=t7WaiZFlVG19n8a6yQPGDNEkJTXuC6Gr7QkK67hEcCFiunb5+HlI2gyNKmIJ9RrgVV S1Ur4OO7WbUN1aDiVvfwCoPkwOJgwz7p3wQSqoJN0/Py7okvTUkZ1iIlNhCY1p9fI0fu +8hYkpHNb2b/n8CKqw4trob/FCzGMk0XUWOGH7x3nfghED+A+nV+J6vIfw57im3suf48 nxfFGfhQsiyXCzODsWia2tK3z0ZoAQw/FM49UcDZnK9g0gKXOIIa++zk/HUj6wXEPzlA Rlom6mz5Maar6/SCZ6Vv635mBS3WJcRGyljYMsgFktcw2m4m9Xc4Fq/ObWFYQ5vnRoIs zINw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 y3si16873088iom.73.2021.05.10.13.36.11; Mon, 10 May 2021 13:36:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S231904AbhEJUgZ (ORCPT + 99 others); Mon, 10 May 2021 16:36:25 -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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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 -- 2.27.0