From patchwork Sat Dec 9 23:30:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13486183 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 324D5C10F14 for ; Sat, 9 Dec 2023 23:32:12 +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=Jm2jux+/gRzwX1wbAGelYKcYHOOAO7mGjRDovJA7es4=; b=IPKlXWMTIArspT Psj3I7xQZk8DEnsxGc4bCB5qTWNzi4v5vVDiLIJ4dZ3/niB0PGUSHyztFjqhGglL1tXdaRkKMFl23 I++YFr2WtqfiYt9eZEJ0K7aHChL88aK6OSM16U2PDu/6zZNMdpQ3xTzHl0KMAKzHtjTU0yQkUb8Gr Dt5txTwm0XZ3kaaR0zTbcEdYh9dJcRKmPp2yniCTxUWukr2m3TWl6SBw8QK4iH1lG71TETk7GY3oL OlGGYVjKGK0zOOwJm/Z3uItHSdRY9EXqkOeXYikdL88fgTuQXdTaagiba/+oBqAGObFldTS22U8DE D9mqeXhpbcH1+hGqx8pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rC6nH-000h41-1T; Sat, 09 Dec 2023 23:31:35 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rC6n5-000gxH-1Z for linux-arm-kernel@lists.infradead.org; Sat, 09 Dec 2023 23:31:25 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40c29f7b068so31437485e9.0 for ; Sat, 09 Dec 2023 15:31:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702164680; x=1702769480; 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=LNKNc9ba2oW+5GVALaJt9jJ8CT91VxfoYNg+x7EUoR4=; b=sL/PYk3x2P+/fzchp5UtgMBG56Q4cgOwWH7lg7em8bYNk/g5gibC8/+DJX4U3YgVsB u2h5tMkoJMsh3yxcrbdiO/QEIGW3jOM0JIpBmj6S5N9z3mqcIRLpXPJwbEluu8kbF984 IVz4tNmBIpbkQZD9fMeB+5kTL5MUfwH1TyJU8Xm1p3v2YiPXaYsYdwMX7K8F/VzlO9Qu AIDA6y+BkKQu28Ni8WMVKp9xV/Km9mUjzz6LXTsxgvyF9EHMLg+345b72CQlDwaEEPRS euOkgE+vo5OCiMWX3lF9p+Pc31WPTHq17PhJV0RLDHJjSVA/AYRseQSG4lQKSE+IEnez CFPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702164680; x=1702769480; 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=LNKNc9ba2oW+5GVALaJt9jJ8CT91VxfoYNg+x7EUoR4=; b=QuDWSz7M8NjLn9vZCf+0V5JaRCUS9B0G0zw6x9yeiazaTspGzmZkCKP97GL+0Ek615 e+ofTGlfwKeY0vnx+b38qBjaNvK3X0LWzTMMB0GhZ2ewUjntk2PWIqT5xcNprsai9+AW wMxYVVzNNIaLP2oaKUtJagVcnmaWKW212xzY9BonrJC4g/Rs2f155qkRYkL5AMOvYQCi PBehcfej85yOeqUqRM4jU0jhJ2MdbWzYAk/woGS4jl/ODQDWZ9uo8tkhTTBJCoZyX+4L PLVBqMnKNqN1r5zT4ttoFQLgqrnKapBkoKXpZaV0Co5IAdmFOkbOsgwjgwQEPKxehHf2 Tc6A== X-Gm-Message-State: AOJu0YyzM5cUABFs8tP/Myvu51vp73OxkW0VW8SCHcbzI2dukgh6BQDS pHDA32nSninXA1NkbSdLsFM9fg== X-Google-Smtp-Source: AGHT+IHxsGCDs1nqyGnKq+XEy7/JjY+5fCac/dj81p+I/NjwJHH6T+elv8cUb+jRy4JwuXiqskzBbw== X-Received: by 2002:a05:600c:3411:b0:40b:4aed:ef31 with SMTP id y17-20020a05600c341100b0040b4aedef31mr1133307wmp.21.1702164679695; Sat, 09 Dec 2023 15:31:19 -0800 (PST) Received: from gpeter-l.lan (host-92-23-61-173.as13285.net. [92.23.61.173]) by smtp.gmail.com with ESMTPSA id n9-20020a05600c4f8900b0040c41846923sm1875277wmq.26.2023.12.09.15.31.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 15:31:19 -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 v6 04/20] dt-bindings: watchdog: Document Google gs101 watchdog bindings Date: Sat, 9 Dec 2023 23:30:50 +0000 Message-ID: <20231209233106.147416-5-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231209233106.147416-1-peter.griffin@linaro.org> References: <20231209233106.147416-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-20231209_153123_525940_9BFCF6AC X-CRM114-Status: GOOD ( 10.34 ) 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 8fb6656ba0c2..57468c2c5ece 100644 --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml @@ -17,6 +17,7 @@ description: |+ properties: compatible: 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 @@ -42,13 +43,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 @@ -64,6 +66,7 @@ allOf: compatible: contains: enum: + - google,gs101-wdt - samsung,exynos5250-wdt - samsung,exynos5420-wdt - samsung,exynos7-wdt @@ -77,6 +80,7 @@ allOf: compatible: contains: enum: + - google,gs101-wdt - samsung,exynos850-wdt - samsung,exynosautov9-wdt then: