Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3686538pxu; Mon, 30 Nov 2020 08:16:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwH44HGhRS1O1h2Jw2j0px8AD2UdotGep7s06NWzizHHT2cUrdMD+fVLpvg6qbhXW4SLQW X-Received: by 2002:a2e:544f:: with SMTP id y15mr10298092ljd.337.1606752967677; Mon, 30 Nov 2020 08:16:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606752967; cv=none; d=google.com; s=arc-20160816; b=NRRlIRKohmXGfcoXbKB0+hJv5Ib8CYXiebHJHU+5IFGXWIj2EW1Gu4pH4fJeG5JwTq 2RQ5U6KHKsB/91/DeJE8N5cANZ7ma9+rCq6egZstgNcF+Td9CQFDGBEv/9jFMw6SCmas iuYi2b3AUx3QjIfdGyqAUZGcF8hNhUnYZKjoUowBLIhWWOt3NW6fhS9xYya0PxmHRjgB lAaxgWBYySYwd6xx2R5pY3EKKwNlGqi+T6NcPaGokIHBS/9u3XfvqoYAFqCUn7Bx0XFX t7ayNHK8OJ0x/K8K35ntRev1GFZV/a7MBIMoQEEjYDbnCf0hn/3FEKM6drpQTf5FKFJz 5Tsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=3WACwy3ygvJf2UXwwWw2mk9VXhkOetYM3PqKoUEjmTM=; b=D5k9nfolv41141RejzxKX8/KbN9xZeH4gN0N0ZkAUkAj6ozoHPm/uVo+t0LUe+0Vbf blcuHn5ZHi4hpYmuBhUM61Mfl4NvQO5tQW1NgdTNbsYnaLp45pMrT9AZ6g7pxzUcgS+3 UYtgImzLKWgowShM8DwjtX56/lNU39vNNT+xCgnDf+NAJQPryhEcMkLtcqHkb1zna0DB 1ry38MXbLSvDpc3DEaeris/71Fl5PTQjnYrKd4SIZBDW16hCFmG/jLuc9VtUriKm2Blb dA9p2pAuV+CiDpIZc+eVaB0P/QI67wjYK14lFZ3siDNP2itKMnJJ8YwArw7/YYUaSbRn Ccmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fdzM643D; 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 c11si12940340edw.311.2020.11.30.08.15.42; Mon, 30 Nov 2020 08:16:07 -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; dkim=pass header.i=@kernel.org header.s=default header.b=fdzM643D; 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 S1728658AbgK3QNo (ORCPT + 99 others); Mon, 30 Nov 2020 11:13:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:52224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726213AbgK3QNo (ORCPT ); Mon, 30 Nov 2020 11:13:44 -0500 Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D8EF22087C; Mon, 30 Nov 2020 16:13:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606752783; bh=wuan7nT2b3j/ysuAroybQAZQ8NB/ed1lLmOF9ZpUHhQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fdzM643DQwdapNgIL/8Foi9Rmb5HM+BBBgjOdQutwpztsTTQCu5+nxKdiLubyqXEU LW4ZNZFMrTA7AHxizzx8FkkCmdnl7tW+GPI7Obm1Ws6I2qqvd9g/KyoCec44zIarnQ ygy7FGFb53obaRZwHl2I/2tcwjVVFUJnjslrRUwU= Received: by mail-ed1-f46.google.com with SMTP id l5so16871281edq.11; Mon, 30 Nov 2020 08:13:02 -0800 (PST) X-Gm-Message-State: AOAM5324kHn43P7frKY/qU7i1xkHALflRkV4EXQnvnOj8aa16Imyfj74 fzst/tMe+Pu3og+u6jQQ/u7QCyeXF/Ni6Xd65g== X-Received: by 2002:aa7:c816:: with SMTP id a22mr5805431edt.373.1606752781185; Mon, 30 Nov 2020 08:13:01 -0800 (PST) MIME-Version: 1.0 References: <20201116173141.31873-1-kishon@ti.com> <20201116173141.31873-2-kishon@ti.com> <20201118211139.GA1815279@bogus> <1e9b0b56-a42d-bea0-704b-6209532b1abe@ti.com> <1ed82ab5-6171-108d-9b92-a18389044174@ti.com> In-Reply-To: <1ed82ab5-6171-108d-9b92-a18389044174@ti.com> From: Rob Herring Date: Mon, 30 Nov 2020 09:12:49 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: pci: ti,j721e: Fix "ti,syscon-pcie-ctrl" to take argument To: Kishon Vijay Abraham I Cc: Lorenzo Pieralisi , Tero Kristo , Nishanth Menon , Tom Joseph , Bjorn Helgaas , linux-omap , linux-arm-kernel , devicetree@vger.kernel.org, PCI , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 26, 2020 at 5:53 AM Kishon Vijay Abraham I wrote: > > Hi Rob, > > On 20/11/20 10:39 am, Kishon Vijay Abraham I wrote: > > Hi Rob, > > > > On 19/11/20 2:41 am, Rob Herring wrote: > >> On Mon, Nov 16, 2020 at 11:01:39PM +0530, Kishon Vijay Abraham I wrote: > >>> Fix binding documentation of "ti,syscon-pcie-ctrl" to take phandle with > >>> argument. The argument is the register offset within "syscon" used to > >>> configure PCIe controller. > >>> > >>> Link: Link: http://lore.kernel.org/r/CAL_JsqKiUcO76bo1GoepWM1TusJWoty_BRy2hFSgtEVMqtrvvQ@mail.gmail.com > >> > >> Link: Link: ? > >> > >> AIUI, 'Link' is supposed to be a link to this patch. I guess more than 1 > >> Link would be okay though. > > > > Two Links was a typo, will fix it in the next revision. Nishanth as well > > was asking about using "Link:" tag for a mailing list discussion. > > > > I started using it after Lorenzo had asked me to use Link tag for > > mailing list discussion here sometime back. > > > > https://patchwork.kernel.org/project/linux-pci/patch/20171219083627.7904-1-kishon@ti.com/#21350261 > > > >> > >>> Signed-off-by: Kishon Vijay Abraham I > >>> --- > >>> .../devicetree/bindings/pci/ti,j721e-pci-ep.yaml | 12 ++++++++---- > >>> .../devicetree/bindings/pci/ti,j721e-pci-host.yaml | 12 ++++++++---- > >>> 2 files changed, 16 insertions(+), 8 deletions(-) > >>> > >>> diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml > >>> index 3ae3e1a2d4b0..e9685c0bdc3e 100644 > >>> --- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml > >>> +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml > >>> @@ -29,9 +29,13 @@ properties: > >>> - const: mem > >>> > >>> ti,syscon-pcie-ctrl: > >>> - description: Phandle to the SYSCON entry required for configuring PCIe mode > >>> - and link speed. > >>> - $ref: /schemas/types.yaml#/definitions/phandle > >>> + allOf: > >> > >> You no longer need allOf here. > > > > hmm, don't we need it for specifying phandle with fixed cells? FWIW, I > > was referring > > > > https://github.com/devicetree-org/dt-schema/blob/master/test/schemas/good-example.yaml#L187 > > Can you clarify this please? We are now using json-schema v2019.09 syntax which doesn't ignore keywords in addition to a $ref as draft7 and earlier did. The old way with 'allOf' still works though. I just haven't updated the above test cases. Rob