Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1854845pxa; Mon, 3 Aug 2020 00:16:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBKVrPVoRtxJZYm9bbEKPOl4QnFQPZQLnX4K23oaP2BL5e94QNylDJADEPFYAMK1SMpuKq X-Received: by 2002:a50:9e8f:: with SMTP id a15mr13964158edf.59.1596438988921; Mon, 03 Aug 2020 00:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596438988; cv=none; d=google.com; s=arc-20160816; b=R0D6wVmLCqziAlQyCk7ZOaYOKO4NqLzS3SF0w8pzV4ClDDQwpywxpdd0BYpL5QV7sc dOpkni2RkdW0JR6BvudP6SDmw38/ZRUm9jFOa3pu9mYI4Za8tKWWx0K8uerkKRT3a90Y EvV4WfWYG8n7Uptup3XCSkkqZfIdSHqmDUQ9cjVnl7+Pd9QHSSp7AnPSCkf1g/xHgpIw Et1GzcpW94TSo1OkEfGduhkoJBpVbJjUpX66IEQMNTdUV01UjC+kzv6DpwtmJzQf0ckb TE4mluN8YYEtkf+BhOhR2x02Ok+72DeW2trCzpgeINVSp4aVEGr1ESQOc54QuvVdextd TI8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CHjYwY83mGtQyAozDroVVTm5cwJQTRU4xw97Fx3g4E4=; b=SN/gOcfuEkq1W+WSToSJo+2bCCtmvrSmLjTE1Fduq8Gz2EBecbDN78+F70QYy/dVON LGYVxNbhArk1X04k6/OCjD9/hx9kcCids58Uqb2b08yjO6vCSqhwFLN8ZP5tNhVTcKlP N58Wo4qQWJ1Al6FtguZ/qe2jCbLTsRz2VtZhJgU/3HmpMbA9fn7Hfp0590GKTFsAOugz w3SXQDXRvBX6ZwrMxbeQCJvRBzu67pCp/1Pi2D3Da3OwgX34Af0ULWuzK1ugefRbbAI+ NoHfa03wJL1FToPfA6yOOlDYwl2QXBBsiqlM8uPFGsUhuq5jcnro47R4m+XwXQChPXov Pfgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=KV7eRf6U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si9268477edy.473.2020.08.03.00.16.07; Mon, 03 Aug 2020 00:16:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=KV7eRf6U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726202AbgHCHP5 (ORCPT + 99 others); Mon, 3 Aug 2020 03:15:57 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:55879 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726077AbgHCHPy (ORCPT ); Mon, 3 Aug 2020 03:15:54 -0400 X-UUID: 0a3e5537fda44713a809bef3a2fb8372-20200803 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=CHjYwY83mGtQyAozDroVVTm5cwJQTRU4xw97Fx3g4E4=; b=KV7eRf6US1Dn1adMUwV+ROkMxKfDagXQcv1G4gsLN9fql8pB67wjdG7lAHMtqgWtTgW7uIsydGkWEapIdIWrLgnFYtNSZ+Zgma9W1G2wSdtSQv3hhGj16ES+NE1Raoys4VS89FnFnaDAfEbnaJtvqC/ON23LNAvjd8+8Q4cUylQ=; X-UUID: 0a3e5537fda44713a809bef3a2fb8372-20200803 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1312730950; Mon, 03 Aug 2020 15:15:51 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 Aug 2020 15:15:48 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 3 Aug 2020 15:15:48 +0800 From: Crystal Guo To: , , CC: , , , , , , Crystal Guo Subject: [v4,5/5] watchdog: mt8192: add wdt support Date: Mon, 3 Aug 2020 15:15:01 +0800 Message-ID: <20200803071501.30634-6-crystal.guo@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200803071501.30634-1-crystal.guo@mediatek.com> References: <20200803071501.30634-1-crystal.guo@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkIHN1cHBvcnQgZm9yIHdhdGNoZG9nIGRldmljZSBmb3VuZCBpbiBNVDgxOTIgU29DDQoNClNp Z25lZC1vZmYtYnk6IENyeXN0YWwgR3VvIDxjcnlzdGFsLmd1b0BtZWRpYXRlay5jb20+DQpSZXZp ZXdlZC1ieTogTWF0dGhpYXMgQnJ1Z2dlciA8bWF0dGhpYXMuYmdnQGdtYWlsLmNvbT4NCi0tLQ0K IGRyaXZ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