Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1279897iog; Sat, 18 Jun 2022 05:33:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vMfGr78kT7i0ooRjpp1fQOkJNbGf/wGpGXuSZ9sTuX/9zRPaMhz6G+JbABIYK4+0FoqJAz X-Received: by 2002:a17:90a:1d0:b0:1ec:7066:49b8 with SMTP id 16-20020a17090a01d000b001ec706649b8mr10764832pjd.163.1655555588656; Sat, 18 Jun 2022 05:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655555588; cv=none; d=google.com; s=arc-20160816; b=iqNmVn4HOPglEB9xfQ3qy4BQZ/y2Y/jBJqOPnmAnLMvZMNcx/pp1oat9F6Bt9AGiNX GDlCsXIshD/Rzmdc/hhvfAyk3nATpSSQ1vAVYwDjnPqLUwgBYW4pXCC22x5HeEP10NbY wTfA6DlTXTHAE4GEj1q0FiOtycFWI9uhHGzIKB08jMvBEiBuHP7UIaQ7SWFOR0EONcfr U0yS5wOHUb+uHRoOIJFkAZ15eGD37Ih9CgxyVBYRjU43ybSO6VDJRwt99SxCuhJQFaEr PQAvXbmam7BcDJWfxbws7+rL/m/o38xOJm9V1+3sC6t/rSIrcpBuwtCU6bYFhfYgRorS 1Ddg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wA+ekkpjde0Zx9cXanks0YsUmdtDvWig/ia7r5xRwsg=; b=DyHZ8rejF4vTDZVfBx5mzD1BmClhlcdYuLBULXdTDiyOKeRIEW0gvR9pKfMJ2zH/Qq wS36njPkFaXiRudsBEanKOFc+4oyAkWWZHcdfxdl84WH/siQyfwh/dqg90KLxSpxAP9K kXvgPEkx2BYHvpyasdoiEw1TdgND/OwIDbYZyBwCV2Fc+8oWC2EWNkdyNIUZCgMndzxt NzfQq50BtgeyVzp32hE4qfjR/s8DYaOdzAYF4vlUnbp00CB+HetDnBRSxqe09lUpqbpE De3nAkx3k+MvmhDTvSG1vOLBmnffSeDZuDMNvocLo9wfPwXu1KLcJVf+tfrEmW+fkMDR tOCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=NLP+j4Vv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a056a00218b00b0051078cc4fd5si9992764pfi.354.2022.06.18.05.32.57; Sat, 18 Jun 2022 05:33:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=NLP+j4Vv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234598AbiFRMcM (ORCPT + 99 others); Sat, 18 Jun 2022 08:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234107AbiFRMcF (ORCPT ); Sat, 18 Jun 2022 08:32:05 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60B41183A0 for ; Sat, 18 Jun 2022 05:32:04 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id m1so1046169wrb.2 for ; Sat, 18 Jun 2022 05:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wA+ekkpjde0Zx9cXanks0YsUmdtDvWig/ia7r5xRwsg=; b=NLP+j4VvWO4pMdDxz+jP2qakHnxjIhWDW5IcIZ6iTjVuR6PvXGlfRvScvAs6fv4LGC tVHzVYgFUHCv1IRJ4Ht4KdNVLD+jSSS5h4H+avCrhP5W5KXZfsniSNzQaIy0Vmjf7cJe 1JtCXoeodTgNGx3zxBouJNSTU+BRjTFYSAg0N4jBQrfeC5wyTPkZscKwWYLFzG+dbNUH VQDUJvWUJkk/fS8UHWuapx2oX/lVLREXGX91trMzLN+PvRD1VA55gaBikAJhJXd6EtNJ TXtuW3AI8LcIC7NdxtxNMfIR5WAfMQnhkZScOGuGAVa6FafYwFTfgLXwxWgUJlRmcjG8 FuBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wA+ekkpjde0Zx9cXanks0YsUmdtDvWig/ia7r5xRwsg=; b=or4YwHWpS8nPxx//C8gSY2zZk3ELF2ZBstx/875WLsOYdfl8A/X1LL5a24Dx8Uh6mV Ora+RMzMc0rgK6kjgOOzCOZEPvYS2ai7aYuWiJzJA/O81JDpg4AtLegwjegV26Lz7729 Ib/MYCfk6JHZ93YFYmn+kqZ/yd0mb2P7RtAqoUJqlPjGG2RuAw6LGUjw0Xr6qVr7b+M9 c9DWfLKyGa0niy6qgoo0Y3IEU4zwGOYxIkuEZlLdEDtZYEnJSPbtO+WrdY5z8TpbjKJY vYIpMYsYSrGc9QF8pWirj/aoikxIIPXVoMWKJJF9ydmII0CmFOxx84s9Wp7/hPRf6lVY fDTg== X-Gm-Message-State: AJIora+fIiqeHczZHc7q5iiIvBEd2ieI4FMNJuDmqKDvqvRfZJRYWr3g OzwnBswM7SM5lVFzSnNqrfP6LQ== X-Received: by 2002:adf:ef52:0:b0:21b:81e8:5d0b with SMTP id c18-20020adfef52000000b0021b81e85d0bmr6154762wrp.502.1655555522853; Sat, 18 Jun 2022 05:32:02 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id az10-20020adfe18a000000b00210396b2eaesm9292305wrb.45.2022.06.18.05.32.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 05:32:02 -0700 (PDT) From: Conor Dooley To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Vinod Koul , Liam Girdwood , Mark Brown , Serge Semin , Daniel Lezcano , Palmer Dabbelt , Palmer Dabbelt Cc: Thomas Gleixner , Paul Walmsley , Albert Ou , Conor Dooley , Masahiro Yamada , Damien Le Moal , Geert Uytterhoeven , Niklas Cassel , Dillon Min , Heng Sia , Jose Abreu , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 02/14] dt-bindings: display: panel: allow ilitek,ili9341 in isolation Date: Sat, 18 Jun 2022 13:30:24 +0100 Message-Id: <20220618123035.563070-3-mail@conchuod.ie> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220618123035.563070-1-mail@conchuod.ie> References: <20220618123035.563070-1-mail@conchuod.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Conor Dooley The dt-binding for the ilitek,ili9341 does not allow it to be used as a compatible in isolation. This generates a warning for the Canaan kd233 devicetree: arch/riscv/boot/dts/canaan/canaan_kd233.dtb: panel@0: compatible:0: 'ilitek,ili9341' is not one of ['st,sf-tc240t-9370-t'] From schema: Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml arch/riscv/boot/dts/canaan/canaan_kd233.dtb: panel@0: compatible: ['ilitek,ili9341'] is too short From schema: Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml Allow ilitek,ili9341 to be selected in isolation. Signed-off-by: Conor Dooley --- .../bindings/display/panel/ilitek,ili9341.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml index 94ca92878434..c402bedaa37a 100644 --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml @@ -19,12 +19,14 @@ allOf: properties: compatible: - items: - - enum: - # ili9341 240*320 Color on stm32f429-disco board - - st,sf-tc240t-9370-t - - adafruit,yx240qv29 - - const: ilitek,ili9341 + oneOf: + - items: + - const: ilitek,ili9341 + - items: + - enum: + - st,sf-tc240t-9370-t + - adafruit,yx240qv29 + - const: ilitek,ili9341 reg: true -- 2.36.1