From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com [64.147.123.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2D9D70 for ; Thu, 5 Aug 2021 04:57:21 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id D1FDD2B005A5; Thu, 5 Aug 2021 00:57:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 05 Aug 2021 00:57:21 -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=YV06iSB9nV2MJ JmuHJMkzbEQjGsfCqURqCAY4uhBcew=; b=UMjKEB1pa7aSJqyGIdMc/zChgKUqd rqA9XcJpgVaHoWmUw9s4btlX/btL7jRgHXTvgUGBVu1VMz87gJj3xA5Bs2Jm1SFe tvPU5bd2cI1ggxH3aa62HzP9vom2qbX5Ru4nA47ZnZv6BGBJA5pZTXPCBMoHqS8x L53D8na4d/Y/PMeG+owHoXO1XCJrIo1CZtPMma85YY3O3gWwtDf9g+Ffjbf47t/Z Cii1bQULqrjGbWlWNNLM0axurQmVndFrCfaZHhKG20kEPKfN6gfHM9SjcTL9FH7J 5jWcMT32IxNECi3QNE0+AfwGc21yBEgRUOPWd2oEDMxQ7iL+qRSAH+12A== 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=YV06iSB9nV2MJJmuHJMkzbEQjGsfCqURqCAY4uhBcew=; b=Ttms4XVm B7WtMfAVfkd2/phkC+eP7bXWAit7FtemYlczu0tKHfONvFEmOjbs/vcYdVXdpMLJ C9Y6jtu9Nf+zPelxiRgHkM88PV335y62EhdsYKzIEE70rmLq8Vi7lf/oQsgrtbLf SoL2X+kgceUeV17zPRTlXTzgnJ5oY3baNkrExBIogyO2jlfns0oISoRElb+egr17 LMB1Uzv9NGgwgERhEeYQIUWRcc5HbwrBrIt1TMvTw+MCCRk3Wfe/N2QhIzmo9ZV4 E1tZ9ix0ZwV5nJFl4g9cBOCRstug/5E0cUMfctKKNc+1+Jl6SGCgkWMm4jRIaAxU jW73nNGSMc61Iw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrieekgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepudfhjeefvdfhgfefheetgffhieeigfefhefgvddvveefgeejheejvdfg jeehueeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 5 Aug 2021 00:57:19 -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 , Rob Herring Subject: [PATCH v2 2/3] dt-bindings: watchdog: sunxi: Add compatible for D1 Date: Wed, 4 Aug 2021 23:57:15 -0500 Message-Id: <20210805045716.46141-2-samuel@sholland.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210805045716.46141-1-samuel@sholland.org> References: <20210805045716.46141-1-samuel@sholland.org> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Reviewed-by: Rob Herring Signed-off-by: Samuel Holland --- Changes v1 to v2: - None. .../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 8fa5b0d32381..6ef5e7caae80 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 @@ -61,6 +62,7 @@ if: compatible: contains: enum: + - allwinner,sun20i-d1-wdt - allwinner,sun50i-r329-wdt then: -- 2.31.1 From mboxrd@z Thu Jan 1 00:00:00 1970 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.4 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 6750DC4338F for ; Thu, 5 Aug 2021 04:59:55 +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 267DD60F22 for ; Thu, 5 Aug 2021 04:59:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 267DD60F22 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=mekwkZS93g/DPzOWCjoltxi9P5+5vdSTIFnqepymQKg=; b=WQ1xFPf3cX1cpC RDuDP7V78r4vXd335MDob3VbCzItKB3J+PzOpcQCiAy5dOXNafPUyA7j7w6t+bUnFqtjGO5OdfXP4 ABM3ioh4nwRmQX/TLp0jQqEWiGFCpjdsvEe5r8K4RF8zUfxX3Rg8bpszI1r+sEc+LfIgJtYL5wBqU c5CVlwnN+ZhZPdETk9fN65oeFJQr3+/qFsU/OC0q47yzQeMMCMIly//SddYS6xi0q/GqEAGp9WL+w 8xFZ59ayceXQzkSb/GIcsIB5MzCXvE816BMpCtwq/BvnmWZWUBeSNLZ5WEt2Qqk60EsOlwEI6Nw4/ pIR3NgyZC5t6ALondShw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBVRw-00855K-4x; Thu, 05 Aug 2021 04:57:44 +0000 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBVRf-00851I-OJ for linux-arm-kernel@lists.infradead.org; Thu, 05 Aug 2021 04:57:31 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id D1FDD2B005A5; Thu, 5 Aug 2021 00:57:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 05 Aug 2021 00:57:21 -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=YV06iSB9nV2MJ JmuHJMkzbEQjGsfCqURqCAY4uhBcew=; b=UMjKEB1pa7aSJqyGIdMc/zChgKUqd rqA9XcJpgVaHoWmUw9s4btlX/btL7jRgHXTvgUGBVu1VMz87gJj3xA5Bs2Jm1SFe tvPU5bd2cI1ggxH3aa62HzP9vom2qbX5Ru4nA47ZnZv6BGBJA5pZTXPCBMoHqS8x L53D8na4d/Y/PMeG+owHoXO1XCJrIo1CZtPMma85YY3O3gWwtDf9g+Ffjbf47t/Z Cii1bQULqrjGbWlWNNLM0axurQmVndFrCfaZHhKG20kEPKfN6gfHM9SjcTL9FH7J 5jWcMT32IxNECi3QNE0+AfwGc21yBEgRUOPWd2oEDMxQ7iL+qRSAH+12A== 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=YV06iSB9nV2MJJmuHJMkzbEQjGsfCqURqCAY4uhBcew=; b=Ttms4XVm B7WtMfAVfkd2/phkC+eP7bXWAit7FtemYlczu0tKHfONvFEmOjbs/vcYdVXdpMLJ C9Y6jtu9Nf+zPelxiRgHkM88PV335y62EhdsYKzIEE70rmLq8Vi7lf/oQsgrtbLf SoL2X+kgceUeV17zPRTlXTzgnJ5oY3baNkrExBIogyO2jlfns0oISoRElb+egr17 LMB1Uzv9NGgwgERhEeYQIUWRcc5HbwrBrIt1TMvTw+MCCRk3Wfe/N2QhIzmo9ZV4 E1tZ9ix0ZwV5nJFl4g9cBOCRstug/5E0cUMfctKKNc+1+Jl6SGCgkWMm4jRIaAxU jW73nNGSMc61Iw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrieekgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepudfhjeefvdfhgfefheetgffhieeigfefhefgvddvveefgeejheejvdfg jeehueeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 5 Aug 2021 00:57:19 -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 , Rob Herring Subject: [PATCH v2 2/3] dt-bindings: watchdog: sunxi: Add compatible for D1 Date: Wed, 4 Aug 2021 23:57:15 -0500 Message-Id: <20210805045716.46141-2-samuel@sholland.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210805045716.46141-1-samuel@sholland.org> References: <20210805045716.46141-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_215727_851252_10BC3F4F X-CRM114-Status: GOOD ( 10.47 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. Reviewed-by: Rob Herring Signed-off-by: Samuel Holland --- Changes v1 to v2: - None. .../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 8fa5b0d32381..6ef5e7caae80 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 @@ -61,6 +62,7 @@ if: compatible: contains: enum: + - allwinner,sun20i-d1-wdt - allwinner,sun50i-r329-wdt then: -- 2.31.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel