From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 46E7FECE58C for ; Fri, 11 Oct 2019 07:53:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1379020679 for ; Fri, 11 Oct 2019 07:53:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Kotkwd6s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1379020679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QapCemVi4wqjv8UGeFNRhO9aQSM78miuJ2RuuO7igAU=; b=Kotkwd6sjDUOAa K/XhUz04kAwe1NPvAcbt5PB7cILg0+i5dMw0jMcSLRV7P9A761fVDN8n0vIGL6mzSb5LSDceCSKcK HjvlK4dyCIFSIXw8zzAMyEATwTwrjOdH4fItYwjXHMqR2YGfIcE86/1meMC/mHL7MwRWSwbdYiQoS YCBCci4KjIXWn3eEa+A0raCUeN7+Gaba+wh8JI7/6hmXjIm4T6bMxXY/jIbBEHheKQ6dcaca9aGKQ mtSGscq+Zxqqx0vOucKmGvqxcxHmB35rS4EAXVIfRWeBzus7toJviop3WRDazVj9RuC4hFUn0hg8j cgOBIhqPkRUl/ei8bF2Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iIpjV-0000WZ-J3; Fri, 11 Oct 2019 07:53:05 +0000 Received: from mail-wr1-f65.google.com ([209.85.221.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iIpjP-0000VK-Ew for linux-arm-kernel@lists.infradead.org; Fri, 11 Oct 2019 07:53:02 +0000 Received: by mail-wr1-f65.google.com with SMTP id q9so10725190wrm.8 for ; Fri, 11 Oct 2019 00:52:58 -0700 (PDT) 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=EwPBmMRYQqmwwMpYc8okL9s1LKq8P2O4QBbeYixrVK4=; b=Zp/b7BC7HErigVgdzmBhaLFWtGIvMBVhrx9wd5/OOgWu1vKgYIXX6SqSt2BzilmQOC cNbpJERbS/Dv3FH/rOCIvEL0siA2oXHKCLUJFiZ6ecP9cqvofX5Talw4eRYWsBZBfjcy NWxtSpgQWu1Mh7oiVgajpQw57bEg4Yes0jyXqS8lauE3yeqFb1dnY3OaU4hFgXL2hoxm soKoKYneoRCrcjDBG1w1HqowfnU+zVbAsFb5R8r15cp23RwXPLhLVQiZ7OM8D9OABeic vc7BtgX1GyypKNrqlZhLX1tX79CYC7cqV49GyqW0lttO46kfVwG3P+Y40eI6e3q16uIN XRiA== X-Gm-Message-State: APjAAAWEmToRCyVk5Xl6w/EhxNetwDCDeOd6RvjsOxPnOQm34ydaFBto zEAw86X+KYV17JJUlylifzI= X-Google-Smtp-Source: APXvYqxUy16ah5vufdoPXO9FppUIVRbpWBWt1wAegLgSI9eN5KbSUDFilIoDI6Bb75H+vXTIy2Z4Rg== X-Received: by 2002:a5d:6949:: with SMTP id r9mr8819898wrw.106.1570780376664; Fri, 11 Oct 2019 00:52:56 -0700 (PDT) Received: from pi3 ([194.230.155.145]) by smtp.googlemail.com with ESMTPSA id b22sm7040031wmj.36.2019.10.11.00.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 00:52:55 -0700 (PDT) Date: Fri, 11 Oct 2019 09:52:53 +0200 From: Krzysztof Kozlowski To: Rob Herring Subject: Re: [PATCH v3 02/10] dt-bindings: sram: Convert Samsung Exynos SYSRAM bindings to json-schema Message-ID: <20191011075253.GA7998@pi3> References: <20191002164316.14905-1-krzk@kernel.org> <20191002164316.14905-2-krzk@kernel.org> <20191010193356.GA9975@bogus> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191010193356.GA9975@bogus> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191011_005259_499927_95A2A74D X-CRM114-Status: GOOD ( 21.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Andrew Lunn , Tony Lindgren , Thierry Reding , Fabio Estevam , linux-samsung-soc@vger.kernel.org, Gregory Clement , Jonathan Hunter , Kukjin Kim , NXP Linux Team , Sebastian Hesselbarth , devicetree@vger.kernel.org, Jason Cooper , Sascha Hauer , Santosh Shilimkar , linux-tegra@vger.kernel.org, =?utf-8?Q?Beno=C3=AEt?= Cousson , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Pengutronix Kernel Team , Shawn Guo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 10, 2019 at 02:33:56PM -0500, Rob Herring wrote: > On Wed, Oct 02, 2019 at 06:43:08PM +0200, Krzysztof Kozlowski wrote: > > Convert Samsung Exynos SYSRAM bindings to DT schema format using > > json-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > > > --- > > > > Changes since v2: > > 1. Use sram as name of node in example. > > > > Changes since v1: > > 1. Indent example with four spaces (more readable). > > --- > > .../devicetree/bindings/sram/samsung-sram.txt | 38 ------------ > > .../bindings/sram/samsung-sram.yaml | 58 +++++++++++++++++++ > > MAINTAINERS | 2 +- > > 3 files changed, 59 insertions(+), 39 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/sram/samsung-sram.txt > > create mode 100644 Documentation/devicetree/bindings/sram/samsung-sram.yaml > > > > diff --git a/Documentation/devicetree/bindings/sram/samsung-sram.yaml b/Documentation/devicetree/bindings/sram/samsung-sram.yaml > > new file mode 100644 > > index 000000000000..3e77c434ecca > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/sram/samsung-sram.yaml > > @@ -0,0 +1,58 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/sram/samsung-sram.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Samsung Exynos SoC SYSRAM for SMP bringup > > + > > +maintainers: > > + - Krzysztof Kozlowski > > + > > +description: |+ > > + Samsung SMP-capable Exynos SoCs use part of the SYSRAM for the bringup > > + of the secondary cores. Once the core gets powered up it executes the > > + code that is residing at some specific location of the SYSRAM. > > + > > + Therefore reserved section sub-nodes have to be added to the mmio-sram > > + declaration. These nodes are of two types depending upon secure or > > + non-secure execution environment. > > + > > +allOf: > > + - $ref: "sram.yaml#" > > + > > +properties: > > + $nodename: > > + pattern: "^sysram(@.*)?" > > As you are renaming all the node names, this will no longer work. If you > change it to 'sram', that's going to match others, but would still work > as long as the child node names are unique to Samsung. If you change > them to '*-sram' then, you'd have to come up with something else. That > probably means using 'compatible' strings. At that point, it's kind of > silly to just be validating what your are using to select the schema. It > may be better to just add the compatible strings into sram.yaml if > that's the only difference. You're right. I'll move them to sram.yaml and maybe add also example. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel