Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4509565pxv; Tue, 27 Jul 2021 09:03:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0sQgbf41V8mfQ12Y6tDnMlay9mgZm0O7rGq6wKH6wlPqE5CFMdrpOIbei9LhZuUWzrXlM X-Received: by 2002:a17:906:af02:: with SMTP id lx2mr9596704ejb.133.1627401783619; Tue, 27 Jul 2021 09:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627401783; cv=none; d=google.com; s=arc-20160816; b=Tj9yzxb9/Qr59gHoDtl3aTZVWaWN5NY4Dk7OeLYPdA0aygce4bcGi/5JokNomsDooI e4Fhw6jc7oURoqe9ToVoGf0a5f88G4IY91Hst0U9cxKoA1j3/sKcngT4jcPIBLad6wGN VEKswH4nOxG2IciCIYSJ4VobsF8NZMce57b2XaMz7QMMeaAye0fzJlWCRF46IiKt921Q WjjUAUz2wzxe83DmKn7Plv7o7RwzqY54WhChJr4KHF4+PC6KsQZ84NPwoA70p++6xghy hf+7BGJ1UHKKIDQKS0t3zAamj4FXyzbnGHpqxdxURnW4xRxBfvNpt+dnTfOrTxNTfcBS V79w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=4TMmywMdtMEns1/VZpvMkFG7z9E4d2RNaje1ajfREvU=; b=PMzravGDpfRRNTINZqT8HOq8ptzOutAoSOTbDUX446WA4CmVobRMp5XtGIPmkLIf/X 7Q0HKhLmIb0JWsf7x5NnPNiudBJDtsLb3zCQkeRvO6cYHa0FjKxhB7u54D/7bf9wSd27 uKd+LTSDcck3SH3IlJsxyhadzDk+Hl+Oft8+tVfJao5GOvFZUilPsC5NkKoWPM4vPhTc eYX96N+s/H9nHMpOUK2w4ckf8MQfvIljfTyKkqBBxexA98TEHohK3GXbBP/h/TKABxph /RT4aCbfS0ak29WMTz/mFEcendn+RZYWnMUoVcrlrj0tlFYYqi7ecCHnOJDWjwjvKbKM NZsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e22si2821282edq.549.2021.07.27.09.02.37; Tue, 27 Jul 2021 09:03:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbhG0QBN (ORCPT + 99 others); Tue, 27 Jul 2021 12:01:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbhG0QBL (ORCPT ); Tue, 27 Jul 2021 12:01:11 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2917EC061765 for ; Tue, 27 Jul 2021 09:01:11 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:b0a9:7e88:5ca4:551a]) by michel.telenet-ops.be with bizsmtp id aG172500F1fSPfK06G177b; Tue, 27 Jul 2021 18:01:09 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1m8PVz-001RuT-4K; Tue, 27 Jul 2021 18:01:07 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1m8PVy-00Fqnr-Ml; Tue, 27 Jul 2021 18:01:06 +0200 From: Geert Uytterhoeven To: Krzysztof Kozlowski , Rob Herring , Sergei Shtylyov Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-spi@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2] dt-bindings: memory: renesas,rpc-if: Miscellaneous improvements Date: Tue, 27 Jul 2021 18:01:05 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Fix rejection of legitimate flash subnodes containing multiple compatible values, - Add missing list of required properties. Signed-off-by: Geert Uytterhoeven --- v2: - Drop #{address,size}-cells. --- .../memory-controllers/renesas,rpc-if.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml index 990489fdd2ac33fe..d25072c414e45326 100644 --- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml @@ -61,12 +61,23 @@ patternProperties: type: object properties: compatible: - enum: - - cfi-flash - - jedec,spi-nor + contains: + enum: + - cfi-flash + - jedec,spi-nor unevaluatedProperties: false +required: + - compatible + - reg + - reg-names + - clocks + - power-domains + - resets + - '#address-cells' + - '#size-cells' + examples: - | #include -- 2.25.1