From patchwork Mon Nov 2 20:36:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 11875225 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 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