From patchwork Fri Oct 7 09:34:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 613249 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51DE5C433FE for ; Fri, 7 Oct 2022 09:34:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229481AbiJGJes (ORCPT ); Fri, 7 Oct 2022 05:34:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbiJGJer (ORCPT ); Fri, 7 Oct 2022 05:34:47 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FD7EE0B4; Fri, 7 Oct 2022 02:34:45 -0700 (PDT) X-UUID: 339e7775f2eb47cb944d0090b27847bf-20221007 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=pYIbAyz6HbYQgtKtIhV20aPi9wJEofR31nByYyAEfSI=; b=L65Ac25YLZnUTBcrXsTxj9yL/mhGMMogl7ETi79YynsxM+XvgY8aTTqd0K7k9pPDi27bswkkPSu1fpa6Ef+nX5mhI6FdDnGnXOUK/J9G2CrmWgEu/oc3t/jUCjjUeQQQ+40x8rYvsbCMWh0m6vNUvYiQKkqmOFi2lscFekXhqNA=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.11, REQID:0efa757c-d2c7-4738-8e4c-93052465bcb3, IP:0, U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:39a5ff1, CLOUDID:f084d7b8-daef-48a8-8c50-40026d6a74c2, B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 339e7775f2eb47cb944d0090b27847bf-20221007 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1058316720; Fri, 07 Oct 2022 17:34:39 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Fri, 7 Oct 2022 17:34:39 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Fri, 7 Oct 2022 17:34:39 +0800 From: Allen-KH Cheng To: Wim Van Sebroeck , Guenter Roeck , Krzysztof Kozlowski , "Matthias Brugger" , Rob Herring , CC: , , , , , , Allen-KH Cheng Subject: [PATCH v2 0/8] MediaTek watchdog: Convert mtk-wdt.txt to dt-schema Date: Fri, 7 Oct 2022 17:34:29 +0800 Message-ID: <20221007093437.12228-1-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Based on tag: next-20221007 linux-next/master, We use [1] and [2] as references to send a new series. This series converts mtk-wdt.txt to dt-schema and contains - Fix watchdog compatibles for MT8186, MT7986 and MT8195, - Fix the watchdog name of mt8516 - Add mt6795 and MT8173 watchdog compatible - Add support for toprgu reset on the MediaTek Helio X10 MT6795 SoC. Changes since v1: - Drop "items" for a single enum Changes since [1]: - Update the commit message with some details - Drop "timeout-sec: true" and use unevaluatedProperties [1] https://lore.kernel.org/all/20221005113517.70628-1-angelogioacchino.delregno@collabora.com/ [2] https://lore.kernel.org/all/20220422121017.23920-3-allen-kh.cheng@mediatek.com/ Allen-KH Cheng (3): arm64: dts: mediatek: mt7986: Fix watchdog compatible arm64: dts: mediatek: mt8516: Fix the watchdog node name dt-bindings: watchdog: mediatek,mtk-wdt: Add compatible for MT8173 AngeloGioacchino Del Regno (5): arm64: dts: mediatek: mt8186: Fix watchdog compatible arm64: dts: mediatek: mt8195: Fix watchdog compatible dt-bindings: watchdog: mediatek: Convert mtk-wdt to json-schema dt-bindings: watchdog: mediatek,mtk-wdt: Add compatible for MT6795 watchdog: mtk_wdt: Add support for MT6795 Helio X10 watchdog and toprgu .../bindings/watchdog/mediatek,mtk-wdt.yaml | 79 +++++++++++++++++++ .../devicetree/bindings/watchdog/mtk-wdt.txt | 42 ---------- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 3 +- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 3 +- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 3 +- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 2 +- drivers/watchdog/mtk_wdt.c | 6 ++ 7 files changed, 89 insertions(+), 49 deletions(-) create mode 100644 Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml delete mode 100644 Documentation/devicetree/bindings/watchdog/mtk-wdt.txt Reviewed-by: Rob Herring Reviewed-by: Guenter Roeck