Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2181084pxp; Fri, 18 Mar 2022 05:20:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBTUhf1OG0KKgxEY8mtgTQqtfbc2mNwOsVTi3OsN5EJ/CfZtYNORdhaoV8PmFKwg7FOb5F X-Received: by 2002:a63:c048:0:b0:381:7aad:57c5 with SMTP id z8-20020a63c048000000b003817aad57c5mr7564939pgi.595.1647606006607; Fri, 18 Mar 2022 05:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647606006; cv=none; d=google.com; s=arc-20160816; b=BKQSHnItoJHxQ2Arb+Sq9XVv+afEhek1yRPH/ovFusYLW/RB+6SZ+BvD7OXSwK0II4 Ttf+8lfjKtEz1XYhLW1ms0huk2+GBOYNFaQ447drP2KIGUk0kXOaeQxFMs2D04A0diI0 u3k8dRn5T0/MMw6dX8Ax5e0VQw3GDNNw7CPeKecXUDQRDJBPMmlX0iV2HNwQV4/QRuXs RuG9m0SvARgzdrSuL556UoSEWFVIQNWhuQZlf1IqesvQA3Mx6x9AATQMrKmsmi2e27sK 9MbowY2xP2ETOciWr5mMOkxty1bj8rVL1WvQQnwB5rNTDQs59KTkc6ixTfqn5t4iAI2b flPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mdtS4i3yY9UNNOjJROv83jggfwRN/yRDkWJuxc/obNE=; b=eBDM07BmfoyvvLxUbUXGeAlhw6AM+WVW+Vrap5+Odm/hrNiWoGuW4gbmlS7YysqFwo oGcQG2sNRyMIWzEgOjlxMyL+F4uBV0AERHhztq8UjIUUB43SeYwuK47rksRSJgzJNiRp 3pQKnzSq/lkBRXxypSn485uQXXFyhlXmo1WGmd1D49UZib+vS/fTh9Ocly/9jJohfQfT SNERc65gNzvl1BEovIlMk0jXf1jg49hv+nyj732SF3WTxDMW30HgmBIUNfciNyWNaDD2 5EUmvJkvPqvpcaZNi0iHUWMmXIO1mCrRAB3+9rHbI7tQYO1Aj7v5sTk5B5ph6eRKvVc0 PjPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=VK1XyM14; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v1-20020a63ac01000000b003816043f020si5227587pge.533.2022.03.18.05.19.54; Fri, 18 Mar 2022 05:20:06 -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=@jms.id.au header.s=google header.b=VK1XyM14; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232711AbiCRGUZ (ORCPT + 99 others); Fri, 18 Mar 2022 02:20:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbiCRGUV (ORCPT ); Fri, 18 Mar 2022 02:20:21 -0400 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9145141D86; Thu, 17 Mar 2022 23:19:02 -0700 (PDT) Received: by mail-qv1-xf2b.google.com with SMTP id kd12so5881882qvb.1; Thu, 17 Mar 2022 23:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mdtS4i3yY9UNNOjJROv83jggfwRN/yRDkWJuxc/obNE=; b=VK1XyM1461bgnDLYwq5WW39C4DA1YJKtE4R7hEKsgDcY2KpARw6EAR/kIwCsD+6cpz mB017TbaQqs+AOWXXXTawLEhwdOTRFIabU80XGkvukwlRwIavxYLNkusuiuYgvrAmm1I PerPiFbgrQGXXwAmQzj/7tIXZf1Ytj9tQ1Yr4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mdtS4i3yY9UNNOjJROv83jggfwRN/yRDkWJuxc/obNE=; b=BI5p+ekYIBCl/MDKel9OQDEKxar3Q30usR71gZ6bpom5EnpJsXbVcRk1PaNBh3/xZx ETPVH/wFYCHjmfrQbhOZ/DtMbAq9g4GuLx1QKfWbCVaipSMhCWs9oswVp9itnYY+cfQV +R0gDo+cqzYE831AhTFyQG078JKSdoFa/ctF1tCseCkfNAotWLzDmL005qad65HU2MsG /qg9OBeDwSKe9Tzaf80uahi6OBjcgSCYTCFQFrvHxrZ5ebvzjluVd+ut5T2cIm7mD3w7 zQns0RVGxcyUHC7aX3Jg3g/znEbcJwplLUaFW37P4HIPxVt7MdK7NgAUJhwfBnVAODVc mh7w== X-Gm-Message-State: AOAM533DMa1/vgMkwjlyAOeIeutlE01eagOPwdV/Ew1pPjBE4JiiIJHu swU2pfNhYZb95kUPqe2gdUE1F0sEKrvZyenXMXo/Ve4pbt3U/g== X-Received: by 2002:ad4:5fc5:0:b0:435:4420:d056 with SMTP id jq5-20020ad45fc5000000b004354420d056mr6090637qvb.130.1647584342048; Thu, 17 Mar 2022 23:19:02 -0700 (PDT) MIME-Version: 1.0 References: <20220317191527.96237-1-singh.kuldeep87k@gmail.com> <20220317191527.96237-4-singh.kuldeep87k@gmail.com> <87h77wxslh.wl-maz@kernel.org> <20220317211024.GA99538@9a2d8922b8f1> <87fsngxnff.wl-maz@kernel.org> In-Reply-To: <87fsngxnff.wl-maz@kernel.org> From: Joel Stanley Date: Fri, 18 Mar 2022 06:18:50 +0000 Message-ID: Subject: Re: [PATCH v2 3/3] ARM: dts: aspeed: Remove arch timer clocks property To: Marc Zyngier Cc: Kuldeep Singh , Rob Herring , Andrew Jeffery , Linux Kernel Mailing List , devicetree , Linux ARM , linux-aspeed Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,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 Thu, 17 Mar 2022 at 21:46, Marc Zyngier wrote: > > On Thu, 17 Mar 2022 21:10:24 +0000, > Kuldeep Singh wrote: > > > > > > > > > > > Moreover, clocks also matches incorrectly with the regex pattern. > > > > Remove this entry altogether to fix it. > > > > 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+' > > > > > > NAK. That's not a reason to randomly butcher things. > > > > I hope I explained my reasons above. > > My position on this sort of change remains. Blindly changing existing > DTs based on a warning provided by a tool that totally ignores the > reality of what is out there is not acceptable. Thanks Marc for stating this. I share this view; we shouldn't go around deleting parts of device trees for the sake of the bindings. It's been happening across the tree, and I think it's to the detriment of the supported hardware. In the case of this particular change: I suspect this property was there for early bringup, before the firmware was in place to configure CNTFRQ. Looking back in time we had: clock-frequency = <25000000>; arm,cpu-registers-not-fw-configured; I'm not sure why that changed from clock-frequency to clocks when the device tree was mainlined. That was bringup. These days, the vendor u-boot programs CNTFRQ with a value for the system. This code is also in mainline u-boot, so as long as you're running one of those firmwares the standard method will work. The qemu model also sets CNTFRQ, so loading the kernel without going through u-boot will be fine there too. Given that, I think we can go ahead with removing the property in this case. Reviewed-by: Joel Stanley I'll take the patch through my aspeed tree. Cheers, Joel