From patchwork Thu Mar 17 19:15:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12784541 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 05082C433EF for ; Thu, 17 Mar 2022 19:17:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EAZVhL53rCPL7l/y4jEzhOud5vwz5/7xSbLGemC/WJA=; b=PKqVCP0CR/oLE4 sAThKF3fahL/8UWLj6xMoYRtiHmV23RUOVVkn12dalf/y/eU2zUKTi5L8KoISdr1EjLxerp9hI1Qr xCa3w+9IIwkX3x5o1ajZcfV8KxUkwRcPV4WoAb6YdwnYdx5XCN28Lhehyx92inBnFVL/Exujuc4Kf /HvZimT6QLAI30yMC2IdY2GHm7K8dTQshH05S6ftaM65P4zhg5faHPXX+r+1cZkMaTf6GCcNYE/Wh cx5Shyh8PRT3pzWSxZsP7OokMMau3dIWPd2CPOvlMpZNW5XRvK4DFGzy3t28BRbo+Oln3ojAItgeS MWyiTwocPuet+m79jDBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUvbF-00H9D4-6q; Thu, 17 Mar 2022 19:15:53 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUvb3-00H96v-4S for linux-arm-kernel@lists.infradead.org; Thu, 17 Mar 2022 19:15:42 +0000 Received: by mail-pf1-x431.google.com with SMTP id g19so7564573pfc.9 for ; Thu, 17 Mar 2022 12:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8qcfcJ8VqYp/pzvC9P1aG/6ryMzoosy3vn564CYXP0I=; b=k53HJLZVSwlhsZ6/38p2KDs+SxMv2V2wUYoaTfXFwh3fxquypK9hSKIYbvq6bVgnRG K1wQSMaDrMZPAgJx3YLqmp8894S4p3ha9cfXqLcIWftKDEhKqBWJM+TZp5DBLloh9/RC WrXd3u+fdf0OwQ1b2npDcdHNiyMOBVvFFGtzGYe2/OYm9WQnXZ24E+FXQ2p3fbqZpbUI /lB7UROCE03QPD2Y44C4gWrLRM+C8lYOGPuX26Nw6ZNeNG7tpn1sPQXIAJ2UrHHo4q90 7d9IttvIS0X+zGpMEOLjKI6gxOc6SEalDeeaH4ki1VAYXOBnNrJcdoreJDWnnImCi6HL 6abQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8qcfcJ8VqYp/pzvC9P1aG/6ryMzoosy3vn564CYXP0I=; b=j4t4ZpG7uX72VtNk46Wb8woCJzETejnAL67D9d/XRtPL5hrGOMZbtGaXRnYfV7ys4C dVSqmsHjL5v9mR1rCvdVOjMVDh0igKA2j4C6UEhoZaZ3r34Fzp+GoZO0+xWnd7gv7zPK +vnA0Dhwo0FAEjPHEZ0UHqfYtSe8C5BldqSB0uQ9FDwk7YaiIF83zrL948WofYM+zDPw ckiXbwsR556UWUoFYbAH2cYNLdk/uWlwgMi0KbT5qFCBdM+eGGeNxE2ZRLtcpAzLeCHj wJYOvnaviIXfu3tOuWckQh2d7obtDBncOREvc4LWKWWj49tJ9eq3kLbFUmyHVsMmqyRE u5Mw== X-Gm-Message-State: AOAM533+eGqkSKH19q0MR/FXXpVir2Wi/kgQmQaGX7mM5/bRBvZqJH9V WCbJk6OsXqQH2iR2+qe43FHqYKvPYVE= X-Google-Smtp-Source: ABdhPJzCbfIzSf34lg4OfR3/J2HaDMUbW5DeGMClqawYA8j+tZ55E+Zo2hpkZw0PFkbKBMLhJgkdHA== X-Received: by 2002:a05:6a00:1695:b0:4f7:decc:506b with SMTP id k21-20020a056a00169500b004f7decc506bmr6506263pfc.7.1647544539850; Thu, 17 Mar 2022 12:15:39 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id d11-20020a056a0010cb00b004e1b76b09c0sm7623076pfu.74.2022.03.17.12.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 12:15:39 -0700 (PDT) From: Kuldeep Singh To: Marc Zyngier , Daniel Lezcano , Thomas Gleixner , Rob Herring , Marc Zyngier , Mark Rutland Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Subject: [PATCH v2 1/3] dt-bindings: timer: Rearrange compatible entries of arch timer Date: Fri, 18 Mar 2022 00:45:24 +0530 Message-Id: <20220317191527.96237-2-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220317191527.96237-1-singh.kuldeep87k@gmail.com> References: <20220317191527.96237-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220317_121541_206938_63224EF5 X-CRM114-Status: GOOD ( 10.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Compatibles entries of arch timer includes few extra items and enum pairs which are redundant and can be simplified in a more clear, concise and readable way. Do it. Signed-off-by: Kuldeep Singh Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/timer/arm,arch_timer.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml b/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml index df8ce87fd54b..ba2910f0a7b2 100644 --- a/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml +++ b/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml @@ -21,17 +21,13 @@ description: |+ properties: compatible: oneOf: + - enum: + - arm,armv7-timer + - arm,armv8-timer - items: - enum: - arm,cortex-a15-timer - - enum: - - arm,armv7-timer - - items: - - enum: - - arm,armv7-timer - - items: - - enum: - - arm,armv8-timer + - const: arm,armv7-timer interrupts: minItems: 1 From patchwork Thu Mar 17 19:15:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12784542 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B1A18C433EF for ; Thu, 17 Mar 2022 19:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UExPKVNbDja06yKQwQItYuLb5GfmI96W3y7urb9l2Rw=; b=ae6IiQ/dDiAOTq NZve/IAbG0TmaVdGfC1BcdJZd8es7X9pbGCYxZ4xBx6Q6PXjRkReFWM5oWKNW0jg2azbAHufe7IgW FCVNeUxjfyrif5er3MsISoUG6k+fWp5EJpIsnwGwNU2ssqcdh2XqZqUfMZqloO2bBJppFLm2L5kKo yojj54rrBzqXfMlCITq/x7/XYry9P/bzKvNWMTaknEn1dkd7neEzXR5KWzb7VraSKD+qVbVL7iu9Z giQOCqAyWrH9UbXwSACkHCtC6bWYqXccpt4pZ9L5xig+Xijz6almDOW/t87qRkQwW+KV7sgS5Yehb TVb5bI09hXke54ksnhZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUvbS-00H9JG-ET; Thu, 17 Mar 2022 19:16:06 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUvbB-00H9Bb-Gl for linux-arm-kernel@lists.infradead.org; Thu, 17 Mar 2022 19:15:50 +0000 Received: by mail-pj1-x102b.google.com with SMTP id n7-20020a17090aab8700b001c6aa871860so230476pjq.2 for ; Thu, 17 Mar 2022 12:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dxUfj/YGzIP4VTpLRMmUOnHGv8lAvk7GNTWCZHRo5RE=; b=PJsC+y+slanqZ0fOZg4N+wc/QWIg6XEQSNFZqZ6BkiWuDce1Bjy8CZLhS+HeDK6SJ4 EEsBW+0ZX3BYDaK6J581vGWoi0JNqwg06NwsX2mT5hVXzym4Kotn1yFnqPFCidZIUsJy A3KncimIfXIp+mYsZN266q65sAxhspuyJ79NnbN/JU4Yt1MHEGaxkYnWD+BYSyI3C3YZ 0bwCA/18JkKxiZczyxwRFOLgsGgYcXOnA4GK9PNTlbPbbG68gp0FBQVFQVDCF/KXUTlE vGcrczWSHCZEu6eOJqOVMLUCsH7vE3zaQsSKiWkhnQu+Q/VUViVK3yolXLxYetQCgKv4 AG8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dxUfj/YGzIP4VTpLRMmUOnHGv8lAvk7GNTWCZHRo5RE=; b=1eIHoyOnpL8yfjR85sFRQ9obCgl42Hw4ugUTjHq12L8qLLpKLvYE/I9jEZxCJw+qWN Y6qKzFYdt5uscWxymLSf0dTOocpbJu8QmUgvO/V2FhK4h91zVQIB+Lpw1m0HxDljRXEf n3XjDqJfXDVibrV+A/Wa5ayLrkIFkuMk4NV8r8hteOFZ/sKhf+zzNsHDL7/7LucnfFen L77SWk1EPDUk1lhyBrl3hXLSD7sBAwxysSIDIqFejs9aB8xwgxV8W6pfdwf6/8P576zx 8aKPVfJieKGx3gns+nKu9RVAPKFrwzavp1c8k/YRJ4YM8Nw5fEu/0r3RqSAcduXnDkmf emfw== X-Gm-Message-State: AOAM530jk41JAHdY/oiuRgG98qHvnRyl9ClMZFGI8pAQpT/YtkfclsLU JlK2STPk4EK2Bvg9mCXwfJPR/n0eZ4o= X-Google-Smtp-Source: ABdhPJwSsEbretjSA4xyDoEuOQfplI3CVYkHgA/VI9oeYSltQUClIE2eF1ywJVySSohih5OMimDIWw== X-Received: by 2002:a17:90b:1e06:b0:1bf:5a9b:5766 with SMTP id pg6-20020a17090b1e0600b001bf5a9b5766mr7213164pjb.159.1647544548267; Thu, 17 Mar 2022 12:15:48 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id d11-20020a056a0010cb00b004e1b76b09c0sm7623076pfu.74.2022.03.17.12.15.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 12:15:48 -0700 (PDT) From: Kuldeep Singh To: Marc Zyngier , Daniel Lezcano , Thomas Gleixner , Rob Herring , Marc Zyngier , Mark Rutland Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/3] dt-bindings: timer: Document arm, cortex-a7-timer in arch timer Date: Fri, 18 Mar 2022 00:45:25 +0530 Message-Id: <20220317191527.96237-3-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220317191527.96237-1-singh.kuldeep87k@gmail.com> References: <20220317191527.96237-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220317_121549_582954_7FB5D3B1 X-CRM114-Status: GOOD ( 10.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Renesas RZ/N1D platform uses compatible "arm,cortex-a7-timer" in conjugation with "arm,armv7-timer". Since, initial entry is not documented, it start raising dtbs_check warnings. ['arm,cortex-a7-timer', 'arm,armv7-timer'] is too long 'arm,cortex-a7-timer' is not one of ['arm,armv7-timer', 'arm,armv8-timer'] 'arm,cortex-a7-timer' is not one of ['arm,cortex-a15-timer'] Document this compatible to address it. The motivation to add this change is taken from an already existing entry "arm,cortex-a15-timer". Please note, this will not hurt any arch timer users. Signed-off-by: Kuldeep Singh --- Documentation/devicetree/bindings/timer/arm,arch_timer.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml b/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml index ba2910f0a7b2..ea390e5df71d 100644 --- a/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml +++ b/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml @@ -26,6 +26,7 @@ properties: - arm,armv8-timer - items: - enum: + - arm,cortex-a7-timer - arm,cortex-a15-timer - const: arm,armv7-timer From patchwork Thu Mar 17 19:15:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12784543 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6682DC433F5 for ; Thu, 17 Mar 2022 19:17:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=v9dbOlkQ/IJ8iAh/mUlmc+lAGiWXOAZ79hYUPbEzkzY=; b=Mf8/aArrs8t9Xb wrB95h0FhBaTJACA/1gdE22RKt14rnU3qly1CPJ2Ca6RbDUqiDEPDFuU6S2RFcofBHqIkp1qVdt84 oIjp4u27ClOQYaKjnhy98VUB5I6vLgeznzVryHx5n2JaLpN29cF2sFUdQAD1KgJ5GKpe4KYfK15c6 Yxmn6fbGZ6TitcZZnpPfk3Mtlkgv6I3uZASmzcbPlPaA5sw9L3Q7pG6AXt5L3PlQ+qhjEvEw1MBms J7s6sYswQF4DuLNYv6CBBYjdr4OOGSWCUBYMBKJym6CcSgBkpuI75GDjWWp/3SNxNg1lYhJpIKiUC 00YyNk3Bre7uqG3QO82Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUvbf-00H9Qx-In; Thu, 17 Mar 2022 19:16:20 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUvbE-00H9Cu-Sv for linux-arm-kernel@lists.infradead.org; Thu, 17 Mar 2022 19:15:54 +0000 Received: by mail-pj1-x102f.google.com with SMTP id bx24-20020a17090af49800b001c6872a9e4eso2222799pjb.5 for ; Thu, 17 Mar 2022 12:15:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ra3lig8Mw5jgrfIYORH6OPZQGSdQZUTC0lhaPMPwJKY=; b=M4AvDjXI/NitZPtXNLOus/tMJ6/l+u6+pfomdfirI+wQmqSMdTDoI/O/PZPXJSj+b9 KLDjtwGI4mJga86llA0NxD1YdZMQE23lNYkgShZQTlJpU8i4CDveEVR4f4/KavMXqX6L PBQTxnsS0gFUXD5pm/jtbVBQQ1ZxWOsnSYLBsPIaC5FZzZu+UheAbZZIexi70gE569ys X7Dhp2n/ngtAI/QXcR30cBMLEZ2YxUNwl0MsO/azrk0MDrQChZghK3wWbriiYnj5yFCi J0L0Z8biOyjoKGk6A7N4vTDG+Fd3W5CmxXWc3/zrU7mVJQTxM9h462oWG4sQ6AUGleKL x+4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ra3lig8Mw5jgrfIYORH6OPZQGSdQZUTC0lhaPMPwJKY=; b=z+eGHsQeDM3em/RNNbEj72iILMZKireuPokE5mEBnNDb4Ry/Gm96NxSv/C0AAoTYZ3 t19Y9pwZyR6jAD2VRXeYQCl+KF+TaI1IbIlif1DdAwrK8wgb9kA13N2+zkq4aI5V7lNr VgygWytcjPs1/fp16oOXjiyCxvXzXivxdk+qKJsg1YeQuINcoJ2xYi97MMPwmRgDTgSh NFUT1ADcmU/1R/sHVH1JwsBrG5ah0mO9jxUg3wlXN0d/vZ2mOVqMJWzEYRVfhgI53Iqe ktHyuTqCNyFQsd36/1TRheME3monCKN27wxCJTLw4kLdf80gwbNGeKn939JYT8vtQ5+P avPw== X-Gm-Message-State: AOAM533BrPBb3pxKS81heUVnMUu8otTOKESN1zSG7STn/OM5Ax90u3oG TaU/ybaqIOx+6Q4yVduTYA8= X-Google-Smtp-Source: ABdhPJzZrFOfTfDFR/A+MlW2V7H/O5+s8KWluMgYHWIxVUMEOBwUxz7hGpUNjliJLIqA0EyC3gBN2A== X-Received: by 2002:a17:90a:558b:b0:1c6:6f44:a36a with SMTP id c11-20020a17090a558b00b001c66f44a36amr7028417pji.141.1647544551687; Thu, 17 Mar 2022 12:15:51 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id d11-20020a056a0010cb00b004e1b76b09c0sm7623076pfu.74.2022.03.17.12.15.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 12:15:51 -0700 (PDT) From: Kuldeep Singh To: Marc Zyngier , Rob Herring , Joel Stanley , Andrew Jeffery Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH v2 3/3] ARM: dts: aspeed: Remove arch timer clocks property Date: Fri, 18 Mar 2022 00:45:26 +0530 Message-Id: <20220317191527.96237-4-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220317191527.96237-1-singh.kuldeep87k@gmail.com> References: <20220317191527.96237-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220317_121552_963059_9317E129 X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Arch timer either require clock-frequency property or doesn't need to specify clock at all in DT. In general, frequency can be determined internally and in case of brokern firmwares, need to extend clock-frequency to pass info to driver. Aspeed BMC is the platform which defines clocks property, an invalid entry which can be safely removed. 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]+' Signed-off-by: Kuldeep Singh Reviewed-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g6.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index c32e87fad4dc..d5ef9aceb632 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -64,7 +64,6 @@ timer { , , ; - clocks = <&syscon ASPEED_CLK_HPLL>; arm,cpu-registers-not-fw-configured; always-on; };