Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2875683pxm; Mon, 28 Feb 2022 07:43:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCObKetDuJFr6vcbcK03mYpTLDkcYrtbrJvjQSbRM8+Kq2Iarh8I4USXeIPMNUNvlkgxK7 X-Received: by 2002:a05:6402:1681:b0:410:a467:833b with SMTP id a1-20020a056402168100b00410a467833bmr19869960edv.412.1646063021414; Mon, 28 Feb 2022 07:43:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646063021; cv=none; d=google.com; s=arc-20160816; b=B7PBm22xq+zVdAWCRL+wxK1o/6HJZmGmmUB5gXdXwhI7tXUZTZVePmwyJZCmnMYW0J xIQWdeNoHsz2hJno2ZpGMXr6WCc1VDpZFR4T6HDz/nY1GCtxbs+8zVfGCJYFm8KFNA1I XikcMPBitq0fQHsoDmd1GUVIEV5Y4q9XSutsAovORa9L9q5S+tswqYfIjujHnYDUijWU zJdQECAm60OPsAEcFiV9IBAUWzukGdCbPjunkGuO+XgtKpQ9JSHAvQz1AVr2DOk9bkyV spiQcX6uvKfk0raN1Y6EQ6wsvuLKDxhVAGhqi+YGI1d9ajZVKaMv5myExnKU/wkThBtk nftA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=TWfDPPImnZB1QqmZzkiaWh/P0J6429/oqBPa8f/wBfk=; b=SgDxexoOex8O8+ZpO0R6vEFs2LSUElcRad+tR55ii1v792uEggj2mOnwhjcQ6cscaL +pYa20IoMHDEK7Q+xk72Mn063QObwwprpcIz4Um/Aaop/y0s2GjPHFkKC+9UIePE3bz2 Ri2L0FJWZfWPz+5kTpKqAX4UgA5HS+2kS0/gbdSbrpRLQvs6WUwonBcXCIMlVr1xUdvS TgZ6HPfIRwZrpUGJht2GvUTxawaOqqKd3o4qxOyzpC+mYHpztejKYztcV/gvwVIGEDPp GWwPa85Pq0Jykkna1Z1MefTVfp+rI3hcwZ22rdCnbUgrDte+c32uTqKXDcr4Qnn405v0 ZAJw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji12-20020a170907980c00b006a767b33bcasi7319062ejc.497.2022.02.28.07.43.14; Mon, 28 Feb 2022 07:43:41 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237208AbiB1OhH (ORCPT + 99 others); Mon, 28 Feb 2022 09:37:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237201AbiB1OhE (ORCPT ); Mon, 28 Feb 2022 09:37:04 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6BB137ED9C; Mon, 28 Feb 2022 06:36:25 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 30E99D6E; Mon, 28 Feb 2022 06:36:25 -0800 (PST) Received: from [10.57.39.47] (unknown [10.57.39.47]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EC8653F73D; Mon, 28 Feb 2022 06:36:23 -0800 (PST) Message-ID: Date: Mon, 28 Feb 2022 14:36:23 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH 3/3] dt-bindings: spi: Add spiclk to clock-names property in pl022 Content-Language: en-GB To: Kuldeep Singh , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Linus Walleij References: <20220228124345.99474-1-singh.kuldeep87k@gmail.com> <20220228124345.99474-4-singh.kuldeep87k@gmail.com> From: Robin Murphy In-Reply-To: <20220228124345.99474-4-singh.kuldeep87k@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 2022-02-28 12:43, Kuldeep Singh wrote: > Fix below dtc warning by making necessary addition of "spiclk" in > clock-names property. > > arch/arm64/boot/dts/broadcom/stingray/bcm958742t.dt.yaml: spi@190000: > clock-names:0: 'spiclk' is not one of ['SSPCLK', 'sspclk'] > From schema: Documentation/devicetree/bindings/spi/spi-pl022.yaml > arch/arm64/boot/dts/broadcom/northstar2/ns2-svk.dt.yaml: spi@66190000: > clock-names:0: 'spiclk' is not one of ['SSPCLK', 'sspclk'] > From schema: Documentation/devicetree/bindings/spi/spi-pl022.yaml As before, what makes the binding at fault rather than that DT? The PL022's actual input is named SSPCLK, not SPICLK, so why should a driver which wants to look up that clock by name expect to look for "spiclk"? Robin. > Signed-off-by: Kuldeep Singh > --- > Documentation/devicetree/bindings/spi/spi-pl022.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/spi/spi-pl022.yaml b/Documentation/devicetree/bindings/spi/spi-pl022.yaml > index 5f6926a58b15..fb3075a0c7fd 100644 > --- a/Documentation/devicetree/bindings/spi/spi-pl022.yaml > +++ b/Documentation/devicetree/bindings/spi/spi-pl022.yaml > @@ -45,6 +45,7 @@ properties: > - enum: > - sspclk > - SSPCLK > + - spiclk > - const: apb_pclk > > pl022,autosuspend-delay: