From patchwork Wed Mar 25 22:05:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 184819 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1129784ile; Wed, 25 Mar 2020 15:05:53 -0700 (PDT) X-Google-Smtp-Source: ADFU+vubJCyJU14LStwKHnAage8apbO79XLQlXczUFgqeWBg3OvPC4PaL8kJASEZ/VNWHE5U+tsq X-Received: by 2002:a17:90a:7784:: with SMTP id v4mr6112742pjk.134.1585173953437; Wed, 25 Mar 2020 15:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585173953; cv=none; d=google.com; s=arc-20160816; b=CywWQoElzd02qT7tr3EY0sXdYoJ7Li9dbuIjn1muIPVLMLIoNKn8qr4vYiSpLtHfy4 pXtiIGDqwVioYbdNHyYWj/LeitnJyTETDV0cekxg0HJx6rHE0oWNnzl0x35LrB5m+oUX ErZZSfNMUuObAecd4jmpJu6yxwbHtaXygcY7KX4bohJNbWDQs7LvFx7w0X6zWguW1faM s6ir1LHNrHdKbcVtTrse3+LHHCjIjBOHI4kTkEzNDS39G78FAW4eNCBrCrj63jlFt2jU QzuAugwkLgdJQ9p7/kqc770FYu24+DKFLu5NucIujk4QlvY03tlZYodNxOLZa/7WzjJz m4Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=EJtBwohFKlG4Q88alhK1n4OGjaezYXly4uVQqtJn/3w=; b=dq0I85dRnbGXhi6eyatW45F03rVFL71tdrlLwwbpv/326H8lqFdXVNCTYW0YS6esr6 g8YeB+7yqox0bLrfE/o8ftWvd24UstHboEVQ7/A+kCHAKGclqwhlf1LE4GRJMWuAwnFu CzKstsCqQRdmjqLVeZ371WlCUA4lntbxj/UBBwRGW5KGmEqk7+4mP2hmKN0NfvJ4lQZI axifV/E2ENc2oVuTPw/5Kv8u9PW0yMBVR3TYIQTLUdIzoDTD8dTqBsf2R8H5/W/eK58f NXTSGQfs/v1HIodAeREpJ2Dwa/BIx81S4My8xK59fW0bGGWrUdd8WYWdsAWEJJ14xMMn MOcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 192si72320pgc.381.2020.03.25.15.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2020 15:05:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7D5026E841; Wed, 25 Mar 2020 22:05:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id 52A4E6E841 for ; Wed, 25 Mar 2020 22:05:49 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id q128so3981682iof.9 for ; Wed, 25 Mar 2020 15:05:49 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=AwF7FEOUbNvNk4mSehe5GSFcN0+uDrOJWlHbrUm2jl4=; b=loDCAqotvEfb+TpX4MLCR6ACPsGutT5KLBWrcw8tVz83kDPTlf8/lNm4MikvPKOGeF ag0hPQm5gSA+P4AfoSgOD9boZmovEXVVKPG0TT3UhuBu4ItN/Y9ztXb5Ndy+six3OEK+ ADhHTHApbuzq01tMCNmvPJbtSl7811c9IHTabaJ+A7k2F5IQXnP9kgfqrBada1E6JkJf u6ho4IuAk9qQbtEljmRyCgEEfLthx1XkMTRINkxlZtosn+5d6yTcsadD+gXiBCr8u1cd b/4DRKflzVvvig11BT/z8n59tnjcpQ4CG/J1BA8V98QY1AvX4kJD1TuiFNhojGujTrn+ 5HNQ== X-Gm-Message-State: ANhLgQ34gJPLAZXm/eLOW7FWykZp3z/z4B8cTpbpgpfTUKesbtjhxaI7 mZCjef0VL/3gU3OKcAAVDQ== X-Received: by 2002:a5e:8214:: with SMTP id l20mr5055871iom.54.1585173948584; Wed, 25 Mar 2020 15:05:48 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.250]) by smtp.googlemail.com with ESMTPSA id v8sm102390ioh.40.2020.03.25.15.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2020 15:05:48 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: sram: qcom: Clean-up 'ranges' and child node names Date: Wed, 25 Mar 2020 16:05:39 -0600 Message-Id: <20200325220542.19189-3-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200325220542.19189-1-robh@kernel.org> References: <20200325220542.19189-1-robh@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , linux-iio@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Guillaume La Roque , Peter Meerwald-Stadler , Lee Jones , linux-clk@vger.kernel.org, Kevin Hilman , Daniel Lezcano , Bartosz Golaszewski , Zhang Rui , Brian Masney , Michael Hennerich , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Mauro Carvalho Chehab , linux-gpio@vger.kernel.org, Mark Brown , linux-amlogic@lists.infradead.org, Thomas Gleixner , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, Stephen Boyd , netdev@vger.kernel.org, Liam Girdwood , Hartmut Knaack , linux-media@vger.kernel.org, "David S. Miller" , Jonathan Cameron Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The regex for child nodes doesn't match the example. This wasn't flagged with 'additionalProperties: false' missing. The child node schema was also incorrect with 'ranges' property as it applies to child nodes and should be moved up to the parent node. Fixes: 957fd69d396b ("dt-bindings: soc: qcom: add On Chip MEMory (OCMEM) bindings") Cc: Brian Masney Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/sram/qcom,ocmem.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.20.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Brian Masney diff --git a/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml b/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml index 222990f9923c..469cec133647 100644 --- a/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml +++ b/Documentation/devicetree/bindings/sram/qcom,ocmem.yaml @@ -43,6 +43,9 @@ properties: '#size-cells': const: 1 + ranges: + maxItems: 1 + required: - compatible - reg @@ -51,9 +54,10 @@ required: - clock-names - '#address-cells' - '#size-cells' + - ranges patternProperties: - "^.+-sram$": + "-sram@[0-9a-f]+$": type: object description: A region of reserved memory. @@ -61,12 +65,8 @@ patternProperties: reg: maxItems: 1 - ranges: - maxItems: 1 - required: - reg - - ranges examples: - | @@ -88,9 +88,9 @@ examples: #address-cells = <1>; #size-cells = <1>; + ranges = <0 0xfec00000 0x100000>; gmu-sram@0 { reg = <0x0 0x100000>; - ranges = <0 0 0xfec00000 0x100000>; }; };