Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3584896ybc; Thu, 14 Nov 2019 11:20:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzpLpIme/E1eHbiyCWh0mmxnnvvGtGzWRaAhwcGLrFKEqAlZI7Ns2Rz+RSbJ+TnwXg2YMTQ X-Received: by 2002:a2e:b014:: with SMTP id y20mr8074639ljk.223.1573759251926; Thu, 14 Nov 2019 11:20:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573759251; cv=none; d=google.com; s=arc-20160816; b=UOo2ufSdqaOpXl9Wm7aN72XAnQRAqG+cyxcyV5eTyCmDeo/oGU66AUYSKzxk9fNetg aYTAkDkxF6VeFFb5ljozB4fn937nr22KaTWo1U1JfXEAblWp5hdaxG6f+iOtslFmy3vN jFeSIlbfkzeC35MyoYhH8pvqWp7rXE2cVVcvG83v/Tm6cqNS0ClaNFHxRqOSqxsSgEQQ +XHX39zX9Kv27+DyXKMiNqFjT5j/MiEZmEVHqep7EYBbtDS+zfnSLMvsVfwbczfSQGs/ 2oTcxZDELldF2SrMxqvY5JEI1gvYOBq8m9RBhZNm+y5oPKdHUzH3Aeq/JetsKn7Ahwah NxKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4IsLNh9XMoQBdvulmO/iuC5KMTdNRjARPKR6yxL0CXE=; b=dHXx93scm0gyW/ePC72U/832ipigRy3wIgxLWMz0Fs+CzGgr1gX0F14oMfXBfoavEs PGWvDNr1YecENiXGblKa7mTwA9Z0Jn1pkUCuFon1ncEk1HT7iEH/stFUFWR7B1OXRVyn kpSevdteIsOpTnpuIaTumiSVQSJDK9QsN2vJE5Lo5eQk99IBG72Kqq2ShwqfEbc3l/sG wVg865o3gId+LAZGrVfqOq762TIKVgdC/KAYAshMLsR6ONYHlM+3n/V1EnABsImMYvZN MOMHn8TeQXOCHymAZ3POdV/vq0nle7IvmSI9aYEOMYBj84pSkJ360v9LG9vKO0vmnIDO mkjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h15si4141023ejt.387.2019.11.14.11.20.26; Thu, 14 Nov 2019 11:20:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbfKNTT3 (ORCPT + 99 others); Thu, 14 Nov 2019 14:19:29 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:43113 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726444AbfKNTT3 (ORCPT ); Thu, 14 Nov 2019 14:19:29 -0500 Received: by mail-ot1-f66.google.com with SMTP id l14so5850758oti.10; Thu, 14 Nov 2019 11:19:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4IsLNh9XMoQBdvulmO/iuC5KMTdNRjARPKR6yxL0CXE=; b=OdqkIjoDBl9FTaVlGrtmWZhftlMjHycKHf8cDGDo21D4PUS6JWw9UceGEPEdO/Mo0w byPQhV0mCIWXXm4xKL7SJL3VSwc7TjdwkD+Q+5NW/auskARhEDNjaYqREnk8ATOjqEul 816ySVj6XCoBQymtNiCUVxdEwNRYWlgYoyor9TVkZ+i5mn53zk6CeLpo0HeQj5dce4hr H8MBPVCMjtWusvuZ332GGkdWPp8PLeJTQ61gI5IxbQ7hhY3IGI449bDufTbxmzapJvqr YjJX8hUrQFDQiV69rMB5PtDREZFp9Gi0QrbcrzAU8dJgxCpmIs0Duff8s2j28ZVuQN/h YPbA== X-Gm-Message-State: APjAAAXo+rbHVAFhzxWtQ3TZg0tu+4lCBWN45hiDpz5i5n98UFudpry8 BynGzT1IifoWAzEeJW99sg== X-Received: by 2002:a9d:1b70:: with SMTP id l103mr9142804otl.154.1573759168337; Thu, 14 Nov 2019 11:19:28 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id t2sm2065500otm.75.2019.11.14.11.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2019 11:19:27 -0800 (PST) Date: Thu, 14 Nov 2019 13:19:27 -0600 From: Rob Herring To: Chunyan Zhang Cc: Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Orson Zhai , Baolin Wang , Chunyan Zhang Subject: Re: [PATCH v2 1/5] dt-bindings: arm: Convert sprd board/soc bindings to json-schema Message-ID: <20191114191927.GA12025@bogus> References: <20191111090230.3402-1-chunyan.zhang@unisoc.com> <20191111090230.3402-2-chunyan.zhang@unisoc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191111090230.3402-2-chunyan.zhang@unisoc.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 11, 2019 at 05:02:26PM +0800, Chunyan Zhang wrote: > > Convert Unisoc (formerly Spreadtrum) SoC bindings to DT schema format > using json-schema. > > Signed-off-by: Chunyan Zhang > --- > .../devicetree/bindings/arm/sprd.txt | 14 --------- > .../devicetree/bindings/arm/sprd.yaml | 29 +++++++++++++++++++ > 2 files changed, 29 insertions(+), 14 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/arm/sprd.txt > create mode 100644 Documentation/devicetree/bindings/arm/sprd.yaml > > diff --git a/Documentation/devicetree/bindings/arm/sprd.txt b/Documentation/devicetree/bindings/arm/sprd.txt > deleted file mode 100644 > index 3df034b13e28..000000000000 > --- a/Documentation/devicetree/bindings/arm/sprd.txt > +++ /dev/null > @@ -1,14 +0,0 @@ > -Spreadtrum SoC Platforms Device Tree Bindings > ----------------------------------------------------- > - > -SC9836 openphone Board > -Required root node properties: > - - compatible = "sprd,sc9836-openphone", "sprd,sc9836"; > - > -SC9860 SoC > -Required root node properties: > - - compatible = "sprd,sc9860" > - > -SP9860G 3GFHD Board > -Required root node properties: > - - compatible = "sprd,sp9860g-1h10", "sprd,sc9860"; > diff --git a/Documentation/devicetree/bindings/arm/sprd.yaml b/Documentation/devicetree/bindings/arm/sprd.yaml > new file mode 100644 > index 000000000000..8540758188d8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/sprd.yaml > @@ -0,0 +1,29 @@ > +# SPDX-License-Identifier: GPL-2.0 You made all the commits to the old file, so can you dual license: # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) With that: Reviewed-by: Rob Herring > +# Copyright 2019 Unisoc Inc. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/sprd.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Unisoc platforms device tree bindings > + > +maintainers: > + - Orson Zhai > + - Baolin Wang > + - Chunyan Zhang > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - items: > + - enum: > + - sprd,sc9836-openphone > + - const: sprd,sc9836 > + - items: > + - enum: > + - sprd,sp9860g-1h10 > + - const: sprd,sc9860 > + > +... > -- > 2.20.1 > >