Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp654290pxb; Tue, 5 Apr 2022 17:28:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhPAn2jPBIitDKvy+oPRci+EiTQGgCgPCRkBFSGnX+fgIXQ1KZDlVKrZJAd2vDBQPeUWB6 X-Received: by 2002:a17:902:d488:b0:156:b0c7:218a with SMTP id c8-20020a170902d48800b00156b0c7218amr6161933plg.2.1649204904767; Tue, 05 Apr 2022 17:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649204904; cv=none; d=google.com; s=arc-20160816; b=LHvAad1O6RIdgWOnGI1UEECgaePFW6VhKRtkjsa5NrSwDfcaO/q8X1BusRm3SDQ0V8 SAW4t28FKUtjSXilzxlD2bzQThJWSJa/DPh8n8ch9QgrPX74couinBJNpuWNoo8ZwwXV c6b3jQzXFm/V7uq9UU65aJG7OLMCE/MSws+nyNRm2ARPQMxW9bN3YNboTYFfmGQoMrCp TXQKRwfrxHnuPkunilb9uBjOlHCopVigJHqdo3lsw+EYB7RIJ8yf6ogSay2viPhSHcjP WvtgjwvYVmsxeWJCWsjqJH7YRMOpL8BhrB4jvxx3O+mVc0VkzEmUxGn43Qh7MmF1BnO9 icQA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/Cv6D9ULZjTDksfHNPdHExl+i/7Gggkxf/vM9L9z1HE=; b=Tewry6hewxzTppcXQ5vl4kzTNAV6VCJAdGihevrdidR/t52l2hDh0EI5rQ154wOSe4 bCGj1j+T94oDFEUec7Ir/N62hUkUUs1gxhbfEP4Sbu2lxp3E7GtSODhIMYTA63mT2wX9 qbY8jDJC7w5TnSdDfFiY02JpGGUVJ1uWf95FcX4Mx/drMf0AisSSvGBEAiTulm7DIbh/ Q1wZix7eud+oZPWRrsjzSc22hQq+u9bvIgiLq9zdP+gjmhJIMvdEfAiwjsjeNY2GBtkP wlQDaiSq0owG1CAVNvbafa9cSJRpPg1DVvJSURj6X8kt7TQRV5TaJk+SMpofKOa262cP HWAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CsE3siHh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u15-20020a170903124f00b00153b2d164fasi10187950plh.258.2022.04.05.17.28.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 17:28:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CsE3siHh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3984629BF61; Tue, 5 Apr 2022 17:14:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348091AbiDEOBR (ORCPT + 99 others); Tue, 5 Apr 2022 10:01:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238331AbiDEJ3O (ORCPT ); Tue, 5 Apr 2022 05:29:14 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9D1E22A; Tue, 5 Apr 2022 02:16:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8E8EAB818F3; Tue, 5 Apr 2022 09:16:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9EB2C385A0; Tue, 5 Apr 2022 09:16:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649150198; bh=anzIg/BZjHKQ8DYTcO61nN8CXBqlOwewmajuONW2WQ4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CsE3siHh9tQiauic0O8RcDL7oPAOT2+tHJtUtaj3ouy+8XKwZUAYOfiBckRiNB10J qBtOno52RIzflSBWoiPAhOUIqogV1yc60X9o8amUHMmA+zhOUpO61v0ZiKH7TX/2os +Lmjt7ncDPwhvAYyTIDpwQ/YqiLfcqi9yu9uNKZw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yong Wu , AngeloGioacchino Del Regno , Krzysztof Kozlowski Subject: [PATCH 5.16 0988/1017] dt-bindings: memory: mtk-smi: Correct minItems to 2 for the gals clocks Date: Tue, 5 Apr 2022 09:31:41 +0200 Message-Id: <20220405070423.529968394@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: Yong Wu commit 996ebc0e332bfb3091395f9bd286d8349a57be62 upstream. Mute the warning from "make dtbs_check": larb@14017000: clock-names: ['apb', 'smi'] is too short arch/arm64/boot/dts/mediatek/mt8183-evb.dt.yaml arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dt.yaml ... larb@16010000: clock-names: ['apb', 'smi'] is too short arch/arm64/boot/dts/mediatek/mt8183-evb.dt.yaml arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dt.yaml larb@17010000: clock-names: ['apb', 'smi'] is too short arch/arm64/boot/dts/mediatek/mt8183-evb.dt.yaml arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dt.yaml If a platform's larb supports gals, there will be some larbs have one more "gals" clock while the others still only need "apb"/"smi" clocks, then the minItems for clocks and clock-names are 2. Fixes: 27bb0e42855a ("dt-bindings: memory: mediatek: Convert SMI to DT schema") Signed-off-by: Yong Wu Reviewed-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20220113111057.29918-4-yong.wu@mediatek.com Signed-off-by: Krzysztof Kozlowski Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml @@ -80,9 +80,10 @@ allOf: then: properties: clocks: - minItems: 3 + minItems: 2 maxItems: 3 clock-names: + minItems: 2 items: - const: apb - const: smi