Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp264261pxm; Wed, 2 Mar 2022 14:56:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwrD0vMEZGOGU+fyg18ds7hxNSvzK2WRJlJDxeGEwYLR3HEGCShYA/WwZOgC/0Mx5+ln9X X-Received: by 2002:a17:903:2346:b0:151:60f4:84ee with SMTP id c6-20020a170903234600b0015160f484eemr19570540plh.27.1646261802802; Wed, 02 Mar 2022 14:56:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646261802; cv=none; d=google.com; s=arc-20160816; b=LDwwoRK7TcjmEpOSB6tCuRfYQopw5W4tf1sVdnfXk+985F9SCIUtvOPf/WegxelqUb wLkj1sgZZtmc4JlItE4yhPFJawR54TLC0eqhCMSnBekJKpvE0vGBWDi/fgQoEfvR2JBP +CNA8rAqAidLFiNN5O2WWq1hkHYdyBBKC5GZN/CHZ/RnNBVJ3RxQnw9F3p3MAPuX+l6F wx3m0q5Nn4kFRmXaMtXJat1C+B+EqQycRgGsnUnnRilbaC+6TJhjFI/Fw5dUKB0JzmN6 ldaRNDQLz8KG2qI2WNAlL0HXdYp+8A6EX9OsACbvBlaKSToEmvUoagpy8cgGpijEUwMo 31yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1v/GWH828oM9qnw7BmuwPl1OTwbK6th2t0rZuoggB/w=; b=vt+xJ5snEZuI1T/7b8xLOUhq2epw5DCWluMw07xBS5pdb5wjaLnuQeP7D+1YimSVvX SjOHSNOYHJNxTCjettIcSlo9DDzANLpEgjolCjcqj4AkiyFVC9x0fias3/uxlS/JeNcv J2Z6a6qcvTS2H3ZXJ4eR+eLiuBtV32mczucFrf4CgONruHIbew73iSzcAamRbpuV/Y46 +m/bezyw3UtoC4XBuzwmIVViqsugpfK7VELfSlpklWpOpPC0EMOdoyKFn4WOVYtjoJEJ fzctKDLLloZcMHjCmzxskwvatvV6Gn4wwNNApKL2bi74pJIjBnQnDIbHY1tXtA1Umhmm B77A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZhyXOK3w; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 145-20020a630297000000b00364c646ab8dsi343052pgc.277.2022.03.02.14.56.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 14:56:42 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZhyXOK3w; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D821E113AF5; Wed, 2 Mar 2022 14:43:32 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244919AbiCBTF4 (ORCPT + 99 others); Wed, 2 Mar 2022 14:05:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233516AbiCBTFv (ORCPT ); Wed, 2 Mar 2022 14:05:51 -0500 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7927D04B4; Wed, 2 Mar 2022 11:05:07 -0800 (PST) Received: by mail-pf1-x431.google.com with SMTP id e15so1158166pfv.11; Wed, 02 Mar 2022 11:05:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=1v/GWH828oM9qnw7BmuwPl1OTwbK6th2t0rZuoggB/w=; b=ZhyXOK3wtbHda6wuUihJ05V5rG7u73YYPzNG2P3Rqn46fkvYe+zsehpnNA3JLoYVNQ omuYRrc8bolqhZsCwYCJ00BtBwMy6eO8vebHuG2yJgjmkfx7YK+t7bcFYMBo9MB/CJrA ysj4wSTfCSnNa4hzgbKXWC0roQiVIvleSeh9CwqPJxL2EQ4pUeJRddoqYd6fTRoC1OTE gLKk9K+BMcou31589beb+DxDz7Zx/W2dBBw/NFmeqL9SlKNqr8tRGnrNymWMu9i6V0hk UZd/DBdSwEcJ5Z54tJSA/SzbtKz1n0P1bMlXCXV7OMNwso3UlcDzB6JrpSaUwcrN93IR U2QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=1v/GWH828oM9qnw7BmuwPl1OTwbK6th2t0rZuoggB/w=; b=qTGq+9VisaDAvUnvhpulTfun7sW9I/5nxX7fgJiBCJdmIzSd8qCNFGUMEvSl7R4IW+ c33eciRK1KWq3peSQLu+yxJztZ/Xk1LEpHirPxjNPmtPs4ztdMA8CGA1PRLqwN06tpnD HwFAT5qEfqIKAuoBTnucyMaDu/IgZLYCtajcxPdCWrBM8FAH1AmyPi/sWHHN0EIYYSI6 zU05ow2VjsXwFYoQluosGDTrC32cwg8oMbCoYrciW1CPH2Q+VNQELIZpUPw66PMCzi0o kdNBt4tWTc/maIKZZBJYcT/jCTc3WmMysfbQi4p7z1hI8sifCSO5xrpj5TTnd+QnOP1h +Qjg== X-Gm-Message-State: AOAM532D+j9ncliCDVGOLa6mVZnoJhsaFyS9zzUnu7h6NKMvBeJDSCiT xeGP0wm1GO8fVB/esAfowmgtGtKm+AT6OQ== X-Received: by 2002:a05:6a00:21cd:b0:4e1:b09b:18e8 with SMTP id t13-20020a056a0021cd00b004e1b09b18e8mr34456075pfj.60.1646247907314; Wed, 02 Mar 2022 11:05:07 -0800 (PST) Received: from 9a2d8922b8f1 ([122.161.53.154]) by smtp.gmail.com with ESMTPSA id n42-20020a056a000d6a00b004e1a01dcc35sm21486049pfv.150.2022.03.02.11.05.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 11:05:06 -0800 (PST) Date: Thu, 3 Mar 2022 00:35:01 +0530 From: Kuldeep Singh To: Robin Murphy Cc: Mark Brown , linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Linus Walleij Subject: Re: [PATCH 3/3] dt-bindings: spi: Add spiclk to clock-names property in pl022 Message-ID: <20220302190501.GA2168@9a2d8922b8f1> References: <20220228124345.99474-1-singh.kuldeep87k@gmail.com> <20220228124345.99474-4-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 On Mon, Feb 28, 2022 at 02:36:23PM +0000, Robin Murphy wrote: > 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"? That's right. It's the DT which is at the fault of defining spiclk instead of sspclk and need to be fixed in DT itself. I didn't take a look at pl022 doc and acted on the basis of DT info. Moreover, DT also uses sspclk and SSPCLK names interchangeably which are anyway same. This also require updation to follow single convention. Appreciate your comments and valuable inputs. -- Best Regards Kuldeep