From patchwork Tue Mar 28 21:00:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreeya Patel X-Patchwork-Id: 76264 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2505727vqo; Tue, 28 Mar 2023 14:08:45 -0700 (PDT) X-Google-Smtp-Source: AK7set/6YfqWvClFkf/lnbihhW6cFf7EWvpEIhweV7t1fmoZMaKwqj+lTLyO96kBs5kUIiC94g8b X-Received: by 2002:a05:6a20:8984:b0:dd:8442:9618 with SMTP id h4-20020a056a20898400b000dd84429618mr13071470pzg.25.1680037725279; Tue, 28 Mar 2023 14:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680037725; cv=none; d=google.com; s=arc-20160816; b=eMEoqn3VLn2pyT5CJLQ5RrE2GBbqyEtweFWY8IMzb0+tu4M65kaEEdonnAWKD4l5Um FHSIDTLG6cjV+K0H0myMOivLmEb3uQiyWueYXqHNVO14L5FaC59v7CKkU1Qxkytc0vjy dGn1llZHvTfCr+XpLaLt/5ZxnE3IDk+sNLRvKUZR6Igvljq92EDONiaKCT8kTrGAGpfZ zIRzYHn7HlMU5xNufGdHgTVBwTGNRXLsQ8H/tFgW2DlXn4Ud+lldcUUSRnCFL6GGfkkA YvWD75Mzh5ui8ILP7r1Rw4s8dRjr/6p4aWD4eLlBUEb1rbYmwgK6P5pNbKUrf2N9FsPS gkrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AtaLJaCu9OiiqnThT9PMp9H8FQY50nNEApNbPwuR1y0=; b=OmDMlefk2+w9QKMydj+/yASjGwId3YI4LGzoVesL6U1XfCCwsTWHeXSGaQ9KYayFMl l19UVslq/eDQPLG77zIpIMWpZ/OgZWUf4Shb4E8K3vzglIJ83EDxlQqqiLClt9KwaWIc VwgeHan7rGd6odrW7nJ5DNh+9rVeCBxe2UKUKsRdzGywC4AIvAEiD1PMpwGE8Jx8Zbxq X3xnfaiIizCAMjBc/j8lyHl4wbrK/LErU9rLoVKTTNGxSY11Xf3VEnHaEVMD+m071/fU qZxHbdsi8LAQQwEFJ9okEKxwvAU9gkFU+E6a9iI1MIopJGOwLmy2IwjvVFwlDW8PNpjz vy3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WN64Tbqw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a6547c1000000b0050bea56f69asi30329233pgs.735.2023.03.28.14.08.21; Tue, 28 Mar 2023 14:08:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WN64Tbqw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229479AbjC1VCh (ORCPT + 99 others); Tue, 28 Mar 2023 17:02:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjC1VCf (ORCPT ); Tue, 28 Mar 2023 17:02:35 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60ABC3AA0; Tue, 28 Mar 2023 14:02:09 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2405:201:0:21ea:73f6:2283:f432:3936]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: shreeya) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8F2616603163; Tue, 28 Mar 2023 22:02:04 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680037327; bh=vLuPLrQ150EuvyOIDT/l5G5BueMNkQv42XadApxWJmY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WN64Tbqw7jmk/KbtubS6IeljHEBU6AyfryGC8+TB3NOddenzs7kFj0imi4dDLiykw dHK4nRh7UH2grrSwZapjsiyHDUU2kbmEuQEsxEYyMM0zfzEbjQGTzQghwd6/zvSmKJ cC0JbZiVJzpos0SVaKxKP7fqW9R0AcHmTyW175YE0pclc2D91aqo0O1knt9FYqag8o iqS+YOJIOKM3XbZ0Rh4S4YTerP7oJIhksOAx7PSQpq7306UmuLfqmVlcgLaCKGNgsN loYt/et1qztIoJMdc6zYyIcP9fRHHz9lQG55wuv81TSZpDjCGQTLkV1dXUOnV9cXE2 ENMd2W/2i2yAQ== From: Shreeya Patel To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jamie@jamieiles.com, heiko@sntech.de Cc: 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, kernel@collabora.com, Shreeya Patel Subject: [PATCH 1/2] arm64: dts: rockchip: Enable watchdog support for RK3588 Date: Wed, 29 Mar 2023 02:30:47 +0530 Message-Id: <20230328210048.195124-2-shreeya.patel@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230328210048.195124-1-shreeya.patel@collabora.com> References: <20230328210048.195124-1-shreeya.patel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761647237763917883?= X-GMAIL-MSGID: =?utf-8?q?1761647237763917883?= Add DT node for watchdog support in RK3588. Signed-off-by: Shreeya Patel --- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 005cde61b4b2..20793f67c079 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -1226,6 +1226,14 @@ i2c5: i2c@fead0000 { status = "disabled"; }; + wdt: watchdog@feaf0000 { + compatible = "rockchip,rk3588-wdt", "snps,dw-wdt"; + reg = <0x0 0xfeaf0000 0x0 0x100>; + clocks = <&cru TCLK_WDT0>, <&cru PCLK_WDT0>; + clock-names = "tclk", "pclk"; + interrupts = ; + }; + spi0: spi@feb00000 { compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi"; reg = <0x0 0xfeb00000 0x0 0x1000>; From patchwork Tue Mar 28 21:00:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreeya Patel X-Patchwork-Id: 76265 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2506389vqo; Tue, 28 Mar 2023 14:09:57 -0700 (PDT) X-Google-Smtp-Source: AKy350Ypn5tZ8bfZWDD91DreQJAKXG1Q54UjmJ/al74tj/X0xWrbBeAWivuXn7bvqF/mIhL6o3gL X-Received: by 2002:a17:90b:3851:b0:23d:4e9d:2eb0 with SMTP id nl17-20020a17090b385100b0023d4e9d2eb0mr18143549pjb.36.1680037796809; Tue, 28 Mar 2023 14:09:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680037796; cv=none; d=google.com; s=arc-20160816; b=bNKSUWriEBX1wKfc7hfnb6nW0otWgOtap2N3LSjbJJev7UohVjE1NRWCmhtqSf1rkk jHK0kLqnEFAWv1Xxgm5fN4fjVwjmwBkN//+1uOpPI+cjC7knGhTailqy4g7QhBjZrFnl m1OwEkRVD4AkKPV3mfkfzxpt9ojY1hsEpu3E/93DNbGYXvD3sROFjJtMY7EXHLaAMX0h pAxruaruV9nr1Z+H/g5+1zurlYyRrZp8tOzBPQf3+RXHeGGh8rBzyDccRn2pKWucauWj d1MeVCW1ghJM6O6BEDBIFhso7Sk6WTDuS4dtKOnp0dQJoA/3xdr9kl781RhkO0Mx8Ku0 8vWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XFSCpmoOwrTnbEH5Ih5YCIvW1v1TAVI5/deFiTUcwkg=; b=t9gmqDUsTPdBVALJF+h9J7ty9c192ys2n0ZCb07XlziJJNZ6kcqLynr9v+VtJcd/e8 5UNZ2kjPjUovYsWV9Nz/oSEpcCJRKvJG0dZiUVU4t2BzhHL+oBR3UE0XxI6NuEZzMuzN 5d2RBzy9U0cwkikk41ryzAiYUEaNJp1vODks+UT7Legd0j5domHQsK3lJ+RHNjhpShmm OdXPjqspRJ8NL+GkH2GZ8KZkfHTE9kYMq4+VaJDEdezFweqdtKkHhc9XmRYDLIiaIWIa lBkGVjV/uCc4aeDno/zZCXgh82ai++FQ2kTowEJcm+WNUXGANKMd0LFewTCX9dOY9Dxh rflg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=F88qULeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id il10-20020a17090b164a00b0023b45e8ffb3si2774pjb.60.2023.03.28.14.09.40; Tue, 28 Mar 2023 14:09:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=F88qULeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbjC1VC6 (ORCPT + 99 others); Tue, 28 Mar 2023 17:02:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbjC1VC5 (ORCPT ); Tue, 28 Mar 2023 17:02:57 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01739271B; Tue, 28 Mar 2023 14:02:31 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2405:201:0:21ea:73f6:2283:f432:3936]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: shreeya) by madras.collabora.co.uk (Postfix) with ESMTPSA id D3342660316C; Tue, 28 Mar 2023 22:02:15 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680037338; bh=IkBViQkMrsp3U7hL5tvqsx/UtD7E86JvMjAnDOuW9eM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F88qULeTjTL5NdUCnjTdUvOd0c8p4IxUVoDA39dmYM6w29LLpDYXL4GMDPtBObICC sMd4JzMRpU+hh7tlK+IvO7nGLxUv7IKBXRzvCKEyhrBzNfPbJwaEnVMVbBb04mrPLp qsjKbrlshAzEKWP5mBetROaiSbn+wL84pI0j26zzcJVOt8BNtqrqn6O3l6W7vYmpX6 0URWP9QBHTyoWfgblCxZNvju8BLUjLSKbdRro/+HQb5w9L6sAGvJZAoM7N1fbpRtcz Rb8i2TnnAnoPhKbJq8IY9JmKD8zqe7TvJA0lypQRG5kDQuACvYFxhWy+9KpUtnKhkH VSCfio/WrT3GQ== From: Shreeya Patel To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jamie@jamieiles.com, heiko@sntech.de Cc: 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, kernel@collabora.com, Shreeya Patel Subject: [PATCH 2/2] dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string Date: Wed, 29 Mar 2023 02:30:48 +0530 Message-Id: <20230328210048.195124-3-shreeya.patel@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230328210048.195124-1-shreeya.patel@collabora.com> References: <20230328210048.195124-1-shreeya.patel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761647312652287349?= X-GMAIL-MSGID: =?utf-8?q?1761647312652287349?= Add rockchip,rk3588-wdt compatible string. Signed-off-by: Shreeya Patel Reviewed-by: Heiko Stuebner Acked-by: Krzysztof Kozlowski Reviewed-by: Guenter Roeck Acked-by: Guenter Roeck --- Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml index 92df6e453f64..e7a87ce94772 100644 --- a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml @@ -29,6 +29,7 @@ properties: - rockchip,rk3368-wdt - rockchip,rk3399-wdt - rockchip,rk3568-wdt + - rockchip,rk3588-wdt - rockchip,rv1108-wdt - const: snps,dw-wdt