From patchwork Wed Mar 13 03:57:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 13590963 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46169C54791 for ; Wed, 13 Mar 2024 03:57:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dD1HjEz3TO5KPlYYaJQIcFrZrdVSA+ubX4SFLNY4X+U=; b=apqH0Qh39nRfAY LVJKj8WOZf6rOTnUIUJjsoOyv+hZX9oOKYUXVjQ5xf1KjA0ulZpx/Il+pcbRo1aXulid7Xcejd7Wv +AtCDFwQc1zywlceG/Kyre/TLtvLtP76NiySnreAj7AarUzIoADx3G5APyDDTqr0FFoyro2+3TEAI AHdgSKxproc5d+/CV9mYgOV6St84f9G6Q4u81ewhCfGTvgIfdvLlhoXFxL2zugfE3MdzLtm3i5YOv QVMIddP3Au5cxdj27hM2UXhLfKX/vLtNkXh/T7GWAMWPeq75vPDUj4k9gf6iNmANMyH0ap2SmnXZU LJ6mbjUuEzYDNskG0H1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkFkH-00000008i8X-3eso; Wed, 13 Mar 2024 03:57:37 +0000 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkFkB-00000008i5x-2Olv for linux-arm-kernel@lists.infradead.org; Wed, 13 Mar 2024 03:57:32 +0000 Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-6e4e9cdb604so2246313a34.2 for ; Tue, 12 Mar 2024 20:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710302249; x=1710907049; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7XuZnshTHKl9Tg/cmKKixm6682TVpUXXm5RT75oPZP8=; b=EeWmZxY6Mtp3PkrHo63Fmu5YADRpomqSBqhgZxoVcV/pzJEDFV21vUhM9Ty1sEo0Bl eY/RWKjRGiKYhE5Myfo9PDpmbdAVdsobioI6dErQVirWYbhpsRXBJWawXEz5e3qM3xEC ItpSO7XWTG9sQu17+wq0VTOuWNtnbbfR61BacrZhkZg+cp7FEy8YdIhK59RQn4eRy178 mi7TaFB/pmAAvoKmjS46ObCNpT3/3toQwoACm/bi8yqIdoaHP/7E6m1Q20YYWXBmS3vJ Kju84bU/J4tpKtbq7aWC92ZS2ibnYmosOxRExTWzIebNK/zbc4J0bHoibv3JNijG3bP3 KM7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710302249; x=1710907049; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7XuZnshTHKl9Tg/cmKKixm6682TVpUXXm5RT75oPZP8=; b=mNpWvPuPiQSmWWQ/1/APKqIySGB5CE041otQ6fPFKCfWghyZv7yaF8sDJNHaNtWj+q TmvxybAqwYc1/m45u/K/W0/1ounCbDXfsojcsAuYkUxJ1U/G2dnTAndVcQUxDPGFdyAN +5pyhIK0eR1ou4U9XZdS5d4hNrqr9RR3AADGOoA4m3vOXAZZ7W/qvsBqvRyeJGm64ejV 0RHRnbg3jZksAaQbEwqoLOt7dSjCxp0S6O4BkVRnUJvEr7cfowr4HSoPUgY7B8bzoPuY DoEuwNHKjPAWFezZ8H4oEI3G+OXA5KYRKKYMdrYHdryegIepuj94ARyd+3gTphaB/A40 JM+A== X-Gm-Message-State: AOJu0Yy3aEAYrWxjxhB5xlLagBrZTfaYqAyVeG7l7ouRH+208jGmalp9 ZZJx+rOqXYWnI1OOjBryxVbDnLKtma7pAjPOmlWoSrIrulGdK/4q X-Google-Smtp-Source: AGHT+IFp6/jR6OTJQBWZSvOQb8gQl9BfjYlQBvp2KADlIIEPW/uZ0I2x7E2nROsK6QOyD9ScrLNQGw== X-Received: by 2002:a9d:7f19:0:b0:6e5:3d92:2fcd with SMTP id j25-20020a9d7f19000000b006e53d922fcdmr3459323otq.21.1710302249240; Tue, 12 Mar 2024 20:57:29 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id o17-20020a63fb11000000b005cd835182c5sm6721605pgh.79.2024.03.12.20.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 20:57:28 -0700 (PDT) From: Jacky Huang To: linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, p.zabel@pengutronix.de, j.neuschaefer@gmx.net Cc: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ychuang3@nuvoton.com, schung@nuvoton.com, Krzysztof Kozlowski Subject: [PATCH v6 1/3] dt-bindings: reset: Add syscon to nuvoton ma35d1 system-management node Date: Wed, 13 Mar 2024 03:57:17 +0000 Message-Id: <20240313035719.768469-2-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240313035719.768469-1-ychuang570808@gmail.com> References: <20240313035719.768469-1-ychuang570808@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_205731_644228_DB04A212 X-CRM114-Status: GOOD ( 11.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jacky Huang Add a compatible 'syscon' to the system management node since the system control registers are mapped by this driver. The other driver must access the system control registers through 'regmap' using a phandle that references this node. Signed-off-by: Jacky Huang Acked-by: Krzysztof Kozlowski Acked-by: Philipp Zabel --- .../devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml b/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml index 34c5c1c08ec1..3ce7dcecd87a 100644 --- a/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml +++ b/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml @@ -18,6 +18,7 @@ properties: compatible: items: - const: nuvoton,ma35d1-reset + - const: syscon reg: maxItems: 1 @@ -37,7 +38,7 @@ examples: - | system-management@40460000 { - compatible = "nuvoton,ma35d1-reset"; + compatible = "nuvoton,ma35d1-reset", "syscon"; reg = <0x40460000 0x200>; #reset-cells = <1>; };