From patchwork Sun Apr 26 16:20:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 201487 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=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 12990C54FCB for ; Sun, 26 Apr 2020 16:16:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DF38C206DD for ; Sun, 26 Apr 2020 16:16:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=sholland.org header.i=@sholland.org header.b="gwcmGtC/"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="rYYLYsI0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726146AbgDZQQ0 (ORCPT ); Sun, 26 Apr 2020 12:16:26 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33943 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726143AbgDZQQ0 (ORCPT ); Sun, 26 Apr 2020 12:16:26 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DE81A5C0113; Sun, 26 Apr 2020 12:16:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 26 Apr 2020 12:16:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=RQVYJCx+9TANj3Ikx+7eZ177he ek4dmBB4uSOz8PcYM=; b=gwcmGtC/Hfv8Ho/AVICzxglVJ/h680Yvx82w2TMMRr KwkPgrwpThqADSKNg3ziKcS5G1GsafFGPZ6cMYPeIdOEztYdYQpYTuzt/ZLCYbl9 LtTLDY2EoJYw1I0a3XoTjffnIB1G9TGjz5CXOAcFAyJfVt7/iattWlOYOY++tpu5 thoi6waHAfpeigeoYkTGojjH3UdWdjD1tbaZAGJXEnXv/HzWpwH2h8qUd1FVjlX2 tPWFM5FC1v/TtJSQYKFHWsfprQDspNXQ3fW4s+uQO2k6LBPAX1QY6PCZdIL7TJ5P JKbNFGMf7TTh2HjmKRIiYdXuBX9Tio63d1+BOioBbuQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=RQVYJCx+9TANj3Ikx +7eZ177heek4dmBB4uSOz8PcYM=; b=rYYLYsI0cBzxGNNyM2NtPxMIU1XuZxcfG tsYkJ6ev90Q7Q9BjDPDDu2Vch76//+qEVRZem5uuXYD94mDwElT2uYLNJTQeIzd5 IdLhp78ItPxAJf1M5ttjLoXLoIhhb1aaaEOlbObFeA4gFYGxPElWU9Wmxzf4Ltu+ yQAM8ndV2CDSJ6Zo5gII13LTIxhjGWJtFmRILIr3h2BexLWXixLBiXy1dUEFaA2n N2O0DgAwlrsROwcDrmXzU+tXO6uztO0zj6JDoAef1tZtpwViu/WnWLRjAv7elDNs G/CrrDgfvXn4xp1HiDWINs0nReF0+3wfZBuuuX3yJqpSAeN9GdOIg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheejgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucfkphepje dtrddufeehrddugeekrdduhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id BBFBE3065E34; Sun, 26 Apr 2020 12:16:23 -0400 (EDT) From: Samuel Holland To: Daniel Lezcano , Thomas Gleixner , Rob Herring Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Samuel Holland Subject: [PATCH] dt-bindings: timer: Document allwinner, erratum-unknown1 property Date: Sun, 26 Apr 2020 11:20:32 -0500 Message-Id: <20200426162032.52220-1-samuel@sholland.org> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This arch_timer property was added in commit c950ca8c35ee ("clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability") but I omitted the device tree binding documentation. Now `make dtbs_check` prints the following warning for all A64 boards: timer: 'allwinner,erratum-unknown1' does not match any of the regexes: 'pinctrl-[0-9]+' Resolve this by documenting the erratum property. Signed-off-by: Samuel Holland --- Documentation/devicetree/bindings/timer/arm,arch_timer.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml b/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml index fa255672e8e5..cf520c7e9094 100644 --- a/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml +++ b/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml @@ -51,6 +51,12 @@ properties: description: If present, the timer is powered through an always-on power domain, therefore it never loses context. + allwinner,erratum-unknown1: + type: boolean + description: Indicates the presence of an erratum found in Allwinner SoCs, + where reading certain values from the counter is unreliable. This also + affects writes to the tval register, due to the implicit counter read. + fsl,erratum-a008585: type: boolean description: Indicates the presence of QorIQ erratum A-008585, which says