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.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 46912C433FF for ; Tue, 13 Aug 2019 20:55:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 17A1E2070D for ; Tue, 13 Aug 2019 20:55:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565729732; bh=b27mTzyAhXZsGiRm1I0omMm9FwRxC3OrRkRO0Fjtg4c=; h=From:To:Cc:Subject:Date:List-ID:From; b=kFUE1PIdlgxvSmPneQMUS7aFfbdWDtMGjCgrZqiKnEzFtcLSXXr8TAl8iYoOvjZqR 0qx1fsVQt7PgxqbDq5zQ+0hHpr8BL6O3wnMIbyMpTh8u9Y7kbaVLMfXJ2d009cLMbJ s0S1UbVbfxo2nsq0fEdx4dcz3PixPVwkEL3RsqlE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726347AbfHMUzb (ORCPT ); Tue, 13 Aug 2019 16:55:31 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:46942 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725903AbfHMUzb (ORCPT ); Tue, 13 Aug 2019 16:55:31 -0400 Received: by mail-oi1-f194.google.com with SMTP id t24so654240oij.13; Tue, 13 Aug 2019 13:55:30 -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=jbslUDlcqZaPMbf8V3k6oJIBCiDezD1vvng9FHtTyLQ10mJlOgqTIj3K+okxas0hsG XLV2NgqbMREtHwh+cq3F5wmFyQ0iKUA7iUbWeXz6WBgIZ3PmCUmaUPylR6vQ64zop59c nVT3XpvlEsNLN0umtREfrP55c3797Dbhby+u9d7D1RM3DDOh72Z72uGm+P8cfMvt+Grg ZauJHSNZGJDvxCN/+5T1MWqmwW9w+T6UxduW4GzGRK4lKObuUA2UDCYjyAtawDYLNTPA K7lrqU60OhpAkTkCPtuELIbGfY+H5mOZYHrVC2hJxADIlSCEcP0iaL1GQBVmsQpu2usT indQ== X-Gm-Message-State: APjAAAWwTJw9k3gBJAVDsccvBJYnKVEU3/0VVtEq8qjyShK5+qXO1jKa vQNLBB3qIxofvRWwnyH7JczqDZo= 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 Cc: Linus Walleij , Mark Rutland , Maxime Coquelin , Alexandre Torgue , linux-gpio@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.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 Content-Transfer-Encoding: 8bit Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.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