Message ID | 20231128061118.575847-2-ychuang570808@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3710620vqx; Mon, 27 Nov 2023 22:11:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVVPQarrXfRvqrcXB67pQlWV7V3hkzMcSaOMWCZMQeqbk8gYm+07Ca+oikDiEPfoMwjNNR X-Received: by 2002:a05:6358:7e0d:b0:16d:fc28:6ef4 with SMTP id o13-20020a0563587e0d00b0016dfc286ef4mr16769853rwm.25.1701151899118; Mon, 27 Nov 2023 22:11:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701151899; cv=none; d=google.com; s=arc-20160816; b=Y6eFUplSRcAcmGOirfgd+M/U+G6DTSQT1UGzVIusvdhwLArFbUwleJW4dGwgUpkn6H jq4ofvrDhF6Kd2cIMbx73rWIMt39Oa4VEKusIHu2+uC7DD/V4Fzg/o3YfuFXzl5Up+PJ 0vWamG1U9t3o75VMQCeABkIPZu1/QD9U98uZuv9hQhmrbglhvsiCzpRnOYT2s23iIFad quhC1FynQiJHMZSgVzA0L+2M8oB3qXJ2HhBLSaX1xKFUkHQehOi/RG9h/BFVGl2vWq6O TUnBm/+UjUjy6u2tJshn/iVQmYXcabiMbFc34SL2I38w/2NVthvjfxY9AQcKw/KrJSwb iDlw== 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=WilIeTT4aPVtkzqmbVOzffelzxGMsBk9SQwUslLNDU0=; fh=tgUrbkNhf6DIZqZzkpsgQ15JawBXa6kDAtx2UnddeWA=; b=HncRqeVLRKTN+5+vlT0mo4OHmfiJ/pQPce5JEDX/hkL891ovqiT1/NoTnvLRSmm7CX nYDMRZiQ4FdUX92NIa40Fu5hBRsmYDhd8c/inXFyMhDEZRnTr6mwMRGc2QMEOyzYpus1 P4GLPIxdpyv36gjPe5aB7NTwhjgwF+sn0c/xHd8b+HedFD7WEEbMGLPSQY29jO+BSOuc 8YQnvGBLAhB8GwnqRp9lyoWHCUXoYv7UgSQv9/EcADT2n1PoXgfBFqFxJFBG/+bu++BO d3aZ/gSD/r5w3/z1HJHDE632YJToJEhqv2CnorsbHlfxtVz0rwKq4FHzikzvKeDwHsBZ nq/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HrEbRRh6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id i9-20020a63e909000000b005b42f4443b7si11631750pgh.653.2023.11.27.22.11.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 22:11:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HrEbRRh6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 973F58060076; Mon, 27 Nov 2023 22:11:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343623AbjK1GLZ (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 28 Nov 2023 01:11:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232615AbjK1GLW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 28 Nov 2023 01:11:22 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFB99C4; Mon, 27 Nov 2023 22:11:28 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1cf8b35a6dbso37380945ad.0; Mon, 27 Nov 2023 22:11:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701151888; x=1701756688; darn=vger.kernel.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=WilIeTT4aPVtkzqmbVOzffelzxGMsBk9SQwUslLNDU0=; b=HrEbRRh6B2rJhhbHCEPaLihY6NNO79GQboZtFQ70OT7t1LF0IE0FrOrrvB8NH/Pnro FOcQvQptuoOqA9r1ie4NwgRY9oyfltwMUyz2Ee9AnVmKBHs9KzskVyELC5giSFznwajr aAhcrxa6g7qVjOm2CmTYRIy9/O3DYYmKKbWKMo2MgMDaHNs/NIObyEW/Sp4jqxUPz8CX DXyAmmZKK1STiXb5asSAqSFkfnW1vddsf34MMqiTJ4/T7Xj7p2QUsswFWGmJWyrPP3PI 8Tu8ZN9m7HxOuYX7X5G5Y93arzhLInKGmbMbzTFJGxFfxFSkazw6omklqtlSlM7oGfU8 5VBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701151888; x=1701756688; 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=WilIeTT4aPVtkzqmbVOzffelzxGMsBk9SQwUslLNDU0=; b=cIIWatzLTS4YDKJuNnD8Ipl7+4tgWJbhI5BP8rho2ZuD/oUYIYip0ZFEy9Y8rWUXip esjOrwLixf7bBYcn/yHDCxzdQPYBsFdjLpDsWffrZWVD5+7Zqo3aJ6FiHrjgEUX0hRLB inROU04QQB6Z+oEVFQ9PdcwmIJwnxuAza+QpXxYvBeXDTNaQ8TOJOfeKDd+9Y7xXbHz0 1/Av6Ha0SPZj066C/YKIOm31ket0SQgEwG/X4MAGyUkh3t9EN9YVb0pTqxks1xWifveQ a+Unprsy0uPXT843PSbl44qhG4hdZ5UXEEbwbrO26yeZx6/H9T+NF2ISh6YW259Jy9ZE MS4w== X-Gm-Message-State: AOJu0YyphpYhVaiRSg0ISBRg04qN5p3EV/HBiFk2TJkAT3v6BuAQgAiL nELED42hZim3Nm/Op2EAovg= X-Received: by 2002:a17:903:183:b0:1cf:55dd:9a0e with SMTP id z3-20020a170903018300b001cf55dd9a0emr16134453plg.15.1701151888123; Mon, 27 Nov 2023 22:11:28 -0800 (PST) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id jj14-20020a170903048e00b001c73f3a9b7fsm9402694plb.185.2023.11.27.22.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 22:11:26 -0800 (PST) From: Jacky Huang <ychuang570808@gmail.com> 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 Subject: [PATCH v2 1/4] dt-bindings: reset: Add syscon to nuvoton ma35d1 system-management node Date: Tue, 28 Nov 2023 06:11:15 +0000 Message-Id: <20231128061118.575847-2-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231128061118.575847-1-ychuang570808@gmail.com> References: <20231128061118.575847-1-ychuang570808@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 27 Nov 2023 22:11:36 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783787053351145239 X-GMAIL-MSGID: 1783787053351145239 |
Series |
Add support for nuvoton ma35d1 pin control
|
|
Commit Message
Jacky Huang
Nov. 28, 2023, 6:11 a.m. UTC
From: Jacky Huang <ychuang3@nuvoton.com> 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 <ychuang3@nuvoton.com> --- .../devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Comments
On 28/11/2023 07:11, Jacky Huang wrote: > From: Jacky Huang <ychuang3@nuvoton.com> > > 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 <ychuang3@nuvoton.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Di, 2023-11-28 at 06:11 +0000, Jacky Huang wrote: > From: Jacky Huang <ychuang3@nuvoton.com> > > 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 <ychuang3@nuvoton.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> to be applied together with the dts changes. regards Philipp
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>; };