From patchwork Mon Jul 15 22:37:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 169022 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4969384ilk; Mon, 15 Jul 2019 15:37:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxM2jrp/qS0q5HCaf+EDEmZTapjVBZJ30cD+rc7HWRqiBpJLBsLU1rHhbqOylSLSLvwTUc1 X-Received: by 2002:a63:2ad5:: with SMTP id q204mr16545027pgq.140.1563230250185; Mon, 15 Jul 2019 15:37:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563230250; cv=none; d=google.com; s=arc-20160816; b=n5apTe6/0RtX8qyf+IM3XHy4noTO7JpC8RdFfcj9KH7f6OQPcPuW6eB1rDLcuEKNkU Qt08VezlZiEqlfLLLCfkfppR0lbNWnQrXX3SBxwsDuFBLgf6EwQgTrypkahCcRwkw2AQ tDoDL3YZBrpxVLgI96BC0tbVtrUxdvbPFfXD0Ms0kR/xl3C+cxEjoUmQBvy3rMQY+6F9 Mx9OMDO+yi0R2NppE3eL5/fnAgb909YZMiLe8YndN6tmas639INYdwyMB8X0GkYLEqRg AM3kL7FksMIriSROama4IUmboSN5x5hxGV7T4fAJIgf8K9/Tu6qxE5m6TmER9OmTCOKa QymA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=WXbxpjTO0OeI6MuUUKX3Eklg6COj9IISlKB84zUoyLo=; b=dFylyFliRuW6nYAvMg7Dvt2Ze7195DHGx+dbka43KT7Qg8JSc4W090ql2RWdZl45uT n036vdu6qgRjX3vRoq0GJraYXDKhSIjJCg/nmU1bcIwUGn4OZ5+8GWqLsJC/mLhR7jul lPI+GyhrfzRzhkrIAEeU3oqJz29E1LlMTTvoNkc2k9P77jye5jtullon85u6urN6PksR OuQygWnoWXDiQ7CEOahjEDF76oSuF7YTXHBVyFG9+PVVviKNkNFU0mjahjOsm1B6bIuM T31eiaPBqxTF60FvnIg39YZgPuleMR2v9+xRcaI0Jh4EBlrqk5eCU2nzDZC3fx3/Rm+B k+Xg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i95si16097685plb.106.2019.07.15.15.37.29; Mon, 15 Jul 2019 15:37:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731167AbfGOWh3 (ORCPT + 5 others); Mon, 15 Jul 2019 18:37:29 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:35483 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731014AbfGOWh3 (ORCPT ); Mon, 15 Jul 2019 18:37:29 -0400 Received: by mail-io1-f66.google.com with SMTP id m24so36846242ioo.2; Mon, 15 Jul 2019 15:37:28 -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=WXbxpjTO0OeI6MuUUKX3Eklg6COj9IISlKB84zUoyLo=; b=gldnTgBfP/UoVHKEyS2UtELXwMKReKvQhQO+dSsy93/vUaxwYoaU41MwNE/S8vApPc AUvM6uYp165wkXQQyoKMhK2Kittj49Jp2aGp6n0BbBZIzwUPjkdr3fgA/k18vEzlRuk1 U4d+ZDOu4SpOARFbZ7t9E0PGVLuUw1cswbJK8Ecn1WHC/p6UuVx8o7uuW6w3KAgzZnTh 4Fy2YPgZwFaSZ5IvUrl98zhdHO4ZUxefs+oncQ+ZsqaZIDXf6cJLqD7KZB5QUzWY+w1d qzEQ8iSmseXA5RSaxLNMYqZ+3uXhqoETdpo/PhomWInH8tQ0yOo8ItYzalEj+posgOBH D+1A== X-Gm-Message-State: APjAAAVqpXOGUcwBlRjVhPuVjrSW3z/leRakM4FYfJA40OOVwdY9qVBw RaPHg3QZi7HCPgPSIA2noREtLRw= X-Received: by 2002:a5d:9d90:: with SMTP id 16mr27939554ion.132.1563230247894; Mon, 15 Jul 2019 15:37:27 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.249]) by smtp.googlemail.com with ESMTPSA id e26sm15751180iod.10.2019.07.15.15.37.26 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 15:37:26 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, Linus Walleij , Andrew Jeffery Cc: Joel Stanley , linux-aspeed@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] dt-bindings: pinctrl: aspeed: Fix 'compatible' schema errors Date: Mon, 15 Jul 2019 16:37:25 -0600 Message-Id: <20190715223725.12924-1-robh@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The Aspeed pinctl schema have errors in the 'compatible' schema: Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml: \ properties:compatible:enum: ['aspeed', 'ast2400-pinctrl', 'aspeed', 'g4-pinctrl'] has non-unique elements Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml: \ properties:compatible:enum: ['aspeed', 'ast2500-pinctrl', 'aspeed', 'g5-pinctrl'] has non-unique elements Flow style sequences have to be quoted if the vales contain ','. Fix this by using the more common one line per entry formatting. Fixes: 0a617de16730 ("dt-bindings: pinctrl: aspeed: Convert AST2500 bindings to json-schema") Fixes: 07457937bb5c ("dt-bindings: pinctrl: aspeed: Convert AST2400 bindings to json-schema") Cc: Andrew Jeffery Cc: Linus Walleij Cc: Joel Stanley Cc: linux-aspeed@lists.ozlabs.org Cc: linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- .../devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml | 4 +++- .../devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) -- 2.20.1 Acked-by: Andrew Jeffery diff --git a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml index 61a110a7db8a..125599a2dc5e 100644 --- a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml @@ -22,7 +22,9 @@ description: |+ properties: compatible: - enum: [ aspeed,ast2400-pinctrl, aspeed,g4-pinctrl ] + enum: + - aspeed,ast2400-pinctrl + - aspeed,g4-pinctrl patternProperties: '^.*$': diff --git a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml index cf561bd55128..a464cfa0cba3 100644 --- a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml @@ -22,7 +22,9 @@ description: |+ properties: compatible: - enum: [ aspeed,ast2500-pinctrl, aspeed,g5-pinctrl ] + enum: + - aspeed,ast2500-pinctrl + - aspeed,g5-pinctrl aspeed,external-nodes: minItems: 2 maxItems: 2