From patchwork Mon Nov 20 21:20:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13462021 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 93734C197A0 for ; Mon, 20 Nov 2023 21:22:00 +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=YD46prFxxmpRLy+6qm5+DxL6xpzlx/EnflIVJC0TW34=; b=V5VtJPLrpcLgF6 2D9QXsjxc95owRP6YAxvKmDtSOQ7M+fBCuZhY+AqdwZFVS6Z21WMVmy3bXNjAaTgCV+WAkxDynKjg KOa5b8rTDYuHHZCKGhLClMpolsEWfTxHUFlxLNCtIs4nURjtkezKwRAU1TAvZHFwUDirMAXhR/aph KMqYGGSUzynFe1fgtFcl7/U/T/53WtJd0SeP3c4gw348tPQK42dOv7/qGcEXKNyD84eRvFirUJM6e j9ubkKLvkol4ojMX+WW94XnKJ84K9i/m8aboeqH6bqDcts9wMQmsgpunhV++wffIUhMeAnMYhZ/d2 lolRdaRjWKz2rILE6zrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r5Bhs-00EqzT-0K; Mon, 20 Nov 2023 21:21:24 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r5Bhh-00Eqtd-26 for linux-arm-kernel@lists.infradead.org; Mon, 20 Nov 2023 21:21:15 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4083dbc43cfso16829845e9.3 for ; Mon, 20 Nov 2023 13:21:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700515271; x=1701120071; 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=KEC9m1sVf+gIOTorVlWOWetqCtBoH8t51Urz8Bp1ZAU=; b=o/G7gAZBbrjOQQr2xriuAxWt0i+eGA+7X54axftq2YnHdsUl+JGkMIcUKxxKdbp0VO xahnL02NYmvuzbMvwpUa/7UGIwqAs29gtDBGXYJZZuHT9vxMtKXDKEhqYvVugTre/dcB WvBKia1fHxc8veYrwcUDgQcUak46ioJcT/rpOn1J+VVs7e+lScvshWLw6mIzEvLGHdsc WSKxGg+SyO/dtZSPOSR7O/kN9h8qbGb/9tA3fsxQfx8n43IA5vykY3OTgqehI1bkzAE0 U9hcJaLpwanmYBMIQOFg1n+ZHprlNspgp+A+6EBaJi/g5IcWbzbIT6+BlZeYUN96E4C0 bWPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700515271; x=1701120071; 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=KEC9m1sVf+gIOTorVlWOWetqCtBoH8t51Urz8Bp1ZAU=; b=GgNxwT1R9qorjGVSaPEYd7oE4VMnsK9k0tlQoc4AAv+7vYkH4QCVIlkZQ1kik2pD+D fsjjHv75MQbqWtii6fZ4+kNQS+8KB5iWGTaToSlw9M68kwqiPnuaqrQ1dj7XeezoiL2A NFtsEOk4OTdAE394DSsoiNcjd0os90j5uGVagUr70Cd9qd6cFuRO7SKIyS7CEyMUKuec 4xMAVkGLbJMJclil+oKm3gm0PhG72sK4odIkeN3HEEX9lovdjqzgwI9J33v6nvKCmOG7 oTMGhO4iRLhpW2un+DZSaZTGyFOcASWGVabSwde4nDuCmdMlaekZwtG4F4jFOvQTKjEJ hiAA== X-Gm-Message-State: AOJu0YzKbrE/W/Yxd1s5dEWOx0Q5+45n7XZ/GEdFY5pDtc4rsfbnBaMz xAztwyDvwoyB4dJ46zHjByZ1Tw== X-Google-Smtp-Source: AGHT+IFnkvKJwJBysGZpS8nFvlKDKPHNMjEYxQ4sEoz66mjYdkd3vAWAH3NdAz3AUc2EElNngqiZZw== X-Received: by 2002:a05:600c:a4c:b0:40a:4609:9c90 with SMTP id c12-20020a05600c0a4c00b0040a46099c90mr7665820wmq.29.1700515271448; Mon, 20 Nov 2023 13:21:11 -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 je14-20020a05600c1f8e00b0040596352951sm19518451wmb.5.2023.11.20.13.21.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 13:21:10 -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 v4 04/19] dt-bindings: watchdog: Document Google gs101 watchdog bindings Date: Mon, 20 Nov 2023 21:20:22 +0000 Message-ID: <20231120212037.911774-5-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.rc1.413.gea7ed67945-goog In-Reply-To: <20231120212037.911774-1-peter.griffin@linaro.org> References: <20231120212037.911774-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-20231120_132113_736403_D3BB1DA7 X-CRM114-Status: GOOD ( 10.92 ) 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 --- .../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: