Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp653955pxb; Thu, 12 Nov 2020 12:51:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyeDU7lbFubng2Dqmq8+Iwdcll6id0HNyq7+v/pMycWFxZHqIXfcRZSB9mthJDCg5X2leZ X-Received: by 2002:a50:bb25:: with SMTP id y34mr1797889ede.249.1605214290775; Thu, 12 Nov 2020 12:51:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605214290; cv=none; d=google.com; s=arc-20160816; b=ubZZ0AxYja+a0ayb0uORv8PZGDCJ31mcIq0tj7WBpJ2a3Ko6g7AmiJ1CSImzcefRGb P0OsTRCEljq4a5h/hcrjXDqB01rG7PGHN+aSqkvFnkgC6FlAXt8lWrwMEukwGlCwDGp1 9qxVROenubunyvweA7BHgzKvTNf7oPGgnSfnWZTkDc9pxU97zURXr2xsVaZwIZSE8mDj hRW9qmLMSaOOkkn+mMzdKeB5HIpYurMuxOOcfi3I0DcvZ0vokhLrDj+5UEP8q7Divi+y CDHzko18YidcgG/261cvvwXbF56FkLjO8D6zuINBAtQ/5jn+5s/yockAz/stneSb4fA0 X9sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7LTXQ3GWfIxfxSJ9GDv5Hc5k/Zo185PGqd4pXIwMi2I=; b=uL5sb/84U9znkhHvF8B3UeAYSvmgBRB+4Gf1/Gkaw+P0ZhCojX8eYBefqPSPbUmg+t 3+O97PqePq9CQbemNSSVfaZSTjUmCfGOPcWBWxyKKZo7azVBkWQQHztXvbbWNXYY4BT0 /geJTtJYmwJTYfiKtp0sdvHXF7mibLRgdB717fA5lhio76Mx50REO+snQ7UaakXT+9wt VJr2UFmkoJQd1G4etVj8xayMAqzXkEuOYMFnxxACLy6J7REOG0kVIonGvac608XmOx7a fBc+tuHKfvFr9AhX3KmlIRfvQ1gp9L0xqTbOFr7GbMJ8P95OyR2+sQHajI/XvrSwIg8U xyEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OAXMhXzi; 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 m20si4288496ejc.60.2020.11.12.12.51.07; Thu, 12 Nov 2020 12:51:30 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=OAXMhXzi; 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 S1727153AbgKLUtT (ORCPT + 99 others); Thu, 12 Nov 2020 15:49:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:59380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727138AbgKLUtS (ORCPT ); Thu, 12 Nov 2020 15:49:18 -0500 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EB12B22227; Thu, 12 Nov 2020 20:49:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605214158; bh=wrKaWD3LoEi3Ttr+MBj6uJxawKgQ0puebVWPB/EXaKA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=OAXMhXziASJ9REsiyRT2peJV1Eni+CQ+BxxB7kFyOWOmPL0t7MXJJHVZXZ8Vw9wYa k/tm6+ld1H/u1bxUqtTYnLLSfhxxnpPyrLSRB8mzNhOpIsX6bB96xdDpr4/puUVDa0 RpPBwJYmQxFkGA4jWWgz8sxf5zuszFvylq35kQkw= Received: by mail-oi1-f179.google.com with SMTP id w188so7950249oib.1; Thu, 12 Nov 2020 12:49:17 -0800 (PST) X-Gm-Message-State: AOAM532WuUerCXQrBY4VzECSBUeXJ2kXfs/YcRv9sgYCow4GHfxcgsiW BaVJfqlo6q2S0fj8RMUzZ8XxLg3yO+6FNBRTTA== X-Received: by 2002:aca:5dc2:: with SMTP id r185mr1100963oib.106.1605214157168; Thu, 12 Nov 2020 12:49:17 -0800 (PST) MIME-Version: 1.0 References: <20201102203656.220187-1-robh@kernel.org> <20201102203656.220187-2-robh@kernel.org> In-Reply-To: <20201102203656.220187-2-robh@kernel.org> From: Rob Herring Date: Thu, 12 Nov 2020 14:49:06 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/3] dt-bindings: Convert graph bindings to json-schema To: Sameer Pujar , Laurent Pinchart , Sam Ravnborg , Mark Brown Cc: dri-devel , "linux-kernel@vger.kernel.org" , Thierry Reding , Philipp Zabel , Kuninori Morimoto , Jacopo Mondi , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 2, 2020 at 2:36 PM Rob Herring wrote: > > From: Sameer Pujar > > Convert device tree bindings of graph to YAML format. Currently graph.txt > doc is referenced in multiple files and all of these need to use schema > references. For now graph.txt is updated to refer to graph.yaml. > > For users of the graph binding, they should reference to the graph > schema from either 'ports' or 'port' property: > > properties: > ports: > type: object > $ref: graph.yaml#/properties/ports > > properties: > port@0: > description: What data this port has > > ... > > Or: > > properties: > port: > description: What data this port has > type: object > $ref: graph.yaml#/properties/port > > Signed-off-by: Sameer Pujar > Acked-by: Philipp Zabel > Signed-off-by: Rob Herring > --- > v3: > - Move port 'reg' to port@* and make required > - Make remote-endpoint required > - Add 'additionalProperties: true' now required > - Fix yamllint warnings > > Documentation/devicetree/bindings/graph.txt | 129 +----------- > Documentation/devicetree/bindings/graph.yaml | 199 +++++++++++++++++++ > 2 files changed, 200 insertions(+), 128 deletions(-) > create mode 100644 Documentation/devicetree/bindings/graph.yaml I've decided to move this to the dt-schema repo instead[1]. I think that will be easier to manage dependencies (audio-graph.yaml plus anything else landing this cycle) than subsystems pulling a shared branch. I haven't merged it yet, so let me know if any comments/objections. Note that the meta-schema will have to come a bit later once existing users are updated (which I have patches for). Rob [1] https://github.com/devicetree-org/dt-schema/tree/of-graph