From patchwork Mon Jul 26 03:51:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12398405 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.5 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 9DA05C4338F for ; Mon, 26 Jul 2021 03:54:21 +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 656CE60C41 for ; Mon, 26 Jul 2021 03:54:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 656CE60C41 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=x7rkNJiEnWmKmgFUUOQVDbJaXTnHwGqXedf7cn5tOCY=; b=rJ7+aO1rr0HZ11 pkMUp+aJqjkXT+D8Nj0UlFFPXmfFRoT5LBPrBiLyeAplISBxt6cyoWR2QEulu0vHylFpAEYOUCfu/ n5fM4mBHlLhgTG4lyOLqJVwKqD1VvPB8I9r4Rwl8OATzo2TMzdt8T6LLaKbefJkUx6+rKdIgOV9Yp iHORrLAO58MnRRTOLBmuSF1kIc7Kwt8i1DWA1uQghlJxZNblV1rSOodIG0FjKPAuwsuwBAcYpS+uW RWOyZzLkJzKDbbhGOSaw/n6eTo1rWiow6GEcS53nLxk+tVm5sLAdJn2stmchOjY/X+IaQOJW0DUQE pmFx1ndIg5OhTO7V66nw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7rf7-009UTx-N3; Mon, 26 Jul 2021 03:52:17 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7rei-009UQH-UW for linux-arm-kernel@lists.infradead.org; Mon, 26 Jul 2021 03:51:55 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 662D9580459; Sun, 25 Jul 2021 23:51:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 25 Jul 2021 23:51:47 -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=fm3; bh=dL2RNdEFfB0CS xPuX7MdY2R8OOMX4hoFvSZkqBvBGH0=; b=oOtd0tfigbM00v0lFNv9Ni04KgC5H qMpvXFCm9AWFOWVv+WJUxZ8JVa7JBi5dRdPlH4OAsXPgOWP/uayt4v13h+XwPRSE oQG8q6rvZSXP4R8Oi4w6N7mwGJ2U144Be3UIubs6xQc9lsANgflOMQd1xfkNbLXi VFM/9itGDD9MoHnWUUafI4Tg5uNZ0RcM2DIskAkWkXGILHoiLw5oo5FKh2j+Fz46 9H4jBmQLn5bQIxaDLPOo5WogMSvZsznMN3uUzCZbEfRpBNJVbp2c5vq55N/QozH7 ctNwseBzR6kHtZQBB731IqTKZX20CNyAAokXxua5OJIYVz6/XQVBYXtkg== 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= fm3; bh=dL2RNdEFfB0CSxPuX7MdY2R8OOMX4hoFvSZkqBvBGH0=; b=TSobTx6f IsRz3GnbZjS7lnSso4qnZpwq6ceixRzioqO8D8C4mrVVK5QdM7jjSDZw4yt3didM f7c8GKCsiV6noT7GeyOhzY+SsIDaPEEIgQevvA7Xi4wjvRNlVDkC5I7+kkRtXhad 4LrXB0LVaYs7r3dswRepeY16avIrZ9fVlly06OLaCRVifk+RZLE//nwPlQGT+gXQ Pa/cOZBeNwF9V8Wb/qkNWVvof3jeIS6EeiDvjsf3E0YvK0FHihZ3Vse5irfdRdcT kz5d7nAn9MUJ+pdN6lraB41+d/8/rKJDbpD9epF9SLKt9eyChcxJVdikAfGdHDk4 OBJJwEvbres9eA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrgeeggdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepudfhjeefvdfhgfefheetgffhieeigfefhefgvddvveefgeejheejvdfg jeehueeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Jul 2021 23:51:46 -0400 (EDT) From: Samuel Holland To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, Samuel Holland Subject: [PATCH 2/3] dt-bindings: watchdog: sunxi: Add compatible for D1 Date: Sun, 25 Jul 2021 22:51:42 -0500 Message-Id: <20210726035143.53132-2-samuel@sholland.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210726035143.53132-1-samuel@sholland.org> References: <20210726035143.53132-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210725_205153_120727_51735402 X-CRM114-Status: GOOD ( 10.73 ) 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 D1 keeps the same register layout and clock sources as the R329, but it adds a key field which must be set to update the watchdog's "CFG" and "MODE" registers. Therefore it is not backward-compatible. Signed-off-by: Samuel Holland Reviewed-by: Rob Herring --- .../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml index 853ceb1b7c0f..756e6ab99860 100644 --- a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml @@ -29,6 +29,7 @@ properties: - items: - const: allwinner,suniv-f1c100s-wdt - const: allwinner,sun4i-a10-wdt + - const: allwinner,sun20i-d1-wdt reg: maxItems: 1 @@ -59,6 +60,7 @@ if: compatible: contains: enum: + - allwinner,sun20i-d1-wdt - allwinner,sun50i-r329-wdt then: