Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp15203pxb; Mon, 2 Nov 2020 12:39:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+X5WzrQIXwQAMLrdumtKVHiKbxOj/i8K7+mXM2DwJRGQLBSWUo4/zs4EW4xhw7RtqTSXX X-Received: by 2002:a17:906:cb03:: with SMTP id lk3mr16741601ejb.491.1604349582863; Mon, 02 Nov 2020 12:39:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604349582; cv=none; d=google.com; s=arc-20160816; b=kYcWQM3iSK9TQjnMoTrIeAp2hiE2GulQ7OuIU/7gjoER75NqXDUUsyIVGbG9RktMiy NcpTQcSqXGapYeX+UCVinBAaFPrvCgBUHDQmL0QiexGGFceJNCW9+8CnOlUJjwEVnI+v Mc7uX/VKV1t5pKG29yNYCLNuh0DTG6Ml1Cu6aB+puMzzwjelWZ0JGrgaqRyrjAxG8uFV zXUEW9ejXIDHxwwA9rCn4buV5N61vwRYhU1KDQKrlxpULgxpWdYSe3jjxKHsEF4BxYSg Mmz5HrByjCkTgaptdiRpJr2OKGLR2DRNNYqUEjCYK4p17N6gJkCBGX1gGXiPXTtFlECB cufw== 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=uFSEGZ6IywCOn6dgS5P+UZ4EJXlfBKPx+ftUbF+PZ2/ACD1xAX7FaUQhW2Ocq5+vgV nBJLiLpUZw7WJdU2qVAYuSS3y4u8Y8Eh7cOYZ7FCa0bPU1hg1XRZsF1MRW0FBuuk3kFu gfhlPcXSxXc4KQLxp8l8Yi8EfR1QGxoj3rrBtiqsb+BmAj38ZLuLCCCWRT7w8KzDnLN1 w/g58aF0L1F7ck9z2vBkOL3eKb5avg5CL0ejPP9YlfDRgI8iruFocj8RWHr08RVNfGYW ArxC/72V5389mxzoPsCwQW1L2QXvgRbPqvycG3NxJYfysS97s+85fSu72wCRsiw8hPVn JscQ== 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 y23si12054605edm.338.2020.11.02.12.39.19; Mon, 02 Nov 2020 12:39:42 -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; 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 S1726826AbgKBUg7 (ORCPT + 99 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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