From patchwork Tue May 21 01:24:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 13668771 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 31826C25B77 for ; Tue, 21 May 2024 01:25:13 +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=BffFFfZsYvwEk8 O9W2f/AxNKww11y9uTEcdDGaUJ9rS/Or/jdV0MgrNrWyYq6yKZVKqKB52HXT8C+tgHvLa0A/rtSkR UVDYWN/aERm0hCbI/flSDs0tH6kXLBpgd2wiw0FqqR8nNb1e9xQx6mvnWobhIRHWfLXLp/7vIHyFm JDrbykfkGeW/dEiF1DeY4rlyqcM5ZsGkoOOGckf/e7VCM7ZLbOQ5sxlW9obRgmk1hLHsRqjWGQ81W pPADoBk9tzU6u0Jm3EiyQHLLoKG9RGt/1G8HHpjSb1f0AuDCAX9BOWkonR+OH1ivk9Tnc4WokRoPr koXJgKrgwgGr0Ws8oBog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9EFT-0000000FyqO-1z7E; Tue, 21 May 2024 01:25:03 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9EFO-0000000Fynb-140n for linux-arm-kernel@lists.infradead.org; Tue, 21 May 2024 01:24:59 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1ed0abbf706so25153585ad.2 for ; Mon, 20 May 2024 18:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716254697; x=1716859497; 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=FwuDJ7fJ94ffiuBNkPRxj9UNjxJmUXBx36EcJaSU7eKRZxOnw/433ttJqJ3tSzK/Ba hfgxO0chgR4zQob9SAElfkqbaX1I1R+QGoKeyIUHi2hbhTR4Ok0Yxp9WEbVrBeikvdxk r7CJYTtsVmMrbhMzOFxkUq3bCchXRzccvtGmboX4iIeqwTp+nOq+8E/ftdviXlvEswaa cHIWjMW0pKaHUj8fW0LnxUffYIXl+rqgbSEdg/AbjmrAjzSvrW7NsT/HTGyqBeBch5aZ um6LhUch7SO22soxyDheGOin0KG/bSItPk4+h7x4jPoeywUnfwsNStTU7sT2TpohTI8E iMJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716254697; x=1716859497; 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=jPUccD18cb+FTnoYGTZpjZIDp8ax6fTXbyCVvyS3Ov+utW4U6fJYF7vBum+OjExdvB PsHCY7LV/DcF9rasEyG+vdwMj6tELANPbwvXIyqElSG/0SPmb/83vD4mAmZfkB5JiW2T J2gUjhg6IIWolWcS6oO5Td6zHFyb8kAVnXMfKKVjrFqAsz9UDvMCE8dfRGZlpl4HkNqf OEYOS9qkPr2ZOwkCN5PzCMUg+beO/58UWg9BZO/FIKlN+yCiGVUdh1a6OeFL7I5IVXHJ Z3wN8VjXqTbmQxDKDqr5Rr9ptjRngfoQ2JqAF6FpPH6v0jBMTrq9R5JsLtJLzmtIMHbT J2tA== X-Gm-Message-State: AOJu0Yw1KVipmCkohoEtfvqpivMaVMY9xMboM5WbSf9bOsdGG+sOI1VU y9zmvXMqV1/3ITjKWx+AwxNXOtGb769FVMxya/85vb5jx4b5zurS X-Google-Smtp-Source: AGHT+IHDl9O+xwzgupXhCETSxzLDpkEfCl2jlIEJeP2Ol2M4UraHSwX/SoxmSMgVAOCg+l0AggnB7g== X-Received: by 2002:a05:6a21:9207:b0:1af:fbab:cfba with SMTP id adf61e73a8af0-1affbabd1e5mr26132776637.27.1716254697103; Mon, 20 May 2024 18:24:57 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-65e149dd925sm6477563a12.58.2024.05.20.18.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 18:24:56 -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 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 v9 1/3] dt-bindings: reset: Add syscon to nuvoton ma35d1 system-management node Date: Tue, 21 May 2024 01:24:45 +0000 Message-Id: <20240521012447.42211-2-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240521012447.42211-1-ychuang570808@gmail.com> References: <20240521012447.42211-1-ychuang570808@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240520_182458_357346_AE63F313 X-CRM114-Status: GOOD ( 11.80 ) 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>; };