From patchwork Tue Feb 6 02:52:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 13546546 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 D983DC48260 for ; Tue, 6 Feb 2024 02:52:51 +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=bnnIE652rW2koH 9ymfD5Bp+YCMfjjvDAXeTpcwTiaTjM67RVg3MgpjF3AydyZmS40N2pZQTyazrM8Yi1CwMWV6kcvLU Jze5OSllLAXI7znmDT5y0SdorHsCb5YD4NTue0pFEh7t4NHyhAVzBNIxjLyPIUccvV7f3jM3o7Jjr CQcslTewYZec3/JynkOsJqA/Ri65Mc7iv/GUgBSG5sVlF4as9SApPuTl3sxgcichjkPgpftrjqXhQ tm+i7LkVaAmBByX5jy2SrceRiy1Sq13f8BQ5Ehi9oeZcbSdGBRTIqsLoVSLOdTT1LK2i+Sjk4IJm0 s2++mlQh4WCE41KO79cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXBZg-00000005qEZ-1gou; Tue, 06 Feb 2024 02:52:40 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXBZd-00000005qCC-0cnz for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 02:52:38 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6e0311797c5so1060265b3a.2 for ; Mon, 05 Feb 2024 18:52:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707187954; x=1707792754; 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=PXRoXEYmOFjaYBd4HwhLFLrSK7VXAo8GuIBOPJzTqpkadYz2cbujatYCWCe/CsYbi1 Pv63Eo2uV6qTiK5CmRQitzQOH6QG7uqPemovtKp5DvwhOqU6sZlBI4CV94y9FfuqJlPs Ni9mDCoFmL60TBmgQ5v2HLY7uonpoIuPKHGMBZ4zSRJpNWSdSC/3D//MrGLJSkOwX3Wv TcPjiCcrUgd7M9NTWRMmVssJGbq49c4YIoEd5jFe5p+15XEn8l7WUlZEJNMc02J9JCBu UzJXQbxfPyPZd62pGnn0u2Tv+Z0iWeqOu91lv3fMVc5dD+2vqZHearl3hhrCFnfWyxzN 5Ajw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707187954; x=1707792754; 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=baJ2kqB610AmEoenVKid/zhwdSFI+VnbESSklGKBp8bIyGzq43t7RapDCs4rWtPWis rIKk/8D7VivWFcsxggavN568XgRA6jQ6GWqnuZgmEGJJd//wdGV5sToIaIi5XAvZr9Ee 013V6lRzrq/7jpSx+eQnvUE3kluvFlBfhaSY5zyZqt8UI40Do2SJhyq6WWXc8xltankW AEXyRFqtL+S4PZQm3gB/xs9VqOi2zxd3a04KBoXH5QcLX78Hf0IA/FXZxmrd0scHGpfh N5r7zw1RwNQKJxaaypp5awU0jiI5FIEqdhxQMNAXFbNbQxyInKvlsVkee1e+2dzQ5iie KkOA== X-Gm-Message-State: AOJu0YxxNwzB8bcPfqxG1IMVMRR7JP7beRhFfcZMTSrylhnZlQS+3PAR LivlNEjdJoBYMF84GQbkkYjMPb3edejV79v+zp8knGOW5h5dBcHr X-Google-Smtp-Source: AGHT+IExQHm3LPkOO+KSmh724R5EiT7wL480O8gxc/ylKr2XlQF2H4+LPhiNpnCOo/+H5TMkiK2OLA== X-Received: by 2002:a05:6a00:6c95:b0:6e0:54c4:878c with SMTP id jc21-20020a056a006c9500b006e054c4878cmr1154146pfb.32.1707187953659; Mon, 05 Feb 2024 18:52:33 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWucaJbrmJtfE1rykJ/g2NI8bSa2oTeaC4YpqnJGa/5+s8ZyZD8TWt7L4LVL1I+ZFlE7uHYq3NDItJ9GkAV1TmBApcSlE6v/HFrVcd3FTGpvmmDc56BLbdSr+b5ysJI8qQOBXtWFFFxzwWG5aAnbTqmwnB2cHnxz0UZOHEyZgfjbeC1Ykd57WPo52X2KiQeRT5kh36rH4KIRJQ/fBq6F/QPcGZAitkSD0Xo4bmjcp8A1eIaIIQz7X9WYMODrcZfHBugbwITIA2eA0Eg4AuU6qqFng9z9MWwvbR5oX7TKmxX64COKB7sd5BWeBiOxI6IydRzdMrrv4fi2nqijBYyefKQvm2wsnlv4ziLzCCyn2Xm+8RoGBOH1pQdAEKV9TkEG4XYgpwBAsLadKcL3e7QIat7qXdsDYAMMlQLW2/nx4j4OCL+mgaB4s8QuQ== Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id gx22-20020a056a001e1600b006d94291679asm622542pfb.78.2024.02.05.18.52.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 18:52:33 -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, Krzysztof Kozlowski Subject: [PATCH v4 1/4] dt-bindings: reset: Add syscon to nuvoton ma35d1 system-management node Date: Tue, 6 Feb 2024 02:52:20 +0000 Message-Id: <20240206025223.35147-2-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240206025223.35147-1-ychuang570808@gmail.com> References: <20240206025223.35147-1-ychuang570808@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240205_185237_229379_6C254797 X-CRM114-Status: GOOD ( 11.28 ) 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>; };