From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 264962C80 for ; Sun, 7 Nov 2021 07:42:06 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id v127so10492412wme.5 for ; Sun, 07 Nov 2021 00:42:06 -0700 (PDT) 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=OJp/wZiERGVBUU7HIuspGPpojRpXm2e3BfdSR6ZgDTc=; b=PP0yCHrPUsuBD3zKIXVoPdLYQJwcdFQrEACEv/HmWaSTnmRGe8xw3bBQFxKu0b7bVM NwhbsiTtmfhpQJqjjSeCdRpQVyFv3hXUgFIjkmrhqfuHGEOQcVT4IxYA1TN087pJjcve /bGSpiYgYrnscBv8HLgh8fa5tk7/7cOWIc0dKwm+ebIRp/h4+22jDt9O2SD+RjmYAOu2 ygI/iD9fBxr/YIpx8zDtbmdJ/861DXBC5wFg7kWcUYeL4SUOHbqQPnZ5ZZkN3oroe8LK IZgcT1GyPDXVgeJXGpWlUNAQMywhrtHXpg+zRB9hv9yyqEpd+gQZWLJsxZnf7/7mbGMv cJ3Q== 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=OJp/wZiERGVBUU7HIuspGPpojRpXm2e3BfdSR6ZgDTc=; b=bhds+izzodDNPYLjiedGhIQIH/oVW7jvzDTY9JaKyLbrS9PWUCSJQU3PxBrztO5mCX fp7+PaAnC0SPTjQwa57S6bIq46WPVxst54s5fH4FvJj975Tq5CY+dOp7BoBzsqhF/o6X bqdhIVCV19IuJ/bp+TcHBVadm9Jdj62Ap2PYUQPOFgRw6yYf1aNBFX6XXhijnQRxkoh4 ceVByosN1Bv17buhzJu0gPfWbONdepVUPbnLTx/FsM5do+Ubj7xDLxrjNKEcageg5PI7 JCG6iSVPJ5G9LE/gOkbxJR6JV4rqOO3lwGPlIRbeVnq2MFvIbB8PQJGcz6WoxGtqnhDd kv2w== X-Gm-Message-State: AOAM532M0u07F/yCznD8GH3UttebJlKDNO4TbGuXuqeUGH0DYNEPS+Jt Bfz6fLnrLBQomVhMs11muOY= X-Google-Smtp-Source: ABdhPJwFV2uyo9fINU7WHNoT0sKrZNhrhElgzc60E2wNGxZJG6LSejSb2gQx+gNvO4hNqJUXh4++TA== X-Received: by 2002:a7b:c084:: with SMTP id r4mr45972882wmh.117.1636270924550; Sun, 07 Nov 2021 00:42:04 -0700 (PDT) Received: from localhost.localdomain (252.red-83-54-181.dynamicip.rima-tde.net. [83.54.181.252]) by smtp.gmail.com with ESMTPSA id e12sm15353352wrq.20.2021.11.07.00.42.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Nov 2021 00:42:04 -0700 (PDT) From: Sergio Paracuellos To: linux-clk@vger.kernel.org Cc: linux-kernel@vger.kernel.org, sboyd@kernel.org, john@phrozen.org, linux-staging@lists.linux.dev, gregkh@linuxfoundation.org, neil@brown.name, Rob Herring Subject: [PATCH v5 2/4] dt-bindings: clock: mediatek,mt7621-sysc: add '#reset-cells' property Date: Sun, 7 Nov 2021 08:41:58 +0100 Message-Id: <20211107074200.18911-3-sergio.paracuellos@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211107074200.18911-1-sergio.paracuellos@gmail.com> References: <20211107074200.18911-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.33.0