From patchwork Tue Nov 28 06:11:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 13470531 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 3DD51C07E98 for ; Tue, 28 Nov 2023 06:12:05 +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=ttNuft542KLaqbUjVxr0FBEVus0s+vz4bZJQS7XBO1I=; b=uXz9G5MZ2jsJgk ZB6uGCizg7OMXVUp+M/kE0nqjPq83cntm+ux4unnClFHEgxPTs+ummC2ul4DQjO4V3RQ2rsjyFazL rI1dJUJK9++bb1nHx+Jd1Fz6STBZHtfcfudtFWgKOFmpvfwBsa6fSWMizO4+G3I2K54WjL8d981Nd JwLb/4FczskmOmhsyeOp0MAdLMDDqmNW7W3NNVOabnMCXtvjph7W2WzrmHO5czXIzH2MwBrOk09Gi nO2Vtg6LZHpbNCOYAiE0Bi31yvgg87IJHNlW6TIsX1wvEbqPatOEZkMrfdxEY2IXZvEacPJLe52gT GG81gK+gX+esfcyf3W3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7rJo-004EKl-2a; Tue, 28 Nov 2023 06:11:36 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7rJh-004EI8-0E for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 06:11:30 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1cff3a03dfaso4521765ad.3 for ; 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=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=WilIeTT4aPVtkzqmbVOzffelzxGMsBk9SQwUslLNDU0=; b=Fl6Jnc2yYiWqXL3crJAroLe+aNxRgGlMKoTrsNNUaRp3be9D9F5HKrFQL7tOJFh9L6 K/VR+KLlZ7mKcjwjSRiqaaLzTCivFHXY085IV6tHtWwi0koYGY7WD9Ooow/Nc2jk8a2A F5zFyUHV1wH2P7XyOw20KVniGOwl9o4CE3QI7aWfv8edr6PfqWGHDKD6v9PTmJzYJcLz zjHkzsBuS1TU56nN3APWIHo/2oW4E/8IG8+P4bh87Y376yRjO4XtF7deRQyEaUSobnh3 wCQVOBJDihO2Dk4b7K+xUIZqoM22G/gvQY9VGrS/JDE/YRsOBjv5suZHqWahJ1GOvd6Q AxSw== 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=lw+RROH+O15qrIhcO8WNTBn2SbwCKw0FjkFqtQMeRKg6r4C9NAF+6qWjv5pAYCGdIw tEnhsIoh4I/g3w8JZA6ZjKhOZuLmimvgr0QWMW0ROqm6TX3xGSJ8/Fxeb8Inws0wIkwq 3fu+4Pt5wX8IgEXFcuvLIuH1MvzTftJxI8lgefRDMBZvPidccsOCH+ybyrUInWyklJyF IJ2OJq9NgiRxYDa5e+J8XqL6abMY/WI0Cjue6ceSSe2edJHyROacsqSaii7MmQst4Cdd qSVAjsTx6Ne+1dc0Z0EcJHRJRCWYL51GNX9VPlXxIv8XY9kajP1jl63O24gq6aBjdNx9 3C/A== X-Gm-Message-State: AOJu0YxX+jh0ErDYCZRuX9KhBdNh7dyXunl9GHDp/4bDjqXZPswPulRM jnOoxV7+6bThqIp64GoAEu8= X-Google-Smtp-Source: AGHT+IGJNunGEFgwsSsLRBm8NiscZ8xBnplJFN66CtUNkHSUigRrAaTF4biTHW0Nm2Qw5HMoRdpVDg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231127_221129_111039_98833694 X-CRM114-Status: GOOD ( 11.64 ) 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>; };