From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60F2FC47253 for ; Fri, 1 May 2020 16:32:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4A748216FD for ; Fri, 1 May 2020 16:32:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729565AbgEAQcw (ORCPT ); Fri, 1 May 2020 12:32:52 -0400 Received: from foss.arm.com ([217.140.110.172]:43532 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728443AbgEAQcv (ORCPT ); Fri, 1 May 2020 12:32:51 -0400 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 8FFE930E; Fri, 1 May 2020 09:32:46 -0700 (PDT) Received: from bogus (unknown [10.37.12.80]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D52B43F68F; Fri, 1 May 2020 09:32:42 -0700 (PDT) Date: Fri, 1 May 2020 17:32:39 +0100 From: Sudeep Holla To: Rob Herring Cc: Linus Walleij , Liviu Dudau , Lorenzo Pieralisi , Kevin Brodsky , Arnd Bergmann , Catalin Marinas , Greg Kroah-Hartman , Lee Jones , Sebastian Reichel , Stephen Boyd , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v2 05/16] clk: versatile: Only enable SP810 on 32-bit by default Message-ID: <20200501163239.GB14018@bogus> References: <20200429205825.10604-1-robh@kernel.org> <20200429205825.10604-6-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200429205825.10604-6-robh@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Wed, Apr 29, 2020 at 03:58:14PM -0500, Rob Herring wrote: > While 64-bit Arm reference platforms have SP810 for clocks for SP804 > timers, they are not needed since the arch timers are used instead. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Sudeep Holla With a note below for sake of information, Reviewed-by: Sudeep Holla > Cc: Lorenzo Pieralisi > Cc: Linus Walleij > Cc: Stephen Boyd > Cc: linux-clk@vger.kernel.org > Acked-by: Arnd Bergmann > Acked-by: Liviu Dudau > Signed-off-by: Rob Herring > --- > drivers/clk/versatile/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig > index df0d50bb846c..a47dd6c86d2e 100644 > --- a/drivers/clk/versatile/Kconfig > +++ b/drivers/clk/versatile/Kconfig > @@ -17,7 +17,7 @@ config ICST > > config CLK_SP810 > bool "Clock driver for ARM SP810 System Controller" > - default y if ARCH_VEXPRESS > + default y if (ARCH_VEXPRESS && ARM) Just note that SP804 is selected by ARCH_HISILICON and ARCH_BRCM or something for Raspberry Pi. So, this will result in the warnings on Juno like: sp804: timer clock not found: -517 sp804: arm,sp804 clock not found: -2 sp804: timer clock not found: -517 sp804: arm,sp804 clock not found: -2 This can be ignored as we rely on arch-timers and they are just there in DT for completion. We can disable them in DT if that's fine ? -- Regards, Sudeep From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A74C4C47259 for ; Fri, 1 May 2020 16:32:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7991E20836 for ; Fri, 1 May 2020 16:32:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="C4952DXo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7991E20836 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jGJn/OL5n+rBApYB/bVwgb72HHgoigdEO2lJncPnBLI=; b=C4952DXo+abCcL 1ezE53mTx0pGFFqCcZcv0T01Ux/W79stPL6/C1BSB2GiB9xXgJ8ZEcEm3S+dhOTuUkHFoE7Cd+Adv WNkIU7VqAqYoKtc2AV2pz8xsFJ8uOQm+QrhAhSoxa4iXOMMUDl7OqllOXYHfApevVoMR3Jb0ZU6LP 7A4dHSnE6hm1FHqfJfdfWR8cgkrhV7SUedJjjZ40s6V/8TnMhN6fOj4vgtIRkBpznO3tioN9pWCSE b5Q/YUiruMXPhiNcPbRPuhi2UVt7iLgl4OOvQOUGz2pYGUM6U/A+MT4tHdHa+KieS7tr+gSoYKBSE sgz9MTq0YfVnYNECYvnA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUYaq-0000bF-3W; Fri, 01 May 2020 16:32:52 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUYal-0000Zl-NL for linux-arm-kernel@lists.infradead.org; Fri, 01 May 2020 16:32:49 +0000 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 8FFE930E; Fri, 1 May 2020 09:32:46 -0700 (PDT) Received: from bogus (unknown [10.37.12.80]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D52B43F68F; Fri, 1 May 2020 09:32:42 -0700 (PDT) Date: Fri, 1 May 2020 17:32:39 +0100 From: Sudeep Holla To: Rob Herring Subject: Re: [PATCH v2 05/16] clk: versatile: Only enable SP810 on 32-bit by default Message-ID: <20200501163239.GB14018@bogus> References: <20200429205825.10604-1-robh@kernel.org> <20200429205825.10604-6-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200429205825.10604-6-robh@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200501_093247_807437_D289CAC6 X-CRM114-Status: GOOD ( 15.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lorenzo Pieralisi , Arnd Bergmann , linux-pm@vger.kernel.org, Stephen Boyd , Catalin Marinas , Linus Walleij , Kevin Brodsky , Liviu Dudau , Sebastian Reichel , Will Deacon , Greg Kroah-Hartman , Lee Jones , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 29, 2020 at 03:58:14PM -0500, Rob Herring wrote: > While 64-bit Arm reference platforms have SP810 for clocks for SP804 > timers, they are not needed since the arch timers are used instead. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Sudeep Holla With a note below for sake of information, Reviewed-by: Sudeep Holla > Cc: Lorenzo Pieralisi > Cc: Linus Walleij > Cc: Stephen Boyd > Cc: linux-clk@vger.kernel.org > Acked-by: Arnd Bergmann > Acked-by: Liviu Dudau > Signed-off-by: Rob Herring > --- > drivers/clk/versatile/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig > index df0d50bb846c..a47dd6c86d2e 100644 > --- a/drivers/clk/versatile/Kconfig > +++ b/drivers/clk/versatile/Kconfig > @@ -17,7 +17,7 @@ config ICST > > config CLK_SP810 > bool "Clock driver for ARM SP810 System Controller" > - default y if ARCH_VEXPRESS > + default y if (ARCH_VEXPRESS && ARM) Just note that SP804 is selected by ARCH_HISILICON and ARCH_BRCM or something for Raspberry Pi. So, this will result in the warnings on Juno like: sp804: timer clock not found: -517 sp804: arm,sp804 clock not found: -2 sp804: timer clock not found: -517 sp804: arm,sp804 clock not found: -2 This can be ignored as we rely on arch-timers and they are just there in DT for completion. We can disable them in DT if that's fine ? -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel