From patchwork Fri Jan 15 19:32:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 363744 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp146007jap; Fri, 15 Jan 2021 11:33:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1OE9JfHgTTU2m05Y9yv/hDQMDmRI3Kg+Oi0HnYAge1WGYlXcMsjd+gsqRTyFCCVsFpGPE X-Received: by 2002:a17:906:36da:: with SMTP id b26mr9759160ejc.28.1610739230449; Fri, 15 Jan 2021 11:33:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610739230; cv=none; d=google.com; s=arc-20160816; b=wUae8mw/FhtXbOZHQtQMOqQkh6StvviE1pHmSGC4dBaDYZad2tD8v3b/atzY7bQK/j KhW4XivFi25fRGPmhgCaVGuojDmRoNkucbFL7hkpE18S+piFlUUw0i5cMsXF01YBRuuw zXqctljfvUFx/G/7V5GoxubLgHmjqJF7a9GVyhq4UWmOWdnHVQ7jeFbrpCh9Rjlme4hu cpURFrD+r67po6FEAolbvz9hNIeUCvMeKWqHE4+LYQlY8E47YVUCQn6nBO/E5YtBt1u+ 1YeIukKAw1DgrgPJoW8B0bUf5rJsQp3b6v4waCh2Qk/uNF78cvD8vWr+cT+M2nQ9Y2mh Cb4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=m0mz4dtHkMxa9GbD4ouVFHhkcK1uhi34MlSLQR7XL5E=; b=Yo5ZTmcm04dREKhT6MAbgFKY/kZK7fA4ImTB+Jppkjjv63hHWrC7JFarNVGs4qlAxy kay6VVHlO/VxWi9KweY1qXegBeEwkj4oWEAXavqCyPvNZEQrvvN5gBHU0b/qoei14sZt KawLHW9vy6qoxug7FfJOjB9oEb9yRIzFpMoqBRKbSQA7iXsvxjN7R/i6LgLZgqYPyv9N cnMlBHtDw+0J6AVy1MWlX9oks+8rlYlQb0J+ef7hHtrkERUSX8w9uzjlXVG7Ac582YbZ anTwt48uLb2eKlhMb0gDCKD+baavrtXXHFPCR/pr3BsWR7qGS55bkK/duRkIguXg7H/+ IK2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wZ02txGN; spf=pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds7si2791845ejc.212.2021.01.15.11.33.50; Fri, 15 Jan 2021 11:33:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wZ02txGN; spf=pass (google.com: domain of linux-mmc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387869AbhAOTdJ (ORCPT + 3 others); Fri, 15 Jan 2021 14:33:09 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:38234 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387641AbhAOTdI (ORCPT ); Fri, 15 Jan 2021 14:33:08 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 10FJWQTt010421; Fri, 15 Jan 2021 13:32:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1610739146; bh=m0mz4dtHkMxa9GbD4ouVFHhkcK1uhi34MlSLQR7XL5E=; h=From:To:CC:Subject:Date; b=wZ02txGNoVnV0I3hk9k04diKdXqxuyo5vFJ4w/OpjLmzVftfAlV/RTKTs5CYdxzeC r88REF3kTkj9DzLctLfWdvcXuVLkA8hXaw8s/KXIofd+53xDvjrjlVKNRAlfdiPEQb jIUzt+w5DYnF+LS237uh68HiRNI5w2p+EP7lpugA= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 10FJWQK2031166 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 15 Jan 2021 13:32:26 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 15 Jan 2021 13:32:26 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Fri, 15 Jan 2021 13:32:26 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 10FJWPHj064609; Fri, 15 Jan 2021 13:32:25 -0600 From: Grygorii Strashko To: Rob Herring , , Faiz Abbas , Ulf Hansson CC: Nishanth Menon , , Vignesh Raghavendra , , Grygorii Strashko Subject: [PATCH] dt-bindings: mmc: sdhci-am654: fix compatible for j7200 Date: Fri, 15 Jan 2021 21:32:18 +0200 Message-ID: <20210115193218.5809-1-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org On TI J7200 SoC the SDHCI controller compatible defined as "ti,j7200-sdhci-8bit", "ti,j721e-sdhci-8bit" or "ti,j7200-sdhci-4bit", "ti,j721e-sdhci-4bit" which causes dtbs_check warnings: mmc@4f80000: compatible: ['ti,j7200-sdhci-8bit', 'ti,j721e-sdhci-8bit'] is too long mmc@4f80000: compatible: Additional items are not allowed ('ti,j721e-sdhci-8bit' was unexpected) mmc@4fb0000: compatible:0: 'ti,j7200-sdhci-4bit' is not one of ['ti,am654-sdhci-5.1', 'ti,j721e-sdhci-8bit', 'ti,j721e-sdhci-4bit', 'ti,j7200-sdhci-8bit', 'ti,j721e-sdhci-4bit', 'ti,am64-sdhci-8bit', 'ti,am64-sdhci-4bit'] mmc@4fb0000: compatible: ['ti,j7200-sdhci-4bit', 'ti,j721e-sdhci-4bit'] is too long mmc@4fb0000: compatible: Additional items are not allowed ('ti,j721e-sdhci-4bit' was unexpected) Fix it by adding missing compatible strings and their combinations. Fixes: 407d0c2cdd12 ("dt-bindings: mmc: sdhci-am654: Convert sdhci-am654 controller documentation to json schema") Signed-off-by: Grygorii Strashko --- .../devicetree/bindings/mmc/sdhci-am654.yaml | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml index 34e53db29428..3a79e39253d2 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml +++ b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml @@ -15,14 +15,19 @@ allOf: properties: compatible: - enum: - - ti,am654-sdhci-5.1 - - ti,j721e-sdhci-8bit - - ti,j721e-sdhci-4bit - - ti,j7200-sdhci-8bit - - ti,j721e-sdhci-4bit - - ti,am64-sdhci-8bit - - ti,am64-sdhci-4bit + oneOf: + - const: ti,am654-sdhci-5.1 + - const: ti,j721e-sdhci-8bit + - const: ti,j721e-sdhci-4bit + - const: ti,j721e-sdhci-4bit + - const: ti,am64-sdhci-8bit + - const: ti,am64-sdhci-4bit + - items: + - const: ti,j7200-sdhci-8bit + - const: ti,j721e-sdhci-8bit + - items: + - const: ti,j7200-sdhci-4bit + - const: ti,j721e-sdhci-4bit reg: maxItems: 2