From patchwork Mon Mar 22 04:47:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12153681 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=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 0ADD9C433C1 for ; Mon, 22 Mar 2021 04:49:26 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 80A6761930 for ; Mon, 22 Mar 2021 04:49:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 80A6761930 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=desiato.20200630; 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=bAL2RbRvq0CTlA6+UgriMcMuN4qyO+b1clk8Y3EOmTA=; b=rEh5A9tsCJMtNKg3+1gQpdpol 2iY0Td2byzKcspD+DDBJhajWXKT+poXa6CWUQtHY0icJLTwe5SG7yT16iyvWw8N1YYTMYCAzRTT4h VzAHAdKdsfUvIDOS+Zsk5a0huZo+rdYpp2uHyqj9OT8XX8gStmdSSqHQOnQ/CTWGhGfq7aFzr9G4L N6U+sJQiM1YLDIEoXuDL1mWs+GK35YsY3Jz1Iv+0aG+dXhrn69/SG/x+oW1HTGUWx97O9WbBuoKlp JNigFsYaehPGu9lkKGQNsdzx6uisS53m6Qv0moVHAVSML0iPuXdZLgBb/0QDj2vOhNCTIv+87VP5W VigYlIV1Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lOCTO-00As4D-RU; Mon, 22 Mar 2021 04:47:26 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lOCTH-00As16-BX for linux-arm-kernel@lists.infradead.org; Mon, 22 Mar 2021 04:47:22 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id B3752581B07; Mon, 22 Mar 2021 00:47:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 22 Mar 2021 00:47:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=dyW4KFPM6bBPy u0UhgCtHoqbveAGS27dC5bKLdzD794=; b=KXViEFZDTygsMkrfR3IISfIQ/ziFz eDiEoGKVd7ojrohCtemrYYGJQrtyP8dsivQCksm7dgIsDKWO/r5XHghCzbBZ9fat dmIecnf4tuUlEbxx6wAjm6ft2MFUYbg/HFLITX1QvRaEP9fsSmOt99GACzsFjG45 t3qpO6ipbgnXJwKLNu8oL+0X26L9tDMWE8TidAOUE3MnOjb6Ukq/aWdF6xSeTnM3 kIXvlmNyP72aBzLmVFt7jwl8yAMIpYJB1JGCnfzbhgti72XwU1nhcpbQQ+xGVgFT MpMXekzcm3hJpfLLxGe39LZ9i6OKSev6bAkkVeeOafAX494H/JM8JcSdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=dyW4KFPM6bBPyu0UhgCtHoqbveAGS27dC5bKLdzD794=; b=tXO+OWBV IbQ/GjQOMwGHm3sQBfh+53FBPT33H1o+gfNsPLZbWMeUPB9v4SQvsLQIw28B7JZu ojpaQWDb+1uG3loelfcGmHDEIZPWzt3ZEzei6rJfcx0WRNsSe+5Oby4XRWTJ/zZ7 NaOi3PU/+5KptmzhejK1V59ffe6AuJrh44UIHOtOmorIkgvyEgSRah7WHFWzoWHr 3+bcBr78aRZ/qnHPzsya5+x0C9ZZE0+9g1khbpzaXKlFuKfQH6Pw+KPE+zATtN7j Nm5phIfhb71W6D2sLFJJAl214C9tmrTlt/198OmNnFElf//ZJSldNsl5UTUVP9A4 iz1tV2IHNAH12w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudegfedgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeduhfejfedvhffgfeehtefghfeiiefgfeehgfdvvdevfeegjeehjedv gfejheeuieenucfkphepjedtrddufeehrddugeekrdduhedunecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghn ugdrohhrgh 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 8A1EC1080064; Mon, 22 Mar 2021 00:47:09 -0400 (EDT) From: Samuel Holland To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Catalin Marinas , Will Deacon Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Samuel Holland , Maxime Ripard Subject: [PATCH v2 2/5] dt-bindings: timer: Add compatibles for sun50i timers Date: Sun, 21 Mar 2021 23:47:04 -0500 Message-Id: <20210322044707.19479-3-samuel@sholland.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210322044707.19479-1-samuel@sholland.org> References: <20210322044707.19479-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210322_044720_112591_B29CE318 X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. 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 The sun50i SoCs contain timer blocks which are useful as broadcast clockevent sources. They each have 2 interrupts, matching the A23 variant, so add the new compatible strings with the A23 compatible as a fallback. Acked-by: Maxime Ripard Signed-off-by: Samuel Holland Reviewed-by: Rob Herring --- .../timer/allwinner,sun4i-a10-timer.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml b/Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml index 3462598e609d..53fd24bdc34e 100644 --- a/Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml +++ b/Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml @@ -12,11 +12,18 @@ maintainers: properties: compatible: - enum: - - allwinner,sun4i-a10-timer - - allwinner,sun8i-a23-timer - - allwinner,sun8i-v3s-timer - - allwinner,suniv-f1c100s-timer + oneOf: + - enum: + - allwinner,sun4i-a10-timer + - allwinner,sun8i-a23-timer + - allwinner,sun8i-v3s-timer + - allwinner,suniv-f1c100s-timer + - items: + - enum: + - allwinner,sun50i-a64-timer + - allwinner,sun50i-h6-timer + - allwinner,sun50i-h616-timer + - const: allwinner,sun8i-a23-timer reg: maxItems: 1