Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C48112CA4 for ; Mon, 10 Jan 2022 11:49:35 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id e9so24746006wra.2 for ; Mon, 10 Jan 2022 03:49:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7Y+fkGNLGqdfMAAiGU48wuA+SIBMA19TPv5MMqKzhcc=; b=lVXip1dWvHl5uaJX4J+UpjVH/1Gtu4QhKzJ/mCA/2T5/C0W0OILrKY8FDo7hupDADK C2hcH3i3EQ3d9O5s0Ijs1UivEHbEevw7J/Avmq4qHeI7TDblkFWY+vPPZLem+oK5VwoZ eMCKpcDn0khEF24WtIBlGubYN2LmANMlqXM8AhiJoVM/HuAQj3alqMg+itaca6H2r624 3elRU5AELfurEpaHRftnwzO5ppJ3bvx6eVmWIOvuSqyqd/eqRN6eABAuw8m3Xi+pK1nk Fzqqlh15ZWObe/iHkyNmFCJdktmF65AvABcRHm6vwGgJDlX/Ql6vXrB2kU5DkxTzRaPQ cI9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7Y+fkGNLGqdfMAAiGU48wuA+SIBMA19TPv5MMqKzhcc=; b=jiJl98iXbSv+bC3WlL/5M1H6uMGmu4ji0F/hrm4FoEIW3pzVvMydsBDFoZ/WVFQeE2 MkfeWWYMKHw9e41wGzbAO1jJJi+zCacnGDxphF1TkLptPkQYAnDQs//65muVJFFZvgGL KBEdmaPr3KNm2tUGnZKCQc7fz5DoU1Se1avisYWWdUegm40cH0k7vt+Vof+M5RC+RGJh yU9xFXlArSxeVhA6/LLsyLb6RjQIOfGUb+DfyGWlxfvHRoA2Z9/pE96eeLWMl+0gnPTW rW0swg1lVOByCfOr46UE8jNI4jqzX5UmU1ui2KgwN33ecyMymwfZ/dJWqOy4fcOo/Jcw 2hEA== X-Gm-Message-State: AOAM531o5b/g8L7z9RqYAvJm/t/iedjYd0+jRyT5/UPwaVM+VqQ0v+EI 4oZLuDmvTF3K8MEKH8qEohmY7W7osVSreg== X-Google-Smtp-Source: ABdhPJx0e3sLyqHMqz2xYe//mTRSM6DeViz0IEmgQaHzYtHdudmaf7dxI3j+8ZHcGdpoSWUAXt62GA== X-Received: by 2002:adf:e3c9:: with SMTP id k9mr1398036wrm.193.1641815374165; Mon, 10 Jan 2022 03:49:34 -0800 (PST) Received: from localhost.localdomain (198.red-81-44-130.dynamicip.rima-tde.net. [81.44.130.198]) by smtp.gmail.com with ESMTPSA id 9sm8090252wrz.90.2022.01.10.03.49.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jan 2022 03:49:33 -0800 (PST) From: Sergio Paracuellos To: linux-clk@vger.kernel.org Cc: john@phrozen.org, linux-staging@lists.linux.dev, gregkh@linuxfoundation.org, neil@brown.name, p.zabel@pengutronix.de, linux-kernel@vger.kernel.org, sboyd@kernel.org, Rob Herring Subject: [PATCH v8 2/4] dt-bindings: clock: mediatek,mt7621-sysc: add '#reset-cells' property Date: Mon, 10 Jan 2022 12:49:28 +0100 Message-Id: <20220110114930.1406665-3-sergio.paracuellos@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220110114930.1406665-1-sergio.paracuellos@gmail.com> References: <20220110114930.1406665-1-sergio.paracuellos@gmail.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Make system controller a reset provider for all the peripherals in the MT7621 SoC adding '#reset-cells' property. Acked-by: Rob Herring Signed-off-by: Sergio Paracuellos --- .../bindings/clock/mediatek,mt7621-sysc.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt7621-sysc.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt7621-sysc.yaml index 915f84efd763..0c0b0ae5e2ac 100644 --- a/Documentation/devicetree/bindings/clock/mediatek,mt7621-sysc.yaml +++ b/Documentation/devicetree/bindings/clock/mediatek,mt7621-sysc.yaml @@ -22,6 +22,11 @@ description: | The clocks are provided inside a system controller node. + This node is also a reset provider for all the peripherals. + + Reset related bits are defined in: + [2]: . + properties: compatible: items: @@ -37,6 +42,12 @@ properties: clocks. const: 1 + "#reset-cells": + description: + The first cell indicates the reset bit within the register, see + [2] for available resets. + const: 1 + ralink,memctl: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -61,6 +72,7 @@ examples: compatible = "mediatek,mt7621-sysc", "syscon"; reg = <0x0 0x100>; #clock-cells = <1>; + #reset-cells = <1>; ralink,memctl = <&memc>; clock-output-names = "xtal", "cpu", "bus", "50m", "125m", "150m", -- 2.25.1