From patchwork Mon Dec 11 16:23:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13487558 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 32EF9C4167B for ; Mon, 11 Dec 2023 16:25:03 +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=NDtfPe51ti7l8oRH87l22vvYtDkUbh1aZlpkN1HjUis=; b=OaaqKj1B7bQl/T lzVSQ2GReLhojeZmIwSUxpi1rMzvSf0cZUeFC12uHboYZs7fd8C6wiQUUfCEWrAmNPQGuaSNSuowr /6x2/nvwgMVB/4n5cqPltVeZOO00gp1P5u4Av0DQ6tTas8Tb4njAQng/MG83Rv6D7MFLIqoharSY2 8D58SrXGbapzOkSJJfM1PRZee0KXhTwPudFw+vEiwHO5hZgYxfAqzgYhEjfVXt4iwE1kNuUKTxd1L +2wpWhqomHH5VQcIED04RkcFMwrLz/otqSnLjwTdNIkJCQtX81HdMKTRxxexqQct6H5hJNnabgZSA aKd02jd+ztdEtvENiGuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rCj4w-005mL1-2S; Mon, 11 Dec 2023 16:24:22 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rCj4s-005mHb-17 for linux-arm-kernel@lists.infradead.org; Mon, 11 Dec 2023 16:24:20 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3360be874d4so2689434f8f.3 for ; Mon, 11 Dec 2023 08:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702311854; x=1702916654; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fQbVEHbE7Jm2oAMcwnEr5YFQ0oFjpYUgR/bdrHjiA1o=; b=pqLqGjgUmKNloZCEVpwWV1q/rS2gLa5iZkp8skUS0YV6yexSKtt/hs+NSXMlrhawxk NzVNkkTG79VD0do43T0EUu/mNg8il4hCCVk9SRVS5fqfvY/nIA1V72g9vCJs+/d4P5rs 7OYil3pZ6XAcVhoYwPiSVbWay06RmATwwoMGZW2v8hZsvLJXXXei2TSE1+C4nzxhEvl3 thCVyTXn2ucjNuxM4lmi3ak+st/mqUjXlp2DNeiJ9Ooo0jRS0xuc15GxCYIgGZxPHv0o EczZpZ8Sdd+z3tFyTEQEvhTC0dQ2etVkpIySE83swTeky58n8WU95iBdzQhQ9KzEoDrc yEiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702311854; x=1702916654; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fQbVEHbE7Jm2oAMcwnEr5YFQ0oFjpYUgR/bdrHjiA1o=; b=I4dzfdEfdMULCm0IZSYHqRb73u6kKjyTYBx46YIcB0gMO+b/5CPLz6RCcLlfiywR2P D8rMT68Jn+jaAr3AXE8ZkKzgPq8K1XeSRTrL14vSigmH09Xfp7g6LkzRBPPv2epqxeXM DnY+zjUd6EEF/gabTgZXNhZY1RzCgpBPMdL+Tm1mGCBO/oY0iizUCqYS8QU3byx8R6gR qcQymmzPQzNoYf1LQus49ajKcWI8ZSsxRGFqUH9K6jX1kLMk21bYQs/e6guy1TBAo0tT XgqbD46KQXypx+kTvKjLax5M7Up7p4WAaKblX1sFm98xmAvKdjxp2lMcxNb8jNX4L6mc Q95g== X-Gm-Message-State: AOJu0YwzOei/qPl/yjscODLfBcaJ3nwx+Pw4k6tFthjAueikibnezLch dO6EZ7IgCvhziSJzivZiVKwfyQ== X-Google-Smtp-Source: AGHT+IGcgfVO1mWG8FPfxS5T/G3kVUnE1ysOiGMiALy4Xb1EWs7pENiryRYBzPBsHZ45g2JRf+dM+w== X-Received: by 2002:a5d:6e0c:0:b0:32f:88e8:b8d1 with SMTP id h12-20020a5d6e0c000000b0032f88e8b8d1mr2446026wrz.13.1702311854581; Mon, 11 Dec 2023 08:24:14 -0800 (PST) Received: from gpeter-l.lan (host-92-29-28-58.as13285.net. [92.29.28.58]) by smtp.gmail.com with ESMTPSA id o4-20020a5d58c4000000b0033333bee379sm8923103wrf.107.2023.12.11.08.24.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 08:24:13 -0800 (PST) From: Peter Griffin To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, conor+dt@kernel.org, sboyd@kernel.org, tomasz.figa@gmail.com, s.nawrocki@samsung.com, linus.walleij@linaro.org, wim@linux-watchdog.org, linux@roeck-us.net, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, olof@lixom.net, gregkh@linuxfoundation.org, jirislaby@kernel.org, cw00.choi@samsung.com, alim.akhtar@samsung.com Cc: peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, semen.protsenko@linaro.org, saravanak@google.com, willmcvicker@google.com, soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org, kernel-team@android.com, linux-serial@vger.kernel.org Subject: [PATCH v7 01/16] dt-bindings: watchdog: Document Google gs101 watchdog bindings Date: Mon, 11 Dec 2023 16:23:16 +0000 Message-ID: <20231211162331.435900-2-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231211162331.435900-1-peter.griffin@linaro.org> References: <20231211162331.435900-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231211_082418_382716_CA07E7F7 X-CRM114-Status: GOOD ( 10.36 ) 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 Add the "google,gs101-wdt" compatible to the dt-schema documentation. gs101 SoC has two CPU clusters and each cluster has its own dedicated watchdog timer (similar to exynos850 and exynosautov9 SoCs). These WDT instances are controlled using different bits in PMU registers. Reviewed-by: Sam Protsenko Signed-off-by: Peter Griffin --- .../devicetree/bindings/watchdog/samsung-wdt.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml index ea2d206b05ab..77a5ddd0426e 100644 --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml @@ -18,6 +18,7 @@ properties: compatible: oneOf: - enum: + - google,gs101-wdt # for Google gs101 - samsung,s3c2410-wdt # for S3C2410 - samsung,s3c6410-wdt # for S3C6410, S5PV210 and Exynos4 - samsung,exynos5250-wdt # for Exynos5250 @@ -47,13 +48,14 @@ properties: samsung,cluster-index: $ref: /schemas/types.yaml#/definitions/uint32 description: - Index of CPU cluster on which watchdog is running (in case of Exynos850) + Index of CPU cluster on which watchdog is running (in case of Exynos850 + or Google gs101). samsung,syscon-phandle: $ref: /schemas/types.yaml#/definitions/phandle description: Phandle to the PMU system controller node (in case of Exynos5250, - Exynos5420, Exynos7 and Exynos850). + Exynos5420, Exynos7, Exynos850 and gs101). required: - compatible @@ -69,6 +71,7 @@ allOf: compatible: contains: enum: + - google,gs101-wdt - samsung,exynos5250-wdt - samsung,exynos5420-wdt - samsung,exynos7-wdt @@ -82,6 +85,7 @@ allOf: compatible: contains: enum: + - google,gs101-wdt - samsung,exynos850-wdt - samsung,exynosautov9-wdt then: