Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp705248pxb; Tue, 5 Apr 2022 19:34:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMTlYdNh7v0uLSaMDCMkXL8F6iocgMjVYKgMvLS2qZi6hpi/qcRuh5Bz9KXKFMoY+oUO0n X-Received: by 2002:a17:903:1c2:b0:154:5edf:56d3 with SMTP id e2-20020a17090301c200b001545edf56d3mr6616455plh.10.1649212375837; Tue, 05 Apr 2022 19:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649212375; cv=none; d=google.com; s=arc-20160816; b=X+C/5k2i0lDxjM4anIEY8vgnubnbqxb+gEuBYAoJwLRgKY5GGU1jg5Sk3Ykxc/EPFa gVEib0mLkVwXcre6vSxFXkesWErgK1bnkUCktw+oyNwKpL9X6lW3wCjN22DqIrikThde jZ9v3CSrk37jdIH7VV7vlIde5R7jSVIRt/NjZgZTF4QnC9A15YLlM7G7Tvup5UQr7OOH 5y8XVyfbldPUvVltjPL9ha9kMNFthfBkzZs2a6bvf7Ee0I9IpBOMmAw9oPz03JOyABQh Jc1sx8VsNtn0RnagOJ2Ye0rUMf/xljsxTC+xJrIBqSxw263r80dWKjLzkU2NQf2UI4ZF U+8A== 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=lOsqh7q0sXkiNMITY6vcYCqUL4dcVG1xlH2DdaeMbRU=; b=SMV7wU/0k2p88qkbtSu/aUs96D5+qgnzXcxDtaGtvA9PaZiW0P+4k2MIexYjfcKg+X Mb7dAJ4/Zekvgy7xqLlBski2bQCwY4iLN4FhymZW7RAAinNnEXDVY4KaqYP8EwYv2Tnf b4rk3/cQ+FLHfLswvh7W+7w0M+un5LNMcL9RHf4jalUd5igy9bPmr9P2gI5apf0fipMZ wwULkdVC2LSUVhuMik//ll/A0+w/QCc1me7loeE8Q3zG3ODG/II96bUw7mqocovbz1EU lH3r92nKZIJasowv2E+Hm5wGUWgsbLYgeif7b0VhVc/RdjSRIYMjj08hwOFEW2BHPCYo U2jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TOeItpWv; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k17-20020a628411000000b004fe4e2591cfsi1247937pfd.364.2022.04.05.19.32.40; Tue, 05 Apr 2022 19:32:55 -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=@linuxfoundation.org header.s=korg header.b=TOeItpWv; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245091AbiDEOAU (ORCPT + 99 others); Tue, 5 Apr 2022 10:00:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237320AbiDEJ3O (ORCPT ); Tue, 5 Apr 2022 05:29:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F5DAB87F; Tue, 5 Apr 2022 02:16:31 -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 dfw.source.kernel.org (Postfix) with ESMTPS id BDC99615E4; Tue, 5 Apr 2022 09:16:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE1DEC385A3; Tue, 5 Apr 2022 09:16:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649150190; bh=b9u20PZhQs/jTWosZgSYdjk7kUpAxmrC0Cj9hgZHClU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TOeItpWv0dAzOZrGuOLJqlyCmpnv4x0wzmYK9EuGqgKQs8btMU3zykEp0AAoLdWko QW0Q+yqRstJD2panrzmCc2mfm6Z7FYZ7H4oE+bTBzXaaOtu/joL0lD2WiQn1Keaiu5 YAB6IjNULRSvQt61dubw17T6NTzaldPcZkSNeVOQ= 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 0986/1017] dt-bindings: memory: mtk-smi: Rename clock to clocks Date: Tue, 5 Apr 2022 09:31:39 +0200 Message-Id: <20220405070423.470722809@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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 5bf7fa48374eafe29dbb30448a0b0c083853583f upstream. The property "clock" should be rename to "clocks", and delete the "items", the minItems/maxItems should not be put under "items". Fixes: 27bb0e42855a ("dt-bindings: memory: mediatek: Convert SMI to DT schema") Signed-off-by: Yong Wu Acked-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20220113111057.29918-2-yong.wu@mediatek.com Signed-off-by: Krzysztof Kozlowski Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml | 28 ++++------ Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml | 14 ++--- 2 files changed, 18 insertions(+), 24 deletions(-) --- a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml @@ -88,10 +88,9 @@ allOf: - mediatek,mt2701-smi-common then: properties: - clock: - items: - minItems: 3 - maxItems: 3 + clocks: + minItems: 3 + maxItems: 3 clock-names: items: - const: apb @@ -108,10 +107,9 @@ allOf: required: - mediatek,smi properties: - clock: - items: - minItems: 3 - maxItems: 3 + clocks: + minItems: 3 + maxItems: 3 clock-names: items: - const: apb @@ -133,10 +131,9 @@ allOf: then: properties: - clock: - items: - minItems: 4 - maxItems: 4 + clocks: + minItems: 4 + maxItems: 4 clock-names: items: - const: apb @@ -146,10 +143,9 @@ allOf: else: # for gen2 HW that don't have gals properties: - clock: - items: - minItems: 2 - maxItems: 2 + clocks: + minItems: 2 + maxItems: 2 clock-names: items: - const: apb --- a/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml @@ -79,10 +79,9 @@ allOf: then: properties: - clock: - items: - minItems: 3 - maxItems: 3 + clocks: + minItems: 3 + maxItems: 3 clock-names: items: - const: apb @@ -91,10 +90,9 @@ allOf: else: properties: - clock: - items: - minItems: 2 - maxItems: 2 + clocks: + minItems: 2 + maxItems: 2 clock-names: items: - const: apb