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=-10.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 6BC3BC433FF for ; Tue, 13 Aug 2019 20:55:41 +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 3B3972070D for ; Tue, 13 Aug 2019 20:55:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BSKPfha6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B3972070D 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:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=woEomY67Rl+UB1b5p74cvetiLOrus9UVIaa1H2xtrho=; b=BSKPfha6JkHepR beAGh7+w/xEUjOgM+BnOiqkkaz36VAKbj4iIxkl/yfuEoWk7IIRIENwF2rPIcp3kwtIDFwP4N3BDb uezp4zkG/jbH354X0HYUj+s5i8VTjhAftS44FPRKXxY1YSX6LlCy4c6r9uUO8HZ+bk1U/TLLoQz1q ST+ujFjJJNfTaSdppuZ+6k9wEiMRD/mhtCyijAJ2x797mhJK2aMmG9OtB3+UE+pfXyEtYJsLU7kLK y+1P/5lpTODS/UnAAc+JRtsWKZnwKOfHUZIEe+t6HxbDHhf7dfRteLlW/eD0bcE9E5OY1ohkQ2pBM uTt/vJt7LrTbQHYeEEAA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hxdpO-0004R3-2l; Tue, 13 Aug 2019 20:55:34 +0000 Received: from mail-oi1-f194.google.com ([209.85.167.194]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxdpL-0004QV-GW for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2019 20:55:32 +0000 Received: by mail-oi1-f194.google.com with SMTP id a21so658216oie.4 for ; Tue, 13 Aug 2019 13:55:31 -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:mime-version :content-transfer-encoding; bh=vRcjRzXsLYZcKkMeLECf7vG301P7B0XZvNn+RUsuARg=; b=ilVUbbt9I25us9Tsapxwyfal9b9JnfJ+tj79X2QqIL14Oyiutn8fcHozikP0ITFeF+ ytZkQtBmLc3nc3t/1lxXz0lVYHYgJT9WwbgiwppznEh5sA+oKKA7h9jBjYOwAbyuhwCU 8wOZJQ+aVOvo0I0kN0Tm++G6UsIFSkouIcDqNOr37akh3fZuAN79n20OEDDhOzVnnpHu v9Eawv6c+nnQh8IMUvp8xUaykK/28LhZJva+/Td/Iwq/+tTkhoSZIIeZuLFwE+iZJAje Yf8yHLX40zPKvdPiDTHTh9BAAhwxQZeP7G6mKzsiIvForKp1/ThmcEUGKdmpwehox/e/ HX9g== X-Gm-Message-State: APjAAAWITmVCDp36LSKYZZQ2F48mS1G5oKbcIL9QkDuagZN5MTkHkQrb JLNqF0Ycrh+EGXiO+Xlp0A== X-Google-Smtp-Source: APXvYqxjYk48K/xApN8bRzF+K+cyfVT+7GZOGNiswrJt4E2UxIRabfgvTQ/6FwmQTxYes48I9p8I+g== X-Received: by 2002:a02:7121:: with SMTP id n33mr45263919jac.19.1565729730148; Tue, 13 Aug 2019 13:55:30 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.254]) by smtp.googlemail.com with ESMTPSA id m10sm204917375ioj.75.2019.08.13.13.55.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2019 13:55:29 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Subject: [PATCH] dt-bindings: pinctrl: stm32: Fix 'st,syscfg' schema Date: Tue, 13 Aug 2019 14:55:28 -0600 Message-Id: <20190813205528.16651-1-robh@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190813_135531_552195_B12DA07B X-CRM114-Status: GOOD ( 10.82 ) 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 , Alexandre Torgue , Linus Walleij , linux-gpio@vger.kernel.org, Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org 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 The proper way to add additional contraints to an existing json-schema is using 'allOf' to reference the base schema. Using just '$ref' doesn't work. Fix this for the 'st,syscfg' property. Cc: Linus Walleij Cc: Mark Rutland Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: linux-gpio@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- I've got some other fixes queued up and can take this via the DT tree. Rob .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml index 91d3e78b3395..400df2da018a 100644 --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml @@ -37,7 +37,8 @@ properties: hwlocks: true st,syscfg: - $ref: "/schemas/types.yaml#/definitions/phandle-array" + allOf: + - $ref: "/schemas/types.yaml#/definitions/phandle-array" description: Should be phandle/offset/mask items: - description: Phandle to the syscon node which includes IRQ mux selection. -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel