From patchwork Wed Feb 21 11:56:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 204190 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp985775dyc; Wed, 21 Feb 2024 03:57:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOpkwxxhme6nPtcs/eRKasxIJRgqERDJs2d/GE5FawOqAjD+ZPpsbv23gYPAyCe398P50dWB2iSiuVyrYnBHqazVSMNA== X-Google-Smtp-Source: AGHT+IF0vCrAJTqzFAgqSbGqMpxX0nBKBW4cxN5XjuiotPCo7zZuIcHVtHKiQer6m3HTyGya8ZQr X-Received: by 2002:a17:906:c284:b0:a3e:d1c1:ae0c with SMTP id r4-20020a170906c28400b00a3ed1c1ae0cmr4601395ejz.29.1708516647910; Wed, 21 Feb 2024 03:57:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708516647; cv=pass; d=google.com; s=arc-20160816; b=nb7o6RJq81XlXec7a+6NI9tJJIMYWaGQRrrmZY3e9l617jBMMq5VcWOoZUniZvEPXJ UaqiwKsyMFUtSkgt1PwLXrqgT/CRuBf2YJ08IaSNApWzIhaQpj/Npe4nazudNOp+GNuI OoGrAXBNTMwUfMmxRJfPk8wOZuUE1FdHMoxlnQ+5uk63mL9cIkxdlN9vt3oTNxPW36rm F+LoTXmc+k77ohLW/72rmIYWbqsv2CmQR/TXJDHXWFOWh1ZmXl0nEYLoCL56uRyHnDPa 2myHnu6qfO6dJMG5XUjJFP2N61b3PCD3rVoxfKOX5QLlPAuiUxqOD/lCAow9xUeZVxOF ZItA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=LS0hGU5hNKHi9FpSsuD9KEfZoFAWIkg3eH4IT8p2138=; fh=Lvh7LWueO/Q1oPOPiYL3iQv4DwIsChXRTFT4mXntmHM=; b=EL/d0fFd4yr5EwJvGeXbJjMrYdRqMIT3Y5HWUOHxJ1/ueWxClNwagnQvBua8/eC8Qy 6qEG6kiGR1WYiMDVT5w87Pgjdhnt27UBfM2dG5wPsglRt4iEu8KqbVlzk5IbDEqdaIwg D2ZryNR9COq780EzBVrx60JCT+EWRzQH+i+CQhSlrjNT1evUwL2mHL1cYHdtGBYjSq1L 2XTKWXjEZhLWSyQrV90uFgLl16c9cu9X9VOu2R9EzSztbNtkGqKnWgG+7JEMb5wP3OA3 wxrtueT/tjiPzsd3ChxJo/q7GiSxGfHdq95fdRJlNINO7utxb06oo4i+WiVA2Q7H7dhK gH1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GfrpCFkX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-74670-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74670-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u23-20020a170906069700b00a3f0ec6e162si1266941ejb.462.2024.02.21.03.57.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 03:57:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74670-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GfrpCFkX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-74670-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74670-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 838E41F22704 for ; Wed, 21 Feb 2024 11:57:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8FA64D5A2; Wed, 21 Feb 2024 11:56:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GfrpCFkX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3EF94482DD; Wed, 21 Feb 2024 11:56:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708516606; cv=none; b=VHwl7SOScaBKaXohww2S22jX8suIAgWzijrjjtrHwMJykrdVCQ1FY3Psis5Z/6GnQuTUULz2UQXnthVjAlDwpZpDm5EaE7KjLF4uWwcYsOlOMXzmIPXDQXE8GK8lqrIAThcmPFHwFxHHLqqN/Qmlg7+QIhgxzbRtb86KwiAuXdQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708516606; c=relaxed/simple; bh=lI9ZJUjL9ybYuRVZPP8gR27T34yW1aM09ufVi90sVcU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ymx/Zqo9rJOyYZt8BTbLMQOD49fiT6yfi7Ey5j2ZRzwCuqWZFoWruPIRc4INNTmCpl7ervt8waELdB5CLYAoJTeODpUlcaxdXALbNVmToSpGPryBNbecqduRHVZHJQwm5M3xZWRYhAaiKHrCTXjh3sgCa1DTPo3CFiiGwDTV6kc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GfrpCFkX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id D58D1C433A6; Wed, 21 Feb 2024 11:56:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708516605; bh=lI9ZJUjL9ybYuRVZPP8gR27T34yW1aM09ufVi90sVcU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=GfrpCFkXjvJbbaQFtNLQKBttgHU/P76DXvBvf1pO8g0nOYIYMBLzze+NL4h6bhqdj 2H0w5MFQXyHn5SDQ+K+ysKlpI2APE+VlbBGROXTcd/hqFnviOOI+kAc5EvBzTLWWMo 66vb8dOf9JhcWJPg0uIpluu8f7V9vL//IazSdv1Iwu5ImOCHoN7O2FMqqilK759Mfd 9XJqDnvoMpSpvwT1ggXrsSni4aMnyO2zqMJZ0hyTNRj4SqRvmnzGMeXKBKkO1pUHVh p8b0Zofc+0oEw9UyvvFk6iXBuJDiEZkzYLUn06CEHWUstbIaFRh3wheuLqemXA36sx /9b459/Ifv3hQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1270C54787; Wed, 21 Feb 2024 11:56:45 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Wed, 21 Feb 2024 19:56:42 +0800 Subject: [PATCH v3 2/2] dt-bindings: watchdog: arm,sp805: document the reset signal Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240221-hisi-wdt-v3-2-9642613dc2e6@outlook.com> References: <20240221-hisi-wdt-v3-0-9642613dc2e6@outlook.com> In-Reply-To: <20240221-hisi-wdt-v3-0-9642613dc2e6@outlook.com> To: Wim Van Sebroeck , Guenter Roeck , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Viresh Kumar Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708516604; l=1096; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=Y/0S+rlwzPt8yQv5SlX93rhiayW10MfuG7cp9vIgSlo=; b=WAnlEEfrbRpjG0jx4dwCj49jhQD2lZrFbD3WokV1xI133SJv8xB8yB1Uuj9KnDAItIC1doRVQ 9vHJ8rPx4xxCsm/Luh0VWWK67UJNNnBQt3vx7aQ200E8AxkIRcXKH1Q X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791509552451746102 X-GMAIL-MSGID: 1791509552451746102 From: Yang Xiwen The reset signal needs to be deasserted before operation of sp805 module. Document in the binding. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Yang Xiwen Reviewed-by: Guenter Roeck --- Documentation/devicetree/bindings/watchdog/arm,sp805.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml b/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml index 7aea255b301b..bd7c09ed1938 100644 --- a/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml +++ b/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml @@ -50,6 +50,10 @@ properties: - const: wdog_clk - const: apb_pclk + resets: + maxItems: 1 + description: WDOGRESn input reset signal for sp805 module. + required: - compatible - reg @@ -67,4 +71,5 @@ examples: interrupts = ; clocks = <&wdt_clk>, <&apb_pclk>; clock-names = "wdog_clk", "apb_pclk"; + resets = <&wdt_rst>; };