From patchwork Wed Feb 15 20:37:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Germann X-Patchwork-Id: 13142167 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 49655C64ED6 for ; Wed, 15 Feb 2023 20:37:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbjBOUhh (ORCPT ); Wed, 15 Feb 2023 15:37:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjBOUhg (ORCPT ); Wed, 15 Feb 2023 15:37:36 -0500 Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A35CF3B3E2; Wed, 15 Feb 2023 12:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Type:Content-ID:Content-Description; bh=H4m3RP9AkGa0lGoncGnuU5TSiDprpEx7CfW0CHNe6C4=; b=Xv/LX8xdfRA3IJXZUbMbjDLKxe xm7Pccqt4fjdnkBet05mvUTdubkfrMNdU7Pc/yemm12fkAV6oaKDC0Oe5Bbv1GaieZEEq5mQNh5kq piDNJuUhOr3DkHj2fiHoL3Sf8fbeGU9R8dnXnuCVI00JMPJFjZ3gV/CXgS91M3Eydsw7yK/C2Mzl4 k+AY4TDj0rfniyHhswQhBhleKbrUBoZe8lo9/uWmT12QV+26pRQFNrmP6BPNp/aoa8WymGsB39hDD THFm5TpCo6c23+3vgVoP851fe1UA/UxtNZG/FkP7jDNjhBmQrRuxnus6bSg2pMF9nPIDZ2ivSueGq 2sgA5x0g==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1pSOWi-002j5f-MJ; Wed, 15 Feb 2023 20:37:16 +0000 From: Bastian Germann To: Wilken Gottwalt Cc: Bastian Germann , Ohad Ben-Cohen , Bjorn Andersson , Baolin Wang , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, Krzysztof Kozlowski , Andre Przywara Subject: [PATCH v2 1/5] dt-bindings: hwlock: sun6i: Add missing #hwlock-cells Date: Wed, 15 Feb 2023 21:37:06 +0100 Message-Id: <20230215203711.6293-2-bage@debian.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215203711.6293-1-bage@debian.org> References: <20230215203711.6293-1-bage@debian.org> MIME-Version: 1.0 X-Debian-User: bage Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The allwinner,sun6i-a31-hwspinlock.yaml binding needs #hwlock-cells which is required by the hwlock type. Fixes: f9e784dcb63f ("dt-bindings: hwlock: add sun6i_hwspinlock") Signed-off-by: Bastian Germann Acked-by: Krzysztof Kozlowski Reviewed-by: Andre Przywara Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20230213231931.6546-2-bage@debian.org --- .../bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml index 10e5a53e447b..01b1bbb3061f 100644 --- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml +++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml @@ -26,11 +26,15 @@ properties: resets: maxItems: 1 + '#hwlock-cells': + const: 1 + required: - compatible - reg - clocks - resets + - "#hwlock-cells" additionalProperties: false From patchwork Wed Feb 15 20:37:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Germann X-Patchwork-Id: 13142166 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 9D8C4C636CC for ; Wed, 15 Feb 2023 20:37:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229795AbjBOUhg (ORCPT ); Wed, 15 Feb 2023 15:37:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbjBOUhf (ORCPT ); Wed, 15 Feb 2023 15:37:35 -0500 Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A36703B3F9; Wed, 15 Feb 2023 12:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Type:Content-ID:Content-Description; bh=bld27SLtxMpempS0AaLEC71g3ll0gb2LqYxVJXQMgP0=; b=C/vR31YwgO+/9WE/MfvwDcX6nl MnOQzf4x8MbdFEQB/AixPa6/aCOBB7KsaVZE7peLeV6+ZIKafhWfRj9lxwMIFYxurdyU9kYfJKIrP Uu0BDr6K9IkhzsCwoNahkucR+eXdsGS3WUdCiI0O0KwfR7yP3PkJ7pFzMbeOHWrqJhqbTR8OgMRon jg4br3a3eYwwIS445ahRgsRKRW4AJaTEaIE4Bp3Zhm2U/wMUslrHgT8ORSfhG3kAgfZhkQk+A3SDv GaKcCll97bTezdz5+VafSytGoEg26gw8CC5gUvEDHA1RhHgfZydx6votexyfD7BuVEgs9Jry2ywro ddFwyiOg==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1pSOWj-002j5f-2I; Wed, 15 Feb 2023 20:37:17 +0000 From: Bastian Germann To: Wilken Gottwalt Cc: Bastian Germann , Ohad Ben-Cohen , Bjorn Andersson , Baolin Wang , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org Subject: [PATCH v2 2/5] dt-bindings: hwlock: sun6i: Add #hwlock-cells to example Date: Wed, 15 Feb 2023 21:37:07 +0100 Message-Id: <20230215203711.6293-3-bage@debian.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215203711.6293-1-bage@debian.org> References: <20230215203711.6293-1-bage@debian.org> MIME-Version: 1.0 X-Debian-User: bage Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The dt-bindings tools will compile the yaml dt examples and this prevents an error about this node not existing. Signed-off-by: Bastian Germann Acked-by: Krzysztof Kozlowski --- .../bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml index 01b1bbb3061f..38478dad8b25 100644 --- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml +++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml @@ -48,5 +48,6 @@ examples: reg = <0x01c18000 0x1000>; clocks = <&ccu CLK_BUS_SPINLOCK>; resets = <&ccu RST_BUS_SPINLOCK>; + #hwlock-cells = <1>; }; ... From patchwork Wed Feb 15 20:37:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Germann X-Patchwork-Id: 13142170 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 8C51FC636CC for ; Wed, 15 Feb 2023 20:37:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229816AbjBOUhj (ORCPT ); Wed, 15 Feb 2023 15:37:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbjBOUhg (ORCPT ); Wed, 15 Feb 2023 15:37:36 -0500 Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2F433B3CE; Wed, 15 Feb 2023 12:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Type:Content-ID:Content-Description; bh=r49yZYmJjuE0DOdqDD4meHmGEzLhjIGb5mML7c5O7pA=; b=nWZitlbNhn+wFiicL3hw+i9Kp1 Qq8MR8kEy3UH/kxsk+U8NUazMQhqV2OaRN80F7T+XlgBDakte1VDsqn5Cmar5M9WDtRNOAjfzv3UL PtxHF+WNi2w3jkpZRwgSXOWn27lh7exgg5B7QCG0Mzn53tqquCX098gxoljrQnoP1At5nnKYs50NX 2+FHOq45N504I4Xdx+QR4AIo+dHTlZN8A9Am7DIkzYDhaymRRBk8hYzw4LMTwmPAp9YhkP54jrnYA jXUNQp1380Mb9fv3e1ej2R4bwDhPk1faA9CqHEM46W1uLi6weOec2GbMHku6yMMh3OqjLUdp8gUrw AWSJQydw==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1pSOWj-002j5f-CM; Wed, 15 Feb 2023 20:37:17 +0000 From: Bastian Germann To: Wilken Gottwalt Cc: Bastian Germann , Ohad Ben-Cohen , Bjorn Andersson , Baolin Wang , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org Subject: [PATCH v2 3/5] dt-bindings: hwlock: sun6i: Add missing names Date: Wed, 15 Feb 2023 21:37:08 +0100 Message-Id: <20230215203711.6293-4-bage@debian.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215203711.6293-1-bage@debian.org> References: <20230215203711.6293-1-bage@debian.org> MIME-Version: 1.0 X-Debian-User: bage Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The allwinner,sun6i-a31-hwspinlock.yaml binding needs clock-names and reset-names set to "ahb" as required by the Linux driver. Fixes: f9e784dcb63f ("dt-bindings: hwlock: add sun6i_hwspinlock") Signed-off-by: Bastian Germann --- .../hwlock/allwinner,sun6i-a31-hwspinlock.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml index 38478dad8b25..6cdfe22deb3c 100644 --- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml +++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml @@ -23,9 +23,17 @@ properties: clocks: maxItems: 1 + clock-names: + items: + - const: ahb + resets: maxItems: 1 + reset-names: + items: + - const: ahb + '#hwlock-cells': const: 1 @@ -33,7 +41,9 @@ required: - compatible - reg - clocks + - clock-names - resets + - reset-names - "#hwlock-cells" additionalProperties: false @@ -47,7 +57,9 @@ examples: compatible = "allwinner,sun6i-a31-hwspinlock"; reg = <0x01c18000 0x1000>; clocks = <&ccu CLK_BUS_SPINLOCK>; + clock-names = "ahb"; resets = <&ccu RST_BUS_SPINLOCK>; + reset-names = "ahb"; #hwlock-cells = <1>; }; ... From patchwork Wed Feb 15 20:37:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Germann X-Patchwork-Id: 13142168 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 C0ECFC64EC7 for ; Wed, 15 Feb 2023 20:37:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbjBOUhh (ORCPT ); Wed, 15 Feb 2023 15:37:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjBOUhf (ORCPT ); Wed, 15 Feb 2023 15:37:35 -0500 Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34E83B3E1; Wed, 15 Feb 2023 12:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Type:Content-ID:Content-Description; bh=Wi+mMNtvFAWEOiS2DSrULuVNQaQXpbi0WtKy5bdJNlQ=; b=XH1oquDm7zORQgjVwY695ZEals BPDJs1eOo9B0MGQglEDXBIMDByPNFfGv30lFRPZlkcGXdv3aryfiKVuPfCRQtwG3LOFCWj1vpKFB/ GQ7QQldPYLPx293B0q6kARrIel6AOyKUe4bUETebGFLQ9VeW2OR0Ff45EuqhoaGQDFYLG/uhMmrzJ 27d8w8LYvctSEW6ozXX3zwsDOldK05zZau3LXQmLzSU05Dre+f8vO8cuofkGE/B95CzehlRDZTtLU pYIIiWkdF4IxQE6S/kry+SwPC8qxdJZQXrtvr/0VcO1Qo6OY2NmDgbxe96sM5gXFP1eG8GDLmo9EW GjkqznWw==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1pSOWj-002j5f-Lm; Wed, 15 Feb 2023 20:37:17 +0000 From: Bastian Germann To: Wilken Gottwalt Cc: Bastian Germann , Ohad Ben-Cohen , Bjorn Andersson , Baolin Wang , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org Subject: [PATCH v2 4/5] dt-bindings: hwlock: sun6i: Add a64 compatible string Date: Wed, 15 Feb 2023 21:37:09 +0100 Message-Id: <20230215203711.6293-5-bage@debian.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215203711.6293-1-bage@debian.org> References: <20230215203711.6293-1-bage@debian.org> MIME-Version: 1.0 X-Debian-User: bage Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Add an allwinner,sun50i-a64-hwspinlock compatible string to the device tree binding. The A31 and A64 have compatible hwspinlocks. Signed-off-by: Bastian Germann --- .../bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml index 6cdfe22deb3c..281c285282a1 100644 --- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml +++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml @@ -15,7 +15,9 @@ description: properties: compatible: - const: allwinner,sun6i-a31-hwspinlock + items: + - const: allwinner,sun6i-a31-hwspinlock + - const: allwinner,sun50i-a64-hwspinlock reg: maxItems: 1 From patchwork Wed Feb 15 20:37:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Germann X-Patchwork-Id: 13142171 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 F0431C6FA99 for ; Wed, 15 Feb 2023 20:37:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229821AbjBOUhj (ORCPT ); Wed, 15 Feb 2023 15:37:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbjBOUhg (ORCPT ); Wed, 15 Feb 2023 15:37:36 -0500 Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34313B3DE; Wed, 15 Feb 2023 12:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Type:Content-ID:Content-Description; bh=Nm6XL9EmKootcd4yjvHH8UZ77IxEkk6Gx2zX6Qkn1sU=; b=GRXQdXOdVjKugMIj6vYmkR6z+c tE41n1KbONRNr3NV4YXgZSdMOEVn5/1gCdzlxD8lDYtnbEZC0tsHA6gH/XWo/iVTgjKa+Efojf7j/ G3X5sPl/+Wmho26LM8904Xfwr+Yni2gD9GCcUBZaOPJjwyPH0xhHBVXVVJtxfcsgEGxkfVt2xGP8k 6G04gRleEPJyOxb7jHV+CzjNPcucbU+00dpGiz7Csi1JW6mGAKTI5N2jSxbqvRbYFpOceWceFwcjG ZbkWcS0KKK/hxCICEt/ZnT7+6nKKrzvnLyAgYDfHY3dcAsbYJepme/v8XMO1B5PhcN4VPmFWJ9VVY 9LrmTvTA==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1pSOWj-002j5f-Vs; Wed, 15 Feb 2023 20:37:18 +0000 From: Bastian Germann To: Wilken Gottwalt Cc: Bastian Germann , Ohad Ben-Cohen , Bjorn Andersson , Baolin Wang , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: allwinner: a64: Add hwspinlock node Date: Wed, 15 Feb 2023 21:37:10 +0100 Message-Id: <20230215203711.6293-6-bage@debian.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215203711.6293-1-bage@debian.org> References: <20230215203711.6293-1-bage@debian.org> MIME-Version: 1.0 X-Debian-User: bage Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Add the hwspinlock to A64 which is already implemented for A31. Signed-off-by: Bastian Germann --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 77b5349f6087..f2ecc21f06ed 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -851,6 +851,17 @@ wdt0: watchdog@1c20ca0 { clocks = <&osc24M>; }; + hwspinlock: hwlock@1c18000 { + compatible = "allwinner,sun50i-a64-hwspinlock", + "allwinner,sun6i-a31-hwspinlock"; + reg = <0x01c18000 0x1000>; + clocks = <&ccu CLK_BUS_SPINLOCK>; + clock-names = "ahb"; + resets = <&ccu RST_BUS_SPINLOCK>; + reset-names = "ahb"; + #hwlock-cells = <1>; + }; + spdif: spdif@1c21000 { #sound-dai-cells = <0>; compatible = "allwinner,sun50i-a64-spdif",