From patchwork Fri Dec 1 16:09:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13476046 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 42563C10F07 for ; Fri, 1 Dec 2023 16:11:51 +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=RP9lAUdp7NfyHl+9MLOtvNf369Ytf1rw9pxdFXxjs1k=; b=lB1BTr6eILunCX RY5ALMxsSDuOFZMoWl6Z/TrTqojCx42uhyR8Std1MIxtu0fMiMuxMvpdWjOeyuL/eODVh6+9CE+cs LM0La+f7GcEQYImyL8SiGCsU8HgXnl2uRX5/IZ+HX410mOF+7WYouKedLcRIUXHwWyWnz+3eLzmCy 6Fv/PdtJ8wuSeK5vezAkm47kpG1HwT6eFS9gccXSmjDzRAF/zb/JksUQ9Pi7khvzw+VNQ+f/6LR/t NPs5GBiOuD24MLhtcKOOK1dNLwK8jSKJWQYlcZd/dMNxkdfKNaX5A/YddmbWNDkJi5r1hcbXJ+2vH TeYeo66+bOS1C52MNuyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r966W-00E7li-36; Fri, 01 Dec 2023 16:11:00 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r966T-00E7iY-23 for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2023 16:10:58 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40b54261524so23825405e9.3 for ; Fri, 01 Dec 2023 08:10:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701447054; x=1702051854; 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=T1JAeCEVjgZk68Eq5bjRq8ACaz1sVDAww5ddLYt8WKU=; b=MjcSOvrSJZfhDMubBNUk/Ro4i9Xg1dpinkNxB7+/u2vsVna1wcWqRCzAozctcYPcRD 6IFPr7X8njhM6nCJybbm1g5wiX/qOnk31RUzNZZbRhJ2LnY92HI3rDl65b7yt/ObFqIm KLfou6/+nvT/pOGZ8QCFnsh+l8qnD+dGfpcpqd0hL/nZpZqxrCp/oVrTvODr+SZNmrhn o1Kps1LJmDat8SZ3IDCZhvMzPIKWB0J7PGobR4EPUOqwcGQByFZF/uORBGLrVgq99ms+ ZcLHU8rAodjSHLDckn5xp47xTzCz5wIMchRIU5dKNatGr2zmLWfv8kKhwZSdQKwVNPZE rwVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701447054; x=1702051854; 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=T1JAeCEVjgZk68Eq5bjRq8ACaz1sVDAww5ddLYt8WKU=; b=Es41n8TDL33d9PhZo//NgigCgpKniSxpZcfG3PgwEZ9AYBCqUab4bO88uhbnsjyQ21 DiGdhXu8unIJf9FdjoU1x6Hqecl5Rlh0AC4mhsxSVkZSpUWYnvZ5tpSN0megGHjHAOVZ A/XHR5n4Tix448Cpa2tA789wiKxOZqOS5QVhcFR6EPXOdau3dgpUrs8z84KdpE6h8Lsy SSXg98rEZaJl6svOhz6Y27Q78tLgzOBejjp/Ab/5RHLVLxRhE3bwS/dA4klrqUa8Chj1 HyPauSNRiJ0lHuu4iTX+aMRmJXhz9Gj/Y1lP1wGSgUB2lvDCoEAJYjjpV+pu/Tal8WX3 s0Jg== X-Gm-Message-State: AOJu0YyIv2I7v4jVFefoLecATzj4UZ8u+7p2wFzoCzZW7n2meya26ObC A+ZKWeNroHXzjVNn6h51LIwbig== X-Google-Smtp-Source: AGHT+IE8dpPw2LTEdv4ELb+pk2xz+NejS+HBQ266o6P26fs1kcibxlGWDrw1GPkG3bTgo+OSe/jmSQ== X-Received: by 2002:a05:600c:3d99:b0:40b:5e21:dd4e with SMTP id bi25-20020a05600c3d9900b0040b5e21dd4emr458905wmb.124.1701447054551; Fri, 01 Dec 2023 08:10:54 -0800 (PST) Received: from gpeter-l.lan (host-92-29-24-243.as13285.net. [92.29.24.243]) by smtp.gmail.com with ESMTPSA id cg16-20020a5d5cd0000000b003332656cd73sm3907386wrb.105.2023.12.01.08.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 08:10:54 -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 v5 04/20] dt-bindings: watchdog: Document Google gs101 watchdog bindings Date: Fri, 1 Dec 2023 16:09:09 +0000 Message-ID: <20231201160925.3136868-5-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog In-Reply-To: <20231201160925.3136868-1-peter.griffin@linaro.org> References: <20231201160925.3136868-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-20231201_081057_673459_9B68CB45 X-CRM114-Status: GOOD ( 10.58 ) 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. Signed-off-by: Peter Griffin Reviewed-by: Sam Protsenko --- .../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: