From patchwork Fri Dec 18 12:05:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 346033 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B458C2BBD4 for ; Fri, 18 Dec 2020 12:06:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 52B6223443 for ; Fri, 18 Dec 2020 12:06:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726532AbgLRMG1 (ORCPT ); Fri, 18 Dec 2020 07:06:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726517AbgLRMG1 (ORCPT ); Fri, 18 Dec 2020 07:06:27 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 018C8C06138C; Fri, 18 Dec 2020 04:05:47 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id 6so2864897ejz.5; Fri, 18 Dec 2020 04:05:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=df3IfnfXrm4i2RajA08Sg4cjB+rbAYObLY7D8ABk32s=; b=BfBK4dg6bgst+3YtQSqFkSDaFBbrXIMFOJ7wgIptM74ngk8HU9H0CEKAoYpt5vSymX PjSkbpg3AYqSayRAui5b8rxhNMoNKGmC/fVe63AlOVxhdVTVwTsElVrEcDowTEv3jWOH msw0O4gCFjXaRaM4lScrIYGFIcXLZPdLSiTByijqEM9mCk42VUwE+7rP451p5gxAuJmZ 0bTfCCvniv2rWhEzUy9BFdbXRj/wLetGnByd/Sz65EpvNbJGDByQE8EM9r1bjuGlIdfU 3WNmuLNSbq4c6KSATu5VB26QnpsJRUAQY/U/fXeTsOELVEEMzKgSR28EZCM+SUS0AIR0 4rzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=df3IfnfXrm4i2RajA08Sg4cjB+rbAYObLY7D8ABk32s=; b=jfgWIgeikFwfRBFcT4u6FxQroLnb2WEGQMLhznKyAQ6oJuGDdShuL828/9upR+J4mQ 7XIwemuirqcEdY4Y4fVffShmktrE4JrB9ogjRltqlN9+IBnwV3yDCATwwMXaM88QYVtG uOooEMHMznTRrgxtzzXBlPgDMgfZ27obSQl8hSGLNOrpn5gu6x1ItH7HYJ2wCTLy7/+Q DxRGIfmM4xeISd20MqDQK0goG426bboL40KFGVbVsAV4ZNUtWfmNg3iVvCUE1gHLR6vM QY5pGM5bA8XGoHwhVHFz3ejrtUprChsZNMGNSslpy2fVDl0T9mMR9eZWZFNb9NrwmN0P exhg== X-Gm-Message-State: AOAM530WNxEVolaERB5xrJfes0UVbWdEjhXUcy12+2baS83+Vcm9JwiN 38mJ9UFCZ4M9p5Tzo9g6pWs= X-Google-Smtp-Source: ABdhPJyKw1nhb3temxyQ33TJyRuTbXGlUWp6OlKcoXlUygUCrobAmOrKQUBUJCyln+ziWqp+d7uW0Q== X-Received: by 2002:a17:906:1498:: with SMTP id x24mr3598798ejc.170.1608293145634; Fri, 18 Dec 2020 04:05:45 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ga37sm4775832ejc.96.2020.12.18.04.05.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2020 04:05:44 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 1/8] dt-binding: watchdog: add more Rockchip compatibles to snps, dw-wdt.yaml Date: Fri, 18 Dec 2020 13:05:27 +0100 Message-Id: <20201218120534.13788-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The watchdog compatible strings are suppose to be SoC orientated. In the more recently added Rockchip SoC dtsi files only the fallback string "snps,dw-wdt" is used, so add the following compatible strings: "rockchip,px30-wdt", "snps,dw-wdt" "rockchip,rk3228-wdt", "snps,dw-wdt" "rockchip,rk3308-wdt", "snps,dw-wdt" "rockchip,rk3328-wdt", "snps,dw-wdt" "rockchip,rk3399-wdt", "snps,dw-wdt" "rockchip,rv1108-wdt", "snps,dw-wdt" make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml Signed-off-by: Johan Jonker Acked-by: Rob Herring Reviewed-by: Heiko Stuebner Reviewed-by: Guenter Roeck --- Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml index f7ee9229c..b58596b18 100644 --- a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml @@ -18,10 +18,16 @@ properties: - const: snps,dw-wdt - items: - enum: + - rockchip,px30-wdt - rockchip,rk3066-wdt - rockchip,rk3188-wdt + - rockchip,rk3228-wdt - rockchip,rk3288-wdt + - rockchip,rk3308-wdt + - rockchip,rk3328-wdt - rockchip,rk3368-wdt + - rockchip,rk3399-wdt + - rockchip,rv1108-wdt - const: snps,dw-wdt reg: From patchwork Fri Dec 18 12:05:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 346032 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83048C3526E for ; Fri, 18 Dec 2020 12:06:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4CA2323A9D for ; Fri, 18 Dec 2020 12:06:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726702AbgLRMG3 (ORCPT ); Fri, 18 Dec 2020 07:06:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726517AbgLRMG2 (ORCPT ); Fri, 18 Dec 2020 07:06:28 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB9EFC061282; Fri, 18 Dec 2020 04:05:47 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id dk8so2123899edb.1; Fri, 18 Dec 2020 04:05:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1PyEzvS82rnhRnbvDzISjipZNGlkvR5cR7CHNHeeH+I=; b=uE8gLtg9Sgd7Jvq5YATDb6VEeikhHfMfrQf5jPXHuGyxMb4Kfu8jvAhtfuViCXCPRw ybWpgr5Znl9QViZX3XAfazjyG5TU8/tYYCx7F0Kx/nrYmTq6CNP9DmdsYt/J35NXtuxQ KR0CJgAnc6tPj0TGVM+Vtk7xcfVJNiIHMtj8IwviUBXfJFk9uPucikO+TVJr8A9DUmet 4huNDcB+eYPMH+mynMPXCVk59qftv/cWRBjmv/nRezbeBLXw+4Turjt+nxbRP7x6EAuw /064vpCAzsaHqJbD0amZL1XDppN07OBM3yEEnvRQe96vwOPfs5lM884bk+1aSpuNqNGr jhow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1PyEzvS82rnhRnbvDzISjipZNGlkvR5cR7CHNHeeH+I=; b=uDMtbia2z++ee+yAu5zyVPbZNukpG6KmP+TtQ4O0RqPB+sjGacwFU9q1jwvnT0ZKAr 2u54aFyFd0jKaF6HStXV4HzVgNYy3rUHLWA3N2tez0bSQ8lgBfbBnN+YVnMzF3TRpP0w IrU7MPKYeXONZDwKcCdutfdItvOC2VIeQAB+gVEUfBJ/Jc0WVqHurtiNqYgnMkzB7n7P gExtMGjpi6m7RZdBm9pwkC4T7Nk93YP8WZ8CxH2zaE3i6hqQtQgvfniJlgao3CjGhesc ZReuEuQA+6TBq3wbZZ8RSo7pygNLY/IbNc7QzT5pipMx2UNA9CB7WaMB/+Lq0tyarSv3 j9kQ== X-Gm-Message-State: AOAM531iD1ZPxpzigoO5owxVanyHywsi3H7M97pjB3JYgc1EZx6S3v/r T1trsjoecFxV6zVOG41LBYY= X-Google-Smtp-Source: ABdhPJyQ6mBWCp9s9rcB5cgA3qSh9N4I2Fyw4psSOClliyAEcbszic6rB08dw+cRG1fQadWGCgxzIQ== X-Received: by 2002:a50:9354:: with SMTP id n20mr4097070eda.231.1608293146635; Fri, 18 Dec 2020 04:05:46 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ga37sm4775832ejc.96.2020.12.18.04.05.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2020 04:05:46 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 2/8] ARM: dts: rockchip: add new watchdog compatible to rv1108.dtsi Date: Fri, 18 Dec 2020 13:05:28 +0100 Message-Id: <20201218120534.13788-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20201218120534.13788-1-jbx6244@gmail.com> References: <20201218120534.13788-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The watchdog compatible strings are suppose to be SoC orientated. In the more recently added Rockchip rv1108.dtsi file only the fallback string "snps,dw-wdt" is used, so add the new compatible string: "rockchip,rv1108-wdt", "snps,dw-wdt" make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rv1108.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index e491964b1..8ef8d038e 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -300,7 +300,7 @@ }; watchdog: watchdog@10360000 { - compatible = "snps,dw-wdt"; + compatible = "rockchip,rv1108-wdt", "snps,dw-wdt"; reg = <0x10360000 0x100>; interrupts = ; clocks = <&cru PCLK_WDT>; From patchwork Fri Dec 18 12:05:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 345579 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3910AC3526C for ; Fri, 18 Dec 2020 12:06:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 17E3E23A84 for ; Fri, 18 Dec 2020 12:06:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726659AbgLRMGg (ORCPT ); Fri, 18 Dec 2020 07:06:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726701AbgLRMG3 (ORCPT ); Fri, 18 Dec 2020 07:06:29 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3B98C061285; Fri, 18 Dec 2020 04:05:48 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id ce23so2846073ejb.8; Fri, 18 Dec 2020 04:05:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=k0nDcuZ8QugfOX5+RU/cJ2JSrJVjKHFnRTpYUjY4q0Q=; b=eQcKsTMisHgJKl7nf6cbOe0rE1W2HYMx3136Cuvaf/o19Z22JPA/RgGY+26s9aU5bM hWPv8axClPU4jinaXPNwebsblpKZkwWZQu1BWwKLIXQKXheBY66+oOLZ9r5W/lTykwcQ T+bbmXxJy432P9Bp70DmB/u1A7Ycf2vq/FB4jJkN0Gpa+TU+8v9fQLDbbAkkPXiAZWHn wDsMMdetwVuQYucZIbdEaxcCOcf5j0jcYAQeqKcNw/IWYGtf/+KRQZsBCdiV6r/P1A9/ vw5pOBzqxI1S3ZV9AQolVtL7PGHp/Xl7JK2isvvmgdHKH8pR/rJi9bchWpnkkJCTZhmr dbGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=k0nDcuZ8QugfOX5+RU/cJ2JSrJVjKHFnRTpYUjY4q0Q=; b=N6OcryEWR3Tfe8IY+gj1CWmO2wR0uT2efjpHXCS5RlJkl3e5hrpdZgJ/DAfs6npgbG cyc7ZdwmE68awjIumOJZov0hHKiVyRGCBhxf4bzt08m5mjiAATRu8oqyuHJE2h8ksLQ/ zYhOUgnFm3554GLYeVaVKuUPitdtRwtDK6+M4yE/zIroH2f0lVLiVe9Jk7u8I/Ek0FKu 5UInGm960EjkaFWI3UdU/8Aak8j/pj1vjNmfomhZ3EpCfNKDzkMJ06JdrgxBBsygiWAr ET26YYK0dhTJjSxhiOdv1ZtbPcHVEcfbwGhHgQwaIUP8QV47Kp2eqzq0sJe3ernPjNLQ gPgw== X-Gm-Message-State: AOAM533KZvyH7xTBSmOcsriDtYtWU1HRoKaatVoj+wOu1l3egHuGeGVu wxvJI1H5XTBE/OTmGsC30T4Aj9bmChwvBQ== X-Google-Smtp-Source: ABdhPJzI4ZMOUEYRg33YHLpuyl5z10Loxckhv/FIOQvpWiqfJ1GY0QvxwqrWdUdSKjhCxARoswbCUw== X-Received: by 2002:a17:906:350b:: with SMTP id r11mr3753211eja.143.1608293147503; Fri, 18 Dec 2020 04:05:47 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ga37sm4775832ejc.96.2020.12.18.04.05.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2020 04:05:47 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 3/8] ARM: dts: rockchip: add new watchdog compatible to rk322x.dtsi Date: Fri, 18 Dec 2020 13:05:29 +0100 Message-Id: <20201218120534.13788-3-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20201218120534.13788-1-jbx6244@gmail.com> References: <20201218120534.13788-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The watchdog compatible strings are suppose to be SoC orientated. In the more recently added Rockchip rk322x.dtsi file only the fallback string "snps,dw-wdt" is used, so add the new compatible string: "rockchip,rk3228-wdt", "snps,dw-wdt" make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk322x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 48e6e8d44..9910f9b5c 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -385,7 +385,7 @@ }; wdt: watchdog@110a0000 { - compatible = "snps,dw-wdt"; + compatible = "rockchip,rk3228-wdt", "snps,dw-wdt"; reg = <0x110a0000 0x100>; interrupts = ; clocks = <&cru PCLK_CPU>; From patchwork Fri Dec 18 12:05:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 345578 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 365B2C4361B for ; Fri, 18 Dec 2020 12:07:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0793B23B23 for ; Fri, 18 Dec 2020 12:07:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726848AbgLRMGx (ORCPT ); Fri, 18 Dec 2020 07:06:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726701AbgLRMGw (ORCPT ); Fri, 18 Dec 2020 07:06:52 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9462AC061248; Fri, 18 Dec 2020 04:05:49 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id g20so2899635ejb.1; Fri, 18 Dec 2020 04:05:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/ZZ4VBnbNLp5BmhedYREI5dGQvhTk+buJrXKgrwV+9k=; b=BjFKZ/kInBB3IhnwuwfILcjBujRZmZru2u9hhK/11pIIrU0IxLhAlXBTf0CNPaJun1 C5dyMdl8Dbjecd2wZl4krNXj23NRef7m9FM6f4SeJiJylmw5trYMnUpFKiRteYmdydNM 7pL2VQklCt4/P54w+lOiE/S/IdiuHLLsOH7pOHy7URn6nk0CWoe4foaiwCp0fTQwQgbr kGr2sWtKO3Qs2e+oj61SHQVqJFMWFfdIF1us/ofJT2fyerjW5CCy86VxYVq9P8SvpckU QGu9UYSBQDidZiM23oFL1svRWeYqdP/NAmB4ESLGEnE/dD+YxXaY1M69bNZdkuURNFnE OPVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/ZZ4VBnbNLp5BmhedYREI5dGQvhTk+buJrXKgrwV+9k=; b=MGEMNpaCZMe03tg08taYAVt86SBwSJ0p08lsH1j2odY4tXezPmkE+TqhnFmZqd/+Mm uX/9s/qbDbWA+Gyfyjz6QXmBIS97bJVXkN8muezY5QRu1wUo0osz55/HNoatjE2LkzqD sE5UyPVpHPCuBcFWzQm97XfvGuDcUq5WyMgeycTrJc/WQCf6YnquX+9X5STbMzzpxP50 NB8TodLhPYe1pfpJzCBrSKyjCYKdmO7q7dLKv4cdIgiEIMA5A9MI1I6npiym02TEZys6 YPHgzFHl12qFBAEhFJqK9QQ62B/ErzM/ZcDEmtw3xOBb+3mOE9L2nApnl84XY+QCzdfH G2ew== X-Gm-Message-State: AOAM5303gn54NC4ht5Dweso5EYNl7gVomGf6uYGQy4c6E6pGWuSYrZwl Ml4dmUQLbs8CrYBrrZ4ShlE= X-Google-Smtp-Source: ABdhPJxHfIZ2zikC+cc85SIfju4KkJ6KDnevlI+HVFp90ifbcpbus3lkMjqe1/lr0Tuf6M/rCLanQg== X-Received: by 2002:a17:906:c289:: with SMTP id r9mr3587553ejz.311.1608293148392; Fri, 18 Dec 2020 04:05:48 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ga37sm4775832ejc.96.2020.12.18.04.05.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2020 04:05:47 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 4/8] arm64: dts: rockchip: add new watchdog compatible to px30.dtsi Date: Fri, 18 Dec 2020 13:05:30 +0100 Message-Id: <20201218120534.13788-4-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20201218120534.13788-1-jbx6244@gmail.com> References: <20201218120534.13788-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The watchdog compatible strings are suppose to be SoC orientated. In the more recently added Rockchip px30.dtsi file only the fallback string "snps,dw-wdt" is used, so add the new compatible string: "rockchip,px30-wdt", "snps,dw-wdt" make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index af6bcef9e..541785425 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -600,7 +600,7 @@ }; wdt: watchdog@ff1e0000 { - compatible = "snps,dw-wdt"; + compatible = "rockchip,px30-wdt", "snps,dw-wdt"; reg = <0x0 0xff1e0000 0x0 0x100>; clocks = <&cru PCLK_WDT_NS>; interrupts = ; From patchwork Fri Dec 18 12:05:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 346030 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D86CFC2BBD4 for ; Fri, 18 Dec 2020 12:07:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1E5123A80 for ; Fri, 18 Dec 2020 12:07:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726861AbgLRMGx (ORCPT ); Fri, 18 Dec 2020 07:06:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726830AbgLRMGw (ORCPT ); Fri, 18 Dec 2020 07:06:52 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CC84C061257; Fri, 18 Dec 2020 04:05:50 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id b9so2903715ejy.0; Fri, 18 Dec 2020 04:05:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=t6IawFaTxlXErq81LHg7H7iHtTYroJYDvrDaOnFY3WQ=; b=tCeKxpzidw4wpeNtTlUC2MsQrKtU5p+9l82IRzDxKn4wair0jV1sjajMvGZ6WVN5AB yD7+J8eHsOvfY4ZtcHKKOFR0Ezow9juDqPED5P761rzz4EdZgv8NGoDmW0Du+CnzcQn/ zGil5FyGTrCjws/aBOs/ydL1E9lcoBLI3LkR+HjJ8X+dkffqeAU2FWlfhjKRgJh0u45A LUc6MgKxBefdOWgUbt+66pfWPOiRQNmEHteifIXNgR3lXbre7f0epVebu4mwC13PG3KX IIFvMz8Wx+78JI55vZkdliGLDiJzyx5pp0YfghI01mmWOKmlgbbVfR8oy+oH34PV/hEo TT7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=t6IawFaTxlXErq81LHg7H7iHtTYroJYDvrDaOnFY3WQ=; b=TxWLl7b55WSfxXcjcHLvUUL17NgfgBZk/NkrAuzy+RcBf5UF1J56kAEiOSY1KPmTKc Ph6oqewgSU92kN2YsypyLS5cEJGv7j3udfWzKdatiHeGHl2zYW5gFsLz51+mcMNCP2Al mGniONTHqFsNoR0i+S5RHKhjqDa1/B7pGcEv67pWshJDChFNSVrpf5sFvVs7w6O7yXH9 sED2EaytSfWD+FxUiO06uekg0ki/exw2B7s+ZTvL15EwIpPBH/YUfYdYLn8Ed3EOvMqJ 9XIjFGmf9cZd1ovKFmxbXx1sWibACvw+PEefrTDHiTkocq0GLzVUyK4qfuw2N0yFuNJ1 o/Cw== X-Gm-Message-State: AOAM532o/rnlHIAOv45jXf9KLZ+PW77AUqSpInA7l6uVwPLDVbNDOxZg x/mMcmw+RT/uHYw7UhLSYU0= X-Google-Smtp-Source: ABdhPJzSar6uDlkcYSArlYr83CyBFBxNMlePA6gL9OekO8talCfdxAOiss9MicKjqUr6XHL/lK01WQ== X-Received: by 2002:a17:906:9888:: with SMTP id zc8mr3646664ejb.42.1608293149321; Fri, 18 Dec 2020 04:05:49 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ga37sm4775832ejc.96.2020.12.18.04.05.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2020 04:05:48 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 5/8] arm64: dts: rockchip: add new watchdog compatible to rk3308.dtsi Date: Fri, 18 Dec 2020 13:05:31 +0100 Message-Id: <20201218120534.13788-5-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20201218120534.13788-1-jbx6244@gmail.com> References: <20201218120534.13788-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The watchdog compatible strings are suppose to be SoC orientated. In the more recently added Rockchip rk3308.dtsi file only the fallback string "snps,dw-wdt" is used, so add the new compatible string: "rockchip,rk3308-wdt", "snps,dw-wdt" make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3308.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi index 2560b9877..ad54acf5d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi @@ -244,7 +244,7 @@ }; wdt: watchdog@ff080000 { - compatible = "snps,dw-wdt"; + compatible = "rockchip,rk3308-wdt", "snps,dw-wdt"; reg = <0x0 0xff080000 0x0 0x100>; clocks = <&cru PCLK_WDT>; interrupts = ; From patchwork Fri Dec 18 12:05:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 345577 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4231C3526D for ; Fri, 18 Dec 2020 12:07:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C582723A84 for ; Fri, 18 Dec 2020 12:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726867AbgLRMGx (ORCPT ); Fri, 18 Dec 2020 07:06:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726832AbgLRMGw (ORCPT ); Fri, 18 Dec 2020 07:06:52 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59DBDC0611C5; Fri, 18 Dec 2020 04:05:51 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id qw4so2809079ejb.12; Fri, 18 Dec 2020 04:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nprlEGWaHBCqZYtho0Xw3+zC3YA4tgvCjM5E0w0Edtk=; b=SY671sQYZGbgkrpI5o3PX3OfSBObJr+MvSOfQsI4q8u1EM0iT7qmL31CXgjD418+6w 9TWWy6F74drQGqno+9XkxFxjXGDKeU4hrX6Ge5EMRqnTyvZhO3RUCqL0NEPI4q1vMK23 YGujL+kvZmqyzWIB+fJn6G2X240t9G5nYXQO/poMtqCwTfKJxY1Oy2JqD20I49dmj4DU cuEeGPLeaPjcp3kpcIY6jsWpsfcEway6nUIF4Am6Ti2brXySV3eajbz4E6R7ZBWlJtOv G7+KrFFVxcXNmDBwS/0DrXK/jB5T07pq56SgvONzE0tb2UxU/xlJJM0h6Ky2yW6CHB6s 6EsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nprlEGWaHBCqZYtho0Xw3+zC3YA4tgvCjM5E0w0Edtk=; b=jm27pO/JC67NNoUr68HPe3hwE4kZ7PQkeD6epFDNd0h1MhTIfP7N9J80l+IuqG+GTm 4gfNHILrwAlFgaH5r3xOHq7xms89Kwii8PqX/k3GH4meV4aSnw/1RNwP9PL7x1gWJDE8 1Nw+2IZcrg1Uf37GvqPooMeVrAgQenlzZ1bnIh/YDewd5Py6b+lbXXds/l7jWjEL0MsY PhgoIt2iFYUhnqwBGGYJ95O5tWVc8i25VYYQWikdgdFls4AhegDKbxDN46uLFp3dNVSq +rqg/4C3Dcy4D/FGS5z7dMAXTgF9a6yKhjrUym0jDugb2m2CUql6hj02aZZ9bFozZJST xsNg== X-Gm-Message-State: AOAM533y7kLdMlHhzKySctlFgWaK2QmHw953Y/XvyzEFLIHjLHb+Gj7J T4blSgiaM9OqjtcPVtiTwWM= X-Google-Smtp-Source: ABdhPJxtVfoaiGqv5Jo3CmnEdaRolsTqNzNZjivs47itf0kkIzZ8MMrUHO70K046YOsPTiD87cNN2g== X-Received: by 2002:a17:906:d209:: with SMTP id w9mr3081004ejz.211.1608293150174; Fri, 18 Dec 2020 04:05:50 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ga37sm4775832ejc.96.2020.12.18.04.05.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2020 04:05:49 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 6/8] arm64: dts: rockchip: add new watchdog compatible to rk3328.dtsi Date: Fri, 18 Dec 2020 13:05:32 +0100 Message-Id: <20201218120534.13788-6-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20201218120534.13788-1-jbx6244@gmail.com> References: <20201218120534.13788-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The watchdog compatible strings are suppose to be SoC orientated. In the more recently added Rockchip rk3328.dtsi file only the fallback string "snps,dw-wdt" is used, so add the new compatible string: "rockchip,rk3328-wdt", "snps,dw-wdt" make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index bbdb19a3e..1e3e1086e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -453,7 +453,7 @@ }; wdt: watchdog@ff1a0000 { - compatible = "snps,dw-wdt"; + compatible = "rockchip,rk3328-wdt", "snps,dw-wdt"; reg = <0x0 0xff1a0000 0x0 0x100>; interrupts = ; clocks = <&cru PCLK_WDT>; From patchwork Fri Dec 18 12:05:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 346031 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8066C3526C for ; Fri, 18 Dec 2020 12:07:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AD01E23A80 for ; Fri, 18 Dec 2020 12:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbgLRMGx (ORCPT ); Fri, 18 Dec 2020 07:06:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726834AbgLRMGw (ORCPT ); Fri, 18 Dec 2020 07:06:52 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DE6BC0611CA; Fri, 18 Dec 2020 04:05:52 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id dk8so2124123edb.1; Fri, 18 Dec 2020 04:05:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4XAsCwTny31hiZyHYjOU01P8vUXEjyFQK6m4wdFwu8Y=; b=rztLfrcsh000/0nNHokBSq0/k3YJ0bYQLi5FLxUvhqBE+bpF3a4eDnw36EdNCtT8io wQZ7JjB5ZlnMLA69ETJWBjJsmA7QAKlswM6DjMf3XNCO5506YE8rSbYNUsqAhkZkHdp9 pNC9/0V5qMjh4lqPOtHaRFss9P533vyxVtBGPDTf/K4pZ/PA3anZW1vJ00vWycY0hS9N UvW3iXutKbV0XElZEk+9tQTFrEIQbtv9zBS7jJi3A3vDU6ZM7rxAgMsrxNCRMYMLjPA3 1b/jEka5FdPD6JRg2767kzcShknNAcJtwgvA2+aV0gHgJgUOVbcFoVdRsPMbWT15D/30 IpHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4XAsCwTny31hiZyHYjOU01P8vUXEjyFQK6m4wdFwu8Y=; b=plimEIPsqqQr9smcEd4qoEDM9aUebYF0GD9QS7CTBhGmWcqTAzkqbWLj5N/Z68l7/l EeoRYtzlCxfJLYRLZLXpytZoYdFQppxIqteG58Mdq6aU0EvFO62xcjFVdCcxjYIFJnPk DKNDMevIBiroKAocSF4dTR/p+o+TVmQmhtERKJ0+trqedsJaM4+EwkjJKa1UnlT6Kat7 UWtAzMOyu2/vWZYxV2eug85DCpHs7IlBR07CY2uvCD/Hb5bWPYga6iyUY2tQ7Lv3+HFu rmeieBvrctrVMrwwIByWAvmVoTh9XdHLpvdVTvVlAVF2by/mDe5hvnUR0cEOgEc2lmVH 3tpA== X-Gm-Message-State: AOAM532soglYm8bHu+dmE1WRCtJpa7uug6z11oUkDgwiDSD+5CyAsm9z LLcJJe+wXBSgujL1ywKULb4= X-Google-Smtp-Source: ABdhPJwZPyzaq+Ep3j3m5cpnxkyP4k8BkMeWDUm/3OvnwsQzAOM2NmyQgnOUyVyHsiOokI10ALIlBA== X-Received: by 2002:a50:8a90:: with SMTP id j16mr4007056edj.334.1608293151123; Fri, 18 Dec 2020 04:05:51 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ga37sm4775832ejc.96.2020.12.18.04.05.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2020 04:05:50 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 7/8] arm64: dts: rockchip: add new watchdog compatible to rk3399.dtsi Date: Fri, 18 Dec 2020 13:05:33 +0100 Message-Id: <20201218120534.13788-7-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20201218120534.13788-1-jbx6244@gmail.com> References: <20201218120534.13788-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The watchdog compatible strings are suppose to be SoC orientated. In the more recently added Rockchip rk3399.dtsi file only the fallback string "snps,dw-wdt" is used, so add the new compatible string: "rockchip,rk3399-wdt", "snps,dw-wdt" make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 2b99480ea..825eb254b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1536,7 +1536,7 @@ }; watchdog@ff848000 { - compatible = "snps,dw-wdt"; + compatible = "rockchip,rk3399-wdt", "snps,dw-wdt"; reg = <0x0 0xff848000 0x0 0x100>; clocks = <&cru PCLK_WDT>; interrupts = ; From patchwork Fri Dec 18 12:05:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 345576 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B0DDC3526B for ; Fri, 18 Dec 2020 12:07:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0431423A51 for ; Fri, 18 Dec 2020 12:07:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726832AbgLRMHI (ORCPT ); Fri, 18 Dec 2020 07:07:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726516AbgLRMHH (ORCPT ); Fri, 18 Dec 2020 07:07:07 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F8C4C0611CB; Fri, 18 Dec 2020 04:05:53 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id i24so2086836edj.8; Fri, 18 Dec 2020 04:05:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Wu3SXkqHC6cpy3h0/8DvgzvKrbbUzD8H5+UCQx/bkb0=; b=RSDoocGUy3y3+pjCTiA7rPJRyh2f2zOqox4g2mZ0VURCEvUS3A94RgpQeZOSTcLlka Y+nzOj7YtHnJOB+E1XYRE9xUtGzjWptsh7gELogOsHkuN9uhMwPDjG/kIoViH3kKVIB/ +oLu75pvejiF0tnQUAi6qkCkS5dOt1sqBLDttNzda1qbt5meNxBkLocnzc3x+Q+zQoEv v9McpspFF0mQbl9mpOcu9ZXfEjYx3uo7FHqC3khG9mIOAC55oaq9C3s+8yDW6znJjFuq 7hi++xd/c7KJBjh90VUAwQU9caBfee0Izhyn+9HZC2BF1XCBiVnXYInQKuMkYmHhio+n i16A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Wu3SXkqHC6cpy3h0/8DvgzvKrbbUzD8H5+UCQx/bkb0=; b=CeCa7dLEGns9awIOSTvK68QqlKKhFXL6Tgicjr4noch6MfSrjjF583PM7cMdLfS8fk nwGmri/217QkXoRcqdsAkTTUJaDxEyjoN08vxp26R41H2+pOS7jGOZB4lyQqps5xPMSJ 4pxnfYjiHGkkPudBWymyji8mFitg6AvCxxKI5b/vGIjQIWaqDjBliHvPboiCnVgmcvN2 pKMuCXin6j5p6oqReYkPQ00PVcS9GGg0rEKD2ruGBx7E5ByDTQ5IB+N/vNrA5g1yQvwk 2HgX/xvV1jkhkj1QFj6xpOA7rgOVnXxqXO81nrpDEnnuDm1t5S+AwsZvUcZDzdndQiRJ MbfA== X-Gm-Message-State: AOAM533vv9wjausfDSPModAo1sZgA5to5k8GZgMeOpOXe5n/dSvKFr2+ /jTaShtUFqEO7M+sdz0lF7E9nBhFUY5sqA== X-Google-Smtp-Source: ABdhPJwnO8bGvjXbEsr4oz6udOYL98137c2SWWKXKxu0iHrHZIP7VpcK2vstLE4PdR5l9bM+H2HDCA== X-Received: by 2002:a05:6402:128d:: with SMTP id w13mr4044665edv.56.1608293152133; Fri, 18 Dec 2020 04:05:52 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ga37sm4775832ejc.96.2020.12.18.04.05.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2020 04:05:51 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 8/8] ARM: dts: rockchip: remove clock-names property from watchdog node in rv1108.dtsi Date: Fri, 18 Dec 2020 13:05:34 +0100 Message-Id: <20201218120534.13788-8-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20201218120534.13788-1-jbx6244@gmail.com> References: <20201218120534.13788-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org A test with the command below gives this error: /arch/arm/boot/dts/rv1108-evb.dt.yaml: watchdog@10360000: clock-names:0: 'tclk' was expected Comment from the dw_wdt.c file: Try to request the watchdog dedicated timer clock source. It must be supplied if asynchronous mode is enabled. Otherwise fallback to the common timer/bus clocks configuration, in which the very first found clock supply both timer and APB signals. Like in the other Rockchip watchdog nodes the property "clock-names" is not needed, so remove it. make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rv1108.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 8ef8d038e..bec47e0be 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -304,7 +304,6 @@ reg = <0x10360000 0x100>; interrupts = ; clocks = <&cru PCLK_WDT>; - clock-names = "pclk_wdt"; status = "disabled"; };