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: 320370 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp4031158ilc; Mon, 2 Nov 2020 12:36:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxg2s1D80CenbCZOxMa4i4Saa//IgVLXXUoFp1AvLYpyPoziC7jCF0hiaHBoTYnbdd/AubM X-Received: by 2002:a50:8d48:: with SMTP id t8mr18823498edt.228.1604349419756; Mon, 02 Nov 2020 12:36:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604349419; cv=none; d=google.com; s=arc-20160816; b=NB+4vWamVRopgFSMcqFOJDneOTqY0rnPNFsErdIeb6JiOA+Prcw8a9p60eJliReaVc 3K4EweO/yfPhlAoko+zR0sgETM0WAm/K1e/gOn3rQDHhXKEanQ1KOLW0BMMz+k1kcaTe P3vvIZq6acrqNCQnuw6Ualj5CTZBNR5kLNXIaC4goZgfQpiOj5MI4idv5il9LAbmNMN/ WYctEUaViZjvj8SW7DCsw0hC5cdzjT7JRjTGalqnGundinGlQs2BUVKNuWxUrY5bVuRZ Kyp+mh+rvo+N0hLAU2GUIpO0b6cKGRl87RVEvr/WBxugNHzZ9uAIeNIGxkbe9+dEwtvZ vlIw== 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=o49aI9WHH7NAbNkzIi0ty0+QOTQw851+/7lSKbsX7Fg=; b=eRo+6Epbl2rUI6+FkRDCNFu1+xIDcqtYIPJCQW2vzDnzWLaTOvXwbOEfJDu2DZYUVl k5Bvh8WH+60pUs01bRnAAFn2Wj7DpU8pOXpIQ2gciJsBscmOB/ZmeHogl3keaikggETB cqHFCbOgfLRJCniDfH8k8/lpsUmIMCKbv940T9sTokhvoh0AuKBLv1TCwMpjhDGrN7b9 vWTyPBGG04RVjVNn5zsaA8p5X7P2HrYjx6b5UOrZSGVmpB/xrrhdtnYtsGRpQb4Xap9t MyIrMlJKzh3MNpZxgCICd6IExk98rJAyJQr6G8Kfb2o/azjR8Eeo2ZUd6bueOSAQcJgR 1Uug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 ce29si1029565edb.220.2020.11.02.12.36.59; Mon, 02 Nov 2020 12:36:59 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1725806AbgKBUg7 (ORCPT + 6 others); 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-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 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