From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56500C00A89 for ; Mon, 2 Nov 2020 20:37:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DD67B206F8 for ; Mon, 2 Nov 2020 20:36:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604349419; bh=adnZARac6ntRinSx/pOFcyV82z+6qL/mqcPZFM+LXic=; h=From:To:Cc:Subject:Date:List-ID:From; b=W0jAuM6sgg9LDGNWj5p6fDvLfPiT5FcJmHDnB0seA7RMXDLBl+Z6nNghjkEIo8804 +LrRr98Kwn2fabJVxHkStFeY5Qg6t63BWB1CSqhJ0+iVZxscceLsHnzUwFMpdsxGFP uS8gU++A4wczWsDfoVsLwuw29nusK2Eqan+RQMTk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725806AbgKBUg7 (ORCPT ); Mon, 2 Nov 2020 15:36:59 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:35775 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725801AbgKBUg6 (ORCPT ); Mon, 2 Nov 2020 15:36:58 -0500 Received: by mail-ot1-f65.google.com with SMTP id n11so13912876ota.2; Mon, 02 Nov 2020 12:36:58 -0800 (PST) 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=o49aI9WHH7NAbNkzIi0ty0+QOTQw851+/7lSKbsX7Fg=; b=G3AXASqbxOPiHURFlHwnCyXZDMrMpSyQ15zcAOX/+9YXD7TRcJ1xS4yPeZz96S8R1f 3CMfQDuL/ugV5a+RLd8+YiRhJBztGvWtLyoQetVEOlsjH57Nq+BGyTGFQbnRekF5BPXI Xp0/YodgEWZ3FCRg+Gso6Xw2coD8wKeHUymYctZvQY4BjL6NDxynIZWaDsPAjkmWfgCx 4RqRApEbiApEf1rXx8rWAlcgwTE8QFnE/32znfozH+ioz4/1QGy4BpuI94dgUi+T3+LZ iZTKEl00Di/jNoy+1YSpI4LsKiZCdxQHTKQlpO8DE3Dy2DDVJi85npzi2tIXq9i/tTSc QOJQ== X-Gm-Message-State: AOAM532UuC6Aycw0jKiIAqSYDL28GTImqalAya377lYtgASllHhGfe6q 2/TjVbbdpbM03dfPIhTxGYh89o5n5w== X-Google-Smtp-Source: ABdhPJzhJo64kJT3Sj2tCRef01F4L5IxDAbzuwCEDkm1GRBRbzYhoif+TuGiltccSnRWvZArs6aYVQ== X-Received: by 2002:a9d:731a:: with SMTP id e26mr3164822otk.53.1604349417756; Mon, 02 Nov 2020 12:36:57 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id z8sm3839151otm.45.2020.11.02.12.36.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 12:36:56 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, Sameer Pujar , Laurent Pinchart Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Philipp Zabel , kuninori.morimoto.gx@renesas.com, Jacopo Mondi Subject: [PATCH v3 0/3] dt-bindings: Convert graph bindings to json-schema Date: Mon, 2 Nov 2020 14:36:53 -0600 Message-Id: <20201102203656.220187-1-robh@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Sameer, I wanted to experiment with what the interface for graph users looks like, so I've tweaked your patch a bit and converted 2 users. This series converts the DT graph binding to a schema. Users of the graph binding should reference the schema from 'ports' or 'port' node. Users will still need to define what each port node is and any additional properties that appear in port or endpoint nodes. I'm still considering whether to apply graph.yaml to the dtschema repo instead. Then I can sync adding it with a meta-schema update to check for a reference. Rob Rob Herring (2): dt-bindings: usb-connector: Add reference to graph schema dt-bindings: panel: common: Add reference to graph schema Sameer Pujar (1): dt-bindings: Convert graph bindings to json-schema .../bindings/connector/usb-connector.yaml | 10 +- .../bindings/display/panel/panel-common.yaml | 7 +- Documentation/devicetree/bindings/graph.txt | 129 +----------- Documentation/devicetree/bindings/graph.yaml | 199 ++++++++++++++++++ 4 files changed, 209 insertions(+), 136 deletions(-) create mode 100644 Documentation/devicetree/bindings/graph.yaml -- 2.25.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57629C2D0A3 for ; Mon, 2 Nov 2020 20:37:01 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C582720719 for ; Mon, 2 Nov 2020 20:37:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C582720719 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C5E236E2ED; Mon, 2 Nov 2020 20:36:59 +0000 (UTC) Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6B01A6E2ED for ; Mon, 2 Nov 2020 20:36:58 +0000 (UTC) Received: by mail-ot1-f65.google.com with SMTP id g19so4461704otp.13 for ; Mon, 02 Nov 2020 12:36:58 -0800 (PST) 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=o49aI9WHH7NAbNkzIi0ty0+QOTQw851+/7lSKbsX7Fg=; b=oeijeXEKXhV5xtRE9j55yv+gNG2W2k6jyPXkUVtaTFDRhS5kZhTH6Aqw0c8SwZdpd2 XN9KibCixnfM5J1qLFBFqWFI4fdvQExD18gOgP7XA4GslAt+1qVSDx8qeItuwZc4Lu2Y 7Gmsx+KiCEd7ZNH5zzJNklPetDB7qgFb7dm2lM/3p8HSHc++eVI6d6dv/KVAP0CowTIQ 0x6Vt8cs1wIMxc2HdABxQfLEsPawcbuVhA9WA6r52XM3PFt8KdoQFZBu4XW0cULBJD9W jffr90QUH+I/sP07B8WL4CyqfGhHp7rNtkRyEB7fBewTWYzoT/TOO2tuqkFqrnDFbFiw CDFg== X-Gm-Message-State: AOAM530m5igKoDDhe0qtOvWZbvfxGlK/ASdqaQDtIasliBx3XKtpsk9I 1wPuWWr5KjOmP1aDOwHWuSUr/IT8jg== X-Google-Smtp-Source: ABdhPJzhJo64kJT3Sj2tCRef01F4L5IxDAbzuwCEDkm1GRBRbzYhoif+TuGiltccSnRWvZArs6aYVQ== X-Received: by 2002:a9d:731a:: with SMTP id e26mr3164822otk.53.1604349417756; Mon, 02 Nov 2020 12:36:57 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id z8sm3839151otm.45.2020.11.02.12.36.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 12:36:56 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, Sameer Pujar , Laurent Pinchart Subject: [PATCH v3 0/3] dt-bindings: Convert graph bindings to json-schema Date: Mon, 2 Nov 2020 14:36:53 -0600 Message-Id: <20201102203656.220187-1-robh@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kuninori.morimoto.gx@renesas.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thierry Reding , Jacopo Mondi , Sam Ravnborg Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Sameer, I wanted to experiment with what the interface for graph users looks like, so I've tweaked your patch a bit and converted 2 users. This series converts the DT graph binding to a schema. Users of the graph binding should reference the schema from 'ports' or 'port' node. Users will still need to define what each port node is and any additional properties that appear in port or endpoint nodes. I'm still considering whether to apply graph.yaml to the dtschema repo instead. Then I can sync adding it with a meta-schema update to check for a reference. Rob Rob Herring (2): dt-bindings: usb-connector: Add reference to graph schema dt-bindings: panel: common: Add reference to graph schema Sameer Pujar (1): dt-bindings: Convert graph bindings to json-schema .../bindings/connector/usb-connector.yaml | 10 +- .../bindings/display/panel/panel-common.yaml | 7 +- Documentation/devicetree/bindings/graph.txt | 129 +----------- Documentation/devicetree/bindings/graph.yaml | 199 ++++++++++++++++++ 4 files changed, 209 insertions(+), 136 deletions(-) create mode 100644 Documentation/devicetree/bindings/graph.yaml -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel